1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57. |
# Generated by GNU Autoconf 2.59. |
4 |
# |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
|
# Free Software Foundation, Inc. |
|
6 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
8 |
## --------------------- ## |
## --------------------- ## |
19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
set -o posix |
set -o posix |
21 |
fi |
fi |
22 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
|
24 |
# Support unset when possible. |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
as_unset=unset |
as_unset=unset |
27 |
else |
else |
28 |
as_unset=false |
as_unset=false |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
43 |
do |
do |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
46 |
else |
else |
47 |
$as_unset $as_var |
$as_unset $as_var |
218 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
as_mkdir_p=: |
220 |
else |
else |
221 |
|
test -d ./-p && rmdir ./-p |
222 |
as_mkdir_p=false |
as_mkdir_p=false |
223 |
fi |
fi |
224 |
|
|
225 |
as_executable_p="test -f" |
as_executable_p="test -f" |
226 |
|
|
227 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
228 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
|
|
230 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
231 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
|
|
233 |
|
|
234 |
# IFS |
# IFS |
463 |
# include <unistd.h> |
# include <unistd.h> |
464 |
#endif" |
#endif" |
465 |
|
|
466 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 PKG_CONFIG JACK_CFLAGS JACK_LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE 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.59. 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 |
|
1538 |
|
|
|
|
|
|
# expand $ac_aux_dir to an absolute path |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
|
|
|
|
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 |
fi |
1803 |
|
|
1804 |
|
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 |
|
|
|
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 |
|
|
rm -f .deps 2>/dev/null |
|
|
mkdir .deps 2>/dev/null |
|
|
if test -d .deps; then |
|
|
DEPDIR=.deps |
|
2410 |
else |
else |
2411 |
# MS-DOS does not allow filenames that begin with a dot. |
echo "$as_me: failed program was:" >&5 |
2412 |
DEPDIR=_deps |
sed 's/^/| /' conftest.$ac_ext >&5 |
2413 |
|
|
2414 |
fi |
fi |
2415 |
rmdir .deps 2>/dev/null |
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 |
ac_config_commands="$ac_config_commands depfiles" |
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 |
am_make=${MAKE-make} |
; |
2446 |
cat > confinc << 'END' |
return 0; |
2447 |
doit: |
} |
2448 |
@echo done |
_ACEOF |
2449 |
END |
rm -f conftest.$ac_objext |
2450 |
# If we don't find an include directive, just comment out the code. |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2451 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
(eval $ac_compile) 2>conftest.er1 |
2452 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
ac_status=$? |
2453 |
am__include="#" |
grep -v '^ *+' conftest.er1 >conftest.err |
2454 |
am__quote= |
rm -f conftest.er1 |
2455 |
_am_result=none |
cat conftest.err >&5 |
2456 |
# First try GNU make style include. |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2457 |
echo "include confinc" > confmf |
(exit $ac_status); } && |
2458 |
# We grep out `Entering directory' and `Leaving directory' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2459 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2460 |
# In particular we don't look at `^make:' because GNU make might |
(eval $ac_try) 2>&5 |
2461 |
# be invoked under some other name (usually "gmake"), in which |
ac_status=$? |
2462 |
# case it prints its new name instead of `make'. |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2463 |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
(exit $ac_status); }; } && |
2464 |
am__include=include |
{ ac_try='test -s conftest.$ac_objext' |
2465 |
am__quote= |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2466 |
_am_result=GNU |
(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 |
fi |
2519 |
# Now try BSD make style include. |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2520 |
if test "$am__include" = "#"; then |
else |
2521 |
echo '.include "confinc"' > confmf |
echo "$as_me: failed program was:" >&5 |
2522 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
sed 's/^/| /' conftest.$ac_ext >&5 |
2523 |
am__include=.include |
|
2524 |
am__quote="\"" |
# It does not; compile a test program. |
2525 |
_am_result=BSD |
if test "$cross_compiling" = yes; then |
2526 |
fi |
# 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 |
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 |
echo "$as_me:$LINENO: result: $_am_result" >&5 |
( exit $ac_status ) |
2624 |
echo "${ECHO_T}$_am_result" >&6 |
ac_cv_c_bigendian=yes |
2625 |
rm -f confinc confmf |
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 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
cat >>confdefs.h <<\_ACEOF |
2637 |
if test "${enable_dependency_tracking+set}" = set; then |
#define WORDS_BIGENDIAN 1 |
2638 |
enableval="$enable_dependency_tracking" |
_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 |
fi; |
ac_aux_dir= |
2651 |
if test "x$enable_dependency_tracking" != xno; then |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2652 |
am_depcomp="$ac_aux_dir/depcomp" |
if test -f $ac_dir/install-sh; then |
2653 |
AMDEPBACKSLASH='\' |
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 |
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 |
if test "x$enable_dependency_tracking" != xno; then |
echo "$as_me:$LINENO: checking build system type" >&5 |
2682 |
AMDEP_TRUE= |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2683 |
AMDEP_FALSE='#' |
if test "${ac_cv_build+set}" = set; then |
2684 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2685 |
else |
else |
2686 |
AMDEP_TRUE='#' |
ac_cv_build_alias=$build_alias |
2687 |
AMDEP_FALSE= |
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 |
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 |
|
|
|
depcc="$CXX" am_compiler_list= |
|
2728 |
|
|
2729 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking target system type" >&5 |
2730 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
2731 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
if test "${ac_cv_target+set}" = set; then |
2732 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2733 |
else |
else |
2734 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
ac_cv_target_alias=$target_alias |
2735 |
# We make a subdir and do the tests there. Otherwise we can end up |
test "x$ac_cv_target_alias" = "x" && |
2736 |
# making bogus files that we don't know about and never remove. For |
ac_cv_target_alias=$ac_cv_host_alias |
2737 |
# instance it was reported that on HP-UX the gcc test will end up |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
2738 |
# making a dummy file named `D' -- because `-MD' means `put the output |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
2739 |
# in D'. |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
2740 |
mkdir conftest.dir |
{ (exit 1); exit 1; }; } |
|
# 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 |
|
2741 |
|
|
2742 |
am_cv_CXX_dependencies_compiler_type=none |
fi |
2743 |
if test "$am_compiler_list" = ""; then |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
2744 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
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 |
fi |
2829 |
for depmode in $am_compiler_list; do |
else |
2830 |
# We need to recreate these files for each test, as the compiler may |
ac_cpp_err=yes |
2831 |
# overwrite some of them when testing with obscure command lines. |
fi |
2832 |
# This happens at least with the AIX C compiler. |
if test -z "$ac_cpp_err"; then |
2833 |
echo '#include "conftest.h"' > conftest.c |
: |
2834 |
echo 'int i;' > conftest.h |
else |
2835 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo "$as_me: failed program was:" >&5 |
2836 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2837 |
|
|
2838 |
case $depmode in |
# Broken: fails on valid input. |
2839 |
nosideeffect) |
continue |
2840 |
# after this tag, mechanisms are not by side-effect, so they'll |
fi |
2841 |
# only be used when explicitly requested |
rm -f conftest.err conftest.$ac_ext |
2842 |
if test "x$enable_dependency_tracking" = xyes; then |
|
2843 |
continue |
# OK, works on sane cases. Now check whether non-existent headers |
2844 |
else |
# can be detected and how. |
2845 |
break |
cat >conftest.$ac_ext <<_ACEOF |
2846 |
fi |
/* confdefs.h. */ |
2847 |
;; |
_ACEOF |
2848 |
none) break ;; |
cat confdefs.h >>conftest.$ac_ext |
2849 |
esac |
cat >>conftest.$ac_ext <<_ACEOF |
2850 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
/* end confdefs.h. */ |
2851 |
# mode. It turns out that the SunPro C++ compiler does not properly |
#include <ac_nonexistent.h> |
2852 |
# handle `-M -o', and we need to detect this. |
_ACEOF |
2853 |
if depmode=$depmode \ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2854 |
source=conftest.c object=conftest.o \ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2855 |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
ac_status=$? |
2856 |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
grep -v '^ *+' conftest.er1 >conftest.err |
2857 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
rm -f conftest.er1 |
2858 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
cat conftest.err >&5 |
2859 |
am_cv_CXX_dependencies_compiler_type=$depmode |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2860 |
break |
(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 |
fi |
3019 |
done |
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 |
cd .. |
|
3025 |
rm -rf conftest.dir |
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 |
else |
3030 |
am_cv_CXX_dependencies_compiler_type=none |
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 |
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 |
fi |
3096 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
rm -f conftest* |
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
|
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
3097 |
|
|
3098 |
|
fi |
3099 |
|
|
3100 |
# Check whether --enable-shared or --disable-shared was given. |
if test $ac_cv_header_stdc = yes; then |
3101 |
if test "${enable_shared+set}" = set; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3102 |
enableval="$enable_shared" |
cat >conftest.$ac_ext <<_ACEOF |
3103 |
p=${PACKAGE-default} |
/* confdefs.h. */ |
3104 |
case $enableval in |
_ACEOF |
3105 |
yes) enable_shared=yes ;; |
cat confdefs.h >>conftest.$ac_ext |
3106 |
no) enable_shared=no ;; |
cat >>conftest.$ac_ext <<_ACEOF |
3107 |
*) |
/* end confdefs.h. */ |
3108 |
enable_shared=no |
#include <stdlib.h> |
3109 |
# Look at the argument we got. We use all the common list separators. |
|
3110 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
_ACEOF |
3111 |
for pkg in $enableval; do |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3112 |
IFS="$lt_save_ifs" |
$EGREP "free" >/dev/null 2>&1; then |
3113 |
if test "X$pkg" = "X$p"; then |
: |
|
enable_shared=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
3114 |
else |
else |
3115 |
enable_shared=yes |
ac_cv_header_stdc=no |
3116 |
fi; |
fi |
3117 |
|
rm -f conftest* |
3118 |
|
|
3119 |
# Check whether --enable-static or --disable-static was given. |
fi |
3120 |
if test "${enable_static+set}" = set; then |
|
3121 |
enableval="$enable_static" |
if test $ac_cv_header_stdc = yes; then |
3122 |
p=${PACKAGE-default} |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3123 |
case $enableval in |
if test "$cross_compiling" = yes; then |
3124 |
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 |
|
3125 |
else |
else |
3126 |
enable_static=yes |
cat >conftest.$ac_ext <<_ACEOF |
3127 |
fi; |
/* 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 |
# Check whether --enable-fast-install or --disable-fast-install was given. |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3145 |
if test "${enable_fast_install+set}" = set; then |
int |
3146 |
enableval="$enable_fast_install" |
main () |
3147 |
p=${PACKAGE-default} |
{ |
3148 |
case $enableval in |
int i; |
3149 |
yes) enable_fast_install=yes ;; |
for (i = 0; i < 256; i++) |
3150 |
no) enable_fast_install=no ;; |
if (XOR (islower (i), ISLOWER (i)) |
3151 |
*) |
|| toupper (i) != TOUPPER (i)) |
3152 |
enable_fast_install=no |
exit(2); |
3153 |
# Look at the argument we got. We use all the common list separators. |
exit (0); |
3154 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
} |
3155 |
for pkg in $enableval; do |
_ACEOF |
3156 |
IFS="$lt_save_ifs" |
rm -f conftest$ac_exeext |
3157 |
if test "X$pkg" = "X$p"; then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3158 |
enable_fast_install=yes |
(eval $ac_link) 2>&5 |
3159 |
fi |
ac_status=$? |
3160 |
done |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3161 |
IFS="$lt_save_ifs" |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3162 |
;; |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3163 |
esac |
(eval $ac_try) 2>&5 |
3164 |
|
ac_status=$? |
3165 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3166 |
|
(exit $ac_status); }; }; then |
3167 |
|
: |
3168 |
else |
else |
3169 |
enable_fast_install=yes |
echo "$as_me: program exited with status $ac_status" >&5 |
3170 |
fi; |
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 |
ac_ext=c |
3481 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
3482 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3484 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3485 |
if test -n "$ac_tool_prefix"; then |
|
3486 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
if test "$cross_compiling" = yes; then |
3487 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
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 |
|
# JACK |
3640 |
|
|
3641 |
|
succeeded=no |
3642 |
|
|
3643 |
|
if test -z "$PKG_CONFIG"; then |
3644 |
|
# Extract the first word of "pkg-config", so it can be a program name with args. |
3645 |
|
set dummy pkg-config; ac_word=$2 |
3646 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3647 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3648 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
3649 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3650 |
else |
else |
3651 |
if test -n "$CC"; then |
case $PKG_CONFIG in |
3652 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
[\\/]* | ?:[\\/]*) |
3653 |
else |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3654 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
;; |
3655 |
|
*) |
3656 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3657 |
for as_dir in $PATH |
for as_dir in $PATH |
3658 |
do |
do |
3659 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
3660 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3661 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3662 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3663 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3664 |
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 |
3665 |
break 2 |
break 2 |
3666 |
fi |
fi |
3667 |
done |
done |
3668 |
done |
done |
3669 |
|
|
3670 |
|
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
3671 |
|
;; |
3672 |
|
esac |
3673 |
fi |
fi |
3674 |
fi |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3675 |
CC=$ac_cv_prog_CC |
|
3676 |
if test -n "$CC"; then |
if test -n "$PKG_CONFIG"; then |
3677 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
3678 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$PKG_CONFIG" >&6 |
3679 |
else |
else |
3680 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3681 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3682 |
fi |
fi |
3683 |
|
|
3684 |
fi |
fi |
3685 |
if test -z "$ac_cv_prog_CC"; then |
|
3686 |
ac_ct_CC=$CC |
if test "$PKG_CONFIG" = "no" ; then |
3687 |
# Extract the first word of "gcc", so it can be a program name with args. |
echo "*** The pkg-config script could not be found. Make sure it is" |
3688 |
set dummy gcc; ac_word=$2 |
echo "*** in your path, or set the PKG_CONFIG environment variable" |
3689 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "*** to the full path to pkg-config." |
3690 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
3691 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
else |
3692 |
|
PKG_CONFIG_MIN_VERSION=0.9.0 |
3693 |
|
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
3694 |
|
echo "$as_me:$LINENO: checking for jack" >&5 |
3695 |
|
echo $ECHO_N "checking for jack... $ECHO_C" >&6 |
3696 |
|
|
3697 |
|
if $PKG_CONFIG --exists "jack" ; then |
3698 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
3699 |
|
echo "${ECHO_T}yes" >&6 |
3700 |
|
succeeded=yes |
3701 |
|
|
3702 |
|
echo "$as_me:$LINENO: checking JACK_CFLAGS" >&5 |
3703 |
|
echo $ECHO_N "checking JACK_CFLAGS... $ECHO_C" >&6 |
3704 |
|
JACK_CFLAGS=`$PKG_CONFIG --cflags "jack"` |
3705 |
|
echo "$as_me:$LINENO: result: $JACK_CFLAGS" >&5 |
3706 |
|
echo "${ECHO_T}$JACK_CFLAGS" >&6 |
3707 |
|
|
3708 |
|
echo "$as_me:$LINENO: checking JACK_LIBS" >&5 |
3709 |
|
echo $ECHO_N "checking JACK_LIBS... $ECHO_C" >&6 |
3710 |
|
JACK_LIBS=`$PKG_CONFIG --libs "jack"` |
3711 |
|
echo "$as_me:$LINENO: result: $JACK_LIBS" >&5 |
3712 |
|
echo "${ECHO_T}$JACK_LIBS" >&6 |
3713 |
|
else |
3714 |
|
JACK_CFLAGS="" |
3715 |
|
JACK_LIBS="" |
3716 |
|
## If we have a custom action on failure, don't print errors, but |
3717 |
|
## do set a variable so people can do so. |
3718 |
|
JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack"` |
3719 |
|
|
3720 |
|
fi |
3721 |
|
|
3722 |
|
|
3723 |
|
|
3724 |
|
else |
3725 |
|
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
3726 |
|
echo "*** See http://www.freedesktop.org/software/pkgconfig" |
3727 |
|
fi |
3728 |
|
fi |
3729 |
|
|
3730 |
|
if test $succeeded = yes; then |
3731 |
|
HAVE_JACK=true |
3732 |
|
else |
3733 |
|
HAVE_JACK=false |
3734 |
|
fi |
3735 |
|
|
3736 |
|
|
3737 |
|
|
3738 |
|
|
3739 |
|
cat >>confdefs.h <<_ACEOF |
3740 |
|
#define HAVE_JACK $HAVE_JACK |
3741 |
|
_ACEOF |
3742 |
|
|
3743 |
|
|
3744 |
|
|
3745 |
|
# Add the stamp file to the list of files AC keeps track of, |
3746 |
|
# along with our hook. |
3747 |
|
ac_config_headers="$ac_config_headers config.h" |
3748 |
|
|
3749 |
|
|
3750 |
|
|
3751 |
|
am__api_version="1.6" |
3752 |
|
# Find a good install program. We prefer a C program (faster), |
3753 |
|
# so one script is as good as another. But avoid the broken or |
3754 |
|
# incompatible versions: |
3755 |
|
# SysV /etc/install, /usr/sbin/install |
3756 |
|
# SunOS /usr/etc/install |
3757 |
|
# IRIX /sbin/install |
3758 |
|
# AIX /bin/install |
3759 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
3760 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3761 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3762 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3763 |
|
# OS/2's system install, which has a completely different semantic |
3764 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
3765 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3766 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3767 |
|
if test -z "$INSTALL"; then |
3768 |
|
if test "${ac_cv_path_install+set}" = set; then |
3769 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3770 |
else |
else |
3771 |
if test -n "$ac_ct_CC"; then |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3772 |
for as_dir in $PATH |
for as_dir in $PATH |
3773 |
do |
do |
3774 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
3775 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3776 |
for ac_exec_ext in '' $ac_executable_extensions; do |
# Account for people who put trailing slashes in PATH elements. |
3777 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
case $as_dir/ in |
3778 |
ac_cv_prog_ac_ct_CC="gcc" |
./ | .// | /cC/* | \ |
3779 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3780 |
break 2 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3781 |
fi |
/usr/ucb/* ) ;; |
3782 |
done |
*) |
3783 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
3784 |
|
# Don't use installbsd from OSF since it installs stuff as root |
3785 |
|
# by default. |
3786 |
|
for ac_prog in ginstall scoinst install; do |
3787 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3788 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3789 |
|
if test $ac_prog = install && |
3790 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3791 |
|
# AIX install. It has an incompatible calling convention. |
3792 |
|
: |
3793 |
|
elif test $ac_prog = install && |
3794 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3795 |
|
# program-specific install script used by HP pwplus--don't use. |
3796 |
|
: |
3797 |
|
else |
3798 |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3799 |
|
break 3 |
3800 |
|
fi |
3801 |
|
fi |
3802 |
|
done |
3803 |
|
done |
3804 |
|
;; |
3805 |
|
esac |
3806 |
done |
done |
3807 |
|
|
3808 |
|
|
3809 |
fi |
fi |
3810 |
|
if test "${ac_cv_path_install+set}" = set; then |
3811 |
|
INSTALL=$ac_cv_path_install |
3812 |
|
else |
3813 |
|
# As a last resort, use the slow shell script. We don't cache a |
3814 |
|
# path for INSTALL within a source directory, because that will |
3815 |
|
# break other packages using the cache if that directory is |
3816 |
|
# removed, or if the path is relative. |
3817 |
|
INSTALL=$ac_install_sh |
3818 |
|
fi |
3819 |
fi |
fi |
3820 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3821 |
if test -n "$ac_ct_CC"; then |
echo "${ECHO_T}$INSTALL" >&6 |
3822 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
3823 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3824 |
|
# It thinks the first close brace ends the variable substitution. |
3825 |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3826 |
|
|
3827 |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3828 |
|
|
3829 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3830 |
|
|
3831 |
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
3832 |
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
3833 |
|
# Just in case |
3834 |
|
sleep 1 |
3835 |
|
echo timestamp > conftest.file |
3836 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
3837 |
|
# arguments. Must try -L first in case configure is actually a |
3838 |
|
# symlink; some systems play weird games with the mod time of symlinks |
3839 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
3840 |
|
# directory). |
3841 |
|
if ( |
3842 |
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
3843 |
|
if test "$*" = "X"; then |
3844 |
|
# -L didn't work. |
3845 |
|
set X `ls -t $srcdir/configure conftest.file` |
3846 |
|
fi |
3847 |
|
rm -f conftest.file |
3848 |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
3849 |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
3850 |
|
|
3851 |
|
# If neither matched, then we have a broken ls. This can happen |
3852 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
3853 |
|
# broken ls alias from the environment. This has actually |
3854 |
|
# happened. Such a system could not be considered "sane". |
3855 |
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
3856 |
|
alias in your environment" >&5 |
3857 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
3858 |
|
alias in your environment" >&2;} |
3859 |
|
{ (exit 1); exit 1; }; } |
3860 |
|
fi |
3861 |
|
|
3862 |
|
test "$2" = conftest.file |
3863 |
|
) |
3864 |
|
then |
3865 |
|
# Ok. |
3866 |
|
: |
3867 |
else |
else |
3868 |
echo "$as_me:$LINENO: result: no" >&5 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
3869 |
echo "${ECHO_T}no" >&6 |
Check your system clock" >&5 |
3870 |
|
echo "$as_me: error: newly created file is older than distributed files! |
3871 |
|
Check your system clock" >&2;} |
3872 |
|
{ (exit 1); exit 1; }; } |
3873 |
fi |
fi |
3874 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
3875 |
|
echo "${ECHO_T}yes" >&6 |
3876 |
|
test "$program_prefix" != NONE && |
3877 |
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
3878 |
|
# Use a double $ so make ignores it. |
3879 |
|
test "$program_suffix" != NONE && |
3880 |
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
3881 |
|
# Double any \ or $. echo might interpret backslashes. |
3882 |
|
# By default was `s,x,x', remove it if useless. |
3883 |
|
cat <<\_ACEOF >conftest.sed |
3884 |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
3885 |
|
_ACEOF |
3886 |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
3887 |
|
rm conftest.sed |
3888 |
|
|
3889 |
CC=$ac_ct_CC |
|
3890 |
|
# expand $ac_aux_dir to an absolute path |
3891 |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
3892 |
|
|
3893 |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
3894 |
|
# Use eval to expand $SHELL |
3895 |
|
if eval "$MISSING --run true"; then |
3896 |
|
am_missing_run="$MISSING --run " |
3897 |
else |
else |
3898 |
CC="$ac_cv_prog_CC" |
am_missing_run= |
3899 |
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
3900 |
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
3901 |
fi |
fi |
3902 |
|
|
3903 |
if test -z "$CC"; then |
for ac_prog in gawk mawk nawk awk |
3904 |
if test -n "$ac_tool_prefix"; then |
do |
3905 |
# Extract the first word of "${ac_tool_prefix}cc", 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. |
3906 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3907 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3908 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3909 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_AWK+set}" = set; then |
3910 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3911 |
else |
else |
3912 |
if test -n "$CC"; then |
if test -n "$AWK"; then |
3913 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3914 |
else |
else |
3915 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3916 |
for as_dir in $PATH |
for as_dir in $PATH |
3919 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3920 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3921 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3922 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_AWK="$ac_prog" |
3923 |
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 |
3924 |
break 2 |
break 2 |
3925 |
fi |
fi |
3928 |
|
|
3929 |
fi |
fi |
3930 |
fi |
fi |
3931 |
CC=$ac_cv_prog_CC |
AWK=$ac_cv_prog_AWK |
3932 |
if test -n "$CC"; then |
if test -n "$AWK"; then |
3933 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
3934 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$AWK" >&6 |
3935 |
else |
else |
3936 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3937 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3938 |
fi |
fi |
3939 |
|
|
3940 |
|
test -n "$AWK" && break |
3941 |
|
done |
3942 |
|
|
3943 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3944 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3945 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
3946 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3947 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3948 |
|
else |
3949 |
|
cat >conftest.make <<\_ACEOF |
3950 |
|
all: |
3951 |
|
@echo 'ac_maketemp="$(MAKE)"' |
3952 |
|
_ACEOF |
3953 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3954 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3955 |
|
if test -n "$ac_maketemp"; then |
3956 |
|
eval ac_cv_prog_make_${ac_make}_set=yes |
3957 |
|
else |
3958 |
|
eval ac_cv_prog_make_${ac_make}_set=no |
3959 |
fi |
fi |
3960 |
if test -z "$ac_cv_prog_CC"; then |
rm -f conftest.make |
3961 |
ac_ct_CC=$CC |
fi |
3962 |
# Extract the first word of "cc", so it can be a program name with args. |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3963 |
set dummy cc; ac_word=$2 |
echo "$as_me:$LINENO: result: yes" >&5 |
3964 |
|
echo "${ECHO_T}yes" >&6 |
3965 |
|
SET_MAKE= |
3966 |
|
else |
3967 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3968 |
|
echo "${ECHO_T}no" >&6 |
3969 |
|
SET_MAKE="MAKE=${MAKE-make}" |
3970 |
|
fi |
3971 |
|
|
3972 |
|
rm -f .deps 2>/dev/null |
3973 |
|
mkdir .deps 2>/dev/null |
3974 |
|
if test -d .deps; then |
3975 |
|
DEPDIR=.deps |
3976 |
|
else |
3977 |
|
# MS-DOS does not allow filenames that begin with a dot. |
3978 |
|
DEPDIR=_deps |
3979 |
|
fi |
3980 |
|
rmdir .deps 2>/dev/null |
3981 |
|
|
3982 |
|
|
3983 |
|
ac_config_commands="$ac_config_commands depfiles" |
3984 |
|
|
3985 |
|
|
3986 |
|
am_make=${MAKE-make} |
3987 |
|
cat > confinc << 'END' |
3988 |
|
doit: |
3989 |
|
@echo done |
3990 |
|
END |
3991 |
|
# If we don't find an include directive, just comment out the code. |
3992 |
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3993 |
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
3994 |
|
am__include="#" |
3995 |
|
am__quote= |
3996 |
|
_am_result=none |
3997 |
|
# First try GNU make style include. |
3998 |
|
echo "include confinc" > confmf |
3999 |
|
# We grep out `Entering directory' and `Leaving directory' |
4000 |
|
# messages which can occur if `w' ends up in MAKEFLAGS. |
4001 |
|
# In particular we don't look at `^make:' because GNU make might |
4002 |
|
# be invoked under some other name (usually "gmake"), in which |
4003 |
|
# case it prints its new name instead of `make'. |
4004 |
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
4005 |
|
am__include=include |
4006 |
|
am__quote= |
4007 |
|
_am_result=GNU |
4008 |
|
fi |
4009 |
|
# Now try BSD make style include. |
4010 |
|
if test "$am__include" = "#"; then |
4011 |
|
echo '.include "confinc"' > confmf |
4012 |
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
4013 |
|
am__include=.include |
4014 |
|
am__quote="\"" |
4015 |
|
_am_result=BSD |
4016 |
|
fi |
4017 |
|
fi |
4018 |
|
|
4019 |
|
|
4020 |
|
echo "$as_me:$LINENO: result: $_am_result" >&5 |
4021 |
|
echo "${ECHO_T}$_am_result" >&6 |
4022 |
|
rm -f confinc confmf |
4023 |
|
|
4024 |
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
4025 |
|
if test "${enable_dependency_tracking+set}" = set; then |
4026 |
|
enableval="$enable_dependency_tracking" |
4027 |
|
|
4028 |
|
fi; |
4029 |
|
if test "x$enable_dependency_tracking" != xno; then |
4030 |
|
am_depcomp="$ac_aux_dir/depcomp" |
4031 |
|
AMDEPBACKSLASH='\' |
4032 |
|
fi |
4033 |
|
|
4034 |
|
|
4035 |
|
if test "x$enable_dependency_tracking" != xno; then |
4036 |
|
AMDEP_TRUE= |
4037 |
|
AMDEP_FALSE='#' |
4038 |
|
else |
4039 |
|
AMDEP_TRUE='#' |
4040 |
|
AMDEP_FALSE= |
4041 |
|
fi |
4042 |
|
|
4043 |
|
|
4044 |
|
|
4045 |
|
# test to see if srcdir already configured |
4046 |
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
4047 |
|
test -f $srcdir/config.status; then |
4048 |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
4049 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
4050 |
|
{ (exit 1); exit 1; }; } |
4051 |
|
fi |
4052 |
|
|
4053 |
|
# Define the identity of the package. |
4054 |
|
PACKAGE=linuxsampler |
4055 |
|
VERSION=0.1 |
4056 |
|
|
4057 |
|
|
4058 |
|
cat >>confdefs.h <<_ACEOF |
4059 |
|
#define PACKAGE "$PACKAGE" |
4060 |
|
_ACEOF |
4061 |
|
|
4062 |
|
|
4063 |
|
cat >>confdefs.h <<_ACEOF |
4064 |
|
#define VERSION "$VERSION" |
4065 |
|
_ACEOF |
4066 |
|
|
4067 |
|
# Some tools Automake needs. |
4068 |
|
|
4069 |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
4070 |
|
|
4071 |
|
|
4072 |
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
4073 |
|
|
4074 |
|
|
4075 |
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
4076 |
|
|
4077 |
|
|
4078 |
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
4079 |
|
|
4080 |
|
|
4081 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
4082 |
|
|
4083 |
|
|
4084 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
4085 |
|
|
4086 |
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
4087 |
|
|
4088 |
|
# Installed binaries are usually stripped using `strip' when the user |
4089 |
|
# run `make install-strip'. However `strip' might not be the right |
4090 |
|
# tool to use in cross-compilation environments, therefore Automake |
4091 |
|
# will honor the `STRIP' environment variable to overrule this program. |
4092 |
|
if test "$cross_compiling" != no; then |
4093 |
|
if test -n "$ac_tool_prefix"; then |
4094 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
4095 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
4096 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4097 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4098 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_STRIP+set}" = set; then |
4099 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4100 |
else |
else |
4101 |
if test -n "$ac_ct_CC"; then |
if test -n "$STRIP"; then |
4102 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
4103 |
else |
else |
4104 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4105 |
for as_dir in $PATH |
for as_dir in $PATH |
4108 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4109 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4110 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4111 |
ac_cv_prog_ac_ct_CC="cc" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
4112 |
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 |
4113 |
break 2 |
break 2 |
4114 |
fi |
fi |
4117 |
|
|
4118 |
fi |
fi |
4119 |
fi |
fi |
4120 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
STRIP=$ac_cv_prog_STRIP |
4121 |
if test -n "$ac_ct_CC"; then |
if test -n "$STRIP"; then |
4122 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
4123 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$STRIP" >&6 |
4124 |
else |
else |
4125 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4126 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4127 |
fi |
fi |
4128 |
|
|
|
CC=$ac_ct_CC |
|
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
4129 |
fi |
fi |
4130 |
|
if test -z "$ac_cv_prog_STRIP"; then |
4131 |
fi |
ac_ct_STRIP=$STRIP |
4132 |
if test -z "$CC"; then |
# Extract the first word of "strip", so it can be a program name with args. |
4133 |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy strip; ac_word=$2 |
|
set dummy cc; ac_word=$2 |
|
4134 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4135 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4136 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
4137 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4138 |
else |
else |
4139 |
if test -n "$CC"; then |
if test -n "$ac_ct_STRIP"; then |
4140 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
4141 |
else |
else |
|
ac_prog_rejected=no |
|
4142 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4143 |
for as_dir in $PATH |
for as_dir in $PATH |
4144 |
do |
do |
4146 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4147 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4148 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4149 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
|
ac_prog_rejected=yes |
|
|
continue |
|
|
fi |
|
|
ac_cv_prog_CC="cc" |
|
4150 |
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 |
4151 |
break 2 |
break 2 |
4152 |
fi |
fi |
4153 |
done |
done |
4154 |
done |
done |
4155 |
|
|
4156 |
if test $ac_prog_rejected = yes; then |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
# We found a bogon in the path, so make sure we never use it. |
|
|
set dummy $ac_cv_prog_CC |
|
|
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+' '}$@" |
|
|
fi |
|
|
fi |
|
4157 |
fi |
fi |
4158 |
fi |
fi |
4159 |
CC=$ac_cv_prog_CC |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
4160 |
if test -n "$CC"; then |
if test -n "$ac_ct_STRIP"; then |
4161 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
4162 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
4163 |
else |
else |
4164 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4165 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4166 |
fi |
fi |
4167 |
|
|
4168 |
|
STRIP=$ac_ct_STRIP |
4169 |
|
else |
4170 |
|
STRIP="$ac_cv_prog_STRIP" |
4171 |
|
fi |
4172 |
|
|
4173 |
fi |
fi |
4174 |
if test -z "$CC"; then |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
4175 |
if test -n "$ac_tool_prefix"; then |
|
4176 |
for ac_prog in cl |
# We need awk for the "check" target. The system "awk" is bad on |
4177 |
|
# some platforms. |
4178 |
|
|
4179 |
|
|
4180 |
|
depcc="$CC" am_compiler_list= |
4181 |
|
|
4182 |
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4183 |
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
4184 |
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
4185 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4186 |
|
else |
4187 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4188 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
4189 |
|
# making bogus files that we don't know about and never remove. For |
4190 |
|
# instance it was reported that on HP-UX the gcc test will end up |
4191 |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
4192 |
|
# in D'. |
4193 |
|
mkdir conftest.dir |
4194 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
4195 |
|
# using a relative directory. |
4196 |
|
cp "$am_depcomp" conftest.dir |
4197 |
|
cd conftest.dir |
4198 |
|
|
4199 |
|
am_cv_CC_dependencies_compiler_type=none |
4200 |
|
if test "$am_compiler_list" = ""; then |
4201 |
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4202 |
|
fi |
4203 |
|
for depmode in $am_compiler_list; do |
4204 |
|
# We need to recreate these files for each test, as the compiler may |
4205 |
|
# overwrite some of them when testing with obscure command lines. |
4206 |
|
# This happens at least with the AIX C compiler. |
4207 |
|
echo '#include "conftest.h"' > conftest.c |
4208 |
|
echo 'int i;' > conftest.h |
4209 |
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
4210 |
|
|
4211 |
|
case $depmode in |
4212 |
|
nosideeffect) |
4213 |
|
# after this tag, mechanisms are not by side-effect, so they'll |
4214 |
|
# only be used when explicitly requested |
4215 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4216 |
|
continue |
4217 |
|
else |
4218 |
|
break |
4219 |
|
fi |
4220 |
|
;; |
4221 |
|
none) break ;; |
4222 |
|
esac |
4223 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4224 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
4225 |
|
# handle `-M -o', and we need to detect this. |
4226 |
|
if depmode=$depmode \ |
4227 |
|
source=conftest.c object=conftest.o \ |
4228 |
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
4229 |
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
4230 |
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
4231 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4232 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
4233 |
|
break |
4234 |
|
fi |
4235 |
|
done |
4236 |
|
|
4237 |
|
cd .. |
4238 |
|
rm -rf conftest.dir |
4239 |
|
else |
4240 |
|
am_cv_CC_dependencies_compiler_type=none |
4241 |
|
fi |
4242 |
|
|
4243 |
|
fi |
4244 |
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4245 |
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
4246 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4247 |
|
|
4248 |
|
|
4249 |
|
|
4250 |
|
|
4251 |
|
ac_ext=cc |
4252 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
4253 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4254 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4255 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4256 |
|
|
4257 |
|
ac_ext=cc |
4258 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
4259 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4260 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4261 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4262 |
|
if test -n "$ac_tool_prefix"; then |
4263 |
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
4264 |
do |
do |
4265 |
# 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. |
4266 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4267 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4268 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4269 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CXX+set}" = set; then |
4270 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4271 |
else |
else |
4272 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
4273 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4274 |
else |
else |
4275 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4276 |
for as_dir in $PATH |
for as_dir in $PATH |
4279 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4280 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4281 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4282 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4283 |
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 |
4284 |
break 2 |
break 2 |
4285 |
fi |
fi |
4288 |
|
|
4289 |
fi |
fi |
4290 |
fi |
fi |
4291 |
CC=$ac_cv_prog_CC |
CXX=$ac_cv_prog_CXX |
4292 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
4293 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
4294 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CXX" >&6 |
4295 |
else |
else |
4296 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4297 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4298 |
fi |
fi |
4299 |
|
|
4300 |
test -n "$CC" && break |
test -n "$CXX" && break |
4301 |
done |
done |
4302 |
fi |
fi |
4303 |
if test -z "$CC"; then |
if test -z "$CXX"; then |
4304 |
ac_ct_CC=$CC |
ac_ct_CXX=$CXX |
4305 |
for ac_prog in cl |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
4306 |
do |
do |
4307 |
# 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. |
4308 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
4309 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4310 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4311 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4312 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4313 |
else |
else |
4314 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
4315 |
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. |
4316 |
else |
else |
4317 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4318 |
for as_dir in $PATH |
for as_dir in $PATH |
4321 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
4322 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
4323 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4324 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
4325 |
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 |
4326 |
break 2 |
break 2 |
4327 |
fi |
fi |
4330 |
|
|
4331 |
fi |
fi |
4332 |
fi |
fi |
4333 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4334 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
4335 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4336 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
4337 |
else |
else |
4338 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
4339 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
4340 |
fi |
fi |
4341 |
|
|
4342 |
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CXX" && break |
4343 |
done |
done |
4344 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
4345 |
|
|
4346 |
CC=$ac_ct_CC |
CXX=$ac_ct_CXX |
|
fi |
|
|
|
|
4347 |
fi |
fi |
4348 |
|
|
4349 |
|
|
|
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; }; } |
|
|
|
|
4350 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
4351 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
4352 |
"checking for C compiler version" >&5 |
"checking for C++ compiler version" >&5 |
4353 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
4354 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
4355 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
4367 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4368 |
(exit $ac_status); } |
(exit $ac_status); } |
4369 |
|
|
4370 |
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 |
4371 |
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 |
4372 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4373 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4374 |
else |
else |
4375 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4376 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4377 |
_ACEOF |
_ACEOF |
4378 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4392 |
_ACEOF |
_ACEOF |
4393 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4394 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4395 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4396 |
ac_status=$? |
ac_status=$? |
4397 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4398 |
|
rm -f conftest.er1 |
4399 |
|
cat conftest.err >&5 |
4400 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4401 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4402 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4403 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4404 |
|
(eval $ac_try) 2>&5 |
4405 |
|
ac_status=$? |
4406 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4407 |
|
(exit $ac_status); }; } && |
4408 |
|
{ ac_try='test -s conftest.$ac_objext' |
4409 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4410 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4411 |
ac_status=$? |
ac_status=$? |
4418 |
|
|
4419 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
4420 |
fi |
fi |
4421 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4422 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4423 |
|
|
4424 |
fi |
fi |
4425 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4426 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
4427 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
4428 |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
4429 |
ac_save_CFLAGS=$CFLAGS |
ac_save_CXXFLAGS=$CXXFLAGS |
4430 |
CFLAGS="-g" |
CXXFLAGS="-g" |
4431 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4432 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
4433 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
4434 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4435 |
else |
else |
4436 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4437 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4438 |
_ACEOF |
_ACEOF |
4439 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4450 |
_ACEOF |
_ACEOF |
4451 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4452 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4453 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4454 |
ac_status=$? |
ac_status=$? |
4455 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4456 |
|
rm -f conftest.er1 |
4457 |
|
cat conftest.err >&5 |
4458 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4459 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4460 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4461 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4462 |
|
(eval $ac_try) 2>&5 |
4463 |
|
ac_status=$? |
4464 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4465 |
|
(exit $ac_status); }; } && |
4466 |
|
{ ac_try='test -s conftest.$ac_objext' |
4467 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4468 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4469 |
ac_status=$? |
ac_status=$? |
4470 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4471 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4472 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cxx_g=yes |
4473 |
else |
else |
4474 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4475 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4476 |
|
|
4477 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cxx_g=no |
4478 |
fi |
fi |
4479 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4480 |
fi |
fi |
4481 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4482 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
4483 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CXXFLAGS" = set; then |
4484 |
CFLAGS=$ac_save_CFLAGS |
CXXFLAGS=$ac_save_CXXFLAGS |
4485 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cxx_g = yes; then |
4486 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
4487 |
CFLAGS="-g -O2" |
CXXFLAGS="-g -O2" |
4488 |
else |
else |
4489 |
CFLAGS="-g" |
CXXFLAGS="-g" |
4490 |
fi |
fi |
4491 |
else |
else |
4492 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
4493 |
CFLAGS="-O2" |
CXXFLAGS="-O2" |
4494 |
else |
else |
4495 |
CFLAGS= |
CXXFLAGS= |
4496 |
fi |
fi |
4497 |
fi |
fi |
4498 |
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 \ |
|
4499 |
'' \ |
'' \ |
4500 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
4501 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
4504 |
'void exit (int);' |
'void exit (int);' |
4505 |
do |
do |
4506 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4507 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4508 |
_ACEOF |
_ACEOF |
4509 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4521 |
_ACEOF |
_ACEOF |
4522 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4523 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4524 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4525 |
ac_status=$? |
ac_status=$? |
4526 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4527 |
|
rm -f conftest.er1 |
4528 |
|
cat conftest.err >&5 |
4529 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4530 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4531 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4532 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4533 |
|
(eval $ac_try) 2>&5 |
4534 |
|
ac_status=$? |
4535 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4536 |
|
(exit $ac_status); }; } && |
4537 |
|
{ ac_try='test -s conftest.$ac_objext' |
4538 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4539 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4540 |
ac_status=$? |
ac_status=$? |
4547 |
|
|
4548 |
continue |
continue |
4549 |
fi |
fi |
4550 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4551 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4552 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4553 |
_ACEOF |
_ACEOF |
4554 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4565 |
_ACEOF |
_ACEOF |
4566 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4567 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4568 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4569 |
ac_status=$? |
ac_status=$? |
4570 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4571 |
|
rm -f conftest.er1 |
4572 |
|
cat conftest.err >&5 |
4573 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4574 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4575 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4576 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4577 |
|
(eval $ac_try) 2>&5 |
4578 |
|
ac_status=$? |
4579 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4580 |
|
(exit $ac_status); }; } && |
4581 |
|
{ ac_try='test -s conftest.$ac_objext' |
4582 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4583 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4584 |
ac_status=$? |
ac_status=$? |
4590 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4591 |
|
|
4592 |
fi |
fi |
4593 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4594 |
done |
done |
4595 |
rm -f conftest* |
rm -f conftest* |
4596 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
4599 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
4600 |
fi |
fi |
4601 |
|
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
4602 |
ac_ext=cc |
ac_ext=cc |
4603 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
4604 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4605 |
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' |
4606 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4607 |
|
|
4608 |
depcc="$CC" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
4609 |
|
|
4610 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4611 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
4612 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4613 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4614 |
else |
else |
4615 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4624 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
4625 |
cd conftest.dir |
cd conftest.dir |
4626 |
|
|
4627 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
4628 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
4629 |
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` |
4630 |
fi |
fi |
4657 |
$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 && |
4658 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
4659 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4660 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
4661 |
break |
break |
4662 |
fi |
fi |
4663 |
done |
done |
4665 |
cd .. |
cd .. |
4666 |
rm -rf conftest.dir |
rm -rf conftest.dir |
4667 |
else |
else |
4668 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
4669 |
fi |
fi |
4670 |
|
|
4671 |
fi |
fi |
4672 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4673 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
4674 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4675 |
|
|
4676 |
|
|
4677 |
|
# Check whether --enable-shared or --disable-shared was given. |
4678 |
|
if test "${enable_shared+set}" = set; then |
4679 |
|
enableval="$enable_shared" |
4680 |
|
p=${PACKAGE-default} |
4681 |
|
case $enableval in |
4682 |
|
yes) enable_shared=yes ;; |
4683 |
|
no) enable_shared=no ;; |
4684 |
|
*) |
4685 |
|
enable_shared=no |
4686 |
|
# Look at the argument we got. We use all the common list separators. |
4687 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4688 |
|
for pkg in $enableval; do |
4689 |
|
IFS="$lt_save_ifs" |
4690 |
|
if test "X$pkg" = "X$p"; then |
4691 |
|
enable_shared=yes |
4692 |
|
fi |
4693 |
|
done |
4694 |
|
IFS="$lt_save_ifs" |
4695 |
|
;; |
4696 |
|
esac |
4697 |
|
else |
4698 |
|
enable_shared=yes |
4699 |
|
fi; |
4700 |
|
|
4701 |
|
# Check whether --enable-static or --disable-static was given. |
4702 |
|
if test "${enable_static+set}" = set; then |
4703 |
|
enableval="$enable_static" |
4704 |
|
p=${PACKAGE-default} |
4705 |
|
case $enableval in |
4706 |
|
yes) enable_static=yes ;; |
4707 |
|
no) enable_static=no ;; |
4708 |
|
*) |
4709 |
|
enable_static=no |
4710 |
|
# Look at the argument we got. We use all the common list separators. |
4711 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4712 |
|
for pkg in $enableval; do |
4713 |
|
IFS="$lt_save_ifs" |
4714 |
|
if test "X$pkg" = "X$p"; then |
4715 |
|
enable_static=yes |
4716 |
|
fi |
4717 |
|
done |
4718 |
|
IFS="$lt_save_ifs" |
4719 |
|
;; |
4720 |
|
esac |
4721 |
|
else |
4722 |
|
enable_static=yes |
4723 |
|
fi; |
4724 |
|
|
4725 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
4726 |
|
if test "${enable_fast_install+set}" = set; then |
4727 |
|
enableval="$enable_fast_install" |
4728 |
|
p=${PACKAGE-default} |
4729 |
|
case $enableval in |
4730 |
|
yes) enable_fast_install=yes ;; |
4731 |
|
no) enable_fast_install=no ;; |
4732 |
|
*) |
4733 |
|
enable_fast_install=no |
4734 |
|
# Look at the argument we got. We use all the common list separators. |
4735 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4736 |
|
for pkg in $enableval; do |
4737 |
|
IFS="$lt_save_ifs" |
4738 |
|
if test "X$pkg" = "X$p"; then |
4739 |
|
enable_fast_install=yes |
4740 |
|
fi |
4741 |
|
done |
4742 |
|
IFS="$lt_save_ifs" |
4743 |
|
;; |
4744 |
|
esac |
4745 |
|
else |
4746 |
|
enable_fast_install=yes |
4747 |
|
fi; |
4748 |
|
|
4749 |
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 |
4750 |
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 |
4751 |
if test "${lt_cv_path_SED+set}" = set; then |
if test "${lt_cv_path_SED+set}" = set; then |
4803 |
echo "$as_me:$LINENO: result: $SED" >&5 |
echo "$as_me:$LINENO: result: $SED" >&5 |
4804 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6 |
4805 |
|
|
|
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 |
|
|
|
|
|
|
|
4806 |
|
|
4807 |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
4808 |
if test "${with_gnu_ld+set}" = set; then |
if test "${with_gnu_ld+set}" = set; then |
5017 |
lt_cv_file_magic_test_file=/shlib/libc.so |
lt_cv_file_magic_test_file=/shlib/libc.so |
5018 |
;; |
;; |
5019 |
|
|
5020 |
cygwin* | mingw* | pw32*) |
cygwin*) |
5021 |
# win32_libid is a shell function defined in ltmain.sh |
# win32_libid is a shell function defined in ltmain.sh |
5022 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5023 |
lt_cv_file_magic_cmd='win32_libid' |
lt_cv_file_magic_cmd='win32_libid' |
5024 |
;; |
;; |
5025 |
|
|
5026 |
|
mingw* | pw32*) |
5027 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
5028 |
|
# win32_libid shell function, so use a weaker test based on 'objdump'. |
5029 |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5030 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5031 |
|
;; |
5032 |
|
|
5033 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
5034 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
5035 |
;; |
;; |
5172 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
5173 |
compiler=$CC |
compiler=$CC |
5174 |
|
|
|
|
|
5175 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
5176 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
5177 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
5203 |
;; |
;; |
5204 |
*-*-irix6*) |
*-*-irix6*) |
5205 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
5206 |
echo '#line 3892 "configure"' > conftest.$ac_ext |
echo '#line 5206 "configure"' > conftest.$ac_ext |
5207 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5208 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
5209 |
ac_status=$? |
ac_status=$? |
5300 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5301 |
|
|
5302 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5303 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5304 |
_ACEOF |
_ACEOF |
5305 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5316 |
_ACEOF |
_ACEOF |
5317 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
5318 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5319 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
5320 |
ac_status=$? |
ac_status=$? |
5321 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5322 |
|
rm -f conftest.er1 |
5323 |
|
cat conftest.err >&5 |
5324 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5325 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5326 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5327 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5328 |
|
(eval $ac_try) 2>&5 |
5329 |
|
ac_status=$? |
5330 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5331 |
|
(exit $ac_status); }; } && |
5332 |
|
{ ac_try='test -s conftest$ac_exeext' |
5333 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5334 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5335 |
ac_status=$? |
ac_status=$? |
5342 |
|
|
5343 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
5344 |
fi |
fi |
5345 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
5346 |
|
conftest$ac_exeext conftest.$ac_ext |
5347 |
ac_ext=c |
ac_ext=c |
5348 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
5349 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5364 |
need_locks="$enable_libtool_lock" |
need_locks="$enable_libtool_lock" |
5365 |
|
|
5366 |
|
|
|
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 |
|
|
|
|
|
|
|
5367 |
|
|
5368 |
for ac_header in dlfcn.h |
for ac_header in dlfcn.h |
5369 |
do |
do |
5381 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5382 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5383 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5384 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5385 |
_ACEOF |
_ACEOF |
5386 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5391 |
_ACEOF |
_ACEOF |
5392 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5393 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5394 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5395 |
ac_status=$? |
ac_status=$? |
5396 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5397 |
|
rm -f conftest.er1 |
5398 |
|
cat conftest.err >&5 |
5399 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5400 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5401 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5402 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5403 |
|
(eval $ac_try) 2>&5 |
5404 |
|
ac_status=$? |
5405 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5406 |
|
(exit $ac_status); }; } && |
5407 |
|
{ ac_try='test -s conftest.$ac_objext' |
5408 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5409 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5410 |
ac_status=$? |
ac_status=$? |
5417 |
|
|
5418 |
ac_header_compiler=no |
ac_header_compiler=no |
5419 |
fi |
fi |
5420 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5421 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5422 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5423 |
|
|
5425 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5426 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5427 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5428 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5429 |
_ACEOF |
_ACEOF |
5430 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5442 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5443 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5444 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
5445 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5446 |
else |
else |
5447 |
ac_cpp_err= |
ac_cpp_err= |
5448 |
fi |
fi |
5462 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5463 |
|
|
5464 |
# So? What about this header? |
# So? What about this header? |
5465 |
case $ac_header_compiler:$ac_header_preproc in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5466 |
yes:no ) |
yes:no: ) |
5467 |
{ 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 |
5468 |
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;} |
5469 |
{ 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 |
5470 |
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;} |
5471 |
( |
ac_header_preproc=yes |
|
cat <<\_ASBOX |
|
|
## ------------------------------------ ## |
|
|
## Report this to bug-autoconf@gnu.org. ## |
|
|
## ------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
5472 |
;; |
;; |
5473 |
no:yes ) |
no:yes:* ) |
5474 |
{ 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 |
5475 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5476 |
{ 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 |
5477 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5478 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5479 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5480 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5481 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5482 |
{ 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 |
5483 |
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;} |
5484 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5485 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5486 |
( |
( |
5487 |
cat <<\_ASBOX |
cat <<\_ASBOX |
5488 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
5489 |
## Report this to bug-autoconf@gnu.org. ## |
## Report this to the AC_PACKAGE_NAME lists. ## |
5490 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
5491 |
_ASBOX |
_ASBOX |
5492 |
) | |
) | |
5493 |
sed "s/^/$as_me: WARNING: /" >&2 |
sed "s/^/$as_me: WARNING: /" >&2 |
5498 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5499 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5500 |
else |
else |
5501 |
eval "$as_ac_Header=$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
5502 |
fi |
fi |
5503 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5504 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5537 |
# 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, |
5538 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5539 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5540 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5541 |
_ACEOF |
_ACEOF |
5542 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5547 |
#else |
#else |
5548 |
# include <assert.h> |
# include <assert.h> |
5549 |
#endif |
#endif |
5550 |
Syntax error |
Syntax error |
5551 |
_ACEOF |
_ACEOF |
5552 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5553 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5559 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5560 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5561 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5562 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5563 |
else |
else |
5564 |
ac_cpp_err= |
ac_cpp_err= |
5565 |
fi |
fi |
5580 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5581 |
# can be detected and how. |
# can be detected and how. |
5582 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5583 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5584 |
_ACEOF |
_ACEOF |
5585 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5597 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5598 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5599 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5600 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5601 |
else |
else |
5602 |
ac_cpp_err= |
ac_cpp_err= |
5603 |
fi |
fi |
5644 |
# 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, |
5645 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5646 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5647 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5648 |
_ACEOF |
_ACEOF |
5649 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5654 |
#else |
#else |
5655 |
# include <assert.h> |
# include <assert.h> |
5656 |
#endif |
#endif |
5657 |
Syntax error |
Syntax error |
5658 |
_ACEOF |
_ACEOF |
5659 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5660 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5666 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5667 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5668 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5669 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5670 |
else |
else |
5671 |
ac_cpp_err= |
ac_cpp_err= |
5672 |
fi |
fi |
5687 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5688 |
# can be detected and how. |
# can be detected and how. |
5689 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5690 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5691 |
_ACEOF |
_ACEOF |
5692 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5704 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5705 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5706 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5707 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5708 |
else |
else |
5709 |
ac_cpp_err= |
ac_cpp_err= |
5710 |
fi |
fi |
5749 |
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' |
5750 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5751 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
5752 |
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 |
5753 |
do |
do |
5754 |
# 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. |
5755 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5791 |
fi |
fi |
5792 |
if test -z "$F77"; then |
if test -z "$F77"; then |
5793 |
ac_ct_F77=$F77 |
ac_ct_F77=$F77 |
5794 |
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 |
5795 |
do |
do |
5796 |
# 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. |
5797 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
5836 |
|
|
5837 |
|
|
5838 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
5839 |
echo "$as_me:4967:" \ |
echo "$as_me:5839:" \ |
5840 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
5841 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
5842 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5854 |
ac_status=$? |
ac_status=$? |
5855 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5856 |
(exit $ac_status); } |
(exit $ac_status); } |
5857 |
|
rm -f a.out |
5858 |
|
|
5859 |
# 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 |
5860 |
# input file. |
# input file. (Note that this only needs to work for GNU compilers.) |
5861 |
ac_save_ext=$ac_ext |
ac_save_ext=$ac_ext |
5862 |
ac_ext=F |
ac_ext=F |
5863 |
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 |
5875 |
_ACEOF |
_ACEOF |
5876 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5877 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5878 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5879 |
ac_status=$? |
ac_status=$? |
5880 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5881 |
|
rm -f conftest.er1 |
5882 |
|
cat conftest.err >&5 |
5883 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5884 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5885 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5886 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5887 |
|
(eval $ac_try) 2>&5 |
5888 |
|
ac_status=$? |
5889 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5890 |
|
(exit $ac_status); }; } && |
5891 |
|
{ ac_try='test -s conftest.$ac_objext' |
5892 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5893 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5894 |
ac_status=$? |
ac_status=$? |
5901 |
|
|
5902 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
5903 |
fi |
fi |
5904 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5905 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5906 |
|
|
5907 |
fi |
fi |
5908 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5909 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
5910 |
ac_ext=$ac_save_ext |
ac_ext=$ac_save_ext |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
5911 |
ac_test_FFLAGS=${FFLAGS+set} |
ac_test_FFLAGS=${FFLAGS+set} |
5912 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
5913 |
FFLAGS= |
FFLAGS= |
5924 |
_ACEOF |
_ACEOF |
5925 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5926 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5927 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5928 |
ac_status=$? |
ac_status=$? |
5929 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5930 |
|
rm -f conftest.er1 |
5931 |
|
cat conftest.err >&5 |
5932 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5933 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5934 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
5935 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5936 |
|
(eval $ac_try) 2>&5 |
5937 |
|
ac_status=$? |
5938 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5939 |
|
(exit $ac_status); }; } && |
5940 |
|
{ ac_try='test -s conftest.$ac_objext' |
5941 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5942 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5943 |
ac_status=$? |
ac_status=$? |
5950 |
|
|
5951 |
ac_cv_prog_f77_g=no |
ac_cv_prog_f77_g=no |
5952 |
fi |
fi |
5953 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5954 |
|
|
5955 |
fi |
fi |
5956 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5958 |
if test "$ac_test_FFLAGS" = set; then |
if test "$ac_test_FFLAGS" = set; then |
5959 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
5960 |
elif test $ac_cv_prog_f77_g = yes; then |
elif test $ac_cv_prog_f77_g = yes; then |
5961 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5962 |
FFLAGS="-g -O2" |
FFLAGS="-g -O2" |
5963 |
else |
else |
5964 |
FFLAGS="-g" |
FFLAGS="-g" |
5965 |
fi |
fi |
5966 |
else |
else |
5967 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5968 |
FFLAGS="-O2" |
FFLAGS="-O2" |
5969 |
else |
else |
5970 |
FFLAGS= |
FFLAGS= |
5971 |
fi |
fi |
5972 |
fi |
fi |
5973 |
|
|
5974 |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
5975 |
ac_ext=cc |
ac_ext=cc |
5976 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5977 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6868 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6869 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6870 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6871 |
(eval echo "\"\$as_me:5979: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6871: $lt_compile\"" >&5) |
6872 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6873 |
ac_status=$? |
ac_status=$? |
6874 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6875 |
echo "$as_me:5983: \$? = $ac_status" >&5 |
echo "$as_me:6875: \$? = $ac_status" >&5 |
6876 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6877 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6878 |
# So say no if there are warnings |
# So say no if there are warnings |
7101 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7102 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7103 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
7104 |
(eval echo "\"\$as_me:6212: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7104: $lt_compile\"" >&5) |
7105 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
7106 |
ac_status=$? |
ac_status=$? |
7107 |
cat conftest.err >&5 |
cat conftest.err >&5 |
7108 |
echo "$as_me:6216: \$? = $ac_status" >&5 |
echo "$as_me:7108: \$? = $ac_status" >&5 |
7109 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7110 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
7111 |
# So say no if there are warnings |
# So say no if there are warnings |
7168 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7169 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7170 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
7171 |
(eval echo "\"\$as_me:6279: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7171: $lt_compile\"" >&5) |
7172 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
7173 |
ac_status=$? |
ac_status=$? |
7174 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
7175 |
echo "$as_me:6283: \$? = $ac_status" >&5 |
echo "$as_me:7175: \$? = $ac_status" >&5 |
7176 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7177 |
then |
then |
7178 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
7536 |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
7537 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7538 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7539 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7540 |
_ACEOF |
_ACEOF |
7541 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7552 |
_ACEOF |
_ACEOF |
7553 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7554 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7555 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7556 |
ac_status=$? |
ac_status=$? |
7557 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7558 |
|
rm -f conftest.er1 |
7559 |
|
cat conftest.err >&5 |
7560 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7561 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7562 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7563 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7564 |
|
(eval $ac_try) 2>&5 |
7565 |
|
ac_status=$? |
7566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7567 |
|
(exit $ac_status); }; } && |
7568 |
|
{ ac_try='test -s conftest$ac_exeext' |
7569 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7570 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7571 |
ac_status=$? |
ac_status=$? |
7582 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7583 |
|
|
7584 |
fi |
fi |
7585 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7586 |
|
conftest$ac_exeext conftest.$ac_ext |
7587 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7588 |
|
|
7589 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7596 |
else |
else |
7597 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7598 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7599 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7600 |
_ACEOF |
_ACEOF |
7601 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7612 |
_ACEOF |
_ACEOF |
7613 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7614 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7615 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7616 |
ac_status=$? |
ac_status=$? |
7617 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7618 |
|
rm -f conftest.er1 |
7619 |
|
cat conftest.err >&5 |
7620 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7621 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7622 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7623 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7624 |
|
(eval $ac_try) 2>&5 |
7625 |
|
ac_status=$? |
7626 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7627 |
|
(exit $ac_status); }; } && |
7628 |
|
{ ac_try='test -s conftest$ac_exeext' |
7629 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7630 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7631 |
ac_status=$? |
ac_status=$? |
7642 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7643 |
|
|
7644 |
fi |
fi |
7645 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7646 |
|
conftest$ac_exeext conftest.$ac_ext |
7647 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7648 |
|
|
7649 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8496 |
# before this can be enabled. |
# before this can be enabled. |
8497 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
8498 |
|
|
8499 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
8500 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
8501 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
8502 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
8503 |
|
fi |
8504 |
|
|
8505 |
# 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 |
8506 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
8780 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8781 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8782 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8783 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8784 |
_ACEOF |
_ACEOF |
8785 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8803 |
_ACEOF |
_ACEOF |
8804 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8805 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8806 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8807 |
ac_status=$? |
ac_status=$? |
8808 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8809 |
|
rm -f conftest.er1 |
8810 |
|
cat conftest.err >&5 |
8811 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8812 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8813 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8814 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8815 |
|
(eval $ac_try) 2>&5 |
8816 |
|
ac_status=$? |
8817 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8818 |
|
(exit $ac_status); }; } && |
8819 |
|
{ ac_try='test -s conftest$ac_exeext' |
8820 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8821 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8822 |
ac_status=$? |
ac_status=$? |
8829 |
|
|
8830 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8831 |
fi |
fi |
8832 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8833 |
|
conftest$ac_exeext conftest.$ac_ext |
8834 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8835 |
fi |
fi |
8836 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8854 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8855 |
else |
else |
8856 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8857 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8858 |
_ACEOF |
_ACEOF |
8859 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8860 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8861 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8862 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
8863 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8864 |
|
#define shl_load innocuous_shl_load |
8865 |
|
|
8866 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8867 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
8868 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8869 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8870 |
|
|
8871 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8872 |
# include <limits.h> |
# include <limits.h> |
8873 |
#else |
#else |
8874 |
# include <assert.h> |
# include <assert.h> |
8875 |
#endif |
#endif |
8876 |
|
|
8877 |
|
#undef shl_load |
8878 |
|
|
8879 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8880 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8881 |
extern "C" |
extern "C" |
8906 |
_ACEOF |
_ACEOF |
8907 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8908 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8909 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8910 |
ac_status=$? |
ac_status=$? |
8911 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8912 |
|
rm -f conftest.er1 |
8913 |
|
cat conftest.err >&5 |
8914 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8915 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8916 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8917 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8918 |
|
(eval $ac_try) 2>&5 |
8919 |
|
ac_status=$? |
8920 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8921 |
|
(exit $ac_status); }; } && |
8922 |
|
{ ac_try='test -s conftest$ac_exeext' |
8923 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8924 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8925 |
ac_status=$? |
ac_status=$? |
8932 |
|
|
8933 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
8934 |
fi |
fi |
8935 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8936 |
|
conftest$ac_exeext conftest.$ac_ext |
8937 |
fi |
fi |
8938 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8939 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
8948 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8949 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8950 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8951 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8952 |
_ACEOF |
_ACEOF |
8953 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8971 |
_ACEOF |
_ACEOF |
8972 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8973 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8974 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8975 |
ac_status=$? |
ac_status=$? |
8976 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8977 |
|
rm -f conftest.er1 |
8978 |
|
cat conftest.err >&5 |
8979 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8980 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8981 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8982 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8983 |
|
(eval $ac_try) 2>&5 |
8984 |
|
ac_status=$? |
8985 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8986 |
|
(exit $ac_status); }; } && |
8987 |
|
{ ac_try='test -s conftest$ac_exeext' |
8988 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8989 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8990 |
ac_status=$? |
ac_status=$? |
8997 |
|
|
8998 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
8999 |
fi |
fi |
9000 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9001 |
|
conftest$ac_exeext conftest.$ac_ext |
9002 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9003 |
fi |
fi |
9004 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
9012 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9013 |
else |
else |
9014 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9015 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9016 |
_ACEOF |
_ACEOF |
9017 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9018 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
9019 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
9020 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
9021 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
9022 |
|
#define dlopen innocuous_dlopen |
9023 |
|
|
9024 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9025 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
9026 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9027 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
9028 |
|
|
9029 |
#ifdef __STDC__ |
#ifdef __STDC__ |
9030 |
# include <limits.h> |
# include <limits.h> |
9031 |
#else |
#else |
9032 |
# include <assert.h> |
# include <assert.h> |
9033 |
#endif |
#endif |
9034 |
|
|
9035 |
|
#undef dlopen |
9036 |
|
|
9037 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9038 |
#ifdef __cplusplus |
#ifdef __cplusplus |
9039 |
extern "C" |
extern "C" |
9064 |
_ACEOF |
_ACEOF |
9065 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9066 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9067 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9068 |
ac_status=$? |
ac_status=$? |
9069 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9070 |
|
rm -f conftest.er1 |
9071 |
|
cat conftest.err >&5 |
9072 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9073 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9074 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9075 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9076 |
|
(eval $ac_try) 2>&5 |
9077 |
|
ac_status=$? |
9078 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9079 |
|
(exit $ac_status); }; } && |
9080 |
|
{ ac_try='test -s conftest$ac_exeext' |
9081 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9082 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9083 |
ac_status=$? |
ac_status=$? |
9090 |
|
|
9091 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
9092 |
fi |
fi |
9093 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9094 |
|
conftest$ac_exeext conftest.$ac_ext |
9095 |
fi |
fi |
9096 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9097 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9106 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9107 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
9108 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9109 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9110 |
_ACEOF |
_ACEOF |
9111 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9129 |
_ACEOF |
_ACEOF |
9130 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9131 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9132 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9133 |
ac_status=$? |
ac_status=$? |
9134 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9135 |
|
rm -f conftest.er1 |
9136 |
|
cat conftest.err >&5 |
9137 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9138 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9139 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9140 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9141 |
|
(eval $ac_try) 2>&5 |
9142 |
|
ac_status=$? |
9143 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9144 |
|
(exit $ac_status); }; } && |
9145 |
|
{ ac_try='test -s conftest$ac_exeext' |
9146 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9147 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9148 |
ac_status=$? |
ac_status=$? |
9155 |
|
|
9156 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
9157 |
fi |
fi |
9158 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9159 |
|
conftest$ac_exeext conftest.$ac_ext |
9160 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9161 |
fi |
fi |
9162 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9172 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9173 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
9174 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9175 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9176 |
_ACEOF |
_ACEOF |
9177 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9195 |
_ACEOF |
_ACEOF |
9196 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9197 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9198 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9199 |
ac_status=$? |
ac_status=$? |
9200 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9201 |
|
rm -f conftest.er1 |
9202 |
|
cat conftest.err >&5 |
9203 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9204 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9205 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9206 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9207 |
|
(eval $ac_try) 2>&5 |
9208 |
|
ac_status=$? |
9209 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9210 |
|
(exit $ac_status); }; } && |
9211 |
|
{ ac_try='test -s conftest$ac_exeext' |
9212 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9213 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9214 |
ac_status=$? |
ac_status=$? |
9221 |
|
|
9222 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
9223 |
fi |
fi |
9224 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9225 |
|
conftest$ac_exeext conftest.$ac_ext |
9226 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9227 |
fi |
fi |
9228 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
9238 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
9239 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
9240 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9241 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9242 |
_ACEOF |
_ACEOF |
9243 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9261 |
_ACEOF |
_ACEOF |
9262 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9263 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9264 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9265 |
ac_status=$? |
ac_status=$? |
9266 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9267 |
|
rm -f conftest.er1 |
9268 |
|
cat conftest.err >&5 |
9269 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9270 |
(exit $ac_status); } && |
(exit $ac_status); } && |
9271 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9272 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9273 |
|
(eval $ac_try) 2>&5 |
9274 |
|
ac_status=$? |
9275 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9276 |
|
(exit $ac_status); }; } && |
9277 |
|
{ ac_try='test -s conftest$ac_exeext' |
9278 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9279 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
9280 |
ac_status=$? |
ac_status=$? |
9287 |
|
|
9288 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
9289 |
fi |
fi |
9290 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
9291 |
|
conftest$ac_exeext conftest.$ac_ext |
9292 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
9293 |
fi |
fi |
9294 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
9343 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9344 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9345 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9346 |
#line 8354 "configure" |
#line 9346 "configure" |
9347 |
#include "confdefs.h" |
#include "confdefs.h" |
9348 |
|
|
9349 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9441 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9442 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
9443 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
9444 |
#line 8452 "configure" |
#line 9444 "configure" |
9445 |
#include "confdefs.h" |
#include "confdefs.h" |
9446 |
|
|
9447 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
10490 |
allow_undefined_flag_CXX='-berok' |
allow_undefined_flag_CXX='-berok' |
10491 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10492 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10493 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10494 |
_ACEOF |
_ACEOF |
10495 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10506 |
_ACEOF |
_ACEOF |
10507 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10508 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10509 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10510 |
ac_status=$? |
ac_status=$? |
10511 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10512 |
|
rm -f conftest.er1 |
10513 |
|
cat conftest.err >&5 |
10514 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10515 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10516 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10517 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10518 |
|
(eval $ac_try) 2>&5 |
10519 |
|
ac_status=$? |
10520 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10521 |
|
(exit $ac_status); }; } && |
10522 |
|
{ ac_try='test -s conftest$ac_exeext' |
10523 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10524 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10525 |
ac_status=$? |
ac_status=$? |
10536 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10537 |
|
|
10538 |
fi |
fi |
10539 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10540 |
|
conftest$ac_exeext conftest.$ac_ext |
10541 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10542 |
|
|
10543 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10551 |
else |
else |
10552 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10553 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10554 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10555 |
_ACEOF |
_ACEOF |
10556 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10567 |
_ACEOF |
_ACEOF |
10568 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10569 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10570 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10571 |
ac_status=$? |
ac_status=$? |
10572 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10573 |
|
rm -f conftest.er1 |
10574 |
|
cat conftest.err >&5 |
10575 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10576 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10577 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10578 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10579 |
|
(eval $ac_try) 2>&5 |
10580 |
|
ac_status=$? |
10581 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10582 |
|
(exit $ac_status); }; } && |
10583 |
|
{ ac_try='test -s conftest$ac_exeext' |
10584 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10585 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10586 |
ac_status=$? |
ac_status=$? |
10597 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10598 |
|
|
10599 |
fi |
fi |
10600 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10601 |
|
conftest$ac_exeext conftest.$ac_ext |
10602 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10603 |
|
|
10604 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11618 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11619 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11620 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11621 |
(eval echo "\"\$as_me:10611: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11621: $lt_compile\"" >&5) |
11622 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11623 |
ac_status=$? |
ac_status=$? |
11624 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11625 |
echo "$as_me:10615: \$? = $ac_status" >&5 |
echo "$as_me:11625: \$? = $ac_status" >&5 |
11626 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11627 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11628 |
# So say no if there are warnings |
# So say no if there are warnings |
11685 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11686 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11687 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11688 |
(eval echo "\"\$as_me:10678: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11688: $lt_compile\"" >&5) |
11689 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11690 |
ac_status=$? |
ac_status=$? |
11691 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11692 |
echo "$as_me:10682: \$? = $ac_status" >&5 |
echo "$as_me:11692: \$? = $ac_status" >&5 |
11693 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11694 |
then |
then |
11695 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
12192 |
# before this can be enabled. |
# before this can be enabled. |
12193 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
12194 |
|
|
12195 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
12196 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
12197 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
12198 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
12199 |
|
fi |
12200 |
|
|
12201 |
# 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 |
12202 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
12476 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12477 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12478 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12479 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12480 |
_ACEOF |
_ACEOF |
12481 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12499 |
_ACEOF |
_ACEOF |
12500 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12501 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12502 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12503 |
ac_status=$? |
ac_status=$? |
12504 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12505 |
|
rm -f conftest.er1 |
12506 |
|
cat conftest.err >&5 |
12507 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12508 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12509 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12510 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12511 |
|
(eval $ac_try) 2>&5 |
12512 |
|
ac_status=$? |
12513 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12514 |
|
(exit $ac_status); }; } && |
12515 |
|
{ ac_try='test -s conftest$ac_exeext' |
12516 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12517 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12518 |
ac_status=$? |
ac_status=$? |
12525 |
|
|
12526 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12527 |
fi |
fi |
12528 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12529 |
|
conftest$ac_exeext conftest.$ac_ext |
12530 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12531 |
fi |
fi |
12532 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12550 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12551 |
else |
else |
12552 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12553 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12554 |
_ACEOF |
_ACEOF |
12555 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12556 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12557 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12558 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
12559 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12560 |
|
#define shl_load innocuous_shl_load |
12561 |
|
|
12562 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12563 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
12564 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12565 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12566 |
|
|
12567 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12568 |
# include <limits.h> |
# include <limits.h> |
12569 |
#else |
#else |
12570 |
# include <assert.h> |
# include <assert.h> |
12571 |
#endif |
#endif |
12572 |
|
|
12573 |
|
#undef shl_load |
12574 |
|
|
12575 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12576 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12577 |
extern "C" |
extern "C" |
12602 |
_ACEOF |
_ACEOF |
12603 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12604 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12605 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12606 |
ac_status=$? |
ac_status=$? |
12607 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12608 |
|
rm -f conftest.er1 |
12609 |
|
cat conftest.err >&5 |
12610 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12611 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12612 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12613 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12614 |
|
(eval $ac_try) 2>&5 |
12615 |
|
ac_status=$? |
12616 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12617 |
|
(exit $ac_status); }; } && |
12618 |
|
{ ac_try='test -s conftest$ac_exeext' |
12619 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12620 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12621 |
ac_status=$? |
ac_status=$? |
12628 |
|
|
12629 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
12630 |
fi |
fi |
12631 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12632 |
|
conftest$ac_exeext conftest.$ac_ext |
12633 |
fi |
fi |
12634 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12635 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
12644 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12645 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12646 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12647 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12648 |
_ACEOF |
_ACEOF |
12649 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12667 |
_ACEOF |
_ACEOF |
12668 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12669 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12670 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12671 |
ac_status=$? |
ac_status=$? |
12672 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12673 |
|
rm -f conftest.er1 |
12674 |
|
cat conftest.err >&5 |
12675 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12676 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12677 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12678 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12679 |
|
(eval $ac_try) 2>&5 |
12680 |
|
ac_status=$? |
12681 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12682 |
|
(exit $ac_status); }; } && |
12683 |
|
{ ac_try='test -s conftest$ac_exeext' |
12684 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12685 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12686 |
ac_status=$? |
ac_status=$? |
12693 |
|
|
12694 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
12695 |
fi |
fi |
12696 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12697 |
|
conftest$ac_exeext conftest.$ac_ext |
12698 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12699 |
fi |
fi |
12700 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12708 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12709 |
else |
else |
12710 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12711 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12712 |
_ACEOF |
_ACEOF |
12713 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12714 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12715 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12716 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
12717 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12718 |
|
#define dlopen innocuous_dlopen |
12719 |
|
|
12720 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12721 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
12722 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12723 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12724 |
|
|
12725 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12726 |
# include <limits.h> |
# include <limits.h> |
12727 |
#else |
#else |
12728 |
# include <assert.h> |
# include <assert.h> |
12729 |
#endif |
#endif |
12730 |
|
|
12731 |
|
#undef dlopen |
12732 |
|
|
12733 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12734 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12735 |
extern "C" |
extern "C" |
12760 |
_ACEOF |
_ACEOF |
12761 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12762 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12763 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12764 |
ac_status=$? |
ac_status=$? |
12765 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12766 |
|
rm -f conftest.er1 |
12767 |
|
cat conftest.err >&5 |
12768 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12769 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12770 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12771 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12772 |
|
(eval $ac_try) 2>&5 |
12773 |
|
ac_status=$? |
12774 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12775 |
|
(exit $ac_status); }; } && |
12776 |
|
{ ac_try='test -s conftest$ac_exeext' |
12777 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12778 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12779 |
ac_status=$? |
ac_status=$? |
12786 |
|
|
12787 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
12788 |
fi |
fi |
12789 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12790 |
|
conftest$ac_exeext conftest.$ac_ext |
12791 |
fi |
fi |
12792 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12793 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
12802 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12803 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12804 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12805 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12806 |
_ACEOF |
_ACEOF |
12807 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12825 |
_ACEOF |
_ACEOF |
12826 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12827 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12828 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12829 |
ac_status=$? |
ac_status=$? |
12830 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12831 |
|
rm -f conftest.er1 |
12832 |
|
cat conftest.err >&5 |
12833 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12834 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12835 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12836 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12837 |
|
(eval $ac_try) 2>&5 |
12838 |
|
ac_status=$? |
12839 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12840 |
|
(exit $ac_status); }; } && |
12841 |
|
{ ac_try='test -s conftest$ac_exeext' |
12842 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12843 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12844 |
ac_status=$? |
ac_status=$? |
12851 |
|
|
12852 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12853 |
fi |
fi |
12854 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12855 |
|
conftest$ac_exeext conftest.$ac_ext |
12856 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12857 |
fi |
fi |
12858 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12868 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12869 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
12870 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12871 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12872 |
_ACEOF |
_ACEOF |
12873 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12891 |
_ACEOF |
_ACEOF |
12892 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12893 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12894 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12895 |
ac_status=$? |
ac_status=$? |
12896 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12897 |
|
rm -f conftest.er1 |
12898 |
|
cat conftest.err >&5 |
12899 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12900 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12901 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12902 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12903 |
|
(eval $ac_try) 2>&5 |
12904 |
|
ac_status=$? |
12905 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12906 |
|
(exit $ac_status); }; } && |
12907 |
|
{ ac_try='test -s conftest$ac_exeext' |
12908 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12909 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12910 |
ac_status=$? |
ac_status=$? |
12917 |
|
|
12918 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
12919 |
fi |
fi |
12920 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12921 |
|
conftest$ac_exeext conftest.$ac_ext |
12922 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12923 |
fi |
fi |
12924 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
12934 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12935 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12936 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12937 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12938 |
_ACEOF |
_ACEOF |
12939 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12957 |
_ACEOF |
_ACEOF |
12958 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12959 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12960 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12961 |
ac_status=$? |
ac_status=$? |
12962 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12963 |
|
rm -f conftest.er1 |
12964 |
|
cat conftest.err >&5 |
12965 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12966 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12967 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12968 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12969 |
|
(eval $ac_try) 2>&5 |
12970 |
|
ac_status=$? |
12971 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12972 |
|
(exit $ac_status); }; } && |
12973 |
|
{ ac_try='test -s conftest$ac_exeext' |
12974 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12975 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12976 |
ac_status=$? |
ac_status=$? |
12983 |
|
|
12984 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
12985 |
fi |
fi |
12986 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12987 |
|
conftest$ac_exeext conftest.$ac_ext |
12988 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12989 |
fi |
fi |
12990 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
13039 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13040 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
13041 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
13042 |
#line 11950 "configure" |
#line 13042 "configure" |
13043 |
#include "confdefs.h" |
#include "confdefs.h" |
13044 |
|
|
13045 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13137 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13138 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
13139 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
13140 |
#line 12048 "configure" |
#line 13140 "configure" |
13141 |
#include "confdefs.h" |
#include "confdefs.h" |
13142 |
|
|
13143 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13964 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13965 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13966 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13967 |
(eval echo "\"\$as_me:12875: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13967: $lt_compile\"" >&5) |
13968 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13969 |
ac_status=$? |
ac_status=$? |
13970 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13971 |
echo "$as_me:12879: \$? = $ac_status" >&5 |
echo "$as_me:13971: \$? = $ac_status" >&5 |
13972 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13973 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13974 |
# So say no if there are warnings |
# So say no if there are warnings |
14031 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14032 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14033 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
14034 |
(eval echo "\"\$as_me:12942: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:14034: $lt_compile\"" >&5) |
14035 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
14036 |
ac_status=$? |
ac_status=$? |
14037 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
14038 |
echo "$as_me:12946: \$? = $ac_status" >&5 |
echo "$as_me:14038: \$? = $ac_status" >&5 |
14039 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14040 |
then |
then |
14041 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
14405 |
_ACEOF |
_ACEOF |
14406 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
14407 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14408 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
14409 |
ac_status=$? |
ac_status=$? |
14410 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
14411 |
|
rm -f conftest.er1 |
14412 |
|
cat conftest.err >&5 |
14413 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14414 |
(exit $ac_status); } && |
(exit $ac_status); } && |
14415 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
14416 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14417 |
|
(eval $ac_try) 2>&5 |
14418 |
|
ac_status=$? |
14419 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14420 |
|
(exit $ac_status); }; } && |
14421 |
|
{ ac_try='test -s conftest$ac_exeext' |
14422 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14423 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
14424 |
ac_status=$? |
ac_status=$? |
14435 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14436 |
|
|
14437 |
fi |
fi |
14438 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
14439 |
|
conftest$ac_exeext conftest.$ac_ext |
14440 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14441 |
|
|
14442 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14455 |
_ACEOF |
_ACEOF |
14456 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
14457 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14458 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
14459 |
ac_status=$? |
ac_status=$? |
14460 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
14461 |
|
rm -f conftest.er1 |
14462 |
|
cat conftest.err >&5 |
14463 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14464 |
(exit $ac_status); } && |
(exit $ac_status); } && |
14465 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' |
14466 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14467 |
|
(eval $ac_try) 2>&5 |
14468 |
|
ac_status=$? |
14469 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14470 |
|
(exit $ac_status); }; } && |
14471 |
|
{ ac_try='test -s conftest$ac_exeext' |
14472 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14473 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
14474 |
ac_status=$? |
ac_status=$? |
14485 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
14486 |
|
|
14487 |
fi |
fi |
14488 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
14489 |
|
conftest$ac_exeext conftest.$ac_ext |
14490 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14491 |
|
|
14492 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
15339 |
# before this can be enabled. |
# before this can be enabled. |
15340 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
15341 |
|
|
15342 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
15343 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
15344 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
15345 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
15346 |
|
fi |
15347 |
|
|
15348 |
# 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 |
15349 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
16063 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16064 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16065 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16066 |
(eval echo "\"\$as_me:14951: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16066: $lt_compile\"" >&5) |
16067 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16068 |
ac_status=$? |
ac_status=$? |
16069 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16070 |
echo "$as_me:14955: \$? = $ac_status" >&5 |
echo "$as_me:16070: \$? = $ac_status" >&5 |
16071 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16072 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16073 |
# So say no if there are warnings |
# So say no if there are warnings |
16296 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16297 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16298 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16299 |
(eval echo "\"\$as_me:15184: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16299: $lt_compile\"" >&5) |
16300 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
16301 |
ac_status=$? |
ac_status=$? |
16302 |
cat conftest.err >&5 |
cat conftest.err >&5 |
16303 |
echo "$as_me:15188: \$? = $ac_status" >&5 |
echo "$as_me:16303: \$? = $ac_status" >&5 |
16304 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
16305 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16306 |
# So say no if there are warnings |
# So say no if there are warnings |
16363 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16364 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16365 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
16366 |
(eval echo "\"\$as_me:15251: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16366: $lt_compile\"" >&5) |
16367 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
16368 |
ac_status=$? |
ac_status=$? |
16369 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
16370 |
echo "$as_me:15255: \$? = $ac_status" >&5 |
echo "$as_me:16370: \$? = $ac_status" >&5 |
16371 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16372 |
then |
then |
16373 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16731 |
allow_undefined_flag_GCJ='-berok' |
allow_undefined_flag_GCJ='-berok' |
16732 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16733 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16734 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16735 |
_ACEOF |
_ACEOF |
16736 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16747 |
_ACEOF |
_ACEOF |
16748 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16749 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16750 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16751 |
ac_status=$? |
ac_status=$? |
16752 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16753 |
|
rm -f conftest.er1 |
16754 |
|
cat conftest.err >&5 |
16755 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16756 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16757 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16758 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16759 |
|
(eval $ac_try) 2>&5 |
16760 |
|
ac_status=$? |
16761 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16762 |
|
(exit $ac_status); }; } && |
16763 |
|
{ ac_try='test -s conftest$ac_exeext' |
16764 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16765 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16766 |
ac_status=$? |
ac_status=$? |
16777 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16778 |
|
|
16779 |
fi |
fi |
16780 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16781 |
|
conftest$ac_exeext conftest.$ac_ext |
16782 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16783 |
|
|
16784 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16791 |
else |
else |
16792 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16793 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16794 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16795 |
_ACEOF |
_ACEOF |
16796 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16807 |
_ACEOF |
_ACEOF |
16808 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16809 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16810 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16811 |
ac_status=$? |
ac_status=$? |
16812 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16813 |
|
rm -f conftest.er1 |
16814 |
|
cat conftest.err >&5 |
16815 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16816 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16817 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
16818 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16819 |
|
(eval $ac_try) 2>&5 |
16820 |
|
ac_status=$? |
16821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16822 |
|
(exit $ac_status); }; } && |
16823 |
|
{ ac_try='test -s conftest$ac_exeext' |
16824 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16825 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16826 |
ac_status=$? |
ac_status=$? |
16837 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16838 |
|
|
16839 |
fi |
fi |
16840 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16841 |
|
conftest$ac_exeext conftest.$ac_ext |
16842 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16843 |
|
|
16844 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17691 |
# before this can be enabled. |
# before this can be enabled. |
17692 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17693 |
|
|
17694 |
# /usr/X11R6/lib and /usr/local/lib are common enough... |
# Append ld.so.conf contents to the search path |
17695 |
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
if test -f /etc/ld.so.conf; then |
17696 |
|
ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
17697 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
17698 |
|
fi |
17699 |
|
|
17700 |
# 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 |
17701 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
17975 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17976 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17977 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17978 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17979 |
_ACEOF |
_ACEOF |
17980 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17998 |
_ACEOF |
_ACEOF |
17999 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18000 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18001 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18002 |
ac_status=$? |
ac_status=$? |
18003 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18004 |
|
rm -f conftest.er1 |
18005 |
|
cat conftest.err >&5 |
18006 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18007 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18008 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18009 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18010 |
|
(eval $ac_try) 2>&5 |
18011 |
|
ac_status=$? |
18012 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18013 |
|
(exit $ac_status); }; } && |
18014 |
|
{ ac_try='test -s conftest$ac_exeext' |
18015 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18016 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18017 |
ac_status=$? |
ac_status=$? |
18024 |
|
|
18025 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
18026 |
fi |
fi |
18027 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18028 |
|
conftest$ac_exeext conftest.$ac_ext |
18029 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18030 |
fi |
fi |
18031 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18049 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
18050 |
else |
else |
18051 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18052 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18053 |
_ACEOF |
_ACEOF |
18054 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18055 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
18056 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
18057 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
18058 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
18059 |
|
#define shl_load innocuous_shl_load |
18060 |
|
|
18061 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
18062 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
18063 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
18064 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
18065 |
|
|
18066 |
#ifdef __STDC__ |
#ifdef __STDC__ |
18067 |
# include <limits.h> |
# include <limits.h> |
18068 |
#else |
#else |
18069 |
# include <assert.h> |
# include <assert.h> |
18070 |
#endif |
#endif |
18071 |
|
|
18072 |
|
#undef shl_load |
18073 |
|
|
18074 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
18075 |
#ifdef __cplusplus |
#ifdef __cplusplus |
18076 |
extern "C" |
extern "C" |
18101 |
_ACEOF |
_ACEOF |
18102 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18103 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18104 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18105 |
ac_status=$? |
ac_status=$? |
18106 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18107 |
|
rm -f conftest.er1 |
18108 |
|
cat conftest.err >&5 |
18109 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18110 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18111 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18112 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18113 |
|
(eval $ac_try) 2>&5 |
18114 |
|
ac_status=$? |
18115 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18116 |
|
(exit $ac_status); }; } && |
18117 |
|
{ ac_try='test -s conftest$ac_exeext' |
18118 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18119 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18120 |
ac_status=$? |
ac_status=$? |
18127 |
|
|
18128 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
18129 |
fi |
fi |
18130 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18131 |
|
conftest$ac_exeext conftest.$ac_ext |
18132 |
fi |
fi |
18133 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
18134 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
18143 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18144 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
18145 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18146 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18147 |
_ACEOF |
_ACEOF |
18148 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18166 |
_ACEOF |
_ACEOF |
18167 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18168 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18169 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18170 |
ac_status=$? |
ac_status=$? |
18171 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18172 |
|
rm -f conftest.er1 |
18173 |
|
cat conftest.err >&5 |
18174 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18175 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18176 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18177 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18178 |
|
(eval $ac_try) 2>&5 |
18179 |
|
ac_status=$? |
18180 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18181 |
|
(exit $ac_status); }; } && |
18182 |
|
{ ac_try='test -s conftest$ac_exeext' |
18183 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18184 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18185 |
ac_status=$? |
ac_status=$? |
18192 |
|
|
18193 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
18194 |
fi |
fi |
18195 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18196 |
|
conftest$ac_exeext conftest.$ac_ext |
18197 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18198 |
fi |
fi |
18199 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
18207 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
18208 |
else |
else |
18209 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18210 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18211 |
_ACEOF |
_ACEOF |
18212 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18213 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
18214 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
18215 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
18216 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
18217 |
|
#define dlopen innocuous_dlopen |
18218 |
|
|
18219 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
18220 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
18221 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
18222 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
18223 |
|
|
18224 |
#ifdef __STDC__ |
#ifdef __STDC__ |
18225 |
# include <limits.h> |
# include <limits.h> |
18226 |
#else |
#else |
18227 |
# include <assert.h> |
# include <assert.h> |
18228 |
#endif |
#endif |
18229 |
|
|
18230 |
|
#undef dlopen |
18231 |
|
|
18232 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
18233 |
#ifdef __cplusplus |
#ifdef __cplusplus |
18234 |
extern "C" |
extern "C" |
18259 |
_ACEOF |
_ACEOF |
18260 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18261 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18262 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18263 |
ac_status=$? |
ac_status=$? |
18264 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18265 |
|
rm -f conftest.er1 |
18266 |
|
cat conftest.err >&5 |
18267 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18268 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18269 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18270 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18271 |
|
(eval $ac_try) 2>&5 |
18272 |
|
ac_status=$? |
18273 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18274 |
|
(exit $ac_status); }; } && |
18275 |
|
{ ac_try='test -s conftest$ac_exeext' |
18276 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18277 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18278 |
ac_status=$? |
ac_status=$? |
18285 |
|
|
18286 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
18287 |
fi |
fi |
18288 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18289 |
|
conftest$ac_exeext conftest.$ac_ext |
18290 |
fi |
fi |
18291 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
18292 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
18301 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18302 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
18303 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18304 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18305 |
_ACEOF |
_ACEOF |
18306 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18324 |
_ACEOF |
_ACEOF |
18325 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18326 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18327 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18328 |
ac_status=$? |
ac_status=$? |
18329 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18330 |
|
rm -f conftest.er1 |
18331 |
|
cat conftest.err >&5 |
18332 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18333 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18334 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18335 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18336 |
|
(eval $ac_try) 2>&5 |
18337 |
|
ac_status=$? |
18338 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18339 |
|
(exit $ac_status); }; } && |
18340 |
|
{ ac_try='test -s conftest$ac_exeext' |
18341 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18342 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18343 |
ac_status=$? |
ac_status=$? |
18350 |
|
|
18351 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
18352 |
fi |
fi |
18353 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18354 |
|
conftest$ac_exeext conftest.$ac_ext |
18355 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18356 |
fi |
fi |
18357 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18367 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18368 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
18369 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18370 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18371 |
_ACEOF |
_ACEOF |
18372 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18390 |
_ACEOF |
_ACEOF |
18391 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18392 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18393 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18394 |
ac_status=$? |
ac_status=$? |
18395 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18396 |
|
rm -f conftest.er1 |
18397 |
|
cat conftest.err >&5 |
18398 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18399 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18400 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18401 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18402 |
|
(eval $ac_try) 2>&5 |
18403 |
|
ac_status=$? |
18404 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18405 |
|
(exit $ac_status); }; } && |
18406 |
|
{ ac_try='test -s conftest$ac_exeext' |
18407 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18408 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18409 |
ac_status=$? |
ac_status=$? |
18416 |
|
|
18417 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
18418 |
fi |
fi |
18419 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18420 |
|
conftest$ac_exeext conftest.$ac_ext |
18421 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18422 |
fi |
fi |
18423 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
18433 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
18434 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
18435 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
18436 |
/* confdefs.h. */ |
/* confdefs.h. */ |
18437 |
_ACEOF |
_ACEOF |
18438 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
18456 |
_ACEOF |
_ACEOF |
18457 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
18458 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18459 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
18460 |
ac_status=$? |
ac_status=$? |
18461 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18462 |
|
rm -f conftest.er1 |
18463 |
|
cat conftest.err >&5 |
18464 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18465 |
(exit $ac_status); } && |
(exit $ac_status); } && |
18466 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
18467 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18468 |
|
(eval $ac_try) 2>&5 |
18469 |
|
ac_status=$? |
18470 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18471 |
|
(exit $ac_status); }; } && |
18472 |
|
{ ac_try='test -s conftest$ac_exeext' |
18473 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18474 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
18475 |
ac_status=$? |
ac_status=$? |
18482 |
|
|
18483 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
18484 |
fi |
fi |
18485 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
18486 |
|
conftest$ac_exeext conftest.$ac_ext |
18487 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
18488 |
fi |
fi |
18489 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
18538 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18539 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18540 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18541 |
#line 17326 "configure" |
#line 18541 "configure" |
18542 |
#include "confdefs.h" |
#include "confdefs.h" |
18543 |
|
|
18544 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18636 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18637 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18638 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18639 |
#line 17424 "configure" |
#line 18639 "configure" |
18640 |
#include "confdefs.h" |
#include "confdefs.h" |
18641 |
|
|
18642 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
19680 |
# `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
19681 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
19682 |
sed -n \ |
sed -n \ |
19683 |
"s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
19684 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
19685 |
;; |
;; |
19686 |
*) |
*) |
19687 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
19688 |
sed -n \ |
sed -n \ |
19689 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
19690 |
;; |
;; |
19691 |
esac; |
esac; |
19692 |
} | |
} | |
19716 |
# trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
19717 |
# (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
19718 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
19719 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
19720 |
s/:*\$(srcdir):*/:/; |
s/:*\$(srcdir):*/:/; |
19721 |
s/:*\${srcdir}:*/:/; |
s/:*\${srcdir}:*/:/; |
19722 |
s/:*@srcdir@:*/:/; |
s/:*@srcdir@:*/:/; |
19723 |
s/^\([^=]*=[ ]*\):*/\1/; |
s/^\([^=]*=[ ]*\):*/\1/; |
19724 |
s/:*$//; |
s/:*$//; |
19725 |
s/^[^=]*=[ ]*$//; |
s/^[^=]*=[ ]*$//; |
19726 |
}' |
}' |
19727 |
fi |
fi |
19728 |
|
|
19733 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
19734 |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
19735 |
ac_i=`echo "$ac_i" | |
ac_i=`echo "$ac_i" | |
19736 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
19737 |
# 2. Add them. |
# 2. Add them. |
19738 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
19739 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
19784 |
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 |
19785 |
set -o posix |
set -o posix |
19786 |
fi |
fi |
19787 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
19788 |
|
|
19789 |
# Support unset when possible. |
# Support unset when possible. |
19790 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
19791 |
as_unset=unset |
as_unset=unset |
19792 |
else |
else |
19793 |
as_unset=false |
as_unset=false |
19806 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
19807 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
19808 |
do |
do |
19809 |
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 |
19810 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
19811 |
else |
else |
19812 |
$as_unset $as_var |
$as_unset $as_var |
19985 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
19986 |
as_mkdir_p=: |
as_mkdir_p=: |
19987 |
else |
else |
19988 |
|
test -d ./-p && rmdir ./-p |
19989 |
as_mkdir_p=false |
as_mkdir_p=false |
19990 |
fi |
fi |
19991 |
|
|
19992 |
as_executable_p="test -f" |
as_executable_p="test -f" |
19993 |
|
|
19994 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
19995 |
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'" |
19996 |
|
|
19997 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
19998 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
19999 |
|
|
20000 |
|
|
20001 |
# IFS |
# IFS |
20022 |
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
20023 |
|
|
20024 |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
20025 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.59. Invocation command line was |
20026 |
|
|
20027 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
20028 |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
20066 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
20067 |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
20068 |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
20069 |
instantiate the configuration file FILE |
instantiate the configuration file FILE |
20070 |
--header=FILE[:TEMPLATE] |
--header=FILE[:TEMPLATE] |
20071 |
instantiate the configuration header FILE |
instantiate the configuration header FILE |
20072 |
|
|
20073 |
Configuration files: |
Configuration files: |
20074 |
$config_files |
$config_files |
20085 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
20086 |
ac_cs_version="\\ |
ac_cs_version="\\ |
20087 |
config.status |
config.status |
20088 |
configured by $0, generated by GNU Autoconf 2.57, |
configured by $0, generated by GNU Autoconf 2.59, |
20089 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
20090 |
|
|
20091 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
20092 |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
20093 |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
20094 |
srcdir=$srcdir |
srcdir=$srcdir |
20283 |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
20284 |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
20285 |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
20286 |
|
s,@CC@,$CC,;t t |
20287 |
|
s,@CFLAGS@,$CFLAGS,;t t |
20288 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
20289 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
20290 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
20291 |
|
s,@EXEEXT@,$EXEEXT,;t t |
20292 |
|
s,@OBJEXT@,$OBJEXT,;t t |
20293 |
s,@build@,$build,;t t |
s,@build@,$build,;t t |
20294 |
s,@build_cpu@,$build_cpu,;t t |
s,@build_cpu@,$build_cpu,;t t |
20295 |
s,@build_vendor@,$build_vendor,;t t |
s,@build_vendor@,$build_vendor,;t t |
20302 |
s,@target_cpu@,$target_cpu,;t t |
s,@target_cpu@,$target_cpu,;t t |
20303 |
s,@target_vendor@,$target_vendor,;t t |
s,@target_vendor@,$target_vendor,;t t |
20304 |
s,@target_os@,$target_os,;t t |
s,@target_os@,$target_os,;t t |
20305 |
|
s,@CPP@,$CPP,;t t |
20306 |
|
s,@EGREP@,$EGREP,;t t |
20307 |
|
s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
20308 |
|
s,@JACK_CFLAGS@,$JACK_CFLAGS,;t t |
20309 |
|
s,@JACK_LIBS@,$JACK_LIBS,;t t |
20310 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
20311 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
20312 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
20324 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
20325 |
s,@AWK@,$AWK,;t t |
s,@AWK@,$AWK,;t t |
20326 |
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 |
|
20327 |
s,@DEPDIR@,$DEPDIR,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
20328 |
s,@am__include@,$am__include,;t t |
s,@am__include@,$am__include,;t t |
20329 |
s,@am__quote@,$am__quote,;t t |
s,@am__quote@,$am__quote,;t t |
20330 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
20331 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
20332 |
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 |
|
20333 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
20334 |
s,@EGREP@,$EGREP,;t t |
s,@CXX@,$CXX,;t t |
20335 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
20336 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
20337 |
|
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
20338 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
20339 |
s,@ECHO@,$ECHO,;t t |
s,@ECHO@,$ECHO,;t t |
20340 |
s,@AR@,$AR,;t t |
s,@AR@,$AR,;t t |
20341 |
s,@ac_ct_AR@,$ac_ct_AR,;t t |
s,@ac_ct_AR@,$ac_ct_AR,;t t |
20342 |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |
20343 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
s,@CPP@,$CPP,;t t |
|
20344 |
s,@CXXCPP@,$CXXCPP,;t t |
s,@CXXCPP@,$CXXCPP,;t t |
20345 |
s,@F77@,$F77,;t t |
s,@F77@,$F77,;t t |
20346 |
s,@FFLAGS@,$FFLAGS,;t t |
s,@FFLAGS@,$FFLAGS,;t t |
20377 |
(echo ':t |
(echo ':t |
20378 |
/@[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 |
20379 |
if test -z "$ac_sed_cmds"; then |
if test -z "$ac_sed_cmds"; then |
20380 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
20381 |
else |
else |
20382 |
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" |
20383 |
fi |
fi |
20384 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_sed_frag=`expr $ac_sed_frag + 1` |
20385 |
ac_beg=$ac_end |
ac_beg=$ac_end |
20397 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20398 |
case $ac_file in |
case $ac_file in |
20399 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20400 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20401 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20402 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20403 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20404 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20405 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20406 |
esac |
esac |
20407 |
|
|
20408 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
20409 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20410 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20411 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20412 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20413 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20414 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20415 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20416 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20417 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20427 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20428 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20429 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20430 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20431 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20432 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20433 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20434 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20435 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20436 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20468 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20469 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20470 |
esac |
esac |
20471 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
20472 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20473 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
20474 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
20475 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20476 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
20477 |
|
case "$ac_dir" in |
20478 |
|
.) ac_abs_builddir=`pwd`;; |
20479 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
20480 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
20481 |
|
esac;; |
20482 |
|
esac |
20483 |
|
case $ac_abs_builddir in |
20484 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20485 |
|
*) |
20486 |
|
case ${ac_top_builddir}. in |
20487 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
20488 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20489 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
20490 |
|
esac;; |
20491 |
|
esac |
20492 |
|
case $ac_abs_builddir in |
20493 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20494 |
|
*) |
20495 |
|
case $ac_srcdir in |
20496 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
20497 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20498 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
20499 |
|
esac;; |
20500 |
|
esac |
20501 |
|
case $ac_abs_builddir in |
20502 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20503 |
|
*) |
20504 |
|
case $ac_top_srcdir in |
20505 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
20506 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20507 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
20508 |
|
esac;; |
20509 |
|
esac |
20510 |
|
|
20511 |
|
|
20512 |
case $INSTALL in |
case $INSTALL in |
20514 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
20515 |
esac |
esac |
20516 |
|
|
|
if test x"$ac_file" != x-; then |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
echo "$as_me: creating $ac_file" >&6;} |
|
|
rm -f "$ac_file" |
|
|
fi |
|
20517 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
20518 |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
20519 |
# /* config.h. Generated by config.status. */ |
# /* config.h. Generated by config.status. */ |
20523 |
configure_input="$ac_file. " |
configure_input="$ac_file. " |
20524 |
fi |
fi |
20525 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
20526 |
sed 's,.*/,,'` by configure." |
sed 's,.*/,,'` by configure." |
20527 |
|
|
20528 |
# 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 |
20529 |
# src tree. |
# src tree. |
20532 |
case $f in |
case $f in |
20533 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20534 |
[\\/$]*) |
[\\/$]*) |
20535 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20536 |
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 |
20537 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20538 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20539 |
echo $f;; |
echo "$f";; |
20540 |
*) # Relative |
*) # Relative |
20541 |
if test -f "$f"; then |
if test -f "$f"; then |
20542 |
# Build tree |
# Build tree |
20543 |
echo $f |
echo "$f" |
20544 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20545 |
# Source tree |
# Source tree |
20546 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20547 |
else |
else |
20548 |
# /dev/null tree |
# /dev/null tree |
20549 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20550 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20551 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20552 |
fi;; |
fi;; |
20553 |
esac |
esac |
20554 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20555 |
|
|
20556 |
|
if test x"$ac_file" != x-; then |
20557 |
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
20558 |
|
echo "$as_me: creating $ac_file" >&6;} |
20559 |
|
rm -f "$ac_file" |
20560 |
|
fi |
20561 |
_ACEOF |
_ACEOF |
20562 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
20563 |
sed "$ac_vpsub |
sed "$ac_vpsub |
20597 |
# 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. |
20598 |
# |
# |
20599 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
20600 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
20601 |
ac_dB='[ ].*$,\1#\2' |
ac_dB='[ ].*$,\1#\2' |
20602 |
ac_dC=' ' |
ac_dC=' ' |
20603 |
ac_dD=',;t' |
ac_dD=',;t' |
20604 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
20605 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
20606 |
ac_uB='$,\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
20607 |
ac_uC=' ' |
ac_uC=' ' |
20608 |
ac_uD=',;t' |
ac_uD=',;t' |
20611 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20612 |
case $ac_file in |
case $ac_file in |
20613 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20614 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20615 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20616 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20617 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20618 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20619 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20620 |
esac |
esac |
20621 |
|
|
20629 |
case $f in |
case $f in |
20630 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20631 |
[\\/$]*) |
[\\/$]*) |
20632 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20633 |
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 |
20634 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20635 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20636 |
echo $f;; |
# Do quote $f, to prevent DOS paths from being IFS'd. |
20637 |
|
echo "$f";; |
20638 |
*) # Relative |
*) # Relative |
20639 |
if test -f "$f"; then |
if test -f "$f"; then |
20640 |
# Build tree |
# Build tree |
20641 |
echo $f |
echo "$f" |
20642 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20643 |
# Source tree |
# Source tree |
20644 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20645 |
else |
else |
20646 |
# /dev/null tree |
# /dev/null tree |
20647 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20648 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20649 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20650 |
fi;; |
fi;; |
20651 |
esac |
esac |
20652 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20653 |
# Remove the trailing spaces. |
# Remove the trailing spaces. |
20654 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
20655 |
|
|
20656 |
_ACEOF |
_ACEOF |
20657 |
|
|
20674 |
s,[\\$`],\\&,g |
s,[\\$`],\\&,g |
20675 |
t clear |
t clear |
20676 |
: clear |
: clear |
20677 |
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 |
20678 |
t end |
t end |
20679 |
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 |
20680 |
: end |
: end |
20681 |
_ACEOF |
_ACEOF |
20682 |
# If some macros were called several times there might be several times |
# If some macros were called several times there might be several times |
20690 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
20691 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
20692 |
cat >>conftest.undefs <<\_ACEOF |
cat >>conftest.undefs <<\_ACEOF |
20693 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
20694 |
_ACEOF |
_ACEOF |
20695 |
|
|
20696 |
# 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 |
20697 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
20698 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
20699 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
20700 |
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 |
20701 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
20702 |
rm -f conftest.tail |
rm -f conftest.tail |
20705 |
# Write a limited-size here document to $tmp/defines.sed. |
# Write a limited-size here document to $tmp/defines.sed. |
20706 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
20707 |
# Speed up: don't consider the non `#define' lines. |
# Speed up: don't consider the non `#define' lines. |
20708 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
20709 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20710 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20711 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20732 |
# Write a limited-size here document to $tmp/undefs.sed. |
# Write a limited-size here document to $tmp/undefs.sed. |
20733 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
20734 |
# Speed up: don't consider the non `#undef' |
# Speed up: don't consider the non `#undef' |
20735 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
20736 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20737 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20738 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20766 |
else |
else |
20767 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20768 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20769 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20770 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20771 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20772 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20773 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20774 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20775 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20785 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20786 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20787 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20788 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20789 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20790 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20791 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20792 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20793 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20794 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20826 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20827 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
20828 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20829 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
20830 |
X"$ac_dest" : 'X\(//\)$' \| \ |
X"$ac_dest" : 'X\(//\)$' \| \ |
20831 |
X"$ac_dest" : 'X\(/\)' \| \ |
X"$ac_dest" : 'X\(/\)' \| \ |
20832 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20833 |
echo X"$ac_dest" | |
echo X"$ac_dest" | |
20834 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20835 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20836 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
20837 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
20838 |
s/.*/./; q'` |
s/.*/./; q'` |
20839 |
|
{ if $as_mkdir_p; then |
20840 |
|
mkdir -p "$ac_dir" |
20841 |
|
else |
20842 |
|
as_dir="$ac_dir" |
20843 |
|
as_dirs= |
20844 |
|
while test ! -d "$as_dir"; do |
20845 |
|
as_dirs="$as_dir $as_dirs" |
20846 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20847 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20848 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20849 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
20850 |
|
X"$as_dir" : 'X\(/\)' \| \ |
20851 |
|
. : '\(.\)' 2>/dev/null || |
20852 |
|
echo X"$as_dir" | |
20853 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20854 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20855 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
20856 |
|
/^X\(\/\).*/{ s//\1/; q; } |
20857 |
|
s/.*/./; q'` |
20858 |
|
done |
20859 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
20860 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
20861 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
20862 |
|
{ (exit 1); exit 1; }; }; } |
20863 |
|
|
20864 |
ac_builddir=. |
ac_builddir=. |
20865 |
|
|
20866 |
if test "$ac_dir" != .; then |
if test "$ac_dir" != .; then |
20886 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20887 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20888 |
esac |
esac |
20889 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
20890 |
# absolute. |
# Do not use `cd foo && pwd` to compute absolute paths, because |
20891 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
# the directories may not exist. |
20892 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case `pwd` in |
20893 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20894 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
*) |
20895 |
|
case "$ac_dir" in |
20896 |
|
.) ac_abs_builddir=`pwd`;; |
20897 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
20898 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
20899 |
|
esac;; |
20900 |
|
esac |
20901 |
|
case $ac_abs_builddir in |
20902 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20903 |
|
*) |
20904 |
|
case ${ac_top_builddir}. in |
20905 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
20906 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20907 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
20908 |
|
esac;; |
20909 |
|
esac |
20910 |
|
case $ac_abs_builddir in |
20911 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20912 |
|
*) |
20913 |
|
case $ac_srcdir in |
20914 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
20915 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20916 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
20917 |
|
esac;; |
20918 |
|
esac |
20919 |
|
case $ac_abs_builddir in |
20920 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20921 |
|
*) |
20922 |
|
case $ac_top_srcdir in |
20923 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
20924 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20925 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
20926 |
|
esac;; |
20927 |
|
esac |
20928 |
|
|
20929 |
|
|
20930 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
20942 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
20943 |
dirpart=`(dirname "$mf") 2>/dev/null || |
dirpart=`(dirname "$mf") 2>/dev/null || |
20944 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20945 |
X"$mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(//\)[^/]' \| \ |
20946 |
X"$mf" : 'X\(//\)$' \| \ |
X"$mf" : 'X\(//\)$' \| \ |
20947 |
X"$mf" : 'X\(/\)' \| \ |
X"$mf" : 'X\(/\)' \| \ |
20948 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20949 |
echo X"$mf" | |
echo X"$mf" | |
20950 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20951 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20981 |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
20982 |
fdir=`(dirname "$file") 2>/dev/null || |
fdir=`(dirname "$file") 2>/dev/null || |
20983 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20984 |
X"$file" : 'X\(//\)[^/]' \| \ |
X"$file" : 'X\(//\)[^/]' \| \ |
20985 |
X"$file" : 'X\(//\)$' \| \ |
X"$file" : 'X\(//\)$' \| \ |
20986 |
X"$file" : 'X\(/\)' \| \ |
X"$file" : 'X\(/\)' \| \ |
20987 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20988 |
echo X"$file" | |
echo X"$file" | |
20989 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20990 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
21000 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
21001 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
21002 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
21003 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
21004 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
21005 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
21006 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
21007 |
echo X"$as_dir" | |
echo X"$as_dir" | |
21008 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
21009 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |