1 |
#! /bin/sh |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57. |
# Generated by GNU Autoconf 2.58. |
4 |
# |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
|
# Free Software Foundation, Inc. |
|
6 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
8 |
## --------------------- ## |
## --------------------- ## |
19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
20 |
set -o posix |
set -o posix |
21 |
fi |
fi |
22 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
23 |
|
|
24 |
# Support unset when possible. |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 |
as_unset=unset |
as_unset=unset |
27 |
else |
else |
28 |
as_unset=false |
as_unset=false |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
43 |
do |
do |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
46 |
else |
else |
47 |
$as_unset $as_var |
$as_unset $as_var |
218 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
as_mkdir_p=: |
220 |
else |
else |
221 |
|
test -d ./-p && rmdir ./-p |
222 |
as_mkdir_p=false |
as_mkdir_p=false |
223 |
fi |
fi |
224 |
|
|
225 |
as_executable_p="test -f" |
as_executable_p="test -f" |
226 |
|
|
227 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
228 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
|
|
230 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
231 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
|
|
233 |
|
|
234 |
# IFS |
# IFS |
463 |
# include <unistd.h> |
# include <unistd.h> |
464 |
#endif" |
#endif" |
465 |
|
|
466 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS ac_ct_CC CCDEPMODE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS' |
467 |
ac_subst_files='' |
ac_subst_files='' |
468 |
|
|
469 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
822 |
|
|
823 |
# Be sure to have absolute paths. |
# Be sure to have absolute paths. |
824 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
825 |
localstatedir libdir includedir oldincludedir infodir mandir |
localstatedir libdir includedir oldincludedir infodir mandir |
826 |
do |
do |
827 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
828 |
case $ac_val in |
case $ac_val in |
862 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
863 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`(dirname "$0") 2>/dev/null || |
864 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
865 |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
866 |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
867 |
X"$0" : 'X\(/\)' \| \ |
X"$0" : 'X\(/\)' \| \ |
868 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
869 |
echo X"$0" | |
echo X"$0" | |
870 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
871 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
904 |
ac_env_target_alias_value=$target_alias |
ac_env_target_alias_value=$target_alias |
905 |
ac_cv_env_target_alias_set=${target_alias+set} |
ac_cv_env_target_alias_set=${target_alias+set} |
906 |
ac_cv_env_target_alias_value=$target_alias |
ac_cv_env_target_alias_value=$target_alias |
|
ac_env_CXX_set=${CXX+set} |
|
|
ac_env_CXX_value=$CXX |
|
|
ac_cv_env_CXX_set=${CXX+set} |
|
|
ac_cv_env_CXX_value=$CXX |
|
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
907 |
ac_env_CC_set=${CC+set} |
ac_env_CC_set=${CC+set} |
908 |
ac_env_CC_value=$CC |
ac_env_CC_value=$CC |
909 |
ac_cv_env_CC_set=${CC+set} |
ac_cv_env_CC_set=${CC+set} |
912 |
ac_env_CFLAGS_value=$CFLAGS |
ac_env_CFLAGS_value=$CFLAGS |
913 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
914 |
ac_cv_env_CFLAGS_value=$CFLAGS |
ac_cv_env_CFLAGS_value=$CFLAGS |
915 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
916 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
917 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
918 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
919 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
920 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
921 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
922 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
923 |
|
ac_env_CXX_set=${CXX+set} |
924 |
|
ac_env_CXX_value=$CXX |
925 |
|
ac_cv_env_CXX_set=${CXX+set} |
926 |
|
ac_cv_env_CXX_value=$CXX |
927 |
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
928 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
929 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
930 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
931 |
ac_env_CPP_set=${CPP+set} |
ac_env_CPP_set=${CPP+set} |
932 |
ac_env_CPP_value=$CPP |
ac_env_CPP_value=$CPP |
933 |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_set=${CPP+set} |
977 |
cat <<_ACEOF |
cat <<_ACEOF |
978 |
Installation directories: |
Installation directories: |
979 |
--prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
980 |
[$ac_default_prefix] |
[$ac_default_prefix] |
981 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
982 |
[PREFIX] |
[PREFIX] |
983 |
|
|
984 |
By default, \`make install' will install all the files in |
By default, \`make install' will install all the files in |
985 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1043 |
include additional configurations [automatic] |
include additional configurations [automatic] |
1044 |
|
|
1045 |
Some influential environment variables: |
Some influential environment variables: |
1046 |
CXX C++ compiler command |
CC C compiler command |
1047 |
CXXFLAGS C++ compiler flags |
CFLAGS C compiler flags |
1048 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1049 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
1050 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1051 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
1052 |
CC C compiler command |
CXX C++ compiler command |
1053 |
CFLAGS C compiler flags |
CXXFLAGS C++ compiler flags |
1054 |
CPP C preprocessor |
CPP C preprocessor |
1055 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
1056 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
1092 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1093 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1094 |
esac |
esac |
1095 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
case "$ac_dir" in |
1096 |
# absolute. |
.) ac_abs_builddir=$ac_builddir;; |
1097 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
*) |
1098 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case $ac_builddir in |
1099 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
1100 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
[\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
1101 |
|
*) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
1102 |
|
esac;; |
1103 |
|
esac |
1104 |
|
case "$ac_dir" in |
1105 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
1106 |
|
*) |
1107 |
|
case ${ac_top_builddir}. in |
1108 |
|
.) ac_abs_top_builddir="$ac_dir";; |
1109 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
1110 |
|
*) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
1111 |
|
esac;; |
1112 |
|
esac |
1113 |
|
case "$ac_dir" in |
1114 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
1115 |
|
*) |
1116 |
|
case $ac_srcdir in |
1117 |
|
.) ac_abs_srcdir="$ac_dir";; |
1118 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
1119 |
|
*) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
1120 |
|
esac;; |
1121 |
|
esac |
1122 |
|
case "$ac_dir" in |
1123 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
1124 |
|
*) |
1125 |
|
case $ac_top_srcdir in |
1126 |
|
.) ac_abs_top_srcdir="$ac_dir";; |
1127 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
1128 |
|
*) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
1129 |
|
esac;; |
1130 |
|
esac |
1131 |
|
|
1132 |
cd $ac_dir |
cd $ac_dir |
1133 |
# Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
1138 |
echo |
echo |
1139 |
$SHELL $ac_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
1140 |
elif test -f $ac_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
1141 |
test -f $ac_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
1142 |
echo |
echo |
1143 |
$ac_configure --help |
$ac_configure --help |
1144 |
else |
else |
1152 |
if $ac_init_version; then |
if $ac_init_version; then |
1153 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1154 |
|
|
1155 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
1156 |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
1157 |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
1158 |
_ACEOF |
_ACEOF |
1164 |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
1165 |
|
|
1166 |
It was created by $as_me, which was |
It was created by $as_me, which was |
1167 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.58. Invocation command line was |
1168 |
|
|
1169 |
$ $0 $@ |
$ $0 $@ |
1170 |
|
|
1241 |
2) |
2) |
1242 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1243 |
if test $ac_must_keep_next = true; then |
if test $ac_must_keep_next = true; then |
1244 |
ac_must_keep_next=false # Got value, back to normal. |
ac_must_keep_next=false # Got value, back to normal. |
1245 |
else |
else |
1246 |
case $ac_arg in |
case $ac_arg in |
1247 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1248 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1249 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1250 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| -with-* | --with-* | -without-* | --without-* | --x) |
1251 |
case "$ac_configure_args0 " in |
case "$ac_configure_args0 " in |
1252 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1253 |
esac |
esac |
1254 |
;; |
;; |
1255 |
-* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
1256 |
esac |
esac |
1257 |
fi |
fi |
1258 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1259 |
# Get rid of the leading space. |
# Get rid of the leading space. |
1287 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1288 |
*ac_space=\ *) |
*ac_space=\ *) |
1289 |
sed -n \ |
sed -n \ |
1290 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1291 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1292 |
;; |
;; |
1293 |
*) |
*) |
1294 |
sed -n \ |
sed -n \ |
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 |
esac; |
esac; |
1298 |
} |
} |
1321 |
for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
1322 |
do |
do |
1323 |
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
1324 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$ac_var='"'"'$ac_val'"'"'" |
1325 |
done | sort |
done | sort |
1326 |
echo |
echo |
1327 |
fi |
fi |
1420 |
# value. |
# value. |
1421 |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
1422 |
for ac_var in `(set) 2>&1 | |
for ac_var in `(set) 2>&1 | |
1423 |
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 |
1424 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1425 |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
1426 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1437 |
,);; |
,);; |
1438 |
*) |
*) |
1439 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1440 |
{ 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 |
1441 |
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;} |
1442 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1443 |
echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
1444 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1445 |
echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
1446 |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
1447 |
fi;; |
fi;; |
1448 |
esac |
esac |
1449 |
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
1491 |
|
|
1492 |
|
|
1493 |
|
|
1494 |
|
ac_ext=c |
1495 |
# Add the stamp file to the list of files AC keeps track of, |
ac_cpp='$CPP $CPPFLAGS' |
1496 |
# along with our hook. |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1497 |
ac_config_headers="$ac_config_headers config.h" |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1498 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1499 |
|
if test -n "$ac_tool_prefix"; then |
1500 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1501 |
am__api_version="1.6" |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1502 |
ac_aux_dir= |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1503 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1504 |
if test -f $ac_dir/install-sh; then |
if test "${ac_cv_prog_CC+set}" = set; then |
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
|
break |
|
|
elif test -f $ac_dir/install.sh; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
break |
|
|
elif test -f $ac_dir/shtool; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
|
break |
|
|
fi |
|
|
done |
|
|
if test -z "$ac_aux_dir"; then |
|
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
|
|
|
|
# Find a good install program. We prefer a C program (faster), |
|
|
# so one script is as good as another. But avoid the broken or |
|
|
# incompatible versions: |
|
|
# SysV /etc/install, /usr/sbin/install |
|
|
# SunOS /usr/etc/install |
|
|
# IRIX /sbin/install |
|
|
# AIX /bin/install |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
|
if test -z "$INSTALL"; then |
|
|
if test "${ac_cv_path_install+set}" = set; then |
|
1505 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1506 |
else |
else |
1507 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
if test -n "$CC"; then |
1508 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1509 |
|
else |
1510 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1511 |
for as_dir in $PATH |
for as_dir in $PATH |
1512 |
do |
do |
1513 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
1514 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1515 |
# Account for people who put trailing slashes in PATH elements. |
for ac_exec_ext in '' $ac_executable_extensions; do |
1516 |
case $as_dir/ in |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1517 |
./ | .// | /cC/* | \ |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1518 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1519 |
/usr/ucb/* ) ;; |
break 2 |
1520 |
*) |
fi |
1521 |
# 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 |
|
1522 |
done |
done |
|
|
|
1523 |
|
|
1524 |
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 |
|
1525 |
fi |
fi |
1526 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
CC=$ac_cv_prog_CC |
1527 |
echo "${ECHO_T}$INSTALL" >&6 |
if test -n "$CC"; then |
1528 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1529 |
# 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. |
|
|
: |
|
1530 |
else |
else |
1531 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
echo "$as_me:$LINENO: result: no" >&5 |
1532 |
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; }; } |
|
1533 |
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 |
|
|
|
|
1534 |
|
|
|
# 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;} |
|
1535 |
fi |
fi |
1536 |
|
if test -z "$ac_cv_prog_CC"; then |
1537 |
for ac_prog in gawk mawk nawk awk |
ac_ct_CC=$CC |
1538 |
do |
# Extract the first word of "gcc", so it can be a program name with args. |
1539 |
# 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 |
|
1540 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1541 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1542 |
if test "${ac_cv_prog_AWK+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1543 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1544 |
else |
else |
1545 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1546 |
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. |
1547 |
else |
else |
1548 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1549 |
for as_dir in $PATH |
for as_dir in $PATH |
1552 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1553 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1554 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1555 |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_ac_ct_CC="gcc" |
1556 |
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 |
1557 |
break 2 |
break 2 |
1558 |
fi |
fi |
1561 |
|
|
1562 |
fi |
fi |
1563 |
fi |
fi |
1564 |
AWK=$ac_cv_prog_AWK |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1565 |
if test -n "$AWK"; then |
if test -n "$ac_ct_CC"; then |
1566 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1567 |
echo "${ECHO_T}$AWK" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1568 |
else |
else |
1569 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1570 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1571 |
fi |
fi |
1572 |
|
|
1573 |
test -n "$AWK" && break |
CC=$ac_ct_CC |
1574 |
done |
else |
1575 |
|
CC="$ac_cv_prog_CC" |
1576 |
|
fi |
1577 |
|
|
1578 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
if test -z "$CC"; then |
1579 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
if test -n "$ac_tool_prefix"; then |
1580 |
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. |
1581 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1582 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1583 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1584 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1585 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1586 |
else |
else |
1587 |
cat >conftest.make <<\_ACEOF |
if test -n "$CC"; then |
1588 |
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 |
|
1589 |
else |
else |
1590 |
eval ac_cv_prog_make_${ac_make}_set=no |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1591 |
|
for as_dir in $PATH |
1592 |
|
do |
1593 |
|
IFS=$as_save_IFS |
1594 |
|
test -z "$as_dir" && as_dir=. |
1595 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1596 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1597 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1598 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1599 |
|
break 2 |
1600 |
|
fi |
1601 |
|
done |
1602 |
|
done |
1603 |
|
|
1604 |
fi |
fi |
|
rm -f conftest.make |
|
1605 |
fi |
fi |
1606 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
CC=$ac_cv_prog_CC |
1607 |
echo "$as_me:$LINENO: result: yes" >&5 |
if test -n "$CC"; then |
1608 |
echo "${ECHO_T}yes" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1609 |
SET_MAKE= |
echo "${ECHO_T}$CC" >&6 |
1610 |
else |
else |
1611 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1612 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
|
SET_MAKE="MAKE=${MAKE-make}" |
|
1613 |
fi |
fi |
1614 |
|
|
|
# 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; }; } |
|
1615 |
fi |
fi |
1616 |
|
if test -z "$ac_cv_prog_CC"; then |
1617 |
# Define the identity of the package. |
ac_ct_CC=$CC |
1618 |
PACKAGE=libgig |
# Extract the first word of "cc", so it can be a program name with args. |
1619 |
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 |
|
1620 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1621 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1622 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1623 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1624 |
else |
else |
1625 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1626 |
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. |
1627 |
else |
else |
1628 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1629 |
for as_dir in $PATH |
for as_dir in $PATH |
1632 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1633 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1634 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1635 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_ac_ct_CC="cc" |
1636 |
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 |
1637 |
break 2 |
break 2 |
1638 |
fi |
fi |
1641 |
|
|
1642 |
fi |
fi |
1643 |
fi |
fi |
1644 |
STRIP=$ac_cv_prog_STRIP |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1645 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_CC"; then |
1646 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1647 |
echo "${ECHO_T}$STRIP" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1648 |
else |
else |
1649 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1650 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1651 |
fi |
fi |
1652 |
|
|
1653 |
|
CC=$ac_ct_CC |
1654 |
|
else |
1655 |
|
CC="$ac_cv_prog_CC" |
1656 |
fi |
fi |
1657 |
if test -z "$ac_cv_prog_STRIP"; then |
|
1658 |
ac_ct_STRIP=$STRIP |
fi |
1659 |
# Extract the first word of "strip", so it can be a program name with args. |
if test -z "$CC"; then |
1660 |
set dummy strip; ac_word=$2 |
# Extract the first word of "cc", so it can be a program name with args. |
1661 |
|
set dummy cc; ac_word=$2 |
1662 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1663 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1664 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1665 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1666 |
else |
else |
1667 |
if test -n "$ac_ct_STRIP"; then |
if test -n "$CC"; then |
1668 |
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. |
1669 |
else |
else |
1670 |
|
ac_prog_rejected=no |
1671 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1672 |
for as_dir in $PATH |
for as_dir in $PATH |
1673 |
do |
do |
1675 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1676 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1677 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1678 |
ac_cv_prog_ac_ct_STRIP="strip" |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1679 |
|
ac_prog_rejected=yes |
1680 |
|
continue |
1681 |
|
fi |
1682 |
|
ac_cv_prog_CC="cc" |
1683 |
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 |
1684 |
break 2 |
break 2 |
1685 |
fi |
fi |
1686 |
done |
done |
1687 |
done |
done |
1688 |
|
|
1689 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
if test $ac_prog_rejected = yes; then |
1690 |
|
# We found a bogon in the path, so make sure we never use it. |
1691 |
|
set dummy $ac_cv_prog_CC |
1692 |
|
shift |
1693 |
|
if test $# != 0; then |
1694 |
|
# We chose a different compiler from the bogus one. |
1695 |
|
# However, it has the same basename, so the bogon will be chosen |
1696 |
|
# first if we set CC to just the basename; use the full file name. |
1697 |
|
shift |
1698 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1699 |
|
fi |
1700 |
fi |
fi |
1701 |
fi |
fi |
1702 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
fi |
1703 |
if test -n "$ac_ct_STRIP"; then |
CC=$ac_cv_prog_CC |
1704 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
if test -n "$CC"; then |
1705 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1706 |
|
echo "${ECHO_T}$CC" >&6 |
1707 |
else |
else |
1708 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1709 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1710 |
fi |
fi |
1711 |
|
|
|
STRIP=$ac_ct_STRIP |
|
|
else |
|
|
STRIP="$ac_cv_prog_STRIP" |
|
|
fi |
|
|
|
|
1712 |
fi |
fi |
1713 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
if test -z "$CC"; then |
1714 |
|
if test -n "$ac_tool_prefix"; then |
1715 |
# 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 |
|
1716 |
do |
do |
1717 |
# 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. |
1718 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1719 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1720 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1721 |
if test "${ac_cv_prog_CXX+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1722 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1723 |
else |
else |
1724 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1725 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1726 |
else |
else |
1727 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1728 |
for as_dir in $PATH |
for as_dir in $PATH |
1731 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1732 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1733 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1734 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1735 |
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 |
1736 |
break 2 |
break 2 |
1737 |
fi |
fi |
1740 |
|
|
1741 |
fi |
fi |
1742 |
fi |
fi |
1743 |
CXX=$ac_cv_prog_CXX |
CC=$ac_cv_prog_CC |
1744 |
if test -n "$CXX"; then |
if test -n "$CC"; then |
1745 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1746 |
echo "${ECHO_T}$CXX" >&6 |
echo "${ECHO_T}$CC" >&6 |
1747 |
else |
else |
1748 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1749 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1750 |
fi |
fi |
1751 |
|
|
1752 |
test -n "$CXX" && break |
test -n "$CC" && break |
1753 |
done |
done |
1754 |
fi |
fi |
1755 |
if test -z "$CXX"; then |
if test -z "$CC"; then |
1756 |
ac_ct_CXX=$CXX |
ac_ct_CC=$CC |
1757 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
for ac_prog in cl |
1758 |
do |
do |
1759 |
# 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. |
1760 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
1761 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1762 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1763 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1764 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1765 |
else |
else |
1766 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1767 |
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. |
1768 |
else |
else |
1769 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1770 |
for as_dir in $PATH |
for as_dir in $PATH |
1773 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
1774 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
1775 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1776 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1777 |
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 |
1778 |
break 2 |
break 2 |
1779 |
fi |
fi |
1782 |
|
|
1783 |
fi |
fi |
1784 |
fi |
fi |
1785 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1786 |
if test -n "$ac_ct_CXX"; then |
if test -n "$ac_ct_CC"; then |
1787 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1788 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1789 |
else |
else |
1790 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
1791 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
1792 |
fi |
fi |
1793 |
|
|
1794 |
test -n "$ac_ct_CXX" && break |
test -n "$ac_ct_CC" && break |
1795 |
done |
done |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
1796 |
|
|
1797 |
CXX=$ac_ct_CXX |
CC=$ac_ct_CC |
1798 |
fi |
fi |
1799 |
|
|
1800 |
|
fi |
1801 |
|
|
1802 |
|
|
1803 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1804 |
|
See \`config.log' for more details." >&5 |
1805 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1806 |
|
See \`config.log' for more details." >&2;} |
1807 |
|
{ (exit 1); exit 1; }; } |
1808 |
|
|
1809 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
1810 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
1811 |
"checking for C++ compiler version" >&5 |
"checking for C compiler version" >&5 |
1812 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
1813 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1814 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1827 |
(exit $ac_status); } |
(exit $ac_status); } |
1828 |
|
|
1829 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1830 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1831 |
_ACEOF |
_ACEOF |
1832 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
1846 |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
1847 |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
1848 |
# of exeext. |
# of exeext. |
1849 |
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1850 |
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 |
1851 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1852 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1853 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
1867 |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
1868 |
case $ac_file in |
case $ac_file in |
1869 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1870 |
;; |
;; |
1871 |
conftest.$ac_ext ) |
conftest.$ac_ext ) |
1872 |
# This is the source file. |
# This is the source file. |
1873 |
;; |
;; |
1874 |
[ab].out ) |
[ab].out ) |
1875 |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
1876 |
# certainly right. |
# certainly right. |
1877 |
break;; |
break;; |
1878 |
*.* ) |
*.* ) |
1879 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1880 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1881 |
# 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 |
1882 |
# maintain Libtool? --akim. |
# maintain Libtool? --akim. |
1883 |
export ac_cv_exeext |
export ac_cv_exeext |
1884 |
break;; |
break;; |
1885 |
* ) |
* ) |
1886 |
break;; |
break;; |
1887 |
esac |
esac |
1888 |
done |
done |
1889 |
else |
else |
1890 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
1891 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1892 |
|
|
1893 |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1894 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1895 |
echo "$as_me: error: C++ compiler cannot create executables |
echo "$as_me: error: C compiler cannot create executables |
1896 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1897 |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
1898 |
fi |
fi |
1903 |
|
|
1904 |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
1905 |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
1906 |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1907 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1908 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1909 |
# If not cross compiling, check that we can run a simple program. |
# If not cross compiling, check that we can run a simple program. |
1910 |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
1919 |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
1920 |
cross_compiling=yes |
cross_compiling=yes |
1921 |
else |
else |
1922 |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1923 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1924 |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
1925 |
echo "$as_me: error: cannot run C++ compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
1926 |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
1927 |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
1928 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
1957 |
case $ac_file in |
case $ac_file in |
1958 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1959 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1960 |
export ac_cv_exeext |
export ac_cv_exeext |
1961 |
break;; |
break;; |
1962 |
* ) break;; |
* ) break;; |
1963 |
esac |
esac |
1964 |
done |
done |
1983 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1984 |
else |
else |
1985 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
1986 |
/* confdefs.h. */ |
/* confdefs.h. */ |
1987 |
_ACEOF |
_ACEOF |
1988 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2027 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2028 |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
2029 |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
2030 |
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 |
2031 |
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 |
2032 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2033 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2034 |
else |
else |
2035 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2036 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2037 |
_ACEOF |
_ACEOF |
2038 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2052 |
_ACEOF |
_ACEOF |
2053 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2054 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2055 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2056 |
ac_status=$? |
ac_status=$? |
2057 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2058 |
|
rm -f conftest.er1 |
2059 |
|
cat conftest.err >&5 |
2060 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2061 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2062 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
2063 |
|
|| test ! -s conftest.err' |
2064 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2065 |
|
(eval $ac_try) 2>&5 |
2066 |
|
ac_status=$? |
2067 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2068 |
|
(exit $ac_status); }; } && |
2069 |
|
{ ac_try='test -s conftest.$ac_objext' |
2070 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2071 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2072 |
ac_status=$? |
ac_status=$? |
2079 |
|
|
2080 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
2081 |
fi |
fi |
2082 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2083 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2084 |
|
|
2085 |
fi |
fi |
2086 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2087 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2088 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2089 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
2090 |
ac_save_CXXFLAGS=$CXXFLAGS |
ac_save_CFLAGS=$CFLAGS |
2091 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2092 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2093 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2094 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2095 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2096 |
else |
else |
2097 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2098 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2099 |
_ACEOF |
_ACEOF |
2100 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2111 |
_ACEOF |
_ACEOF |
2112 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2113 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2114 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2115 |
ac_status=$? |
ac_status=$? |
2116 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2117 |
|
rm -f conftest.er1 |
2118 |
|
cat conftest.err >&5 |
2119 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2120 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2121 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
2122 |
|
|| test ! -s conftest.err' |
2123 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2124 |
|
(eval $ac_try) 2>&5 |
2125 |
|
ac_status=$? |
2126 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2127 |
|
(exit $ac_status); }; } && |
2128 |
|
{ ac_try='test -s conftest.$ac_objext' |
2129 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2130 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2131 |
ac_status=$? |
ac_status=$? |
2132 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2133 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
2134 |
ac_cv_prog_cxx_g=yes |
ac_cv_prog_cc_g=yes |
2135 |
else |
else |
2136 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
2137 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2138 |
|
|
2139 |
ac_cv_prog_cxx_g=no |
ac_cv_prog_cc_g=no |
2140 |
fi |
fi |
2141 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2142 |
fi |
fi |
2143 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2144 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2145 |
if test "$ac_test_CXXFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2146 |
CXXFLAGS=$ac_save_CXXFLAGS |
CFLAGS=$ac_save_CFLAGS |
2147 |
elif test $ac_cv_prog_cxx_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2148 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2149 |
CXXFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2150 |
else |
else |
2151 |
CXXFLAGS="-g" |
CFLAGS="-g" |
2152 |
fi |
fi |
2153 |
else |
else |
2154 |
if test "$GXX" = yes; then |
if test "$GCC" = yes; then |
2155 |
CXXFLAGS="-O2" |
CFLAGS="-O2" |
2156 |
else |
else |
2157 |
CXXFLAGS= |
CFLAGS= |
2158 |
fi |
fi |
2159 |
fi |
fi |
2160 |
for ac_declaration in \ |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2161 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2162 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2163 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2164 |
|
else |
2165 |
|
ac_cv_prog_cc_stdc=no |
2166 |
|
ac_save_CC=$CC |
2167 |
|
cat >conftest.$ac_ext <<_ACEOF |
2168 |
|
/* confdefs.h. */ |
2169 |
|
_ACEOF |
2170 |
|
cat confdefs.h >>conftest.$ac_ext |
2171 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2172 |
|
/* end confdefs.h. */ |
2173 |
|
#include <stdarg.h> |
2174 |
|
#include <stdio.h> |
2175 |
|
#include <sys/types.h> |
2176 |
|
#include <sys/stat.h> |
2177 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2178 |
|
struct buf { int x; }; |
2179 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2180 |
|
static char *e (p, i) |
2181 |
|
char **p; |
2182 |
|
int i; |
2183 |
|
{ |
2184 |
|
return p[i]; |
2185 |
|
} |
2186 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2187 |
|
{ |
2188 |
|
char *s; |
2189 |
|
va_list v; |
2190 |
|
va_start (v,p); |
2191 |
|
s = g (p, va_arg (v,int)); |
2192 |
|
va_end (v); |
2193 |
|
return s; |
2194 |
|
} |
2195 |
|
|
2196 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2197 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2198 |
|
These don't provoke an error unfortunately, instead are silently treated |
2199 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2200 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2201 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2202 |
|
that's true only with -std1. */ |
2203 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2204 |
|
|
2205 |
|
int test (int i, double x); |
2206 |
|
struct s1 {int (*f) (int a);}; |
2207 |
|
struct s2 {int (*f) (double a);}; |
2208 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2209 |
|
int argc; |
2210 |
|
char **argv; |
2211 |
|
int |
2212 |
|
main () |
2213 |
|
{ |
2214 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2215 |
|
; |
2216 |
|
return 0; |
2217 |
|
} |
2218 |
|
_ACEOF |
2219 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2220 |
|
# breaks some systems' header files. |
2221 |
|
# AIX -qlanglvl=ansi |
2222 |
|
# Ultrix and OSF/1 -std1 |
2223 |
|
# HP-UX 10.20 and later -Ae |
2224 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2225 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2226 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2227 |
|
do |
2228 |
|
CC="$ac_save_CC $ac_arg" |
2229 |
|
rm -f conftest.$ac_objext |
2230 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2231 |
|
(eval $ac_compile) 2>conftest.er1 |
2232 |
|
ac_status=$? |
2233 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2234 |
|
rm -f conftest.er1 |
2235 |
|
cat conftest.err >&5 |
2236 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2237 |
|
(exit $ac_status); } && |
2238 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2239 |
|
|| test ! -s conftest.err' |
2240 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2241 |
|
(eval $ac_try) 2>&5 |
2242 |
|
ac_status=$? |
2243 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2244 |
|
(exit $ac_status); }; } && |
2245 |
|
{ ac_try='test -s conftest.$ac_objext' |
2246 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2247 |
|
(eval $ac_try) 2>&5 |
2248 |
|
ac_status=$? |
2249 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2250 |
|
(exit $ac_status); }; }; then |
2251 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2252 |
|
break |
2253 |
|
else |
2254 |
|
echo "$as_me: failed program was:" >&5 |
2255 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2256 |
|
|
2257 |
|
fi |
2258 |
|
rm -f conftest.err conftest.$ac_objext |
2259 |
|
done |
2260 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2261 |
|
CC=$ac_save_CC |
2262 |
|
|
2263 |
|
fi |
2264 |
|
|
2265 |
|
case "x$ac_cv_prog_cc_stdc" in |
2266 |
|
x|xno) |
2267 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2268 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2269 |
|
*) |
2270 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2271 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2272 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2273 |
|
esac |
2274 |
|
|
2275 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2276 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2277 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2278 |
|
# the declaration of exit, since it's the most demanding environment. |
2279 |
|
cat >conftest.$ac_ext <<_ACEOF |
2280 |
|
#ifndef __cplusplus |
2281 |
|
choke me |
2282 |
|
#endif |
2283 |
|
_ACEOF |
2284 |
|
rm -f conftest.$ac_objext |
2285 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2286 |
|
(eval $ac_compile) 2>conftest.er1 |
2287 |
|
ac_status=$? |
2288 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2289 |
|
rm -f conftest.er1 |
2290 |
|
cat conftest.err >&5 |
2291 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2292 |
|
(exit $ac_status); } && |
2293 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2294 |
|
|| 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" |
2340 |
|
|| test ! -s conftest.err' |
2341 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2342 |
|
(eval $ac_try) 2>&5 |
2343 |
|
ac_status=$? |
2344 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2345 |
|
(exit $ac_status); }; } && |
2346 |
|
{ ac_try='test -s conftest.$ac_objext' |
2347 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2348 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2349 |
ac_status=$? |
ac_status=$? |
2356 |
|
|
2357 |
continue |
continue |
2358 |
fi |
fi |
2359 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2360 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
2361 |
/* confdefs.h. */ |
/* confdefs.h. */ |
2362 |
_ACEOF |
_ACEOF |
2363 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
2374 |
_ACEOF |
_ACEOF |
2375 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
2376 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2377 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
2378 |
ac_status=$? |
ac_status=$? |
2379 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2380 |
|
rm -f conftest.er1 |
2381 |
|
cat conftest.err >&5 |
2382 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2383 |
(exit $ac_status); } && |
(exit $ac_status); } && |
2384 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
2385 |
|
|| test ! -s conftest.err' |
2386 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2387 |
|
(eval $ac_try) 2>&5 |
2388 |
|
ac_status=$? |
2389 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2390 |
|
(exit $ac_status); }; } && |
2391 |
|
{ ac_try='test -s conftest.$ac_objext' |
2392 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2393 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
2394 |
ac_status=$? |
ac_status=$? |
2400 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2401 |
|
|
2402 |
fi |
fi |
2403 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2404 |
done |
done |
2405 |
rm -f conftest* |
rm -f conftest* |
2406 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
2409 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
2410 |
fi |
fi |
2411 |
|
|
2412 |
ac_ext=cc |
else |
2413 |
ac_cpp='$CXXCPP $CPPFLAGS' |
echo "$as_me: failed program was:" >&5 |
2414 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
sed 's/^/| /' conftest.$ac_ext >&5 |
2415 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2416 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
fi |
2417 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2418 |
|
ac_ext=c |
2419 |
|
ac_cpp='$CPP $CPPFLAGS' |
2420 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2421 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2422 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2423 |
|
|
2424 |
|
|
2425 |
|
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
2426 |
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
2427 |
|
if test "${ac_cv_c_bigendian+set}" = set; then |
2428 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2429 |
|
else |
2430 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
2431 |
|
cat >conftest.$ac_ext <<_ACEOF |
2432 |
|
/* confdefs.h. */ |
2433 |
|
_ACEOF |
2434 |
|
cat confdefs.h >>conftest.$ac_ext |
2435 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2436 |
|
/* end confdefs.h. */ |
2437 |
|
#include <sys/types.h> |
2438 |
|
#include <sys/param.h> |
2439 |
|
|
2440 |
|
int |
2441 |
|
main () |
2442 |
|
{ |
2443 |
|
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
2444 |
|
bogus endian macros |
2445 |
|
#endif |
2446 |
|
|
2447 |
|
; |
2448 |
|
return 0; |
2449 |
|
} |
2450 |
|
_ACEOF |
2451 |
|
rm -f conftest.$ac_objext |
2452 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2453 |
|
(eval $ac_compile) 2>conftest.er1 |
2454 |
|
ac_status=$? |
2455 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2456 |
|
rm -f conftest.er1 |
2457 |
|
cat conftest.err >&5 |
2458 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2459 |
|
(exit $ac_status); } && |
2460 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2461 |
|
|| test ! -s conftest.err' |
2462 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2463 |
|
(eval $ac_try) 2>&5 |
2464 |
|
ac_status=$? |
2465 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2466 |
|
(exit $ac_status); }; } && |
2467 |
|
{ ac_try='test -s conftest.$ac_objext' |
2468 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2469 |
|
(eval $ac_try) 2>&5 |
2470 |
|
ac_status=$? |
2471 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2472 |
|
(exit $ac_status); }; }; then |
2473 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
2474 |
|
cat >conftest.$ac_ext <<_ACEOF |
2475 |
|
/* confdefs.h. */ |
2476 |
|
_ACEOF |
2477 |
|
cat confdefs.h >>conftest.$ac_ext |
2478 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2479 |
|
/* end confdefs.h. */ |
2480 |
|
#include <sys/types.h> |
2481 |
|
#include <sys/param.h> |
2482 |
|
|
2483 |
|
int |
2484 |
|
main () |
2485 |
|
{ |
2486 |
|
#if BYTE_ORDER != BIG_ENDIAN |
2487 |
|
not big endian |
2488 |
|
#endif |
2489 |
|
|
2490 |
|
; |
2491 |
|
return 0; |
2492 |
|
} |
2493 |
|
_ACEOF |
2494 |
|
rm -f conftest.$ac_objext |
2495 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2496 |
|
(eval $ac_compile) 2>conftest.er1 |
2497 |
|
ac_status=$? |
2498 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2499 |
|
rm -f conftest.er1 |
2500 |
|
cat conftest.err >&5 |
2501 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2502 |
|
(exit $ac_status); } && |
2503 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2504 |
|
|| test ! -s conftest.err' |
2505 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2506 |
|
(eval $ac_try) 2>&5 |
2507 |
|
ac_status=$? |
2508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2509 |
|
(exit $ac_status); }; } && |
2510 |
|
{ ac_try='test -s conftest.$ac_objext' |
2511 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2512 |
|
(eval $ac_try) 2>&5 |
2513 |
|
ac_status=$? |
2514 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2515 |
|
(exit $ac_status); }; }; then |
2516 |
|
ac_cv_c_bigendian=yes |
2517 |
|
else |
2518 |
|
echo "$as_me: failed program was:" >&5 |
2519 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2520 |
|
|
2521 |
|
ac_cv_c_bigendian=no |
2522 |
|
fi |
2523 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2524 |
|
else |
2525 |
|
echo "$as_me: failed program was:" >&5 |
2526 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2527 |
|
|
2528 |
|
# It does not; compile a test program. |
2529 |
|
if test "$cross_compiling" = yes; then |
2530 |
|
# try to guess the endianness by grepping values into an object file |
2531 |
|
ac_cv_c_bigendian=unknown |
2532 |
|
cat >conftest.$ac_ext <<_ACEOF |
2533 |
|
/* confdefs.h. */ |
2534 |
|
_ACEOF |
2535 |
|
cat confdefs.h >>conftest.$ac_ext |
2536 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2537 |
|
/* end confdefs.h. */ |
2538 |
|
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
2539 |
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
2540 |
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
2541 |
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
2542 |
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
2543 |
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
2544 |
|
int |
2545 |
|
main () |
2546 |
|
{ |
2547 |
|
_ascii (); _ebcdic (); |
2548 |
|
; |
2549 |
|
return 0; |
2550 |
|
} |
2551 |
|
_ACEOF |
2552 |
|
rm -f conftest.$ac_objext |
2553 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2554 |
|
(eval $ac_compile) 2>conftest.er1 |
2555 |
|
ac_status=$? |
2556 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2557 |
|
rm -f conftest.er1 |
2558 |
|
cat conftest.err >&5 |
2559 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2560 |
|
(exit $ac_status); } && |
2561 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2562 |
|
|| test ! -s conftest.err' |
2563 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2564 |
|
(eval $ac_try) 2>&5 |
2565 |
|
ac_status=$? |
2566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2567 |
|
(exit $ac_status); }; } && |
2568 |
|
{ ac_try='test -s conftest.$ac_objext' |
2569 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2570 |
|
(eval $ac_try) 2>&5 |
2571 |
|
ac_status=$? |
2572 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2573 |
|
(exit $ac_status); }; }; then |
2574 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
2575 |
|
ac_cv_c_bigendian=yes |
2576 |
|
fi |
2577 |
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
2578 |
|
if test "$ac_cv_c_bigendian" = unknown; then |
2579 |
|
ac_cv_c_bigendian=no |
2580 |
|
else |
2581 |
|
# finding both strings is unlikely to happen, but who knows? |
2582 |
|
ac_cv_c_bigendian=unknown |
2583 |
|
fi |
2584 |
|
fi |
2585 |
|
else |
2586 |
|
echo "$as_me: failed program was:" >&5 |
2587 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2588 |
|
|
2589 |
|
fi |
2590 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2591 |
|
else |
2592 |
|
cat >conftest.$ac_ext <<_ACEOF |
2593 |
|
/* confdefs.h. */ |
2594 |
|
_ACEOF |
2595 |
|
cat confdefs.h >>conftest.$ac_ext |
2596 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2597 |
|
/* end confdefs.h. */ |
2598 |
|
int |
2599 |
|
main () |
2600 |
|
{ |
2601 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
2602 |
|
union |
2603 |
|
{ |
2604 |
|
long l; |
2605 |
|
char c[sizeof (long)]; |
2606 |
|
} u; |
2607 |
|
u.l = 1; |
2608 |
|
exit (u.c[sizeof (long) - 1] == 1); |
2609 |
|
} |
2610 |
|
_ACEOF |
2611 |
|
rm -f conftest$ac_exeext |
2612 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2613 |
|
(eval $ac_link) 2>&5 |
2614 |
|
ac_status=$? |
2615 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2616 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2617 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2618 |
|
(eval $ac_try) 2>&5 |
2619 |
|
ac_status=$? |
2620 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2621 |
|
(exit $ac_status); }; }; then |
2622 |
|
ac_cv_c_bigendian=no |
2623 |
|
else |
2624 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
2625 |
|
echo "$as_me: failed program was:" >&5 |
2626 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2627 |
|
|
2628 |
|
( exit $ac_status ) |
2629 |
|
ac_cv_c_bigendian=yes |
2630 |
|
fi |
2631 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2632 |
|
fi |
2633 |
|
fi |
2634 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2635 |
|
fi |
2636 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
2637 |
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
2638 |
|
case $ac_cv_c_bigendian in |
2639 |
|
yes) |
2640 |
|
|
2641 |
|
cat >>confdefs.h <<\_ACEOF |
2642 |
|
#define WORDS_BIGENDIAN 1 |
2643 |
|
_ACEOF |
2644 |
|
;; |
2645 |
|
no) |
2646 |
|
;; |
2647 |
|
*) |
2648 |
|
{ { echo "$as_me:$LINENO: error: unknown endianness |
2649 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
2650 |
|
echo "$as_me: error: unknown endianness |
2651 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
2652 |
|
{ (exit 1); exit 1; }; } ;; |
2653 |
|
esac |
2654 |
|
|
2655 |
|
|
2656 |
|
# Add the stamp file to the list of files AC keeps track of, |
2657 |
|
# along with our hook. |
2658 |
|
ac_config_headers="$ac_config_headers config.h" |
2659 |
|
|
2660 |
|
|
2661 |
|
|
2662 |
|
am__api_version="1.6" |
2663 |
|
ac_aux_dir= |
2664 |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2665 |
|
if test -f $ac_dir/install-sh; then |
2666 |
|
ac_aux_dir=$ac_dir |
2667 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
2668 |
|
break |
2669 |
|
elif test -f $ac_dir/install.sh; then |
2670 |
|
ac_aux_dir=$ac_dir |
2671 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
2672 |
|
break |
2673 |
|
elif test -f $ac_dir/shtool; then |
2674 |
|
ac_aux_dir=$ac_dir |
2675 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
2676 |
|
break |
2677 |
|
fi |
2678 |
|
done |
2679 |
|
if test -z "$ac_aux_dir"; then |
2680 |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2681 |
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2682 |
|
{ (exit 1); exit 1; }; } |
2683 |
|
fi |
2684 |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2685 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2686 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2687 |
|
|
2688 |
|
# Find a good install program. We prefer a C program (faster), |
2689 |
|
# so one script is as good as another. But avoid the broken or |
2690 |
|
# incompatible versions: |
2691 |
|
# SysV /etc/install, /usr/sbin/install |
2692 |
|
# SunOS /usr/etc/install |
2693 |
|
# IRIX /sbin/install |
2694 |
|
# AIX /bin/install |
2695 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2696 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2697 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2698 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2699 |
|
# OS/2's system install, which has a completely different semantic |
2700 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
2701 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2702 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2703 |
|
if test -z "$INSTALL"; then |
2704 |
|
if test "${ac_cv_path_install+set}" = set; then |
2705 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2706 |
|
else |
2707 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2708 |
|
for as_dir in $PATH |
2709 |
|
do |
2710 |
|
IFS=$as_save_IFS |
2711 |
|
test -z "$as_dir" && as_dir=. |
2712 |
|
# Account for people who put trailing slashes in PATH elements. |
2713 |
|
case $as_dir/ in |
2714 |
|
./ | .// | /cC/* | \ |
2715 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2716 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2717 |
|
/usr/ucb/* ) ;; |
2718 |
|
*) |
2719 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2720 |
|
# Don't use installbsd from OSF since it installs stuff as root |
2721 |
|
# by default. |
2722 |
|
for ac_prog in ginstall scoinst install; do |
2723 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2724 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2725 |
|
if test $ac_prog = install && |
2726 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2727 |
|
# AIX install. It has an incompatible calling convention. |
2728 |
|
: |
2729 |
|
elif test $ac_prog = install && |
2730 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2731 |
|
# program-specific install script used by HP pwplus--don't use. |
2732 |
|
: |
2733 |
|
else |
2734 |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2735 |
|
break 3 |
2736 |
|
fi |
2737 |
|
fi |
2738 |
|
done |
2739 |
|
done |
2740 |
|
;; |
2741 |
|
esac |
2742 |
|
done |
2743 |
|
|
2744 |
|
|
2745 |
|
fi |
2746 |
|
if test "${ac_cv_path_install+set}" = set; then |
2747 |
|
INSTALL=$ac_cv_path_install |
2748 |
|
else |
2749 |
|
# As a last resort, use the slow shell script. We don't cache a |
2750 |
|
# path for INSTALL within a source directory, because that will |
2751 |
|
# break other packages using the cache if that directory is |
2752 |
|
# removed, or if the path is relative. |
2753 |
|
INSTALL=$ac_install_sh |
2754 |
|
fi |
2755 |
|
fi |
2756 |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2757 |
|
echo "${ECHO_T}$INSTALL" >&6 |
2758 |
|
|
2759 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2760 |
|
# It thinks the first close brace ends the variable substitution. |
2761 |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2762 |
|
|
2763 |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2764 |
|
|
2765 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2766 |
|
|
2767 |
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2768 |
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
2769 |
|
# Just in case |
2770 |
|
sleep 1 |
2771 |
|
echo timestamp > conftest.file |
2772 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
2773 |
|
# arguments. Must try -L first in case configure is actually a |
2774 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2775 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2776 |
|
# directory). |
2777 |
|
if ( |
2778 |
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2779 |
|
if test "$*" = "X"; then |
2780 |
|
# -L didn't work. |
2781 |
|
set X `ls -t $srcdir/configure conftest.file` |
2782 |
|
fi |
2783 |
|
rm -f conftest.file |
2784 |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
2785 |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2786 |
|
|
2787 |
|
# If neither matched, then we have a broken ls. This can happen |
2788 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2789 |
|
# broken ls alias from the environment. This has actually |
2790 |
|
# happened. Such a system could not be considered "sane". |
2791 |
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
2792 |
|
alias in your environment" >&5 |
2793 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2794 |
|
alias in your environment" >&2;} |
2795 |
|
{ (exit 1); exit 1; }; } |
2796 |
|
fi |
2797 |
|
|
2798 |
|
test "$2" = conftest.file |
2799 |
|
) |
2800 |
|
then |
2801 |
|
# Ok. |
2802 |
|
: |
2803 |
|
else |
2804 |
|
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
2805 |
|
Check your system clock" >&5 |
2806 |
|
echo "$as_me: error: newly created file is older than distributed files! |
2807 |
|
Check your system clock" >&2;} |
2808 |
|
{ (exit 1); exit 1; }; } |
2809 |
|
fi |
2810 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
2811 |
|
echo "${ECHO_T}yes" >&6 |
2812 |
|
test "$program_prefix" != NONE && |
2813 |
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
2814 |
|
# Use a double $ so make ignores it. |
2815 |
|
test "$program_suffix" != NONE && |
2816 |
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
2817 |
|
# Double any \ or $. echo might interpret backslashes. |
2818 |
|
# By default was `s,x,x', remove it if useless. |
2819 |
|
cat <<\_ACEOF >conftest.sed |
2820 |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
2821 |
|
_ACEOF |
2822 |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2823 |
|
rm conftest.sed |
2824 |
|
|
2825 |
|
|
2826 |
|
# expand $ac_aux_dir to an absolute path |
2827 |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
2828 |
|
|
2829 |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2830 |
|
# Use eval to expand $SHELL |
2831 |
|
if eval "$MISSING --run true"; then |
2832 |
|
am_missing_run="$MISSING --run " |
2833 |
|
else |
2834 |
|
am_missing_run= |
2835 |
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2836 |
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2837 |
|
fi |
2838 |
|
|
2839 |
|
for ac_prog in gawk mawk nawk awk |
2840 |
|
do |
2841 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2842 |
|
set dummy $ac_prog; ac_word=$2 |
2843 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2844 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2845 |
|
if test "${ac_cv_prog_AWK+set}" = set; then |
2846 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2847 |
|
else |
2848 |
|
if test -n "$AWK"; then |
2849 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2850 |
|
else |
2851 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2852 |
|
for as_dir in $PATH |
2853 |
|
do |
2854 |
|
IFS=$as_save_IFS |
2855 |
|
test -z "$as_dir" && as_dir=. |
2856 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2857 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2858 |
|
ac_cv_prog_AWK="$ac_prog" |
2859 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2860 |
|
break 2 |
2861 |
|
fi |
2862 |
|
done |
2863 |
|
done |
2864 |
|
|
2865 |
|
fi |
2866 |
|
fi |
2867 |
|
AWK=$ac_cv_prog_AWK |
2868 |
|
if test -n "$AWK"; then |
2869 |
|
echo "$as_me:$LINENO: result: $AWK" >&5 |
2870 |
|
echo "${ECHO_T}$AWK" >&6 |
2871 |
|
else |
2872 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2873 |
|
echo "${ECHO_T}no" >&6 |
2874 |
|
fi |
2875 |
|
|
2876 |
|
test -n "$AWK" && break |
2877 |
|
done |
2878 |
|
|
2879 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2880 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2881 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
2882 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2883 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2884 |
|
else |
2885 |
|
cat >conftest.make <<\_ACEOF |
2886 |
|
all: |
2887 |
|
@echo 'ac_maketemp="$(MAKE)"' |
2888 |
|
_ACEOF |
2889 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2890 |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2891 |
|
if test -n "$ac_maketemp"; then |
2892 |
|
eval ac_cv_prog_make_${ac_make}_set=yes |
2893 |
|
else |
2894 |
|
eval ac_cv_prog_make_${ac_make}_set=no |
2895 |
|
fi |
2896 |
|
rm -f conftest.make |
2897 |
|
fi |
2898 |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2899 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
2900 |
|
echo "${ECHO_T}yes" >&6 |
2901 |
|
SET_MAKE= |
2902 |
|
else |
2903 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2904 |
|
echo "${ECHO_T}no" >&6 |
2905 |
|
SET_MAKE="MAKE=${MAKE-make}" |
2906 |
|
fi |
2907 |
|
|
2908 |
rm -f .deps 2>/dev/null |
rm -f .deps 2>/dev/null |
2909 |
mkdir .deps 2>/dev/null |
mkdir .deps 2>/dev/null |
2910 |
if test -d .deps; then |
if test -d .deps; then |
2978 |
|
|
2979 |
|
|
2980 |
|
|
2981 |
|
# test to see if srcdir already configured |
2982 |
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
2983 |
|
test -f $srcdir/config.status; then |
2984 |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2985 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2986 |
|
{ (exit 1); exit 1; }; } |
2987 |
|
fi |
2988 |
|
|
2989 |
depcc="$CXX" am_compiler_list= |
# Define the identity of the package. |
2990 |
|
PACKAGE=libgig |
2991 |
|
VERSION=0.1 |
2992 |
|
|
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
|
|
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
# We make a subdir and do the tests there. Otherwise we can end up |
|
|
# making bogus files that we don't know about and never remove. For |
|
|
# instance it was reported that on HP-UX the gcc test will end up |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output |
|
|
# in D'. |
|
|
mkdir conftest.dir |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
# using a relative directory. |
|
|
cp "$am_depcomp" conftest.dir |
|
|
cd conftest.dir |
|
2993 |
|
|
2994 |
am_cv_CXX_dependencies_compiler_type=none |
cat >>confdefs.h <<_ACEOF |
2995 |
if test "$am_compiler_list" = ""; then |
#define PACKAGE "$PACKAGE" |
2996 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
_ACEOF |
|
fi |
|
|
for depmode in $am_compiler_list; do |
|
|
# We need to recreate these files for each test, as the compiler may |
|
|
# overwrite some of them when testing with obscure command lines. |
|
|
# This happens at least with the AIX C compiler. |
|
|
echo '#include "conftest.h"' > conftest.c |
|
|
echo 'int i;' > conftest.h |
|
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
|
2997 |
|
|
|
case $depmode in |
|
|
nosideeffect) |
|
|
# after this tag, mechanisms are not by side-effect, so they'll |
|
|
# only be used when explicitly requested |
|
|
if test "x$enable_dependency_tracking" = xyes; then |
|
|
continue |
|
|
else |
|
|
break |
|
|
fi |
|
|
;; |
|
|
none) break ;; |
|
|
esac |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
|
# handle `-M -o', and we need to detect this. |
|
|
if depmode=$depmode \ |
|
|
source=conftest.c object=conftest.o \ |
|
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
|
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
|
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
am_cv_CXX_dependencies_compiler_type=$depmode |
|
|
break |
|
|
fi |
|
|
done |
|
2998 |
|
|
2999 |
cd .. |
cat >>confdefs.h <<_ACEOF |
3000 |
rm -rf conftest.dir |
#define VERSION "$VERSION" |
3001 |
else |
_ACEOF |
|
am_cv_CXX_dependencies_compiler_type=none |
|
|
fi |
|
3002 |
|
|
3003 |
fi |
# Some tools Automake needs. |
|
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
|
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
3004 |
|
|
3005 |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3006 |
|
|
|
# Check whether --enable-shared or --disable-shared was given. |
|
|
if test "${enable_shared+set}" = set; then |
|
|
enableval="$enable_shared" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_shared=yes ;; |
|
|
no) enable_shared=no ;; |
|
|
*) |
|
|
enable_shared=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_shared=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_shared=yes |
|
|
fi; |
|
3007 |
|
|
3008 |
# Check whether --enable-static or --disable-static was given. |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
if test "${enable_static+set}" = set; then |
|
|
enableval="$enable_static" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_static=yes ;; |
|
|
no) enable_static=no ;; |
|
|
*) |
|
|
enable_static=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_static=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_static=yes |
|
|
fi; |
|
3009 |
|
|
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
|
|
if test "${enable_fast_install+set}" = set; then |
|
|
enableval="$enable_fast_install" |
|
|
p=${PACKAGE-default} |
|
|
case $enableval in |
|
|
yes) enable_fast_install=yes ;; |
|
|
no) enable_fast_install=no ;; |
|
|
*) |
|
|
enable_fast_install=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_fast_install=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_fast_install=yes |
|
|
fi; |
|
3010 |
|
|
3011 |
# Make sure we can run config.sub. |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
3012 |
|
|
|
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; }; } |
|
3013 |
|
|
3014 |
fi |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
build=$ac_cv_build |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
3015 |
|
|
3016 |
|
|
3017 |
echo "$as_me:$LINENO: checking host system type" >&5 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
if test "${ac_cv_host+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_cv_host_alias=$host_alias |
|
|
test -z "$ac_cv_host_alias" && |
|
|
ac_cv_host_alias=$ac_cv_build_alias |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
3018 |
|
|
|
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/'` |
|
3019 |
|
|
3020 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
3021 |
|
|
3022 |
ac_ext=c |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
3023 |
ac_cpp='$CPP $CPPFLAGS' |
|
3024 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
# Installed binaries are usually stripped using `strip' when the user |
3025 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
# run `make install-strip'. However `strip' might not be the right |
3026 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
# tool to use in cross-compilation environments, therefore Automake |
3027 |
if test -n "$ac_tool_prefix"; then |
# will honor the `STRIP' environment variable to overrule this program. |
3028 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
if test "$cross_compiling" != no; then |
3029 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
if test -n "$ac_tool_prefix"; then |
3030 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3031 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3032 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3033 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3034 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_STRIP+set}" = set; then |
3035 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3036 |
else |
else |
3037 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
3038 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3039 |
else |
else |
3040 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3041 |
for as_dir in $PATH |
for as_dir in $PATH |
3044 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3045 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3046 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3047 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3048 |
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 |
3049 |
break 2 |
break 2 |
3050 |
fi |
fi |
3053 |
|
|
3054 |
fi |
fi |
3055 |
fi |
fi |
3056 |
CC=$ac_cv_prog_CC |
STRIP=$ac_cv_prog_STRIP |
3057 |
if test -n "$CC"; then |
if test -n "$STRIP"; then |
3058 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
3059 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$STRIP" >&6 |
3060 |
else |
else |
3061 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3062 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3063 |
fi |
fi |
3064 |
|
|
3065 |
fi |
fi |
3066 |
if test -z "$ac_cv_prog_CC"; then |
if test -z "$ac_cv_prog_STRIP"; then |
3067 |
ac_ct_CC=$CC |
ac_ct_STRIP=$STRIP |
3068 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "strip", so it can be a program name with args. |
3069 |
set dummy gcc; ac_word=$2 |
set dummy strip; ac_word=$2 |
3070 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3071 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3072 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3073 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3074 |
else |
else |
3075 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
3076 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3077 |
else |
else |
3078 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3079 |
for as_dir in $PATH |
for as_dir in $PATH |
3082 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3083 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3084 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3085 |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_STRIP="strip" |
3086 |
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 |
3087 |
break 2 |
break 2 |
3088 |
fi |
fi |
3089 |
done |
done |
3090 |
done |
done |
3091 |
|
|
3092 |
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
3093 |
fi |
fi |
3094 |
fi |
fi |
3095 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3096 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_STRIP"; then |
3097 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3098 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
3099 |
else |
else |
3100 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3101 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3102 |
fi |
fi |
3103 |
|
|
3104 |
CC=$ac_ct_CC |
STRIP=$ac_ct_STRIP |
3105 |
else |
else |
3106 |
CC="$ac_cv_prog_CC" |
STRIP="$ac_cv_prog_STRIP" |
3107 |
fi |
fi |
3108 |
|
|
|
if test -z "$CC"; then |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
CC=$ac_cv_prog_CC |
|
|
if test -n "$CC"; then |
|
|
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
echo "${ECHO_T}$CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
3109 |
fi |
fi |
3110 |
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
3111 |
|
|
3112 |
fi |
# We need awk for the "check" target. The system "awk" is bad on |
3113 |
if test -z "$ac_cv_prog_CC"; then |
# some platforms. |
|
ac_ct_CC=$CC |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$ac_ct_CC"; then |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_ac_ct_CC="cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3114 |
|
|
|
fi |
|
|
fi |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
if test -n "$ac_ct_CC"; then |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
3115 |
|
|
3116 |
CC=$ac_ct_CC |
depcc="$CC" am_compiler_list= |
|
else |
|
|
CC="$ac_cv_prog_CC" |
|
|
fi |
|
3117 |
|
|
3118 |
fi |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3119 |
if test -z "$CC"; then |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3120 |
# Extract the first word of "cc", so it can be a program name with args. |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
set dummy cc; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then |
|
3121 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3122 |
else |
else |
3123 |
if test -n "$CC"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3124 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
# We make a subdir and do the tests there. Otherwise we can end up |
3125 |
else |
# making bogus files that we don't know about and never remove. For |
3126 |
ac_prog_rejected=no |
# instance it was reported that on HP-UX the gcc test will end up |
3127 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
# making a dummy file named `D' -- because `-MD' means `put the output |
3128 |
for as_dir in $PATH |
# in D'. |
3129 |
do |
mkdir conftest.dir |
3130 |
IFS=$as_save_IFS |
# Copy depcomp to subdir because otherwise we won't find it if we're |
3131 |
test -z "$as_dir" && as_dir=. |
# using a relative directory. |
3132 |
for ac_exec_ext in '' $ac_executable_extensions; do |
cp "$am_depcomp" conftest.dir |
3133 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
cd conftest.dir |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
ac_prog_rejected=yes |
|
|
continue |
|
|
fi |
|
|
ac_cv_prog_CC="cc" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
3134 |
|
|
3135 |
if test $ac_prog_rejected = yes; then |
am_cv_CC_dependencies_compiler_type=none |
3136 |
# We found a bogon in the path, so make sure we never use it. |
if test "$am_compiler_list" = ""; then |
3137 |
set dummy $ac_cv_prog_CC |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
shift |
|
|
if test $# != 0; then |
|
|
# We chose a different compiler from the bogus one. |
|
|
# However, it has the same basename, so the bogon will be chosen |
|
|
# first if we set CC to just the basename; use the full file name. |
|
|
shift |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3138 |
fi |
fi |
3139 |
fi |
for depmode in $am_compiler_list; do |
3140 |
fi |
# We need to recreate these files for each test, as the compiler may |
3141 |
fi |
# overwrite some of them when testing with obscure command lines. |
3142 |
CC=$ac_cv_prog_CC |
# This happens at least with the AIX C compiler. |
3143 |
if test -n "$CC"; then |
echo '#include "conftest.h"' > conftest.c |
3144 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo 'int i;' > conftest.h |
3145 |
echo "${ECHO_T}$CC" >&6 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
3146 |
|
|
3147 |
|
case $depmode in |
3148 |
|
nosideeffect) |
3149 |
|
# after this tag, mechanisms are not by side-effect, so they'll |
3150 |
|
# only be used when explicitly requested |
3151 |
|
if test "x$enable_dependency_tracking" = xyes; then |
3152 |
|
continue |
3153 |
|
else |
3154 |
|
break |
3155 |
|
fi |
3156 |
|
;; |
3157 |
|
none) break ;; |
3158 |
|
esac |
3159 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3160 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3161 |
|
# handle `-M -o', and we need to detect this. |
3162 |
|
if depmode=$depmode \ |
3163 |
|
source=conftest.c object=conftest.o \ |
3164 |
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
3165 |
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
3166 |
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
3167 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3168 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
3169 |
|
break |
3170 |
|
fi |
3171 |
|
done |
3172 |
|
|
3173 |
|
cd .. |
3174 |
|
rm -rf conftest.dir |
3175 |
else |
else |
3176 |
echo "$as_me:$LINENO: result: no" >&5 |
am_cv_CC_dependencies_compiler_type=none |
|
echo "${ECHO_T}no" >&6 |
|
3177 |
fi |
fi |
3178 |
|
|
3179 |
fi |
fi |
3180 |
if test -z "$CC"; then |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3181 |
if test -n "$ac_tool_prefix"; then |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3182 |
for ac_prog in cl |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3183 |
|
|
3184 |
|
|
3185 |
|
|
3186 |
|
|
3187 |
|
ac_ext=cc |
3188 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
3189 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3190 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3191 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3192 |
|
|
3193 |
|
ac_ext=cc |
3194 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
3195 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3196 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3197 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3198 |
|
if test -n "$ac_tool_prefix"; then |
3199 |
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
3200 |
do |
do |
3201 |
# 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. |
3202 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3203 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3204 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3205 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CXX+set}" = set; then |
3206 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3207 |
else |
else |
3208 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
3209 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3210 |
else |
else |
3211 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3212 |
for as_dir in $PATH |
for as_dir in $PATH |
3215 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3216 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3217 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3218 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3219 |
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 |
3220 |
break 2 |
break 2 |
3221 |
fi |
fi |
3224 |
|
|
3225 |
fi |
fi |
3226 |
fi |
fi |
3227 |
CC=$ac_cv_prog_CC |
CXX=$ac_cv_prog_CXX |
3228 |
if test -n "$CC"; then |
if test -n "$CXX"; then |
3229 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
3230 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CXX" >&6 |
3231 |
else |
else |
3232 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3233 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3234 |
fi |
fi |
3235 |
|
|
3236 |
test -n "$CC" && break |
test -n "$CXX" && break |
3237 |
done |
done |
3238 |
fi |
fi |
3239 |
if test -z "$CC"; then |
if test -z "$CXX"; then |
3240 |
ac_ct_CC=$CC |
ac_ct_CXX=$CXX |
3241 |
for ac_prog in cl |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
3242 |
do |
do |
3243 |
# 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. |
3244 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3245 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3246 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3247 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
3248 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3249 |
else |
else |
3250 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
3251 |
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. |
3252 |
else |
else |
3253 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3254 |
for as_dir in $PATH |
for as_dir in $PATH |
3257 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
3258 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
3259 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3260 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
3261 |
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 |
3262 |
break 2 |
break 2 |
3263 |
fi |
fi |
3266 |
|
|
3267 |
fi |
fi |
3268 |
fi |
fi |
3269 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3270 |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CXX"; then |
3271 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3272 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
3273 |
else |
else |
3274 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
3275 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
3276 |
fi |
fi |
3277 |
|
|
3278 |
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CXX" && break |
3279 |
done |
done |
3280 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
3281 |
|
|
3282 |
CC=$ac_ct_CC |
CXX=$ac_ct_CXX |
|
fi |
|
|
|
|
3283 |
fi |
fi |
3284 |
|
|
3285 |
|
|
|
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; }; } |
|
|
|
|
3286 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
3287 |
echo "$as_me:$LINENO:" \ |
echo "$as_me:$LINENO:" \ |
3288 |
"checking for C compiler version" >&5 |
"checking for C++ compiler version" >&5 |
3289 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
3290 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3291 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
3303 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3304 |
(exit $ac_status); } |
(exit $ac_status); } |
3305 |
|
|
3306 |
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 |
3307 |
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 |
3308 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
3309 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3310 |
else |
else |
3311 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3312 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3313 |
_ACEOF |
_ACEOF |
3314 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3328 |
_ACEOF |
_ACEOF |
3329 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3330 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3331 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3332 |
ac_status=$? |
ac_status=$? |
3333 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3334 |
|
rm -f conftest.er1 |
3335 |
|
cat conftest.err >&5 |
3336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3337 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3338 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3339 |
|
|| test ! -s conftest.err' |
3340 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3341 |
|
(eval $ac_try) 2>&5 |
3342 |
|
ac_status=$? |
3343 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3344 |
|
(exit $ac_status); }; } && |
3345 |
|
{ ac_try='test -s conftest.$ac_objext' |
3346 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3347 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3348 |
ac_status=$? |
ac_status=$? |
3355 |
|
|
3356 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
3357 |
fi |
fi |
3358 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3359 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3360 |
|
|
3361 |
fi |
fi |
3362 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3363 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
3364 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
3365 |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
3366 |
ac_save_CFLAGS=$CFLAGS |
ac_save_CXXFLAGS=$CXXFLAGS |
3367 |
CFLAGS="-g" |
CXXFLAGS="-g" |
3368 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3369 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
3370 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
3371 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3372 |
else |
else |
3373 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3374 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3375 |
_ACEOF |
_ACEOF |
3376 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3387 |
_ACEOF |
_ACEOF |
3388 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3389 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3390 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3391 |
ac_status=$? |
ac_status=$? |
3392 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3393 |
|
rm -f conftest.er1 |
3394 |
|
cat conftest.err >&5 |
3395 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3396 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3397 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3398 |
|
|| test ! -s conftest.err' |
3399 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3400 |
|
(eval $ac_try) 2>&5 |
3401 |
|
ac_status=$? |
3402 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3403 |
|
(exit $ac_status); }; } && |
3404 |
|
{ ac_try='test -s conftest.$ac_objext' |
3405 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3406 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3407 |
ac_status=$? |
ac_status=$? |
3408 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3409 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
3410 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cxx_g=yes |
3411 |
else |
else |
3412 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3413 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3414 |
|
|
3415 |
ac_cv_prog_cc_g=no |
ac_cv_prog_cxx_g=no |
3416 |
fi |
fi |
3417 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3418 |
fi |
fi |
3419 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3420 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
3421 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CXXFLAGS" = set; then |
3422 |
CFLAGS=$ac_save_CFLAGS |
CXXFLAGS=$ac_save_CXXFLAGS |
3423 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cxx_g = yes; then |
3424 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
3425 |
CFLAGS="-g -O2" |
CXXFLAGS="-g -O2" |
3426 |
else |
else |
3427 |
CFLAGS="-g" |
CXXFLAGS="-g" |
3428 |
fi |
fi |
3429 |
else |
else |
3430 |
if test "$GCC" = yes; then |
if test "$GXX" = yes; then |
3431 |
CFLAGS="-O2" |
CXXFLAGS="-O2" |
3432 |
else |
else |
3433 |
CFLAGS= |
CXXFLAGS= |
3434 |
fi |
fi |
3435 |
fi |
fi |
3436 |
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 \ |
|
3437 |
'' \ |
'' \ |
3438 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
3439 |
'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
3442 |
'void exit (int);' |
'void exit (int);' |
3443 |
do |
do |
3444 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3445 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3446 |
_ACEOF |
_ACEOF |
3447 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3459 |
_ACEOF |
_ACEOF |
3460 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3461 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3462 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3463 |
ac_status=$? |
ac_status=$? |
3464 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3465 |
|
rm -f conftest.er1 |
3466 |
|
cat conftest.err >&5 |
3467 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3468 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3469 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3470 |
|
|| test ! -s conftest.err' |
3471 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3472 |
|
(eval $ac_try) 2>&5 |
3473 |
|
ac_status=$? |
3474 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3475 |
|
(exit $ac_status); }; } && |
3476 |
|
{ ac_try='test -s conftest.$ac_objext' |
3477 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3478 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3479 |
ac_status=$? |
ac_status=$? |
3486 |
|
|
3487 |
continue |
continue |
3488 |
fi |
fi |
3489 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3490 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
3491 |
/* confdefs.h. */ |
/* confdefs.h. */ |
3492 |
_ACEOF |
_ACEOF |
3493 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
3504 |
_ACEOF |
_ACEOF |
3505 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
3506 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3507 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
3508 |
ac_status=$? |
ac_status=$? |
3509 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3510 |
|
rm -f conftest.er1 |
3511 |
|
cat conftest.err >&5 |
3512 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3513 |
(exit $ac_status); } && |
(exit $ac_status); } && |
3514 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3515 |
|
|| test ! -s conftest.err' |
3516 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3517 |
|
(eval $ac_try) 2>&5 |
3518 |
|
ac_status=$? |
3519 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3520 |
|
(exit $ac_status); }; } && |
3521 |
|
{ ac_try='test -s conftest.$ac_objext' |
3522 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3523 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
3524 |
ac_status=$? |
ac_status=$? |
3530 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3531 |
|
|
3532 |
fi |
fi |
3533 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3534 |
done |
done |
3535 |
rm -f conftest* |
rm -f conftest* |
3536 |
if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
3539 |
echo '#endif' >>confdefs.h |
echo '#endif' >>confdefs.h |
3540 |
fi |
fi |
3541 |
|
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
3542 |
ac_ext=cc |
ac_ext=cc |
3543 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
3544 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3545 |
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' |
3546 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3547 |
|
|
3548 |
depcc="$CC" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
3549 |
|
|
3550 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3551 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3552 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
3553 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3554 |
else |
else |
3555 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3564 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
3565 |
cd conftest.dir |
cd conftest.dir |
3566 |
|
|
3567 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
3568 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
3569 |
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` |
3570 |
fi |
fi |
3597 |
$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 && |
3598 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
3599 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3600 |
am_cv_CC_dependencies_compiler_type=$depmode |
am_cv_CXX_dependencies_compiler_type=$depmode |
3601 |
break |
break |
3602 |
fi |
fi |
3603 |
done |
done |
3605 |
cd .. |
cd .. |
3606 |
rm -rf conftest.dir |
rm -rf conftest.dir |
3607 |
else |
else |
3608 |
am_cv_CC_dependencies_compiler_type=none |
am_cv_CXX_dependencies_compiler_type=none |
3609 |
fi |
fi |
3610 |
|
|
3611 |
fi |
fi |
3612 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
3613 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
3614 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
3615 |
|
|
3616 |
|
|
3617 |
|
# Check whether --enable-shared or --disable-shared was given. |
3618 |
|
if test "${enable_shared+set}" = set; then |
3619 |
|
enableval="$enable_shared" |
3620 |
|
p=${PACKAGE-default} |
3621 |
|
case $enableval in |
3622 |
|
yes) enable_shared=yes ;; |
3623 |
|
no) enable_shared=no ;; |
3624 |
|
*) |
3625 |
|
enable_shared=no |
3626 |
|
# Look at the argument we got. We use all the common list separators. |
3627 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3628 |
|
for pkg in $enableval; do |
3629 |
|
IFS="$lt_save_ifs" |
3630 |
|
if test "X$pkg" = "X$p"; then |
3631 |
|
enable_shared=yes |
3632 |
|
fi |
3633 |
|
done |
3634 |
|
IFS="$lt_save_ifs" |
3635 |
|
;; |
3636 |
|
esac |
3637 |
|
else |
3638 |
|
enable_shared=yes |
3639 |
|
fi; |
3640 |
|
|
3641 |
|
# Check whether --enable-static or --disable-static was given. |
3642 |
|
if test "${enable_static+set}" = set; then |
3643 |
|
enableval="$enable_static" |
3644 |
|
p=${PACKAGE-default} |
3645 |
|
case $enableval in |
3646 |
|
yes) enable_static=yes ;; |
3647 |
|
no) enable_static=no ;; |
3648 |
|
*) |
3649 |
|
enable_static=no |
3650 |
|
# Look at the argument we got. We use all the common list separators. |
3651 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3652 |
|
for pkg in $enableval; do |
3653 |
|
IFS="$lt_save_ifs" |
3654 |
|
if test "X$pkg" = "X$p"; then |
3655 |
|
enable_static=yes |
3656 |
|
fi |
3657 |
|
done |
3658 |
|
IFS="$lt_save_ifs" |
3659 |
|
;; |
3660 |
|
esac |
3661 |
|
else |
3662 |
|
enable_static=yes |
3663 |
|
fi; |
3664 |
|
|
3665 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
3666 |
|
if test "${enable_fast_install+set}" = set; then |
3667 |
|
enableval="$enable_fast_install" |
3668 |
|
p=${PACKAGE-default} |
3669 |
|
case $enableval in |
3670 |
|
yes) enable_fast_install=yes ;; |
3671 |
|
no) enable_fast_install=no ;; |
3672 |
|
*) |
3673 |
|
enable_fast_install=no |
3674 |
|
# Look at the argument we got. We use all the common list separators. |
3675 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3676 |
|
for pkg in $enableval; do |
3677 |
|
IFS="$lt_save_ifs" |
3678 |
|
if test "X$pkg" = "X$p"; then |
3679 |
|
enable_fast_install=yes |
3680 |
|
fi |
3681 |
|
done |
3682 |
|
IFS="$lt_save_ifs" |
3683 |
|
;; |
3684 |
|
esac |
3685 |
|
else |
3686 |
|
enable_fast_install=yes |
3687 |
|
fi; |
3688 |
|
|
3689 |
|
# Make sure we can run config.sub. |
3690 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
3691 |
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
3692 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
3693 |
|
{ (exit 1); exit 1; }; } |
3694 |
|
|
3695 |
|
echo "$as_me:$LINENO: checking build system type" >&5 |
3696 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
3697 |
|
if test "${ac_cv_build+set}" = set; then |
3698 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3699 |
|
else |
3700 |
|
ac_cv_build_alias=$build_alias |
3701 |
|
test -z "$ac_cv_build_alias" && |
3702 |
|
ac_cv_build_alias=`$ac_config_guess` |
3703 |
|
test -z "$ac_cv_build_alias" && |
3704 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3705 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3706 |
|
{ (exit 1); exit 1; }; } |
3707 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
3708 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
3709 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
3710 |
|
{ (exit 1); exit 1; }; } |
3711 |
|
|
3712 |
|
fi |
3713 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3714 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
3715 |
|
build=$ac_cv_build |
3716 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3717 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3718 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3719 |
|
|
3720 |
|
|
3721 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
3722 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
3723 |
|
if test "${ac_cv_host+set}" = set; then |
3724 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3725 |
|
else |
3726 |
|
ac_cv_host_alias=$host_alias |
3727 |
|
test -z "$ac_cv_host_alias" && |
3728 |
|
ac_cv_host_alias=$ac_cv_build_alias |
3729 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
3730 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
3731 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
3732 |
|
{ (exit 1); exit 1; }; } |
3733 |
|
|
3734 |
|
fi |
3735 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3736 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
3737 |
|
host=$ac_cv_host |
3738 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3739 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3740 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3741 |
|
|
3742 |
|
|
3743 |
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 |
4033 |
;; |
;; |
4034 |
|
|
4035 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
|
# this will be overwritten by pass_all, but leave it in just in case |
|
|
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
|
|
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
case "$host_os" in |
|
|
rhapsody* | darwin1.[012]) |
|
|
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
|
|
;; |
|
|
*) # Darwin 1.3 on |
|
|
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' |
|
|
;; |
|
|
esac |
|
4036 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4037 |
;; |
;; |
4038 |
|
|
4075 |
;; |
;; |
4076 |
|
|
4077 |
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
4078 |
case $host_os in |
case $LD in |
4079 |
irix5* | nonstopux*) |
*-32|*"-32 ") libmagic=32-bit;; |
4080 |
# this will be overridden with pass_all, but let us keep it just in case |
*-n32|*"-n32 ") libmagic=N32;; |
4081 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
*-64|*"-64 ") libmagic=64-bit;; |
4082 |
;; |
*) libmagic=never-match;; |
|
*) |
|
|
case $LD in |
|
|
*-32|*"-32 ") libmagic=32-bit;; |
|
|
*-n32|*"-n32 ") libmagic=N32;; |
|
|
*-64|*"-64 ") libmagic=64-bit;; |
|
|
*) libmagic=never-match;; |
|
|
esac |
|
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" |
|
|
;; |
|
4083 |
esac |
esac |
|
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
4084 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4085 |
;; |
;; |
4086 |
|
|
4087 |
# This must be Linux ELF. |
# This must be Linux ELF. |
4088 |
linux*) |
linux*) |
|
# linux always uses pass_all now, this code is the old way (tm) |
|
|
case $host_cpu in |
|
|
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*) |
|
|
lt_cv_deplibs_check_method=pass_all ;; |
|
|
*) |
|
|
# glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
esac |
|
4089 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
4090 |
;; |
;; |
4091 |
|
|
4092 |
netbsd*) |
netbsd*) |
4118 |
;; |
;; |
4119 |
|
|
4120 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
|
# this will be overridden with pass_all, but let us keep it just in case |
|
|
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
|
|
lt_cv_file_magic_test_file=/shlib/libc.so |
|
4121 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
4122 |
;; |
;; |
4123 |
|
|
4127 |
|
|
4128 |
solaris*) |
solaris*) |
4129 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
lt_cv_file_magic_test_file=/lib/libc.so |
|
4130 |
;; |
;; |
4131 |
|
|
4132 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
4174 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
4175 |
compiler=$CC |
compiler=$CC |
4176 |
|
|
|
|
|
4177 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
4178 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
4179 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
4205 |
;; |
;; |
4206 |
*-*-irix6*) |
*-*-irix6*) |
4207 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4208 |
echo '#line 3882 "configure"' > conftest.$ac_ext |
echo '#line 4208 "configure"' > conftest.$ac_ext |
4209 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4210 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
4211 |
ac_status=$? |
ac_status=$? |
4302 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4303 |
|
|
4304 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4305 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4306 |
_ACEOF |
_ACEOF |
4307 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4318 |
_ACEOF |
_ACEOF |
4319 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
4320 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4321 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
4322 |
ac_status=$? |
ac_status=$? |
4323 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4324 |
|
rm -f conftest.er1 |
4325 |
|
cat conftest.err >&5 |
4326 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4327 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4328 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
4329 |
|
|| test ! -s conftest.err' |
4330 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4331 |
|
(eval $ac_try) 2>&5 |
4332 |
|
ac_status=$? |
4333 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4334 |
|
(exit $ac_status); }; } && |
4335 |
|
{ ac_try='test -s conftest$ac_exeext' |
4336 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4337 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4338 |
ac_status=$? |
ac_status=$? |
4345 |
|
|
4346 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
4347 |
fi |
fi |
4348 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
4349 |
|
conftest$ac_exeext conftest.$ac_ext |
4350 |
ac_ext=c |
ac_ext=c |
4351 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
4352 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4395 |
# 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, |
4396 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
4397 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4398 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4399 |
_ACEOF |
_ACEOF |
4400 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4405 |
#else |
#else |
4406 |
# include <assert.h> |
# include <assert.h> |
4407 |
#endif |
#endif |
4408 |
Syntax error |
Syntax error |
4409 |
_ACEOF |
_ACEOF |
4410 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4411 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4417 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4418 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4419 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4420 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4421 |
else |
else |
4422 |
ac_cpp_err= |
ac_cpp_err= |
4423 |
fi |
fi |
4438 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
4439 |
# can be detected and how. |
# can be detected and how. |
4440 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4441 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4442 |
_ACEOF |
_ACEOF |
4443 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4455 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4456 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4457 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4458 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4459 |
else |
else |
4460 |
ac_cpp_err= |
ac_cpp_err= |
4461 |
fi |
fi |
4502 |
# 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, |
4503 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
4504 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4505 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4506 |
_ACEOF |
_ACEOF |
4507 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4512 |
#else |
#else |
4513 |
# include <assert.h> |
# include <assert.h> |
4514 |
#endif |
#endif |
4515 |
Syntax error |
Syntax error |
4516 |
_ACEOF |
_ACEOF |
4517 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4518 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4524 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4525 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4526 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4527 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4528 |
else |
else |
4529 |
ac_cpp_err= |
ac_cpp_err= |
4530 |
fi |
fi |
4545 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
4546 |
# can be detected and how. |
# can be detected and how. |
4547 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4548 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4549 |
_ACEOF |
_ACEOF |
4550 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4562 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4563 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4564 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4565 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4566 |
else |
else |
4567 |
ac_cpp_err= |
ac_cpp_err= |
4568 |
fi |
fi |
4608 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4609 |
else |
else |
4610 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4611 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4612 |
_ACEOF |
_ACEOF |
4613 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4628 |
_ACEOF |
_ACEOF |
4629 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4630 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4631 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4632 |
ac_status=$? |
ac_status=$? |
4633 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4634 |
|
rm -f conftest.er1 |
4635 |
|
cat conftest.err >&5 |
4636 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4637 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4638 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
4639 |
|
|| test ! -s conftest.err' |
4640 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4641 |
|
(eval $ac_try) 2>&5 |
4642 |
|
ac_status=$? |
4643 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4644 |
|
(exit $ac_status); }; } && |
4645 |
|
{ ac_try='test -s conftest.$ac_objext' |
4646 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4647 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4648 |
ac_status=$? |
ac_status=$? |
4655 |
|
|
4656 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
4657 |
fi |
fi |
4658 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4659 |
|
|
4660 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4661 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4662 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4663 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4664 |
_ACEOF |
_ACEOF |
4665 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4681 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4682 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4683 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4684 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4685 |
_ACEOF |
_ACEOF |
4686 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4705 |
: |
: |
4706 |
else |
else |
4707 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4708 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4709 |
_ACEOF |
_ACEOF |
4710 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4716 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4717 |
#else |
#else |
4718 |
# define ISLOWER(c) \ |
# define ISLOWER(c) \ |
4719 |
(('a' <= (c) && (c) <= 'i') \ |
(('a' <= (c) && (c) <= 'i') \ |
4720 |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
4721 |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
4722 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4723 |
#endif |
#endif |
4724 |
|
|
4729 |
int i; |
int i; |
4730 |
for (i = 0; i < 256; i++) |
for (i = 0; i < 256; i++) |
4731 |
if (XOR (islower (i), ISLOWER (i)) |
if (XOR (islower (i), ISLOWER (i)) |
4732 |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
4733 |
exit(2); |
exit(2); |
4734 |
exit (0); |
exit (0); |
4735 |
} |
} |
4779 |
|
|
4780 |
|
|
4781 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4782 |
inttypes.h stdint.h unistd.h |
inttypes.h stdint.h unistd.h |
4783 |
do |
do |
4784 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4785 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4788 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4789 |
else |
else |
4790 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4791 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4792 |
_ACEOF |
_ACEOF |
4793 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4799 |
_ACEOF |
_ACEOF |
4800 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4801 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4802 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4803 |
ac_status=$? |
ac_status=$? |
4804 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4805 |
|
rm -f conftest.er1 |
4806 |
|
cat conftest.err >&5 |
4807 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4808 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4809 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
4810 |
|
|| test ! -s conftest.err' |
4811 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4812 |
|
(eval $ac_try) 2>&5 |
4813 |
|
ac_status=$? |
4814 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4815 |
|
(exit $ac_status); }; } && |
4816 |
|
{ ac_try='test -s conftest.$ac_objext' |
4817 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4818 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4819 |
ac_status=$? |
ac_status=$? |
4826 |
|
|
4827 |
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
4828 |
fi |
fi |
4829 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4830 |
fi |
fi |
4831 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4832 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4857 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4858 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4859 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4860 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4861 |
_ACEOF |
_ACEOF |
4862 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4867 |
_ACEOF |
_ACEOF |
4868 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4869 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4870 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
4871 |
ac_status=$? |
ac_status=$? |
4872 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4873 |
|
rm -f conftest.er1 |
4874 |
|
cat conftest.err >&5 |
4875 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4876 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4877 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
4878 |
|
|| test ! -s conftest.err' |
4879 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4880 |
|
(eval $ac_try) 2>&5 |
4881 |
|
ac_status=$? |
4882 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4883 |
|
(exit $ac_status); }; } && |
4884 |
|
{ ac_try='test -s conftest.$ac_objext' |
4885 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4886 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4887 |
ac_status=$? |
ac_status=$? |
4894 |
|
|
4895 |
ac_header_compiler=no |
ac_header_compiler=no |
4896 |
fi |
fi |
4897 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4898 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4899 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4900 |
|
|
4902 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4903 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4904 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
4905 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4906 |
_ACEOF |
_ACEOF |
4907 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4919 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
4920 |
if test -s conftest.err; then |
if test -s conftest.err; then |
4921 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
4922 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4923 |
else |
else |
4924 |
ac_cpp_err= |
ac_cpp_err= |
4925 |
fi |
fi |
4939 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4940 |
|
|
4941 |
# So? What about this header? |
# So? What about this header? |
4942 |
case $ac_header_compiler:$ac_header_preproc in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4943 |
yes:no ) |
yes:no: ) |
4944 |
{ 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 |
4945 |
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;} |
4946 |
{ 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 |
4947 |
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;} |
4948 |
( |
ac_header_preproc=yes |
|
cat <<\_ASBOX |
|
|
## ------------------------------------ ## |
|
|
## Report this to bug-autoconf@gnu.org. ## |
|
|
## ------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
4949 |
;; |
;; |
4950 |
no:yes ) |
no:yes:* ) |
4951 |
{ 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 |
4952 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4953 |
{ 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 |
4954 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4955 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4956 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4957 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4958 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4959 |
{ 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 |
4960 |
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;} |
4961 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4962 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4963 |
( |
( |
4964 |
cat <<\_ASBOX |
cat <<\_ASBOX |
4965 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
4966 |
## Report this to bug-autoconf@gnu.org. ## |
## Report this to the AC_PACKAGE_NAME lists. ## |
4967 |
## ------------------------------------ ## |
## ------------------------------------------ ## |
4968 |
_ASBOX |
_ASBOX |
4969 |
) | |
) | |
4970 |
sed "s/^/$as_me: WARNING: /" >&2 |
sed "s/^/$as_me: WARNING: /" >&2 |
4975 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4976 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4977 |
else |
else |
4978 |
eval "$as_ac_Header=$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
4979 |
fi |
fi |
4980 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4981 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5014 |
# 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, |
5015 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5016 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5017 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5018 |
_ACEOF |
_ACEOF |
5019 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5024 |
#else |
#else |
5025 |
# include <assert.h> |
# include <assert.h> |
5026 |
#endif |
#endif |
5027 |
Syntax error |
Syntax error |
5028 |
_ACEOF |
_ACEOF |
5029 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5030 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5036 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5037 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5038 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5039 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5040 |
else |
else |
5041 |
ac_cpp_err= |
ac_cpp_err= |
5042 |
fi |
fi |
5057 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5058 |
# can be detected and how. |
# can be detected and how. |
5059 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5060 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5061 |
_ACEOF |
_ACEOF |
5062 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5074 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5075 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5076 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5077 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5078 |
else |
else |
5079 |
ac_cpp_err= |
ac_cpp_err= |
5080 |
fi |
fi |
5121 |
# 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, |
5122 |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
5123 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5124 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5125 |
_ACEOF |
_ACEOF |
5126 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5131 |
#else |
#else |
5132 |
# include <assert.h> |
# include <assert.h> |
5133 |
#endif |
#endif |
5134 |
Syntax error |
Syntax error |
5135 |
_ACEOF |
_ACEOF |
5136 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5137 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5143 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5144 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5145 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5146 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5147 |
else |
else |
5148 |
ac_cpp_err= |
ac_cpp_err= |
5149 |
fi |
fi |
5164 |
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
5165 |
# can be detected and how. |
# can be detected and how. |
5166 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
5167 |
/* confdefs.h. */ |
/* confdefs.h. */ |
5168 |
_ACEOF |
_ACEOF |
5169 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
5181 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
5182 |
if test -s conftest.err; then |
if test -s conftest.err; then |
5183 |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5184 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5185 |
else |
else |
5186 |
ac_cpp_err= |
ac_cpp_err= |
5187 |
fi |
fi |
5226 |
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' |
5227 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5228 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
5229 |
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 |
5230 |
do |
do |
5231 |
# 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. |
5232 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5268 |
fi |
fi |
5269 |
if test -z "$F77"; then |
if test -z "$F77"; then |
5270 |
ac_ct_F77=$F77 |
ac_ct_F77=$F77 |
5271 |
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 |
5272 |
do |
do |
5273 |
# 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. |
5274 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
5313 |
|
|
5314 |
|
|
5315 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
5316 |
echo "$as_me:4957:" \ |
echo "$as_me:5316:" \ |
5317 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
5318 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
5319 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5331 |
ac_status=$? |
ac_status=$? |
5332 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5333 |
(exit $ac_status); } |
(exit $ac_status); } |
5334 |
|
rm -f a.out |
5335 |
|
|
5336 |
# 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 |
5337 |
# input file. |
# input file. (Note that this only needs to work for GNU compilers.) |
5338 |
ac_save_ext=$ac_ext |
ac_save_ext=$ac_ext |
5339 |
ac_ext=F |
ac_ext=F |
5340 |
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 |
5352 |
_ACEOF |
_ACEOF |
5353 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5354 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5355 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5356 |
ac_status=$? |
ac_status=$? |
5357 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5358 |
|
rm -f conftest.er1 |
5359 |
|
cat conftest.err >&5 |
5360 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5361 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5362 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
5363 |
|
|| test ! -s conftest.err' |
5364 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5365 |
|
(eval $ac_try) 2>&5 |
5366 |
|
ac_status=$? |
5367 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5368 |
|
(exit $ac_status); }; } && |
5369 |
|
{ ac_try='test -s conftest.$ac_objext' |
5370 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5371 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5372 |
ac_status=$? |
ac_status=$? |
5379 |
|
|
5380 |
ac_compiler_gnu=no |
ac_compiler_gnu=no |
5381 |
fi |
fi |
5382 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5383 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5384 |
|
|
5385 |
fi |
fi |
5386 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5387 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
5388 |
ac_ext=$ac_save_ext |
ac_ext=$ac_save_ext |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
|
5389 |
ac_test_FFLAGS=${FFLAGS+set} |
ac_test_FFLAGS=${FFLAGS+set} |
5390 |
ac_save_FFLAGS=$FFLAGS |
ac_save_FFLAGS=$FFLAGS |
5391 |
FFLAGS= |
FFLAGS= |
5402 |
_ACEOF |
_ACEOF |
5403 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
5404 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5405 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
5406 |
ac_status=$? |
ac_status=$? |
5407 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5408 |
|
rm -f conftest.er1 |
5409 |
|
cat conftest.err >&5 |
5410 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5411 |
(exit $ac_status); } && |
(exit $ac_status); } && |
5412 |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
5413 |
|
|| test ! -s conftest.err' |
5414 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5415 |
|
(eval $ac_try) 2>&5 |
5416 |
|
ac_status=$? |
5417 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5418 |
|
(exit $ac_status); }; } && |
5419 |
|
{ ac_try='test -s conftest.$ac_objext' |
5420 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5421 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
5422 |
ac_status=$? |
ac_status=$? |
5429 |
|
|
5430 |
ac_cv_prog_f77_g=no |
ac_cv_prog_f77_g=no |
5431 |
fi |
fi |
5432 |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5433 |
|
|
5434 |
fi |
fi |
5435 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5437 |
if test "$ac_test_FFLAGS" = set; then |
if test "$ac_test_FFLAGS" = set; then |
5438 |
FFLAGS=$ac_save_FFLAGS |
FFLAGS=$ac_save_FFLAGS |
5439 |
elif test $ac_cv_prog_f77_g = yes; then |
elif test $ac_cv_prog_f77_g = yes; then |
5440 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5441 |
FFLAGS="-g -O2" |
FFLAGS="-g -O2" |
5442 |
else |
else |
5443 |
FFLAGS="-g" |
FFLAGS="-g" |
5444 |
fi |
fi |
5445 |
else |
else |
5446 |
if test "$G77" = yes; then |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5447 |
FFLAGS="-O2" |
FFLAGS="-O2" |
5448 |
else |
else |
5449 |
FFLAGS= |
FFLAGS= |
5450 |
fi |
fi |
5451 |
fi |
fi |
5452 |
|
|
5453 |
|
G77=`test $ac_compiler_gnu = yes && echo yes` |
5454 |
ac_ext=cc |
ac_ext=cc |
5455 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
5456 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6347 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6348 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6349 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6350 |
(eval echo "\"\$as_me:5969: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6350: $lt_compile\"" >&5) |
6351 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6352 |
ac_status=$? |
ac_status=$? |
6353 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6354 |
echo "$as_me:5973: \$? = $ac_status" >&5 |
echo "$as_me:6354: \$? = $ac_status" >&5 |
6355 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6356 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6357 |
# So say no if there are warnings |
# So say no if there are warnings |
6580 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6581 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6582 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6583 |
(eval echo "\"\$as_me:6202: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6583: $lt_compile\"" >&5) |
6584 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6585 |
ac_status=$? |
ac_status=$? |
6586 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6587 |
echo "$as_me:6206: \$? = $ac_status" >&5 |
echo "$as_me:6587: \$? = $ac_status" >&5 |
6588 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6589 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6590 |
# So say no if there are warnings |
# So say no if there are warnings |
6647 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6648 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6649 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6650 |
(eval echo "\"\$as_me:6269: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6650: $lt_compile\"" >&5) |
6651 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6652 |
ac_status=$? |
ac_status=$? |
6653 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6654 |
echo "$as_me:6273: \$? = $ac_status" >&5 |
echo "$as_me:6654: \$? = $ac_status" >&5 |
6655 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6656 |
then |
then |
6657 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
7015 |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
7016 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7017 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7018 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7019 |
_ACEOF |
_ACEOF |
7020 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7031 |
_ACEOF |
_ACEOF |
7032 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7033 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7034 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7035 |
ac_status=$? |
ac_status=$? |
7036 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7037 |
|
rm -f conftest.er1 |
7038 |
|
cat conftest.err >&5 |
7039 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7040 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7041 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
7042 |
|
|| test ! -s conftest.err' |
7043 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7044 |
|
(eval $ac_try) 2>&5 |
7045 |
|
ac_status=$? |
7046 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7047 |
|
(exit $ac_status); }; } && |
7048 |
|
{ ac_try='test -s conftest$ac_exeext' |
7049 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7050 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7051 |
ac_status=$? |
ac_status=$? |
7062 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7063 |
|
|
7064 |
fi |
fi |
7065 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7066 |
|
conftest$ac_exeext conftest.$ac_ext |
7067 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7068 |
|
|
7069 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7076 |
else |
else |
7077 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
7078 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
7079 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7080 |
_ACEOF |
_ACEOF |
7081 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
7092 |
_ACEOF |
_ACEOF |
7093 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
7094 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7095 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
7096 |
ac_status=$? |
ac_status=$? |
7097 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7098 |
|
rm -f conftest.er1 |
7099 |
|
cat conftest.err >&5 |
7100 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7101 |
(exit $ac_status); } && |
(exit $ac_status); } && |
7102 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
7103 |
|
|| test ! -s conftest.err' |
7104 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7105 |
|
(eval $ac_try) 2>&5 |
7106 |
|
ac_status=$? |
7107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7108 |
|
(exit $ac_status); }; } && |
7109 |
|
{ ac_try='test -s conftest$ac_exeext' |
7110 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7111 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
7112 |
ac_status=$? |
ac_status=$? |
7123 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7124 |
|
|
7125 |
fi |
fi |
7126 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
7127 |
|
conftest$ac_exeext conftest.$ac_ext |
7128 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7129 |
|
|
7130 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7977 |
# before this can be enabled. |
# before this can be enabled. |
7978 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
7979 |
|
|
7980 |
|
# /usr/X11R6/lib and /usr/local/lib are common enough... |
7981 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
7982 |
|
|
7983 |
# 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 |
7984 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
7985 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
7989 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
7990 |
;; |
;; |
7991 |
|
|
7992 |
|
knetbsd*-gnu) |
7993 |
|
version_type=linux |
7994 |
|
need_lib_prefix=no |
7995 |
|
need_version=no |
7996 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
7997 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
7998 |
|
shlibpath_var=LD_LIBRARY_PATH |
7999 |
|
shlibpath_overrides_runpath=no |
8000 |
|
hardcode_into_libs=yes |
8001 |
|
dynamic_linker='GNU ld.so' |
8002 |
|
;; |
8003 |
|
|
8004 |
netbsd*) |
netbsd*) |
8005 |
version_type=sunos |
version_type=sunos |
8006 |
need_lib_prefix=no |
need_lib_prefix=no |
8039 |
openbsd*) |
openbsd*) |
8040 |
version_type=sunos |
version_type=sunos |
8041 |
need_lib_prefix=no |
need_lib_prefix=no |
8042 |
need_version=no |
need_version=yes |
8043 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8044 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8045 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
8258 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8259 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8260 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8261 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8262 |
_ACEOF |
_ACEOF |
8263 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8281 |
_ACEOF |
_ACEOF |
8282 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8283 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8284 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8285 |
ac_status=$? |
ac_status=$? |
8286 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8287 |
|
rm -f conftest.er1 |
8288 |
|
cat conftest.err >&5 |
8289 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8290 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8291 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8292 |
|
|| test ! -s conftest.err' |
8293 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8294 |
|
(eval $ac_try) 2>&5 |
8295 |
|
ac_status=$? |
8296 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8297 |
|
(exit $ac_status); }; } && |
8298 |
|
{ ac_try='test -s conftest$ac_exeext' |
8299 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8300 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8301 |
ac_status=$? |
ac_status=$? |
8308 |
|
|
8309 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8310 |
fi |
fi |
8311 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8312 |
|
conftest$ac_exeext conftest.$ac_ext |
8313 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8314 |
fi |
fi |
8315 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8333 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8334 |
else |
else |
8335 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8336 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8337 |
_ACEOF |
_ACEOF |
8338 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8339 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8340 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8341 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
8342 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8343 |
|
#define shl_load innocuous_shl_load |
8344 |
|
|
8345 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8346 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
8347 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8348 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8349 |
|
|
8350 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8351 |
# include <limits.h> |
# include <limits.h> |
8352 |
#else |
#else |
8353 |
# include <assert.h> |
# include <assert.h> |
8354 |
#endif |
#endif |
8355 |
|
|
8356 |
|
#undef shl_load |
8357 |
|
|
8358 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8359 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8360 |
extern "C" |
extern "C" |
8385 |
_ACEOF |
_ACEOF |
8386 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8387 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8388 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8389 |
ac_status=$? |
ac_status=$? |
8390 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8391 |
|
rm -f conftest.er1 |
8392 |
|
cat conftest.err >&5 |
8393 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8394 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8395 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8396 |
|
|| test ! -s conftest.err' |
8397 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8398 |
|
(eval $ac_try) 2>&5 |
8399 |
|
ac_status=$? |
8400 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8401 |
|
(exit $ac_status); }; } && |
8402 |
|
{ ac_try='test -s conftest$ac_exeext' |
8403 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8404 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8405 |
ac_status=$? |
ac_status=$? |
8412 |
|
|
8413 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
8414 |
fi |
fi |
8415 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8416 |
|
conftest$ac_exeext conftest.$ac_ext |
8417 |
fi |
fi |
8418 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8419 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
8428 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8429 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8430 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8431 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8432 |
_ACEOF |
_ACEOF |
8433 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8451 |
_ACEOF |
_ACEOF |
8452 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8453 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8454 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8455 |
ac_status=$? |
ac_status=$? |
8456 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8457 |
|
rm -f conftest.er1 |
8458 |
|
cat conftest.err >&5 |
8459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8460 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8461 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8462 |
|
|| test ! -s conftest.err' |
8463 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8464 |
|
(eval $ac_try) 2>&5 |
8465 |
|
ac_status=$? |
8466 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8467 |
|
(exit $ac_status); }; } && |
8468 |
|
{ ac_try='test -s conftest$ac_exeext' |
8469 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8470 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8471 |
ac_status=$? |
ac_status=$? |
8478 |
|
|
8479 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
8480 |
fi |
fi |
8481 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8482 |
|
conftest$ac_exeext conftest.$ac_ext |
8483 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8484 |
fi |
fi |
8485 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
8493 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8494 |
else |
else |
8495 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8496 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8497 |
_ACEOF |
_ACEOF |
8498 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8499 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
8500 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
8501 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
8502 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
8503 |
|
#define dlopen innocuous_dlopen |
8504 |
|
|
8505 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8506 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
8507 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8508 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
8509 |
|
|
8510 |
#ifdef __STDC__ |
#ifdef __STDC__ |
8511 |
# include <limits.h> |
# include <limits.h> |
8512 |
#else |
#else |
8513 |
# include <assert.h> |
# include <assert.h> |
8514 |
#endif |
#endif |
8515 |
|
|
8516 |
|
#undef dlopen |
8517 |
|
|
8518 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8519 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8520 |
extern "C" |
extern "C" |
8545 |
_ACEOF |
_ACEOF |
8546 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8547 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8548 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8549 |
ac_status=$? |
ac_status=$? |
8550 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8551 |
|
rm -f conftest.er1 |
8552 |
|
cat conftest.err >&5 |
8553 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8554 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8555 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8556 |
|
|| test ! -s conftest.err' |
8557 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8558 |
|
(eval $ac_try) 2>&5 |
8559 |
|
ac_status=$? |
8560 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8561 |
|
(exit $ac_status); }; } && |
8562 |
|
{ ac_try='test -s conftest$ac_exeext' |
8563 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8564 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8565 |
ac_status=$? |
ac_status=$? |
8572 |
|
|
8573 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
8574 |
fi |
fi |
8575 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8576 |
|
conftest$ac_exeext conftest.$ac_ext |
8577 |
fi |
fi |
8578 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
8579 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
8588 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8589 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
8590 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8591 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8592 |
_ACEOF |
_ACEOF |
8593 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8611 |
_ACEOF |
_ACEOF |
8612 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8613 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8614 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8615 |
ac_status=$? |
ac_status=$? |
8616 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8617 |
|
rm -f conftest.er1 |
8618 |
|
cat conftest.err >&5 |
8619 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8620 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8621 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8622 |
|
|| test ! -s conftest.err' |
8623 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8624 |
|
(eval $ac_try) 2>&5 |
8625 |
|
ac_status=$? |
8626 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8627 |
|
(exit $ac_status); }; } && |
8628 |
|
{ ac_try='test -s conftest$ac_exeext' |
8629 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8630 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8631 |
ac_status=$? |
ac_status=$? |
8638 |
|
|
8639 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
8640 |
fi |
fi |
8641 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8642 |
|
conftest$ac_exeext conftest.$ac_ext |
8643 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8644 |
fi |
fi |
8645 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8655 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8656 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
8657 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8658 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8659 |
_ACEOF |
_ACEOF |
8660 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8678 |
_ACEOF |
_ACEOF |
8679 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8680 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8681 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8682 |
ac_status=$? |
ac_status=$? |
8683 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8684 |
|
rm -f conftest.er1 |
8685 |
|
cat conftest.err >&5 |
8686 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8687 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8688 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8689 |
|
|| test ! -s conftest.err' |
8690 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8691 |
|
(eval $ac_try) 2>&5 |
8692 |
|
ac_status=$? |
8693 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8694 |
|
(exit $ac_status); }; } && |
8695 |
|
{ ac_try='test -s conftest$ac_exeext' |
8696 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8697 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8698 |
ac_status=$? |
ac_status=$? |
8705 |
|
|
8706 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
8707 |
fi |
fi |
8708 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8709 |
|
conftest$ac_exeext conftest.$ac_ext |
8710 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8711 |
fi |
fi |
8712 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
8722 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
8723 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
8724 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
8725 |
/* confdefs.h. */ |
/* confdefs.h. */ |
8726 |
_ACEOF |
_ACEOF |
8727 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
8745 |
_ACEOF |
_ACEOF |
8746 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
8747 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8748 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
8749 |
ac_status=$? |
ac_status=$? |
8750 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8751 |
|
rm -f conftest.er1 |
8752 |
|
cat conftest.err >&5 |
8753 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8754 |
(exit $ac_status); } && |
(exit $ac_status); } && |
8755 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
8756 |
|
|| test ! -s conftest.err' |
8757 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8758 |
|
(eval $ac_try) 2>&5 |
8759 |
|
ac_status=$? |
8760 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8761 |
|
(exit $ac_status); }; } && |
8762 |
|
{ ac_try='test -s conftest$ac_exeext' |
8763 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8764 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
8765 |
ac_status=$? |
ac_status=$? |
8772 |
|
|
8773 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
8774 |
fi |
fi |
8775 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
8776 |
|
conftest$ac_exeext conftest.$ac_ext |
8777 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
8778 |
fi |
fi |
8779 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
8828 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8829 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8830 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8831 |
#line 8329 "configure" |
#line 8831 "configure" |
8832 |
#include "confdefs.h" |
#include "confdefs.h" |
8833 |
|
|
8834 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
8926 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8927 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8928 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8929 |
#line 8427 "configure" |
#line 8929 "configure" |
8930 |
#include "confdefs.h" |
#include "confdefs.h" |
8931 |
|
|
8932 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
9975 |
allow_undefined_flag_CXX='-berok' |
allow_undefined_flag_CXX='-berok' |
9976 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
9977 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
9978 |
/* confdefs.h. */ |
/* confdefs.h. */ |
9979 |
_ACEOF |
_ACEOF |
9980 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
9991 |
_ACEOF |
_ACEOF |
9992 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
9993 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9994 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
9995 |
ac_status=$? |
ac_status=$? |
9996 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9997 |
|
rm -f conftest.er1 |
9998 |
|
cat conftest.err >&5 |
9999 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10000 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10001 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
10002 |
|
|| test ! -s conftest.err' |
10003 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10004 |
|
(eval $ac_try) 2>&5 |
10005 |
|
ac_status=$? |
10006 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10007 |
|
(exit $ac_status); }; } && |
10008 |
|
{ ac_try='test -s conftest$ac_exeext' |
10009 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10010 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10011 |
ac_status=$? |
ac_status=$? |
10022 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10023 |
|
|
10024 |
fi |
fi |
10025 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10026 |
|
conftest$ac_exeext conftest.$ac_ext |
10027 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10028 |
|
|
10029 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10037 |
else |
else |
10038 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
10039 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
10040 |
/* confdefs.h. */ |
/* confdefs.h. */ |
10041 |
_ACEOF |
_ACEOF |
10042 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
10053 |
_ACEOF |
_ACEOF |
10054 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
10055 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10056 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
10057 |
ac_status=$? |
ac_status=$? |
10058 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10059 |
|
rm -f conftest.er1 |
10060 |
|
cat conftest.err >&5 |
10061 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10062 |
(exit $ac_status); } && |
(exit $ac_status); } && |
10063 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
10064 |
|
|| test ! -s conftest.err' |
10065 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10066 |
|
(eval $ac_try) 2>&5 |
10067 |
|
ac_status=$? |
10068 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10069 |
|
(exit $ac_status); }; } && |
10070 |
|
{ ac_try='test -s conftest$ac_exeext' |
10071 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10072 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
10073 |
ac_status=$? |
ac_status=$? |
10084 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10085 |
|
|
10086 |
fi |
fi |
10087 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
10088 |
|
conftest$ac_exeext conftest.$ac_ext |
10089 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10090 |
|
|
10091 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11105 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11106 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11107 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11108 |
(eval echo "\"\$as_me:10586: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11108: $lt_compile\"" >&5) |
11109 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
11110 |
ac_status=$? |
ac_status=$? |
11111 |
cat conftest.err >&5 |
cat conftest.err >&5 |
11112 |
echo "$as_me:10590: \$? = $ac_status" >&5 |
echo "$as_me:11112: \$? = $ac_status" >&5 |
11113 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
11114 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11115 |
# So say no if there are warnings |
# So say no if there are warnings |
11172 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11173 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11174 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
11175 |
(eval echo "\"\$as_me:10653: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:11175: $lt_compile\"" >&5) |
11176 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
11177 |
ac_status=$? |
ac_status=$? |
11178 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
11179 |
echo "$as_me:10657: \$? = $ac_status" >&5 |
echo "$as_me:11179: \$? = $ac_status" >&5 |
11180 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11181 |
then |
then |
11182 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
11679 |
# before this can be enabled. |
# before this can be enabled. |
11680 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
11681 |
|
|
11682 |
|
# /usr/X11R6/lib and /usr/local/lib are common enough... |
11683 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
11684 |
|
|
11685 |
# 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 |
11686 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
11687 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
11691 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
11692 |
;; |
;; |
11693 |
|
|
11694 |
|
knetbsd*-gnu) |
11695 |
|
version_type=linux |
11696 |
|
need_lib_prefix=no |
11697 |
|
need_version=no |
11698 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11699 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11700 |
|
shlibpath_var=LD_LIBRARY_PATH |
11701 |
|
shlibpath_overrides_runpath=no |
11702 |
|
hardcode_into_libs=yes |
11703 |
|
dynamic_linker='GNU ld.so' |
11704 |
|
;; |
11705 |
|
|
11706 |
netbsd*) |
netbsd*) |
11707 |
version_type=sunos |
version_type=sunos |
11708 |
need_lib_prefix=no |
need_lib_prefix=no |
11741 |
openbsd*) |
openbsd*) |
11742 |
version_type=sunos |
version_type=sunos |
11743 |
need_lib_prefix=no |
need_lib_prefix=no |
11744 |
need_version=no |
need_version=yes |
11745 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11746 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11747 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
11960 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
11961 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
11962 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
11963 |
/* confdefs.h. */ |
/* confdefs.h. */ |
11964 |
_ACEOF |
_ACEOF |
11965 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
11983 |
_ACEOF |
_ACEOF |
11984 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
11985 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11986 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
11987 |
ac_status=$? |
ac_status=$? |
11988 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11989 |
|
rm -f conftest.er1 |
11990 |
|
cat conftest.err >&5 |
11991 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11992 |
(exit $ac_status); } && |
(exit $ac_status); } && |
11993 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
11994 |
|
|| test ! -s conftest.err' |
11995 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11996 |
|
(eval $ac_try) 2>&5 |
11997 |
|
ac_status=$? |
11998 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11999 |
|
(exit $ac_status); }; } && |
12000 |
|
{ ac_try='test -s conftest$ac_exeext' |
12001 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12002 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12003 |
ac_status=$? |
ac_status=$? |
12010 |
|
|
12011 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12012 |
fi |
fi |
12013 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12014 |
|
conftest$ac_exeext conftest.$ac_ext |
12015 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12016 |
fi |
fi |
12017 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12035 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12036 |
else |
else |
12037 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12038 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12039 |
_ACEOF |
_ACEOF |
12040 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12041 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12042 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12043 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
12044 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12045 |
|
#define shl_load innocuous_shl_load |
12046 |
|
|
12047 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12048 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
12049 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12050 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12051 |
|
|
12052 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12053 |
# include <limits.h> |
# include <limits.h> |
12054 |
#else |
#else |
12055 |
# include <assert.h> |
# include <assert.h> |
12056 |
#endif |
#endif |
12057 |
|
|
12058 |
|
#undef shl_load |
12059 |
|
|
12060 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12061 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12062 |
extern "C" |
extern "C" |
12087 |
_ACEOF |
_ACEOF |
12088 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12089 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12090 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12091 |
ac_status=$? |
ac_status=$? |
12092 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12093 |
|
rm -f conftest.er1 |
12094 |
|
cat conftest.err >&5 |
12095 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12096 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12097 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12098 |
|
|| test ! -s conftest.err' |
12099 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12100 |
|
(eval $ac_try) 2>&5 |
12101 |
|
ac_status=$? |
12102 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12103 |
|
(exit $ac_status); }; } && |
12104 |
|
{ ac_try='test -s conftest$ac_exeext' |
12105 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12106 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12107 |
ac_status=$? |
ac_status=$? |
12114 |
|
|
12115 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
12116 |
fi |
fi |
12117 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12118 |
|
conftest$ac_exeext conftest.$ac_ext |
12119 |
fi |
fi |
12120 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12121 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
12130 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12131 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12132 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12133 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12134 |
_ACEOF |
_ACEOF |
12135 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12153 |
_ACEOF |
_ACEOF |
12154 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12155 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12156 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12157 |
ac_status=$? |
ac_status=$? |
12158 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12159 |
|
rm -f conftest.er1 |
12160 |
|
cat conftest.err >&5 |
12161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12162 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12163 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12164 |
|
|| test ! -s conftest.err' |
12165 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12166 |
|
(eval $ac_try) 2>&5 |
12167 |
|
ac_status=$? |
12168 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12169 |
|
(exit $ac_status); }; } && |
12170 |
|
{ ac_try='test -s conftest$ac_exeext' |
12171 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12172 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12173 |
ac_status=$? |
ac_status=$? |
12180 |
|
|
12181 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
12182 |
fi |
fi |
12183 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12184 |
|
conftest$ac_exeext conftest.$ac_ext |
12185 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12186 |
fi |
fi |
12187 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12195 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12196 |
else |
else |
12197 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12198 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12199 |
_ACEOF |
_ACEOF |
12200 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12201 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
12202 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
12203 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
12204 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12205 |
|
#define dlopen innocuous_dlopen |
12206 |
|
|
12207 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12208 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
12209 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12210 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
12211 |
|
|
12212 |
#ifdef __STDC__ |
#ifdef __STDC__ |
12213 |
# include <limits.h> |
# include <limits.h> |
12214 |
#else |
#else |
12215 |
# include <assert.h> |
# include <assert.h> |
12216 |
#endif |
#endif |
12217 |
|
|
12218 |
|
#undef dlopen |
12219 |
|
|
12220 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12221 |
#ifdef __cplusplus |
#ifdef __cplusplus |
12222 |
extern "C" |
extern "C" |
12247 |
_ACEOF |
_ACEOF |
12248 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12249 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12250 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12251 |
ac_status=$? |
ac_status=$? |
12252 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12253 |
|
rm -f conftest.er1 |
12254 |
|
cat conftest.err >&5 |
12255 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12256 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12257 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12258 |
|
|| test ! -s conftest.err' |
12259 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12260 |
|
(eval $ac_try) 2>&5 |
12261 |
|
ac_status=$? |
12262 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12263 |
|
(exit $ac_status); }; } && |
12264 |
|
{ ac_try='test -s conftest$ac_exeext' |
12265 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12266 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12267 |
ac_status=$? |
ac_status=$? |
12274 |
|
|
12275 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
12276 |
fi |
fi |
12277 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12278 |
|
conftest$ac_exeext conftest.$ac_ext |
12279 |
fi |
fi |
12280 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12281 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
12290 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12291 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
12292 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12293 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12294 |
_ACEOF |
_ACEOF |
12295 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12313 |
_ACEOF |
_ACEOF |
12314 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12315 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12316 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12317 |
ac_status=$? |
ac_status=$? |
12318 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12319 |
|
rm -f conftest.er1 |
12320 |
|
cat conftest.err >&5 |
12321 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12322 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12323 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12324 |
|
|| test ! -s conftest.err' |
12325 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12326 |
|
(eval $ac_try) 2>&5 |
12327 |
|
ac_status=$? |
12328 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12329 |
|
(exit $ac_status); }; } && |
12330 |
|
{ ac_try='test -s conftest$ac_exeext' |
12331 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12332 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12333 |
ac_status=$? |
ac_status=$? |
12340 |
|
|
12341 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
12342 |
fi |
fi |
12343 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12344 |
|
conftest$ac_exeext conftest.$ac_ext |
12345 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12346 |
fi |
fi |
12347 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12357 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12358 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
12359 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12360 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12361 |
_ACEOF |
_ACEOF |
12362 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12380 |
_ACEOF |
_ACEOF |
12381 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12382 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12383 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12384 |
ac_status=$? |
ac_status=$? |
12385 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12386 |
|
rm -f conftest.er1 |
12387 |
|
cat conftest.err >&5 |
12388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12389 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12390 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12391 |
|
|| test ! -s conftest.err' |
12392 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12393 |
|
(eval $ac_try) 2>&5 |
12394 |
|
ac_status=$? |
12395 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12396 |
|
(exit $ac_status); }; } && |
12397 |
|
{ ac_try='test -s conftest$ac_exeext' |
12398 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12399 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12400 |
ac_status=$? |
ac_status=$? |
12407 |
|
|
12408 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
12409 |
fi |
fi |
12410 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12411 |
|
conftest$ac_exeext conftest.$ac_ext |
12412 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12413 |
fi |
fi |
12414 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
12424 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
12425 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
12426 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
12427 |
/* confdefs.h. */ |
/* confdefs.h. */ |
12428 |
_ACEOF |
_ACEOF |
12429 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
12447 |
_ACEOF |
_ACEOF |
12448 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
12449 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12450 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
12451 |
ac_status=$? |
ac_status=$? |
12452 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12453 |
|
rm -f conftest.er1 |
12454 |
|
cat conftest.err >&5 |
12455 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12456 |
(exit $ac_status); } && |
(exit $ac_status); } && |
12457 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
12458 |
|
|| test ! -s conftest.err' |
12459 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12460 |
|
(eval $ac_try) 2>&5 |
12461 |
|
ac_status=$? |
12462 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12463 |
|
(exit $ac_status); }; } && |
12464 |
|
{ ac_try='test -s conftest$ac_exeext' |
12465 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12466 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
12467 |
ac_status=$? |
ac_status=$? |
12474 |
|
|
12475 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
12476 |
fi |
fi |
12477 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
12478 |
|
conftest$ac_exeext conftest.$ac_ext |
12479 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
12480 |
fi |
fi |
12481 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
12530 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12531 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12532 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12533 |
#line 11910 "configure" |
#line 12533 "configure" |
12534 |
#include "confdefs.h" |
#include "confdefs.h" |
12535 |
|
|
12536 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12628 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12629 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12630 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12631 |
#line 12008 "configure" |
#line 12631 "configure" |
12632 |
#include "confdefs.h" |
#include "confdefs.h" |
12633 |
|
|
12634 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13455 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13456 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13457 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13458 |
(eval echo "\"\$as_me:12835: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13458: $lt_compile\"" >&5) |
13459 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13460 |
ac_status=$? |
ac_status=$? |
13461 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13462 |
echo "$as_me:12839: \$? = $ac_status" >&5 |
echo "$as_me:13462: \$? = $ac_status" >&5 |
13463 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13464 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13465 |
# So say no if there are warnings |
# So say no if there are warnings |
13522 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13523 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13524 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13525 |
(eval echo "\"\$as_me:12902: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13525: $lt_compile\"" >&5) |
13526 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13527 |
ac_status=$? |
ac_status=$? |
13528 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13529 |
echo "$as_me:12906: \$? = $ac_status" >&5 |
echo "$as_me:13529: \$? = $ac_status" >&5 |
13530 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13531 |
then |
then |
13532 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13896 |
_ACEOF |
_ACEOF |
13897 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
13898 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13899 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
13900 |
ac_status=$? |
ac_status=$? |
13901 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13902 |
|
rm -f conftest.er1 |
13903 |
|
cat conftest.err >&5 |
13904 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13905 |
(exit $ac_status); } && |
(exit $ac_status); } && |
13906 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
13907 |
|
|| test ! -s conftest.err' |
13908 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13909 |
|
(eval $ac_try) 2>&5 |
13910 |
|
ac_status=$? |
13911 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13912 |
|
(exit $ac_status); }; } && |
13913 |
|
{ ac_try='test -s conftest$ac_exeext' |
13914 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13915 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
13916 |
ac_status=$? |
ac_status=$? |
13927 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13928 |
|
|
13929 |
fi |
fi |
13930 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
13931 |
|
conftest$ac_exeext conftest.$ac_ext |
13932 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13933 |
|
|
13934 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13947 |
_ACEOF |
_ACEOF |
13948 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
13949 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13950 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
13951 |
ac_status=$? |
ac_status=$? |
13952 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13953 |
|
rm -f conftest.er1 |
13954 |
|
cat conftest.err >&5 |
13955 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13956 |
(exit $ac_status); } && |
(exit $ac_status); } && |
13957 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_f77_werror_flag" |
13958 |
|
|| test ! -s conftest.err' |
13959 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13960 |
|
(eval $ac_try) 2>&5 |
13961 |
|
ac_status=$? |
13962 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13963 |
|
(exit $ac_status); }; } && |
13964 |
|
{ ac_try='test -s conftest$ac_exeext' |
13965 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13966 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
13967 |
ac_status=$? |
ac_status=$? |
13978 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13979 |
|
|
13980 |
fi |
fi |
13981 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
13982 |
|
conftest$ac_exeext conftest.$ac_ext |
13983 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13984 |
|
|
13985 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14832 |
# before this can be enabled. |
# before this can be enabled. |
14833 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
14834 |
|
|
14835 |
|
# /usr/X11R6/lib and /usr/local/lib are common enough... |
14836 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
14837 |
|
|
14838 |
# 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 |
14839 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
14840 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
14844 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
14845 |
;; |
;; |
14846 |
|
|
14847 |
|
knetbsd*-gnu) |
14848 |
|
version_type=linux |
14849 |
|
need_lib_prefix=no |
14850 |
|
need_version=no |
14851 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
14852 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
14853 |
|
shlibpath_var=LD_LIBRARY_PATH |
14854 |
|
shlibpath_overrides_runpath=no |
14855 |
|
hardcode_into_libs=yes |
14856 |
|
dynamic_linker='GNU ld.so' |
14857 |
|
;; |
14858 |
|
|
14859 |
netbsd*) |
netbsd*) |
14860 |
version_type=sunos |
version_type=sunos |
14861 |
need_lib_prefix=no |
need_lib_prefix=no |
14894 |
openbsd*) |
openbsd*) |
14895 |
version_type=sunos |
version_type=sunos |
14896 |
need_lib_prefix=no |
need_lib_prefix=no |
14897 |
need_version=no |
need_version=yes |
14898 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
14899 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
14900 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
15553 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15554 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15555 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15556 |
(eval echo "\"\$as_me:14896: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15556: $lt_compile\"" >&5) |
15557 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15558 |
ac_status=$? |
ac_status=$? |
15559 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15560 |
echo "$as_me:14900: \$? = $ac_status" >&5 |
echo "$as_me:15560: \$? = $ac_status" >&5 |
15561 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15562 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15563 |
# So say no if there are warnings |
# So say no if there are warnings |
15786 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15787 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15788 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15789 |
(eval echo "\"\$as_me:15129: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15789: $lt_compile\"" >&5) |
15790 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15791 |
ac_status=$? |
ac_status=$? |
15792 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15793 |
echo "$as_me:15133: \$? = $ac_status" >&5 |
echo "$as_me:15793: \$? = $ac_status" >&5 |
15794 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15795 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15796 |
# So say no if there are warnings |
# So say no if there are warnings |
15853 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15854 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15855 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15856 |
(eval echo "\"\$as_me:15196: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15856: $lt_compile\"" >&5) |
15857 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
15858 |
ac_status=$? |
ac_status=$? |
15859 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
15860 |
echo "$as_me:15200: \$? = $ac_status" >&5 |
echo "$as_me:15860: \$? = $ac_status" >&5 |
15861 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15862 |
then |
then |
15863 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
16221 |
allow_undefined_flag_GCJ='-berok' |
allow_undefined_flag_GCJ='-berok' |
16222 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16223 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16224 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16225 |
_ACEOF |
_ACEOF |
16226 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16237 |
_ACEOF |
_ACEOF |
16238 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16239 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16240 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16241 |
ac_status=$? |
ac_status=$? |
16242 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16243 |
|
rm -f conftest.er1 |
16244 |
|
cat conftest.err >&5 |
16245 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16246 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16247 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
16248 |
|
|| test ! -s conftest.err' |
16249 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16250 |
|
(eval $ac_try) 2>&5 |
16251 |
|
ac_status=$? |
16252 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16253 |
|
(exit $ac_status); }; } && |
16254 |
|
{ ac_try='test -s conftest$ac_exeext' |
16255 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16256 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16257 |
ac_status=$? |
ac_status=$? |
16268 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16269 |
|
|
16270 |
fi |
fi |
16271 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16272 |
|
conftest$ac_exeext conftest.$ac_ext |
16273 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16274 |
|
|
16275 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16282 |
else |
else |
16283 |
# Determine the default libpath from the value encoded in an empty executable. |
# Determine the default libpath from the value encoded in an empty executable. |
16284 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
16285 |
/* confdefs.h. */ |
/* confdefs.h. */ |
16286 |
_ACEOF |
_ACEOF |
16287 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
16298 |
_ACEOF |
_ACEOF |
16299 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
16300 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16301 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
16302 |
ac_status=$? |
ac_status=$? |
16303 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16304 |
|
rm -f conftest.er1 |
16305 |
|
cat conftest.err >&5 |
16306 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16307 |
(exit $ac_status); } && |
(exit $ac_status); } && |
16308 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
16309 |
|
|| test ! -s conftest.err' |
16310 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16311 |
|
(eval $ac_try) 2>&5 |
16312 |
|
ac_status=$? |
16313 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16314 |
|
(exit $ac_status); }; } && |
16315 |
|
{ ac_try='test -s conftest$ac_exeext' |
16316 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16317 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
16318 |
ac_status=$? |
ac_status=$? |
16329 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
16330 |
|
|
16331 |
fi |
fi |
16332 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
16333 |
|
conftest$ac_exeext conftest.$ac_ext |
16334 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16335 |
|
|
16336 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17183 |
# before this can be enabled. |
# before this can be enabled. |
17184 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
17185 |
|
|
17186 |
|
# /usr/X11R6/lib and /usr/local/lib are common enough... |
17187 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib" |
17188 |
|
|
17189 |
# 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 |
17190 |
# powerpc, because MkLinux only supported shared libraries with the |
# powerpc, because MkLinux only supported shared libraries with the |
17191 |
# GNU dynamic linker. Since this was broken with cross compilers, |
# GNU dynamic linker. Since this was broken with cross compilers, |
17195 |
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
17196 |
;; |
;; |
17197 |
|
|
17198 |
|
knetbsd*-gnu) |
17199 |
|
version_type=linux |
17200 |
|
need_lib_prefix=no |
17201 |
|
need_version=no |
17202 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17203 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
17204 |
|
shlibpath_var=LD_LIBRARY_PATH |
17205 |
|
shlibpath_overrides_runpath=no |
17206 |
|
hardcode_into_libs=yes |
17207 |
|
dynamic_linker='GNU ld.so' |
17208 |
|
;; |
17209 |
|
|
17210 |
netbsd*) |
netbsd*) |
17211 |
version_type=sunos |
version_type=sunos |
17212 |
need_lib_prefix=no |
need_lib_prefix=no |
17245 |
openbsd*) |
openbsd*) |
17246 |
version_type=sunos |
version_type=sunos |
17247 |
need_lib_prefix=no |
need_lib_prefix=no |
17248 |
need_version=no |
need_version=yes |
17249 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17250 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17251 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
17464 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17465 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17466 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17467 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17468 |
_ACEOF |
_ACEOF |
17469 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17487 |
_ACEOF |
_ACEOF |
17488 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17489 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17490 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17491 |
ac_status=$? |
ac_status=$? |
17492 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17493 |
|
rm -f conftest.er1 |
17494 |
|
cat conftest.err >&5 |
17495 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17496 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17497 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17498 |
|
|| test ! -s conftest.err' |
17499 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17500 |
|
(eval $ac_try) 2>&5 |
17501 |
|
ac_status=$? |
17502 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17503 |
|
(exit $ac_status); }; } && |
17504 |
|
{ ac_try='test -s conftest$ac_exeext' |
17505 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17506 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17507 |
ac_status=$? |
ac_status=$? |
17514 |
|
|
17515 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
17516 |
fi |
fi |
17517 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17518 |
|
conftest$ac_exeext conftest.$ac_ext |
17519 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17520 |
fi |
fi |
17521 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17539 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17540 |
else |
else |
17541 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17542 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17543 |
_ACEOF |
_ACEOF |
17544 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17545 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
17546 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
17547 |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
17548 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
17549 |
|
#define shl_load innocuous_shl_load |
17550 |
|
|
17551 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
17552 |
which can conflict with char shl_load (); below. |
which can conflict with char shl_load (); below. |
17553 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17554 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
17555 |
|
|
17556 |
#ifdef __STDC__ |
#ifdef __STDC__ |
17557 |
# include <limits.h> |
# include <limits.h> |
17558 |
#else |
#else |
17559 |
# include <assert.h> |
# include <assert.h> |
17560 |
#endif |
#endif |
17561 |
|
|
17562 |
|
#undef shl_load |
17563 |
|
|
17564 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
17565 |
#ifdef __cplusplus |
#ifdef __cplusplus |
17566 |
extern "C" |
extern "C" |
17591 |
_ACEOF |
_ACEOF |
17592 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17593 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17594 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17595 |
ac_status=$? |
ac_status=$? |
17596 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17597 |
|
rm -f conftest.er1 |
17598 |
|
cat conftest.err >&5 |
17599 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17600 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17601 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17602 |
|
|| test ! -s conftest.err' |
17603 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17604 |
|
(eval $ac_try) 2>&5 |
17605 |
|
ac_status=$? |
17606 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17607 |
|
(exit $ac_status); }; } && |
17608 |
|
{ ac_try='test -s conftest$ac_exeext' |
17609 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17610 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17611 |
ac_status=$? |
ac_status=$? |
17618 |
|
|
17619 |
ac_cv_func_shl_load=no |
ac_cv_func_shl_load=no |
17620 |
fi |
fi |
17621 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17622 |
|
conftest$ac_exeext conftest.$ac_ext |
17623 |
fi |
fi |
17624 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
17625 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
17634 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17635 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
17636 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17637 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17638 |
_ACEOF |
_ACEOF |
17639 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17657 |
_ACEOF |
_ACEOF |
17658 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17659 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17660 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17661 |
ac_status=$? |
ac_status=$? |
17662 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17663 |
|
rm -f conftest.er1 |
17664 |
|
cat conftest.err >&5 |
17665 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17666 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17667 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17668 |
|
|| test ! -s conftest.err' |
17669 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17670 |
|
(eval $ac_try) 2>&5 |
17671 |
|
ac_status=$? |
17672 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17673 |
|
(exit $ac_status); }; } && |
17674 |
|
{ ac_try='test -s conftest$ac_exeext' |
17675 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17676 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17677 |
ac_status=$? |
ac_status=$? |
17684 |
|
|
17685 |
ac_cv_lib_dld_shl_load=no |
ac_cv_lib_dld_shl_load=no |
17686 |
fi |
fi |
17687 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17688 |
|
conftest$ac_exeext conftest.$ac_ext |
17689 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17690 |
fi |
fi |
17691 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
17699 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
17700 |
else |
else |
17701 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17702 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17703 |
_ACEOF |
_ACEOF |
17704 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17705 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
17706 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
17707 |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
17708 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
17709 |
|
#define dlopen innocuous_dlopen |
17710 |
|
|
17711 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
17712 |
which can conflict with char dlopen (); below. |
which can conflict with char dlopen (); below. |
17713 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
17714 |
<limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
17715 |
|
|
17716 |
#ifdef __STDC__ |
#ifdef __STDC__ |
17717 |
# include <limits.h> |
# include <limits.h> |
17718 |
#else |
#else |
17719 |
# include <assert.h> |
# include <assert.h> |
17720 |
#endif |
#endif |
17721 |
|
|
17722 |
|
#undef dlopen |
17723 |
|
|
17724 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
17725 |
#ifdef __cplusplus |
#ifdef __cplusplus |
17726 |
extern "C" |
extern "C" |
17751 |
_ACEOF |
_ACEOF |
17752 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17753 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17754 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17755 |
ac_status=$? |
ac_status=$? |
17756 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17757 |
|
rm -f conftest.er1 |
17758 |
|
cat conftest.err >&5 |
17759 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17760 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17761 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17762 |
|
|| test ! -s conftest.err' |
17763 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17764 |
|
(eval $ac_try) 2>&5 |
17765 |
|
ac_status=$? |
17766 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17767 |
|
(exit $ac_status); }; } && |
17768 |
|
{ ac_try='test -s conftest$ac_exeext' |
17769 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17770 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17771 |
ac_status=$? |
ac_status=$? |
17778 |
|
|
17779 |
ac_cv_func_dlopen=no |
ac_cv_func_dlopen=no |
17780 |
fi |
fi |
17781 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17782 |
|
conftest$ac_exeext conftest.$ac_ext |
17783 |
fi |
fi |
17784 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
17785 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
17794 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17795 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
17796 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17797 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17798 |
_ACEOF |
_ACEOF |
17799 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17817 |
_ACEOF |
_ACEOF |
17818 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17819 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17820 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17821 |
ac_status=$? |
ac_status=$? |
17822 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17823 |
|
rm -f conftest.er1 |
17824 |
|
cat conftest.err >&5 |
17825 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17826 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17827 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17828 |
|
|| test ! -s conftest.err' |
17829 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17830 |
|
(eval $ac_try) 2>&5 |
17831 |
|
ac_status=$? |
17832 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17833 |
|
(exit $ac_status); }; } && |
17834 |
|
{ ac_try='test -s conftest$ac_exeext' |
17835 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17836 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17837 |
ac_status=$? |
ac_status=$? |
17844 |
|
|
17845 |
ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=no |
17846 |
fi |
fi |
17847 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17848 |
|
conftest$ac_exeext conftest.$ac_ext |
17849 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17850 |
fi |
fi |
17851 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17861 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17862 |
LIBS="-lsvld $LIBS" |
LIBS="-lsvld $LIBS" |
17863 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17864 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17865 |
_ACEOF |
_ACEOF |
17866 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17884 |
_ACEOF |
_ACEOF |
17885 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17886 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17887 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17888 |
ac_status=$? |
ac_status=$? |
17889 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17890 |
|
rm -f conftest.er1 |
17891 |
|
cat conftest.err >&5 |
17892 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17893 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17894 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17895 |
|
|| test ! -s conftest.err' |
17896 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17897 |
|
(eval $ac_try) 2>&5 |
17898 |
|
ac_status=$? |
17899 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17900 |
|
(exit $ac_status); }; } && |
17901 |
|
{ ac_try='test -s conftest$ac_exeext' |
17902 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17903 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17904 |
ac_status=$? |
ac_status=$? |
17911 |
|
|
17912 |
ac_cv_lib_svld_dlopen=no |
ac_cv_lib_svld_dlopen=no |
17913 |
fi |
fi |
17914 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17915 |
|
conftest$ac_exeext conftest.$ac_ext |
17916 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17917 |
fi |
fi |
17918 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
17928 |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
17929 |
LIBS="-ldld $LIBS" |
LIBS="-ldld $LIBS" |
17930 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
17931 |
/* confdefs.h. */ |
/* confdefs.h. */ |
17932 |
_ACEOF |
_ACEOF |
17933 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
17951 |
_ACEOF |
_ACEOF |
17952 |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
17953 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17954 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
17955 |
ac_status=$? |
ac_status=$? |
17956 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
17957 |
|
rm -f conftest.er1 |
17958 |
|
cat conftest.err >&5 |
17959 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17960 |
(exit $ac_status); } && |
(exit $ac_status); } && |
17961 |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17962 |
|
|| test ! -s conftest.err' |
17963 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17964 |
|
(eval $ac_try) 2>&5 |
17965 |
|
ac_status=$? |
17966 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17967 |
|
(exit $ac_status); }; } && |
17968 |
|
{ ac_try='test -s conftest$ac_exeext' |
17969 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17970 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
17971 |
ac_status=$? |
ac_status=$? |
17978 |
|
|
17979 |
ac_cv_lib_dld_dld_link=no |
ac_cv_lib_dld_dld_link=no |
17980 |
fi |
fi |
17981 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
17982 |
|
conftest$ac_exeext conftest.$ac_ext |
17983 |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
17984 |
fi |
fi |
17985 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
18034 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18035 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18036 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18037 |
#line 17256 "configure" |
#line 18037 "configure" |
18038 |
#include "confdefs.h" |
#include "confdefs.h" |
18039 |
|
|
18040 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18132 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18133 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
18134 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
18135 |
#line 17354 "configure" |
#line 18135 "configure" |
18136 |
#include "confdefs.h" |
#include "confdefs.h" |
18137 |
|
|
18138 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
19176 |
# `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
19177 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
19178 |
sed -n \ |
sed -n \ |
19179 |
"s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
19180 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
19181 |
;; |
;; |
19182 |
*) |
*) |
19183 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
19184 |
sed -n \ |
sed -n \ |
19185 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
19186 |
;; |
;; |
19187 |
esac; |
esac; |
19188 |
} | |
} | |
19212 |
# trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
19213 |
# (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
19214 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
19215 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
19216 |
s/:*\$(srcdir):*/:/; |
s/:*\$(srcdir):*/:/; |
19217 |
s/:*\${srcdir}:*/:/; |
s/:*\${srcdir}:*/:/; |
19218 |
s/:*@srcdir@:*/:/; |
s/:*@srcdir@:*/:/; |
19219 |
s/^\([^=]*=[ ]*\):*/\1/; |
s/^\([^=]*=[ ]*\):*/\1/; |
19220 |
s/:*$//; |
s/:*$//; |
19221 |
s/^[^=]*=[ ]*$//; |
s/^[^=]*=[ ]*$//; |
19222 |
}' |
}' |
19223 |
fi |
fi |
19224 |
|
|
19229 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
19230 |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
19231 |
ac_i=`echo "$ac_i" | |
ac_i=`echo "$ac_i" | |
19232 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
19233 |
# 2. Add them. |
# 2. Add them. |
19234 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
19235 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
19280 |
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 |
19281 |
set -o posix |
set -o posix |
19282 |
fi |
fi |
19283 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
19284 |
|
|
19285 |
# Support unset when possible. |
# Support unset when possible. |
19286 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
19287 |
as_unset=unset |
as_unset=unset |
19288 |
else |
else |
19289 |
as_unset=false |
as_unset=false |
19302 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
19303 |
LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
19304 |
do |
do |
19305 |
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 |
19306 |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
19307 |
else |
else |
19308 |
$as_unset $as_var |
$as_unset $as_var |
19481 |
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
19482 |
as_mkdir_p=: |
as_mkdir_p=: |
19483 |
else |
else |
19484 |
|
test -d ./-p && rmdir ./-p |
19485 |
as_mkdir_p=false |
as_mkdir_p=false |
19486 |
fi |
fi |
19487 |
|
|
19488 |
as_executable_p="test -f" |
as_executable_p="test -f" |
19489 |
|
|
19490 |
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
19491 |
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'" |
19492 |
|
|
19493 |
# Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
19494 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
19495 |
|
|
19496 |
|
|
19497 |
# IFS |
# IFS |
19518 |
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
19519 |
|
|
19520 |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
19521 |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.58. Invocation command line was |
19522 |
|
|
19523 |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
19524 |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
19562 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
19563 |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
19564 |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
19565 |
instantiate the configuration file FILE |
instantiate the configuration file FILE |
19566 |
--header=FILE[:TEMPLATE] |
--header=FILE[:TEMPLATE] |
19567 |
instantiate the configuration header FILE |
instantiate the configuration header FILE |
19568 |
|
|
19569 |
Configuration files: |
Configuration files: |
19570 |
$config_files |
$config_files |
19581 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
19582 |
ac_cs_version="\\ |
ac_cs_version="\\ |
19583 |
config.status |
config.status |
19584 |
configured by $0, generated by GNU Autoconf 2.57, |
configured by $0, generated by GNU Autoconf 2.58, |
19585 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
19586 |
|
|
19587 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright (C) 2003 Free Software Foundation, Inc. |
|
Free Software Foundation, Inc. |
|
19588 |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
19589 |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
19590 |
srcdir=$srcdir |
srcdir=$srcdir |
19779 |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
19780 |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
19781 |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
19782 |
|
s,@CC@,$CC,;t t |
19783 |
|
s,@CFLAGS@,$CFLAGS,;t t |
19784 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
19785 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
19786 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
19787 |
|
s,@EXEEXT@,$EXEEXT,;t t |
19788 |
|
s,@OBJEXT@,$OBJEXT,;t t |
19789 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
19790 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
19791 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
19803 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
19804 |
s,@AWK@,$AWK,;t t |
s,@AWK@,$AWK,;t t |
19805 |
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 |
|
19806 |
s,@DEPDIR@,$DEPDIR,;t t |
s,@DEPDIR@,$DEPDIR,;t t |
19807 |
s,@am__include@,$am__include,;t t |
s,@am__include@,$am__include,;t t |
19808 |
s,@am__quote@,$am__quote,;t t |
s,@am__quote@,$am__quote,;t t |
19809 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
19810 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
19811 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
19812 |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
19813 |
|
s,@CXX@,$CXX,;t t |
19814 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
19815 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
19816 |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
19817 |
s,@build@,$build,;t t |
s,@build@,$build,;t t |
19818 |
s,@build_cpu@,$build_cpu,;t t |
s,@build_cpu@,$build_cpu,;t t |
19822 |
s,@host_cpu@,$host_cpu,;t t |
s,@host_cpu@,$host_cpu,;t t |
19823 |
s,@host_vendor@,$host_vendor,;t t |
s,@host_vendor@,$host_vendor,;t t |
19824 |
s,@host_os@,$host_os,;t t |
s,@host_os@,$host_os,;t t |
|
s,@CC@,$CC,;t t |
|
|
s,@CFLAGS@,$CFLAGS,;t t |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
|
19825 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
19826 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
19827 |
s,@ECHO@,$ECHO,;t t |
s,@ECHO@,$ECHO,;t t |
19866 |
(echo ':t |
(echo ':t |
19867 |
/@[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 |
19868 |
if test -z "$ac_sed_cmds"; then |
if test -z "$ac_sed_cmds"; then |
19869 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
19870 |
else |
else |
19871 |
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" |
19872 |
fi |
fi |
19873 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_sed_frag=`expr $ac_sed_frag + 1` |
19874 |
ac_beg=$ac_end |
ac_beg=$ac_end |
19886 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
19887 |
case $ac_file in |
case $ac_file in |
19888 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
19889 |
cat >$tmp/stdin |
cat >$tmp/stdin |
19890 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
19891 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
19892 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
19893 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
19894 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
19895 |
esac |
esac |
19896 |
|
|
19897 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
19898 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
19899 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19900 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
19901 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
19902 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
19903 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
19904 |
echo X"$ac_file" | |
echo X"$ac_file" | |
19905 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
19906 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
19916 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
19917 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
19918 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19919 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
19920 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
19921 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
19922 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
19923 |
echo X"$as_dir" | |
echo X"$as_dir" | |
19924 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
19925 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
19957 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
19958 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
19959 |
esac |
esac |
19960 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
case "$ac_dir" in |
19961 |
# absolute. |
.) ac_abs_builddir=$ac_builddir;; |
19962 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
*) |
19963 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case $ac_builddir in |
19964 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
19965 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
[\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
19966 |
|
*) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
19967 |
|
esac;; |
19968 |
|
esac |
19969 |
|
case "$ac_dir" in |
19970 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
19971 |
|
*) |
19972 |
|
case ${ac_top_builddir}. in |
19973 |
|
.) ac_abs_top_builddir="$ac_dir";; |
19974 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
19975 |
|
*) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
19976 |
|
esac;; |
19977 |
|
esac |
19978 |
|
case "$ac_dir" in |
19979 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
19980 |
|
*) |
19981 |
|
case $ac_srcdir in |
19982 |
|
.) ac_abs_srcdir="$ac_dir";; |
19983 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
19984 |
|
*) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
19985 |
|
esac;; |
19986 |
|
esac |
19987 |
|
case "$ac_dir" in |
19988 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
19989 |
|
*) |
19990 |
|
case $ac_top_srcdir in |
19991 |
|
.) ac_abs_top_srcdir="$ac_dir";; |
19992 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
19993 |
|
*) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
19994 |
|
esac;; |
19995 |
|
esac |
19996 |
|
|
19997 |
|
|
19998 |
case $INSTALL in |
case $INSTALL in |
20014 |
configure_input="$ac_file. " |
configure_input="$ac_file. " |
20015 |
fi |
fi |
20016 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
20017 |
sed 's,.*/,,'` by configure." |
sed 's,.*/,,'` by configure." |
20018 |
|
|
20019 |
# 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 |
20020 |
# src tree. |
# src tree. |
20023 |
case $f in |
case $f in |
20024 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20025 |
[\\/$]*) |
[\\/$]*) |
20026 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20027 |
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 |
20028 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20029 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20030 |
echo $f;; |
echo "$f";; |
20031 |
*) # Relative |
*) # Relative |
20032 |
if test -f "$f"; then |
if test -f "$f"; then |
20033 |
# Build tree |
# Build tree |
20034 |
echo $f |
echo "$f" |
20035 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20036 |
# Source tree |
# Source tree |
20037 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20038 |
else |
else |
20039 |
# /dev/null tree |
# /dev/null tree |
20040 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20041 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20042 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20043 |
fi;; |
fi;; |
20044 |
esac |
esac |
20045 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20046 |
_ACEOF |
_ACEOF |
20082 |
# 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. |
20083 |
# |
# |
20084 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
20085 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
20086 |
ac_dB='[ ].*$,\1#\2' |
ac_dB='[ ].*$,\1#\2' |
20087 |
ac_dC=' ' |
ac_dC=' ' |
20088 |
ac_dD=',;t' |
ac_dD=',;t' |
20089 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
20090 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
20091 |
ac_uB='$,\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
20092 |
ac_uC=' ' |
ac_uC=' ' |
20093 |
ac_uD=',;t' |
ac_uD=',;t' |
20096 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
20097 |
case $ac_file in |
case $ac_file in |
20098 |
- | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
20099 |
cat >$tmp/stdin |
cat >$tmp/stdin |
20100 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20101 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20102 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20103 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
20104 |
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
20105 |
esac |
esac |
20106 |
|
|
20114 |
case $f in |
case $f in |
20115 |
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
20116 |
[\\/$]*) |
[\\/$]*) |
20117 |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
20118 |
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 |
20119 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20120 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20121 |
echo $f;; |
# Do quote $f, to prevent DOS paths from being IFS'd. |
20122 |
|
echo "$f";; |
20123 |
*) # Relative |
*) # Relative |
20124 |
if test -f "$f"; then |
if test -f "$f"; then |
20125 |
# Build tree |
# Build tree |
20126 |
echo $f |
echo "$f" |
20127 |
elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
20128 |
# Source tree |
# Source tree |
20129 |
echo $srcdir/$f |
echo "$srcdir/$f" |
20130 |
else |
else |
20131 |
# /dev/null tree |
# /dev/null tree |
20132 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
20133 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
20134 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
20135 |
fi;; |
fi;; |
20136 |
esac |
esac |
20137 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
20138 |
# Remove the trailing spaces. |
# Remove the trailing spaces. |
20139 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
20140 |
|
|
20141 |
_ACEOF |
_ACEOF |
20142 |
|
|
20159 |
s,[\\$`],\\&,g |
s,[\\$`],\\&,g |
20160 |
t clear |
t clear |
20161 |
: clear |
: clear |
20162 |
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 |
20163 |
t end |
t end |
20164 |
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 |
20165 |
: end |
: end |
20166 |
_ACEOF |
_ACEOF |
20167 |
# If some macros were called several times there might be several times |
# If some macros were called several times there might be several times |
20175 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
20176 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
20177 |
cat >>conftest.undefs <<\_ACEOF |
cat >>conftest.undefs <<\_ACEOF |
20178 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
20179 |
_ACEOF |
_ACEOF |
20180 |
|
|
20181 |
# 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 |
20182 |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
20183 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
20184 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
20185 |
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 |
20186 |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
20187 |
rm -f conftest.tail |
rm -f conftest.tail |
20190 |
# Write a limited-size here document to $tmp/defines.sed. |
# Write a limited-size here document to $tmp/defines.sed. |
20191 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
20192 |
# Speed up: don't consider the non `#define' lines. |
# Speed up: don't consider the non `#define' lines. |
20193 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
20194 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20195 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20196 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20217 |
# Write a limited-size here document to $tmp/undefs.sed. |
# Write a limited-size here document to $tmp/undefs.sed. |
20218 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
20219 |
# Speed up: don't consider the non `#undef' |
# Speed up: don't consider the non `#undef' |
20220 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
20221 |
# Work around the forget-to-reset-the-flag bug. |
# Work around the forget-to-reset-the-flag bug. |
20222 |
echo 't clr' >>$CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
20223 |
echo ': clr' >>$CONFIG_STATUS |
echo ': clr' >>$CONFIG_STATUS |
20251 |
else |
else |
20252 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
20253 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20254 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
20255 |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
20256 |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
20257 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20258 |
echo X"$ac_file" | |
echo X"$ac_file" | |
20259 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20260 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20270 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20271 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20272 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20273 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20274 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20275 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20276 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20277 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20278 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20279 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20311 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
20312 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
20313 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20314 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
20315 |
X"$ac_dest" : 'X\(//\)$' \| \ |
X"$ac_dest" : 'X\(//\)$' \| \ |
20316 |
X"$ac_dest" : 'X\(/\)' \| \ |
X"$ac_dest" : 'X\(/\)' \| \ |
20317 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20318 |
echo X"$ac_dest" | |
echo X"$ac_dest" | |
20319 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20320 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20321 |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
20322 |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
20323 |
s/.*/./; q'` |
s/.*/./; q'` |
20324 |
|
{ if $as_mkdir_p; then |
20325 |
|
mkdir -p "$ac_dir" |
20326 |
|
else |
20327 |
|
as_dir="$ac_dir" |
20328 |
|
as_dirs= |
20329 |
|
while test ! -d "$as_dir"; do |
20330 |
|
as_dirs="$as_dir $as_dirs" |
20331 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20332 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20333 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20334 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
20335 |
|
X"$as_dir" : 'X\(/\)' \| \ |
20336 |
|
. : '\(.\)' 2>/dev/null || |
20337 |
|
echo X"$as_dir" | |
20338 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20339 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20340 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
20341 |
|
/^X\(\/\).*/{ s//\1/; q; } |
20342 |
|
s/.*/./; q'` |
20343 |
|
done |
20344 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
20345 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
20346 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
20347 |
|
{ (exit 1); exit 1; }; }; } |
20348 |
|
|
20349 |
ac_builddir=. |
ac_builddir=. |
20350 |
|
|
20351 |
if test "$ac_dir" != .; then |
if test "$ac_dir" != .; then |
20371 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
20372 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
20373 |
esac |
esac |
20374 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
case "$ac_dir" in |
20375 |
# absolute. |
.) ac_abs_builddir=$ac_builddir;; |
20376 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
*) |
20377 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
case $ac_builddir in |
20378 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
.) ac_abs_builddir="$ac_dir";; |
20379 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
[\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
20380 |
|
*) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
20381 |
|
esac;; |
20382 |
|
esac |
20383 |
|
case "$ac_dir" in |
20384 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
20385 |
|
*) |
20386 |
|
case ${ac_top_builddir}. in |
20387 |
|
.) ac_abs_top_builddir="$ac_dir";; |
20388 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
20389 |
|
*) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
20390 |
|
esac;; |
20391 |
|
esac |
20392 |
|
case "$ac_dir" in |
20393 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
20394 |
|
*) |
20395 |
|
case $ac_srcdir in |
20396 |
|
.) ac_abs_srcdir="$ac_dir";; |
20397 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
20398 |
|
*) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
20399 |
|
esac;; |
20400 |
|
esac |
20401 |
|
case "$ac_dir" in |
20402 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
20403 |
|
*) |
20404 |
|
case $ac_top_srcdir in |
20405 |
|
.) ac_abs_top_srcdir="$ac_dir";; |
20406 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
20407 |
|
*) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
20408 |
|
esac;; |
20409 |
|
esac |
20410 |
|
|
20411 |
|
|
20412 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
20424 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
20425 |
dirpart=`(dirname "$mf") 2>/dev/null || |
dirpart=`(dirname "$mf") 2>/dev/null || |
20426 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20427 |
X"$mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(//\)[^/]' \| \ |
20428 |
X"$mf" : 'X\(//\)$' \| \ |
X"$mf" : 'X\(//\)$' \| \ |
20429 |
X"$mf" : 'X\(/\)' \| \ |
X"$mf" : 'X\(/\)' \| \ |
20430 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20431 |
echo X"$mf" | |
echo X"$mf" | |
20432 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20433 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20463 |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
20464 |
fdir=`(dirname "$file") 2>/dev/null || |
fdir=`(dirname "$file") 2>/dev/null || |
20465 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20466 |
X"$file" : 'X\(//\)[^/]' \| \ |
X"$file" : 'X\(//\)[^/]' \| \ |
20467 |
X"$file" : 'X\(//\)$' \| \ |
X"$file" : 'X\(//\)$' \| \ |
20468 |
X"$file" : 'X\(/\)' \| \ |
X"$file" : 'X\(/\)' \| \ |
20469 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20470 |
echo X"$file" | |
echo X"$file" | |
20471 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20472 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
20482 |
as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
20483 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
20484 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20485 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20486 |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
20487 |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
20488 |
. : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
20489 |
echo X"$as_dir" | |
echo X"$as_dir" | |
20490 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
20491 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |