| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 2.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 8 |
< |
# Free Software Foundation, Inc. |
| 7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
| 8 |
|
# This configure script is free software; the Free Software Foundation |
| 9 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 10 |
|
## --------------------- ## |
| 21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 22 |
|
set -o posix |
| 23 |
|
fi |
| 24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 25 |
|
|
| 26 |
|
# Support unset when possible. |
| 27 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 27 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 28 |
|
as_unset=unset |
| 29 |
|
else |
| 30 |
|
as_unset=false |
| 43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 44 |
|
LC_TELEPHONE LC_TIME |
| 45 |
|
do |
| 46 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 46 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 47 |
|
eval $as_var=C; export $as_var |
| 48 |
|
else |
| 49 |
|
$as_unset $as_var |
| 220 |
|
if mkdir -p . 2>/dev/null; then |
| 221 |
|
as_mkdir_p=: |
| 222 |
|
else |
| 223 |
+ |
test -d ./-p && rmdir ./-p |
| 224 |
|
as_mkdir_p=false |
| 225 |
|
fi |
| 226 |
|
|
| 227 |
|
as_executable_p="test -f" |
| 228 |
|
|
| 229 |
|
# Sed expression to map a string onto a valid CPP name. |
| 230 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 230 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 231 |
|
|
| 232 |
|
# Sed expression to map a string onto a valid variable name. |
| 233 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 233 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 234 |
|
|
| 235 |
|
|
| 236 |
|
# IFS |
| 312 |
|
# include <unistd.h> |
| 313 |
|
#endif" |
| 314 |
|
|
| 315 |
< |
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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
| 315 |
> |
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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
| 316 |
|
ac_subst_files='' |
| 317 |
|
|
| 318 |
|
# Initialize some variables set by options. |
| 671 |
|
|
| 672 |
|
# Be sure to have absolute paths. |
| 673 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 674 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
| 674 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
| 675 |
|
do |
| 676 |
|
eval ac_val=$`echo $ac_var` |
| 677 |
|
case $ac_val in |
| 711 |
|
# Try the directory containing this script, then its parent. |
| 712 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 713 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 714 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
| 715 |
< |
X"$0" : 'X\(//\)$' \| \ |
| 716 |
< |
X"$0" : 'X\(/\)' \| \ |
| 717 |
< |
. : '\(.\)' 2>/dev/null || |
| 714 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
| 715 |
> |
X"$0" : 'X\(//\)$' \| \ |
| 716 |
> |
X"$0" : 'X\(/\)' \| \ |
| 717 |
> |
. : '\(.\)' 2>/dev/null || |
| 718 |
|
echo X"$0" | |
| 719 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 720 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 777 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 778 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 779 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 780 |
+ |
ac_env_CPP_set=${CPP+set} |
| 781 |
+ |
ac_env_CPP_value=$CPP |
| 782 |
+ |
ac_cv_env_CPP_set=${CPP+set} |
| 783 |
+ |
ac_cv_env_CPP_value=$CPP |
| 784 |
|
ac_env_F90_set=${F90+set} |
| 785 |
|
ac_env_F90_value=$F90 |
| 786 |
|
ac_cv_env_F90_set=${F90+set} |
| 789 |
|
ac_env_F90FLAGS_value=$F90FLAGS |
| 790 |
|
ac_cv_env_F90FLAGS_set=${F90FLAGS+set} |
| 791 |
|
ac_cv_env_F90FLAGS_value=$F90FLAGS |
| 792 |
< |
ac_env_CPP_set=${CPP+set} |
| 793 |
< |
ac_env_CPP_value=$CPP |
| 794 |
< |
ac_cv_env_CPP_set=${CPP+set} |
| 795 |
< |
ac_cv_env_CPP_value=$CPP |
| 792 |
> |
ac_env_CXXCPP_set=${CXXCPP+set} |
| 793 |
> |
ac_env_CXXCPP_value=$CXXCPP |
| 794 |
> |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
| 795 |
> |
ac_cv_env_CXXCPP_value=$CXXCPP |
| 796 |
|
|
| 797 |
|
# |
| 798 |
|
# Report the --help message. |
| 826 |
|
cat <<_ACEOF |
| 827 |
|
Installation directories: |
| 828 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
| 829 |
< |
[$ac_default_prefix] |
| 829 |
> |
[$ac_default_prefix] |
| 830 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 831 |
< |
[PREFIX] |
| 831 |
> |
[PREFIX] |
| 832 |
|
|
| 833 |
|
By default, \`make install' will install all the files in |
| 834 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 879 |
|
Optional Packages: |
| 880 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 881 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 882 |
+ |
--with-zlib=DIR root directory path of zlib installation defaults to |
| 883 |
+ |
/usr/local or /usr if not found in /usr/local |
| 884 |
+ |
--without-zlib to disable zlib usage completely |
| 885 |
+ |
--with-perl-shebang override what perl thinks is the way for the kernel |
| 886 |
+ |
to start it (seldom needed) |
| 887 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
| 888 |
< |
--with-sprng=<prefix> compile with SPRNG installed in <prefix> |
| 879 |
< |
[default=/usr/local] |
| 880 |
< |
--with-mkl Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61 |
| 888 |
> |
--with-cgal-makefile=FILE CGAL makefile that should be used |
| 889 |
|
|
| 890 |
|
Some influential environment variables: |
| 891 |
|
CC C compiler command |
| 896 |
|
headers in a nonstandard directory <include dir> |
| 897 |
|
CXX C++ compiler command |
| 898 |
|
CXXFLAGS C++ compiler flags |
| 899 |
+ |
CPP C preprocessor |
| 900 |
|
F90 Fortran 90 compiler command |
| 901 |
|
F90FLAGS Fortran 90 compiler flags |
| 902 |
< |
CPP C preprocessor |
| 902 |
> |
CXXCPP C++ preprocessor |
| 903 |
|
|
| 904 |
|
Use these variables to override the choices made by `configure' or to help |
| 905 |
|
it to find libraries and programs with nonstandard names/locations. |
| 938 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 939 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 940 |
|
esac |
| 932 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 933 |
– |
# absolute. |
| 934 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 935 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 936 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 937 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 941 |
|
|
| 942 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 943 |
+ |
# the directories may not exist. |
| 944 |
+ |
case `pwd` in |
| 945 |
+ |
.) ac_abs_builddir="$ac_dir";; |
| 946 |
+ |
*) |
| 947 |
+ |
case "$ac_dir" in |
| 948 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 949 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 950 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 951 |
+ |
esac;; |
| 952 |
+ |
esac |
| 953 |
+ |
case $ac_abs_builddir in |
| 954 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 955 |
+ |
*) |
| 956 |
+ |
case ${ac_top_builddir}. in |
| 957 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 958 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 959 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 960 |
+ |
esac;; |
| 961 |
+ |
esac |
| 962 |
+ |
case $ac_abs_builddir in |
| 963 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 964 |
+ |
*) |
| 965 |
+ |
case $ac_srcdir in |
| 966 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 967 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 968 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 969 |
+ |
esac;; |
| 970 |
+ |
esac |
| 971 |
+ |
case $ac_abs_builddir in |
| 972 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 973 |
+ |
*) |
| 974 |
+ |
case $ac_top_srcdir in |
| 975 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 976 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 977 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 978 |
+ |
esac;; |
| 979 |
+ |
esac |
| 980 |
+ |
|
| 981 |
|
cd $ac_dir |
| 982 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
| 983 |
|
if test -f $ac_srcdir/configure.gnu; then |
| 987 |
|
echo |
| 988 |
|
$SHELL $ac_srcdir/configure --help=recursive |
| 989 |
|
elif test -f $ac_srcdir/configure.ac || |
| 990 |
< |
test -f $ac_srcdir/configure.in; then |
| 990 |
> |
test -f $ac_srcdir/configure.in; then |
| 991 |
|
echo |
| 992 |
|
$ac_configure --help |
| 993 |
|
else |
| 1001 |
|
if $ac_init_version; then |
| 1002 |
|
cat <<\_ACEOF |
| 1003 |
|
OOPSE configure 2.0 |
| 1004 |
< |
generated by GNU Autoconf 2.57 |
| 1004 |
> |
generated by GNU Autoconf 2.59 |
| 1005 |
|
|
| 1006 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 965 |
< |
Free Software Foundation, Inc. |
| 1006 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 1007 |
|
This configure script is free software; the Free Software Foundation |
| 1008 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1009 |
|
_ACEOF |
| 1015 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1016 |
|
|
| 1017 |
|
It was created by OOPSE $as_me 2.0, which was |
| 1018 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
| 1018 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1019 |
|
|
| 1020 |
|
$ $0 $@ |
| 1021 |
|
|
| 1092 |
|
2) |
| 1093 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1094 |
|
if test $ac_must_keep_next = true; then |
| 1095 |
< |
ac_must_keep_next=false # Got value, back to normal. |
| 1095 |
> |
ac_must_keep_next=false # Got value, back to normal. |
| 1096 |
|
else |
| 1097 |
< |
case $ac_arg in |
| 1098 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1099 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1100 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1101 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1102 |
< |
case "$ac_configure_args0 " in |
| 1103 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1104 |
< |
esac |
| 1105 |
< |
;; |
| 1106 |
< |
-* ) ac_must_keep_next=true ;; |
| 1107 |
< |
esac |
| 1097 |
> |
case $ac_arg in |
| 1098 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1099 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1100 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1101 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1102 |
> |
case "$ac_configure_args0 " in |
| 1103 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1104 |
> |
esac |
| 1105 |
> |
;; |
| 1106 |
> |
-* ) ac_must_keep_next=true ;; |
| 1107 |
> |
esac |
| 1108 |
|
fi |
| 1109 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1110 |
|
# Get rid of the leading space. |
| 1138 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1139 |
|
*ac_space=\ *) |
| 1140 |
|
sed -n \ |
| 1141 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1142 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1141 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1142 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1143 |
|
;; |
| 1144 |
|
*) |
| 1145 |
|
sed -n \ |
| 1146 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1146 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1147 |
|
;; |
| 1148 |
|
esac; |
| 1149 |
|
} |
| 1172 |
|
for ac_var in $ac_subst_files |
| 1173 |
|
do |
| 1174 |
|
eval ac_val=$`echo $ac_var` |
| 1175 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1175 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1176 |
|
done | sort |
| 1177 |
|
echo |
| 1178 |
|
fi |
| 1191 |
|
echo "$as_me: caught signal $ac_signal" |
| 1192 |
|
echo "$as_me: exit $exit_status" |
| 1193 |
|
} >&5 |
| 1194 |
< |
rm -f core core.* *.core && |
| 1194 |
> |
rm -f core *.core && |
| 1195 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1196 |
|
exit $exit_status |
| 1197 |
|
' 0 |
| 1271 |
|
# value. |
| 1272 |
|
ac_cache_corrupted=false |
| 1273 |
|
for ac_var in `(set) 2>&1 | |
| 1274 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1274 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1275 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1276 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1277 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1288 |
|
,);; |
| 1289 |
|
*) |
| 1290 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1291 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1291 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1292 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1293 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1293 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1294 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1295 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1295 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1296 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1297 |
< |
ac_cache_corrupted=: |
| 1297 |
> |
ac_cache_corrupted=: |
| 1298 |
|
fi;; |
| 1299 |
|
esac |
| 1300 |
|
# Pass precious variables to config.status. |
| 1832 |
|
# Figure out how the Fortran 90 compiler constructs module file names |
| 1833 |
|
# |
| 1834 |
|
# AC_F90_MODULE_NAMES |
| 1835 |
+ |
|
| 1836 |
+ |
|
| 1837 |
|
|
| 1838 |
|
|
| 1839 |
|
|
| 1885 |
|
|
| 1886 |
|
|
| 1887 |
|
|
| 1888 |
+ |
# |
| 1889 |
+ |
# |
| 1890 |
+ |
# |
| 1891 |
|
|
| 1892 |
|
|
| 1893 |
|
|
| 1983 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1984 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1985 |
|
if test -n "$ac_tool_prefix"; then |
| 1986 |
< |
for ac_prog in icc xlc gcc cc |
| 1986 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 1987 |
|
do |
| 1988 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1989 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2025 |
|
fi |
| 2026 |
|
if test -z "$CC"; then |
| 2027 |
|
ac_ct_CC=$CC |
| 2028 |
< |
for ac_prog in icc xlc gcc cc |
| 2028 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 2029 |
|
do |
| 2030 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2031 |
|
set dummy $ac_prog; ac_word=$2 |
| 2096 |
|
(exit $ac_status); } |
| 2097 |
|
|
| 2098 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2053 |
– |
#line $LINENO "configure" |
| 2099 |
|
/* confdefs.h. */ |
| 2100 |
|
_ACEOF |
| 2101 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2115 |
|
# Try to create an executable without -o first, disregard a.out. |
| 2116 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 2117 |
|
# of exeext. |
| 2118 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
| 2119 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
| 2118 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2119 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 2120 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2121 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2122 |
|
(eval $ac_link_default) 2>&5 |
| 2136 |
|
test -f "$ac_file" || continue |
| 2137 |
|
case $ac_file in |
| 2138 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2139 |
< |
;; |
| 2139 |
> |
;; |
| 2140 |
|
conftest.$ac_ext ) |
| 2141 |
< |
# This is the source file. |
| 2142 |
< |
;; |
| 2141 |
> |
# This is the source file. |
| 2142 |
> |
;; |
| 2143 |
|
[ab].out ) |
| 2144 |
< |
# We found the default executable, but exeext='' is most |
| 2145 |
< |
# certainly right. |
| 2146 |
< |
break;; |
| 2144 |
> |
# We found the default executable, but exeext='' is most |
| 2145 |
> |
# certainly right. |
| 2146 |
> |
break;; |
| 2147 |
|
*.* ) |
| 2148 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2149 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2150 |
< |
# but it would be cool to find out if it's true. Does anybody |
| 2151 |
< |
# maintain Libtool? --akim. |
| 2152 |
< |
export ac_cv_exeext |
| 2153 |
< |
break;; |
| 2148 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2149 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2150 |
> |
# but it would be cool to find out if it's true. Does anybody |
| 2151 |
> |
# maintain Libtool? --akim. |
| 2152 |
> |
export ac_cv_exeext |
| 2153 |
> |
break;; |
| 2154 |
|
* ) |
| 2155 |
< |
break;; |
| 2155 |
> |
break;; |
| 2156 |
|
esac |
| 2157 |
|
done |
| 2158 |
|
else |
| 2226 |
|
case $ac_file in |
| 2227 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2228 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2229 |
< |
export ac_cv_exeext |
| 2230 |
< |
break;; |
| 2229 |
> |
export ac_cv_exeext |
| 2230 |
> |
break;; |
| 2231 |
|
* ) break;; |
| 2232 |
|
esac |
| 2233 |
|
done |
| 2252 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2253 |
|
else |
| 2254 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2210 |
– |
#line $LINENO "configure" |
| 2255 |
|
/* confdefs.h. */ |
| 2256 |
|
_ACEOF |
| 2257 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2302 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2303 |
|
else |
| 2304 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2261 |
– |
#line $LINENO "configure" |
| 2305 |
|
/* confdefs.h. */ |
| 2306 |
|
_ACEOF |
| 2307 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2321 |
|
_ACEOF |
| 2322 |
|
rm -f conftest.$ac_objext |
| 2323 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2324 |
< |
(eval $ac_compile) 2>&5 |
| 2324 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2325 |
|
ac_status=$? |
| 2326 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2327 |
+ |
rm -f conftest.er1 |
| 2328 |
+ |
cat conftest.err >&5 |
| 2329 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2330 |
|
(exit $ac_status); } && |
| 2331 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2331 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2332 |
> |
|| test ! -s conftest.err' |
| 2333 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2334 |
> |
(eval $ac_try) 2>&5 |
| 2335 |
> |
ac_status=$? |
| 2336 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2337 |
> |
(exit $ac_status); }; } && |
| 2338 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2339 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2340 |
|
(eval $ac_try) 2>&5 |
| 2341 |
|
ac_status=$? |
| 2348 |
|
|
| 2349 |
|
ac_compiler_gnu=no |
| 2350 |
|
fi |
| 2351 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2351 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2352 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2353 |
|
|
| 2354 |
|
fi |
| 2364 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2365 |
|
else |
| 2366 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2314 |
– |
#line $LINENO "configure" |
| 2367 |
|
/* confdefs.h. */ |
| 2368 |
|
_ACEOF |
| 2369 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2380 |
|
_ACEOF |
| 2381 |
|
rm -f conftest.$ac_objext |
| 2382 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2383 |
< |
(eval $ac_compile) 2>&5 |
| 2383 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2384 |
|
ac_status=$? |
| 2385 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2386 |
+ |
rm -f conftest.er1 |
| 2387 |
+ |
cat conftest.err >&5 |
| 2388 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2389 |
|
(exit $ac_status); } && |
| 2390 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2390 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2391 |
> |
|| test ! -s conftest.err' |
| 2392 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2393 |
|
(eval $ac_try) 2>&5 |
| 2394 |
|
ac_status=$? |
| 2395 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2396 |
+ |
(exit $ac_status); }; } && |
| 2397 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2398 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2399 |
+ |
(eval $ac_try) 2>&5 |
| 2400 |
+ |
ac_status=$? |
| 2401 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2402 |
|
(exit $ac_status); }; }; then |
| 2403 |
|
ac_cv_prog_cc_g=yes |
| 2404 |
|
else |
| 2407 |
|
|
| 2408 |
|
ac_cv_prog_cc_g=no |
| 2409 |
|
fi |
| 2410 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2410 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2411 |
|
fi |
| 2412 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2413 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2434 |
|
ac_cv_prog_cc_stdc=no |
| 2435 |
|
ac_save_CC=$CC |
| 2436 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2375 |
– |
#line $LINENO "configure" |
| 2437 |
|
/* confdefs.h. */ |
| 2438 |
|
_ACEOF |
| 2439 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2461 |
|
va_end (v); |
| 2462 |
|
return s; |
| 2463 |
|
} |
| 2464 |
+ |
|
| 2465 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2466 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2467 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
| 2468 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
| 2469 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2470 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
| 2471 |
+ |
that's true only with -std1. */ |
| 2472 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2473 |
+ |
|
| 2474 |
|
int test (int i, double x); |
| 2475 |
|
struct s1 {int (*f) (int a);}; |
| 2476 |
|
struct s2 {int (*f) (double a);}; |
| 2497 |
|
CC="$ac_save_CC $ac_arg" |
| 2498 |
|
rm -f conftest.$ac_objext |
| 2499 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2500 |
< |
(eval $ac_compile) 2>&5 |
| 2500 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2501 |
|
ac_status=$? |
| 2502 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2503 |
+ |
rm -f conftest.er1 |
| 2504 |
+ |
cat conftest.err >&5 |
| 2505 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2506 |
|
(exit $ac_status); } && |
| 2507 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2507 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2508 |
> |
|| test ! -s conftest.err' |
| 2509 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2510 |
|
(eval $ac_try) 2>&5 |
| 2511 |
|
ac_status=$? |
| 2512 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2513 |
+ |
(exit $ac_status); }; } && |
| 2514 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2515 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2516 |
+ |
(eval $ac_try) 2>&5 |
| 2517 |
+ |
ac_status=$? |
| 2518 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2519 |
|
(exit $ac_status); }; }; then |
| 2520 |
|
ac_cv_prog_cc_stdc=$ac_arg |
| 2521 |
|
break |
| 2524 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2525 |
|
|
| 2526 |
|
fi |
| 2527 |
< |
rm -f conftest.$ac_objext |
| 2527 |
> |
rm -f conftest.err conftest.$ac_objext |
| 2528 |
|
done |
| 2529 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2530 |
|
CC=$ac_save_CC |
| 2552 |
|
_ACEOF |
| 2553 |
|
rm -f conftest.$ac_objext |
| 2554 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2555 |
< |
(eval $ac_compile) 2>&5 |
| 2555 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2556 |
|
ac_status=$? |
| 2557 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2558 |
+ |
rm -f conftest.er1 |
| 2559 |
+ |
cat conftest.err >&5 |
| 2560 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2561 |
|
(exit $ac_status); } && |
| 2562 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2562 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2563 |
> |
|| test ! -s conftest.err' |
| 2564 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2565 |
> |
(eval $ac_try) 2>&5 |
| 2566 |
> |
ac_status=$? |
| 2567 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2568 |
> |
(exit $ac_status); }; } && |
| 2569 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2570 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2571 |
|
(eval $ac_try) 2>&5 |
| 2572 |
|
ac_status=$? |
| 2573 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2574 |
|
(exit $ac_status); }; }; then |
| 2575 |
|
for ac_declaration in \ |
| 2576 |
< |
''\ |
| 2486 |
< |
'#include <stdlib.h>' \ |
| 2576 |
> |
'' \ |
| 2577 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2578 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
| 2579 |
|
'extern "C" void exit (int) throw ();' \ |
| 2581 |
|
'void exit (int);' |
| 2582 |
|
do |
| 2583 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2494 |
– |
#line $LINENO "configure" |
| 2584 |
|
/* confdefs.h. */ |
| 2585 |
|
_ACEOF |
| 2586 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2587 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2588 |
|
/* end confdefs.h. */ |
| 2500 |
– |
#include <stdlib.h> |
| 2589 |
|
$ac_declaration |
| 2590 |
+ |
#include <stdlib.h> |
| 2591 |
|
int |
| 2592 |
|
main () |
| 2593 |
|
{ |
| 2598 |
|
_ACEOF |
| 2599 |
|
rm -f conftest.$ac_objext |
| 2600 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2601 |
< |
(eval $ac_compile) 2>&5 |
| 2601 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2602 |
|
ac_status=$? |
| 2603 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2604 |
+ |
rm -f conftest.er1 |
| 2605 |
+ |
cat conftest.err >&5 |
| 2606 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2607 |
|
(exit $ac_status); } && |
| 2608 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2608 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2609 |
> |
|| test ! -s conftest.err' |
| 2610 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2611 |
|
(eval $ac_try) 2>&5 |
| 2612 |
|
ac_status=$? |
| 2613 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2614 |
+ |
(exit $ac_status); }; } && |
| 2615 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2616 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2617 |
+ |
(eval $ac_try) 2>&5 |
| 2618 |
+ |
ac_status=$? |
| 2619 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2620 |
|
(exit $ac_status); }; }; then |
| 2621 |
|
: |
| 2622 |
|
else |
| 2625 |
|
|
| 2626 |
|
continue |
| 2627 |
|
fi |
| 2628 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2628 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2629 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2531 |
– |
#line $LINENO "configure" |
| 2630 |
|
/* confdefs.h. */ |
| 2631 |
|
_ACEOF |
| 2632 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2643 |
|
_ACEOF |
| 2644 |
|
rm -f conftest.$ac_objext |
| 2645 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2646 |
< |
(eval $ac_compile) 2>&5 |
| 2646 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2647 |
|
ac_status=$? |
| 2648 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2649 |
+ |
rm -f conftest.er1 |
| 2650 |
+ |
cat conftest.err >&5 |
| 2651 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2652 |
|
(exit $ac_status); } && |
| 2653 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2653 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2654 |
> |
|| test ! -s conftest.err' |
| 2655 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2656 |
|
(eval $ac_try) 2>&5 |
| 2657 |
|
ac_status=$? |
| 2658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2659 |
+ |
(exit $ac_status); }; } && |
| 2660 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2661 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2662 |
+ |
(eval $ac_try) 2>&5 |
| 2663 |
+ |
ac_status=$? |
| 2664 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2665 |
|
(exit $ac_status); }; }; then |
| 2666 |
|
break |
| 2667 |
|
else |
| 2669 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2670 |
|
|
| 2671 |
|
fi |
| 2672 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2672 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2673 |
|
done |
| 2674 |
|
rm -f conftest* |
| 2675 |
|
if test -n "$ac_declaration"; then |
| 2683 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2684 |
|
|
| 2685 |
|
fi |
| 2686 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2686 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2687 |
|
ac_ext=c |
| 2688 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2689 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2697 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2698 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2699 |
|
if test -n "$ac_tool_prefix"; then |
| 2700 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2700 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2701 |
|
do |
| 2702 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2703 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2739 |
|
fi |
| 2740 |
|
if test -z "$CXX"; then |
| 2741 |
|
ac_ct_CXX=$CXX |
| 2742 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2742 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2743 |
|
do |
| 2744 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2745 |
|
set dummy $ac_prog; ac_word=$2 |
| 2810 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2811 |
|
else |
| 2812 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2705 |
– |
#line $LINENO "configure" |
| 2813 |
|
/* confdefs.h. */ |
| 2814 |
|
_ACEOF |
| 2815 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2829 |
|
_ACEOF |
| 2830 |
|
rm -f conftest.$ac_objext |
| 2831 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2832 |
< |
(eval $ac_compile) 2>&5 |
| 2832 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2833 |
|
ac_status=$? |
| 2834 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2835 |
+ |
rm -f conftest.er1 |
| 2836 |
+ |
cat conftest.err >&5 |
| 2837 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2838 |
|
(exit $ac_status); } && |
| 2839 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2839 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2840 |
> |
|| test ! -s conftest.err' |
| 2841 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2842 |
|
(eval $ac_try) 2>&5 |
| 2843 |
|
ac_status=$? |
| 2844 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2845 |
+ |
(exit $ac_status); }; } && |
| 2846 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2847 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2848 |
+ |
(eval $ac_try) 2>&5 |
| 2849 |
+ |
ac_status=$? |
| 2850 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2851 |
|
(exit $ac_status); }; }; then |
| 2852 |
|
ac_compiler_gnu=yes |
| 2853 |
|
else |
| 2856 |
|
|
| 2857 |
|
ac_compiler_gnu=no |
| 2858 |
|
fi |
| 2859 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2859 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2860 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2861 |
|
|
| 2862 |
|
fi |
| 2872 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2873 |
|
else |
| 2874 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2758 |
– |
#line $LINENO "configure" |
| 2875 |
|
/* confdefs.h. */ |
| 2876 |
|
_ACEOF |
| 2877 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2888 |
|
_ACEOF |
| 2889 |
|
rm -f conftest.$ac_objext |
| 2890 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2891 |
< |
(eval $ac_compile) 2>&5 |
| 2891 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2892 |
|
ac_status=$? |
| 2893 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2894 |
+ |
rm -f conftest.er1 |
| 2895 |
+ |
cat conftest.err >&5 |
| 2896 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2897 |
|
(exit $ac_status); } && |
| 2898 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2898 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2899 |
> |
|| test ! -s conftest.err' |
| 2900 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2901 |
|
(eval $ac_try) 2>&5 |
| 2902 |
|
ac_status=$? |
| 2903 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2904 |
+ |
(exit $ac_status); }; } && |
| 2905 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2906 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2907 |
+ |
(eval $ac_try) 2>&5 |
| 2908 |
+ |
ac_status=$? |
| 2909 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2910 |
|
(exit $ac_status); }; }; then |
| 2911 |
|
ac_cv_prog_cxx_g=yes |
| 2912 |
|
else |
| 2915 |
|
|
| 2916 |
|
ac_cv_prog_cxx_g=no |
| 2917 |
|
fi |
| 2918 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2918 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2919 |
|
fi |
| 2920 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2921 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2935 |
|
fi |
| 2936 |
|
fi |
| 2937 |
|
for ac_declaration in \ |
| 2938 |
< |
''\ |
| 2813 |
< |
'#include <stdlib.h>' \ |
| 2938 |
> |
'' \ |
| 2939 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2940 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
| 2941 |
|
'extern "C" void exit (int) throw ();' \ |
| 2943 |
|
'void exit (int);' |
| 2944 |
|
do |
| 2945 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2821 |
– |
#line $LINENO "configure" |
| 2946 |
|
/* confdefs.h. */ |
| 2947 |
|
_ACEOF |
| 2948 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2949 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2950 |
|
/* end confdefs.h. */ |
| 2827 |
– |
#include <stdlib.h> |
| 2951 |
|
$ac_declaration |
| 2952 |
+ |
#include <stdlib.h> |
| 2953 |
|
int |
| 2954 |
|
main () |
| 2955 |
|
{ |
| 2960 |
|
_ACEOF |
| 2961 |
|
rm -f conftest.$ac_objext |
| 2962 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2963 |
< |
(eval $ac_compile) 2>&5 |
| 2963 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2964 |
|
ac_status=$? |
| 2965 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2966 |
+ |
rm -f conftest.er1 |
| 2967 |
+ |
cat conftest.err >&5 |
| 2968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2969 |
|
(exit $ac_status); } && |
| 2970 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2970 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2971 |
> |
|| test ! -s conftest.err' |
| 2972 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2973 |
|
(eval $ac_try) 2>&5 |
| 2974 |
|
ac_status=$? |
| 2975 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2976 |
+ |
(exit $ac_status); }; } && |
| 2977 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2978 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2979 |
+ |
(eval $ac_try) 2>&5 |
| 2980 |
+ |
ac_status=$? |
| 2981 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2982 |
|
(exit $ac_status); }; }; then |
| 2983 |
|
: |
| 2984 |
|
else |
| 2987 |
|
|
| 2988 |
|
continue |
| 2989 |
|
fi |
| 2990 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2990 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2991 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2858 |
– |
#line $LINENO "configure" |
| 2992 |
|
/* confdefs.h. */ |
| 2993 |
|
_ACEOF |
| 2994 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3005 |
|
_ACEOF |
| 3006 |
|
rm -f conftest.$ac_objext |
| 3007 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3008 |
< |
(eval $ac_compile) 2>&5 |
| 3008 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3009 |
|
ac_status=$? |
| 3010 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3011 |
+ |
rm -f conftest.er1 |
| 3012 |
+ |
cat conftest.err >&5 |
| 3013 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3014 |
|
(exit $ac_status); } && |
| 3015 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3015 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3016 |
> |
|| test ! -s conftest.err' |
| 3017 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3018 |
|
(eval $ac_try) 2>&5 |
| 3019 |
|
ac_status=$? |
| 3020 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3021 |
+ |
(exit $ac_status); }; } && |
| 3022 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3023 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3024 |
+ |
(eval $ac_try) 2>&5 |
| 3025 |
+ |
ac_status=$? |
| 3026 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3027 |
|
(exit $ac_status); }; }; then |
| 3028 |
|
break |
| 3029 |
|
else |
| 3031 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3032 |
|
|
| 3033 |
|
fi |
| 3034 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3034 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3035 |
|
done |
| 3036 |
|
rm -f conftest* |
| 3037 |
|
if test -n "$ac_declaration"; then |
| 3047 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3048 |
|
|
| 3049 |
|
|
| 3050 |
+ |
ac_ext=c |
| 3051 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3052 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3053 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3054 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3055 |
+ |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3056 |
+ |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3057 |
+ |
# On Suns, sometimes $CPP names a directory. |
| 3058 |
+ |
if test -n "$CPP" && test -d "$CPP"; then |
| 3059 |
+ |
CPP= |
| 3060 |
+ |
fi |
| 3061 |
+ |
if test -z "$CPP"; then |
| 3062 |
+ |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 3063 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3064 |
+ |
else |
| 3065 |
+ |
# Double quotes because CPP needs to be expanded |
| 3066 |
+ |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3067 |
+ |
do |
| 3068 |
+ |
ac_preproc_ok=false |
| 3069 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3070 |
+ |
do |
| 3071 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3072 |
+ |
# with a fresh cross-compiler works. |
| 3073 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3074 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3075 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3076 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3077 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3078 |
+ |
/* confdefs.h. */ |
| 3079 |
+ |
_ACEOF |
| 3080 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3081 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3082 |
+ |
/* end confdefs.h. */ |
| 3083 |
+ |
#ifdef __STDC__ |
| 3084 |
+ |
# include <limits.h> |
| 3085 |
+ |
#else |
| 3086 |
+ |
# include <assert.h> |
| 3087 |
+ |
#endif |
| 3088 |
+ |
Syntax error |
| 3089 |
+ |
_ACEOF |
| 3090 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3091 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3092 |
+ |
ac_status=$? |
| 3093 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3094 |
+ |
rm -f conftest.er1 |
| 3095 |
+ |
cat conftest.err >&5 |
| 3096 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3097 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3098 |
+ |
if test -s conftest.err; then |
| 3099 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3100 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3101 |
+ |
else |
| 3102 |
+ |
ac_cpp_err= |
| 3103 |
+ |
fi |
| 3104 |
+ |
else |
| 3105 |
+ |
ac_cpp_err=yes |
| 3106 |
+ |
fi |
| 3107 |
+ |
if test -z "$ac_cpp_err"; then |
| 3108 |
+ |
: |
| 3109 |
+ |
else |
| 3110 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3111 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3112 |
+ |
|
| 3113 |
+ |
# Broken: fails on valid input. |
| 3114 |
+ |
continue |
| 3115 |
+ |
fi |
| 3116 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3117 |
+ |
|
| 3118 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3119 |
+ |
# can be detected and how. |
| 3120 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3121 |
+ |
/* confdefs.h. */ |
| 3122 |
+ |
_ACEOF |
| 3123 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3124 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3125 |
+ |
/* end confdefs.h. */ |
| 3126 |
+ |
#include <ac_nonexistent.h> |
| 3127 |
+ |
_ACEOF |
| 3128 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3129 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3130 |
+ |
ac_status=$? |
| 3131 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3132 |
+ |
rm -f conftest.er1 |
| 3133 |
+ |
cat conftest.err >&5 |
| 3134 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3135 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3136 |
+ |
if test -s conftest.err; then |
| 3137 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3138 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3139 |
+ |
else |
| 3140 |
+ |
ac_cpp_err= |
| 3141 |
+ |
fi |
| 3142 |
+ |
else |
| 3143 |
+ |
ac_cpp_err=yes |
| 3144 |
+ |
fi |
| 3145 |
+ |
if test -z "$ac_cpp_err"; then |
| 3146 |
+ |
# Broken: success on invalid input. |
| 3147 |
+ |
continue |
| 3148 |
+ |
else |
| 3149 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3150 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3151 |
+ |
|
| 3152 |
+ |
# Passes both tests. |
| 3153 |
+ |
ac_preproc_ok=: |
| 3154 |
+ |
break |
| 3155 |
+ |
fi |
| 3156 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3157 |
+ |
|
| 3158 |
+ |
done |
| 3159 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3160 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3161 |
+ |
if $ac_preproc_ok; then |
| 3162 |
+ |
break |
| 3163 |
+ |
fi |
| 3164 |
+ |
|
| 3165 |
+ |
done |
| 3166 |
+ |
ac_cv_prog_CPP=$CPP |
| 3167 |
+ |
|
| 3168 |
+ |
fi |
| 3169 |
+ |
CPP=$ac_cv_prog_CPP |
| 3170 |
+ |
else |
| 3171 |
+ |
ac_cv_prog_CPP=$CPP |
| 3172 |
+ |
fi |
| 3173 |
+ |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3174 |
+ |
echo "${ECHO_T}$CPP" >&6 |
| 3175 |
+ |
ac_preproc_ok=false |
| 3176 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3177 |
+ |
do |
| 3178 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3179 |
+ |
# with a fresh cross-compiler works. |
| 3180 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3181 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3182 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3183 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3184 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3185 |
+ |
/* confdefs.h. */ |
| 3186 |
+ |
_ACEOF |
| 3187 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3188 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3189 |
+ |
/* end confdefs.h. */ |
| 3190 |
+ |
#ifdef __STDC__ |
| 3191 |
+ |
# include <limits.h> |
| 3192 |
+ |
#else |
| 3193 |
+ |
# include <assert.h> |
| 3194 |
+ |
#endif |
| 3195 |
+ |
Syntax error |
| 3196 |
+ |
_ACEOF |
| 3197 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3198 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3199 |
+ |
ac_status=$? |
| 3200 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3201 |
+ |
rm -f conftest.er1 |
| 3202 |
+ |
cat conftest.err >&5 |
| 3203 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3204 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3205 |
+ |
if test -s conftest.err; then |
| 3206 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3207 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3208 |
+ |
else |
| 3209 |
+ |
ac_cpp_err= |
| 3210 |
+ |
fi |
| 3211 |
+ |
else |
| 3212 |
+ |
ac_cpp_err=yes |
| 3213 |
+ |
fi |
| 3214 |
+ |
if test -z "$ac_cpp_err"; then |
| 3215 |
+ |
: |
| 3216 |
+ |
else |
| 3217 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3218 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3219 |
+ |
|
| 3220 |
+ |
# Broken: fails on valid input. |
| 3221 |
+ |
continue |
| 3222 |
+ |
fi |
| 3223 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3224 |
+ |
|
| 3225 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3226 |
+ |
# can be detected and how. |
| 3227 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3228 |
+ |
/* confdefs.h. */ |
| 3229 |
+ |
_ACEOF |
| 3230 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3231 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3232 |
+ |
/* end confdefs.h. */ |
| 3233 |
+ |
#include <ac_nonexistent.h> |
| 3234 |
+ |
_ACEOF |
| 3235 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3236 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3237 |
+ |
ac_status=$? |
| 3238 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3239 |
+ |
rm -f conftest.er1 |
| 3240 |
+ |
cat conftest.err >&5 |
| 3241 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3242 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3243 |
+ |
if test -s conftest.err; then |
| 3244 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3245 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3246 |
+ |
else |
| 3247 |
+ |
ac_cpp_err= |
| 3248 |
+ |
fi |
| 3249 |
+ |
else |
| 3250 |
+ |
ac_cpp_err=yes |
| 3251 |
+ |
fi |
| 3252 |
+ |
if test -z "$ac_cpp_err"; then |
| 3253 |
+ |
# Broken: success on invalid input. |
| 3254 |
+ |
continue |
| 3255 |
+ |
else |
| 3256 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3257 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3258 |
+ |
|
| 3259 |
+ |
# Passes both tests. |
| 3260 |
+ |
ac_preproc_ok=: |
| 3261 |
+ |
break |
| 3262 |
+ |
fi |
| 3263 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3264 |
+ |
|
| 3265 |
+ |
done |
| 3266 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3267 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3268 |
+ |
if $ac_preproc_ok; then |
| 3269 |
+ |
: |
| 3270 |
+ |
else |
| 3271 |
+ |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3272 |
+ |
See \`config.log' for more details." >&5 |
| 3273 |
+ |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 3274 |
+ |
See \`config.log' for more details." >&2;} |
| 3275 |
+ |
{ (exit 1); exit 1; }; } |
| 3276 |
+ |
fi |
| 3277 |
+ |
|
| 3278 |
+ |
ac_ext=c |
| 3279 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3280 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3281 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3282 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3283 |
+ |
|
| 3284 |
+ |
|
| 3285 |
+ |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3286 |
+ |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3287 |
+ |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3288 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3289 |
+ |
else |
| 3290 |
+ |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3291 |
+ |
then ac_cv_prog_egrep='grep -E' |
| 3292 |
+ |
else ac_cv_prog_egrep='egrep' |
| 3293 |
+ |
fi |
| 3294 |
+ |
fi |
| 3295 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3296 |
+ |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3297 |
+ |
EGREP=$ac_cv_prog_egrep |
| 3298 |
+ |
|
| 3299 |
+ |
|
| 3300 |
+ |
|
| 3301 |
|
OOPSE_TEMPLATE_FLAGS="" |
| 3302 |
|
if test $ac_cv_cxx_compiler_gnu = no; then |
| 3303 |
|
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
| 3359 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3360 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
| 3361 |
|
if test -n "$ac_tool_prefix"; then |
| 3362 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3362 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3363 |
|
do |
| 3364 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3365 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3401 |
|
fi |
| 3402 |
|
if test -z "$F90"; then |
| 3403 |
|
ac_ct_F90=$F90 |
| 3404 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3404 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3405 |
|
do |
| 3406 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3407 |
|
set dummy $ac_prog; ac_word=$2 |
| 3467 |
|
_ACEOF |
| 3468 |
|
rm -f conftest.$ac_objext |
| 3469 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3470 |
< |
(eval $ac_compile) 2>&5 |
| 3470 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3471 |
|
ac_status=$? |
| 3472 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3473 |
+ |
rm -f conftest.er1 |
| 3474 |
+ |
cat conftest.err >&5 |
| 3475 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3476 |
|
(exit $ac_status); } && |
| 3477 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3477 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3478 |
> |
|| test ! -s conftest.err' |
| 3479 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3480 |
> |
(eval $ac_try) 2>&5 |
| 3481 |
> |
ac_status=$? |
| 3482 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3483 |
> |
(exit $ac_status); }; } && |
| 3484 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 3485 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3486 |
|
(eval $ac_try) 2>&5 |
| 3487 |
|
ac_status=$? |
| 3494 |
|
|
| 3495 |
|
ac_compiler_gnu=no |
| 3496 |
|
fi |
| 3497 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3497 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3498 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
| 3499 |
|
|
| 3500 |
|
fi |
| 3568 |
|
_ACEOF |
| 3569 |
|
rm -f conftest.$ac_objext |
| 3570 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3571 |
< |
(eval $ac_compile) 2>&5 |
| 3571 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3572 |
|
ac_status=$? |
| 3573 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3574 |
+ |
rm -f conftest.er1 |
| 3575 |
+ |
cat conftest.err >&5 |
| 3576 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3577 |
|
(exit $ac_status); } && |
| 3578 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3578 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3579 |
> |
|| test ! -s conftest.err' |
| 3580 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3581 |
> |
(eval $ac_try) 2>&5 |
| 3582 |
> |
ac_status=$? |
| 3583 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3584 |
> |
(exit $ac_status); }; } && |
| 3585 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 3586 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3587 |
|
(eval $ac_try) 2>&5 |
| 3588 |
|
ac_status=$? |
| 3595 |
|
|
| 3596 |
|
prepflagworks=0 |
| 3597 |
|
fi |
| 3598 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3598 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3599 |
|
|
| 3600 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3601 |
|
ac_ext=$ac_save_ext |
| 3683 |
|
_ACEOF |
| 3684 |
|
rm -f conftest.$ac_objext |
| 3685 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3686 |
< |
(eval $ac_compile) 2>&5 |
| 3686 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3687 |
|
ac_status=$? |
| 3688 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3689 |
+ |
rm -f conftest.er1 |
| 3690 |
+ |
cat conftest.err >&5 |
| 3691 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3692 |
|
(exit $ac_status); } && |
| 3693 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3693 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3694 |
> |
|| test ! -s conftest.err' |
| 3695 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3696 |
|
(eval $ac_try) 2>&5 |
| 3697 |
|
ac_status=$? |
| 3698 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3699 |
+ |
(exit $ac_status); }; } && |
| 3700 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3701 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3702 |
+ |
(eval $ac_try) 2>&5 |
| 3703 |
+ |
ac_status=$? |
| 3704 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3705 |
|
(exit $ac_status); }; }; then |
| 3706 |
|
prepdefflagworks=1 |
| 3707 |
|
else |
| 3710 |
|
|
| 3711 |
|
prepdefflagworks=0 |
| 3712 |
|
fi |
| 3713 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3713 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3714 |
|
|
| 3715 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3716 |
|
ac_ext=$ac_save_ext |
| 3762 |
|
_ACEOF |
| 3763 |
|
rm -f conftest.$ac_objext |
| 3764 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3765 |
< |
(eval $ac_compile) 2>&5 |
| 3765 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3766 |
|
ac_status=$? |
| 3767 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3768 |
+ |
rm -f conftest.er1 |
| 3769 |
+ |
cat conftest.err >&5 |
| 3770 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3771 |
|
(exit $ac_status); } && |
| 3772 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3772 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3773 |
> |
|| test ! -s conftest.err' |
| 3774 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3775 |
|
(eval $ac_try) 2>&5 |
| 3776 |
|
ac_status=$? |
| 3777 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3778 |
+ |
(exit $ac_status); }; } && |
| 3779 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3780 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3781 |
+ |
(eval $ac_try) 2>&5 |
| 3782 |
+ |
ac_status=$? |
| 3783 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3784 |
|
(exit $ac_status); }; }; then |
| 3785 |
|
ac_cv_prog_f90_v= |
| 3786 |
|
# Try some options frequently used verbose output |
| 3806 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3807 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3808 |
|
|
| 3809 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
| 3809 |
> |
(eval echo $as_me:3809: \"$ac_link\") >&5 |
| 3810 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3811 |
|
echo "$ac_f90_v_output" >&5 |
| 3812 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3848 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 3849 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
| 3850 |
|
fi |
| 3851 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3851 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3852 |
|
|
| 3853 |
|
fi |
| 3854 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
| 3883 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3884 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3885 |
|
|
| 3886 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
| 3886 |
> |
(eval echo $as_me:3886: \"$ac_link\") >&5 |
| 3887 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3888 |
|
echo "$ac_f90_v_output" >&5 |
| 3889 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 4065 |
|
_ACEOF |
| 4066 |
|
rm -f conftest.$ac_objext |
| 4067 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4068 |
< |
(eval $ac_compile) 2>&5 |
| 4068 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4069 |
|
ac_status=$? |
| 4070 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4071 |
+ |
rm -f conftest.er1 |
| 4072 |
+ |
cat conftest.err >&5 |
| 4073 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4074 |
|
(exit $ac_status); } && |
| 4075 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4075 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 4076 |
> |
|| test ! -s conftest.err' |
| 4077 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4078 |
|
(eval $ac_try) 2>&5 |
| 4079 |
|
ac_status=$? |
| 4080 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4081 |
+ |
(exit $ac_status); }; } && |
| 4082 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 4083 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4084 |
+ |
(eval $ac_try) 2>&5 |
| 4085 |
+ |
ac_status=$? |
| 4086 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4087 |
|
(exit $ac_status); }; }; then |
| 4088 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
| 4089 |
|
|
| 4101 |
|
for ac_underscore in "" "_"; do |
| 4102 |
|
ac_func="$ac_foobar$ac_underscore" |
| 4103 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3660 |
– |
#line $LINENO "configure" |
| 4104 |
|
/* confdefs.h. */ |
| 4105 |
|
_ACEOF |
| 4106 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4124 |
|
_ACEOF |
| 4125 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4126 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4127 |
< |
(eval $ac_link) 2>&5 |
| 4127 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4128 |
|
ac_status=$? |
| 4129 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4130 |
+ |
rm -f conftest.er1 |
| 4131 |
+ |
cat conftest.err >&5 |
| 4132 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4133 |
|
(exit $ac_status); } && |
| 4134 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4134 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4135 |
> |
|| test ! -s conftest.err' |
| 4136 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4137 |
|
(eval $ac_try) 2>&5 |
| 4138 |
|
ac_status=$? |
| 4139 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4140 |
+ |
(exit $ac_status); }; } && |
| 4141 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 4142 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4143 |
+ |
(eval $ac_try) 2>&5 |
| 4144 |
+ |
ac_status=$? |
| 4145 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4146 |
|
(exit $ac_status); }; }; then |
| 4147 |
|
ac_success=yes; break 2 |
| 4148 |
|
else |
| 4150 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4151 |
|
|
| 4152 |
|
fi |
| 4153 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4153 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4154 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4155 |
|
done |
| 4156 |
|
done |
| 4157 |
|
|
| 4172 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
| 4173 |
|
|
| 4174 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3721 |
– |
#line $LINENO "configure" |
| 4175 |
|
/* confdefs.h. */ |
| 4176 |
|
_ACEOF |
| 4177 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4195 |
|
_ACEOF |
| 4196 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4197 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4198 |
< |
(eval $ac_link) 2>&5 |
| 4198 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4199 |
|
ac_status=$? |
| 4200 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4201 |
+ |
rm -f conftest.er1 |
| 4202 |
+ |
cat conftest.err >&5 |
| 4203 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4204 |
|
(exit $ac_status); } && |
| 4205 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4205 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4206 |
> |
|| test ! -s conftest.err' |
| 4207 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4208 |
|
(eval $ac_try) 2>&5 |
| 4209 |
|
ac_status=$? |
| 4210 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4211 |
+ |
(exit $ac_status); }; } && |
| 4212 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 4213 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4214 |
+ |
(eval $ac_try) 2>&5 |
| 4215 |
+ |
ac_status=$? |
| 4216 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4217 |
|
(exit $ac_status); }; }; then |
| 4218 |
|
ac_success_extra=yes; break |
| 4219 |
|
else |
| 4221 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4222 |
|
|
| 4223 |
|
fi |
| 4224 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 4224 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4225 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4226 |
|
done |
| 4227 |
|
|
| 4228 |
|
if test "$ac_success_extra" = "yes"; then |
| 4257 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4258 |
|
|
| 4259 |
|
fi |
| 4260 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4260 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4261 |
|
ac_ext=f90 |
| 4262 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
| 4263 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4500 |
|
_ACEOF |
| 4501 |
|
rm -f conftest.$ac_objext |
| 4502 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4503 |
< |
(eval $ac_compile) 2>&5 |
| 4503 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4504 |
|
ac_status=$? |
| 4505 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4506 |
+ |
rm -f conftest.er1 |
| 4507 |
+ |
cat conftest.err >&5 |
| 4508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4509 |
|
(exit $ac_status); } && |
| 4510 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4510 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 4511 |
> |
|| test ! -s conftest.err' |
| 4512 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4513 |
> |
(eval $ac_try) 2>&5 |
| 4514 |
> |
ac_status=$? |
| 4515 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4516 |
> |
(exit $ac_status); }; } && |
| 4517 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4518 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4519 |
|
(eval $ac_try) 2>&5 |
| 4520 |
|
ac_status=$? |
| 4619 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
| 4620 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
| 4621 |
|
fi |
| 4622 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4622 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4623 |
|
cd .. |
| 4624 |
|
# cleanup |
| 4625 |
|
rm -rf conftest |
| 4715 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4716 |
|
|
| 4717 |
|
|
| 4718 |
< |
ac_ext=c |
| 4719 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4720 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4721 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4722 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4718 |
> |
ac_ext=cc |
| 4719 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 4720 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4721 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4722 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4723 |
|
|
| 4724 |
< |
ac_ext=c |
| 4725 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4726 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4727 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4728 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4255 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4256 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4257 |
< |
# On Suns, sometimes $CPP names a directory. |
| 4258 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 4259 |
< |
CPP= |
| 4260 |
< |
fi |
| 4261 |
< |
if test -z "$CPP"; then |
| 4262 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 4724 |
> |
|
| 4725 |
> |
|
| 4726 |
> |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 4727 |
> |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
| 4728 |
> |
if test "${ac_cv_lib_m_asin+set}" = set; then |
| 4729 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4730 |
|
else |
| 4731 |
< |
# Double quotes because CPP needs to be expanded |
| 4732 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4733 |
< |
do |
| 4268 |
< |
ac_preproc_ok=false |
| 4269 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 4270 |
< |
do |
| 4271 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 4272 |
< |
# with a fresh cross-compiler works. |
| 4273 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4274 |
< |
# <limits.h> exists even on freestanding compilers. |
| 4275 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4276 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4277 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4278 |
< |
#line $LINENO "configure" |
| 4731 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 4732 |
> |
LIBS="-lm $LIBS" |
| 4733 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4734 |
|
/* confdefs.h. */ |
| 4735 |
|
_ACEOF |
| 4736 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4737 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4738 |
|
/* end confdefs.h. */ |
| 4739 |
< |
#ifdef __STDC__ |
| 4740 |
< |
# include <limits.h> |
| 4741 |
< |
#else |
| 4742 |
< |
# include <assert.h> |
| 4739 |
> |
|
| 4740 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4741 |
> |
#ifdef __cplusplus |
| 4742 |
> |
extern "C" |
| 4743 |
|
#endif |
| 4744 |
< |
Syntax error |
| 4744 |
> |
/* We use char because int might match the return type of a gcc2 |
| 4745 |
> |
builtin and then its argument prototype would still apply. */ |
| 4746 |
> |
char asin (); |
| 4747 |
> |
int |
| 4748 |
> |
main () |
| 4749 |
> |
{ |
| 4750 |
> |
asin (); |
| 4751 |
> |
; |
| 4752 |
> |
return 0; |
| 4753 |
> |
} |
| 4754 |
|
_ACEOF |
| 4755 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4756 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4755 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4756 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4757 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4758 |
|
ac_status=$? |
| 4759 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4760 |
|
rm -f conftest.er1 |
| 4761 |
|
cat conftest.err >&5 |
| 4762 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4763 |
< |
(exit $ac_status); } >/dev/null; then |
| 4764 |
< |
if test -s conftest.err; then |
| 4765 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4766 |
< |
else |
| 4767 |
< |
ac_cpp_err= |
| 4768 |
< |
fi |
| 4763 |
> |
(exit $ac_status); } && |
| 4764 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 4765 |
> |
|| test ! -s conftest.err' |
| 4766 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4767 |
> |
(eval $ac_try) 2>&5 |
| 4768 |
> |
ac_status=$? |
| 4769 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4770 |
> |
(exit $ac_status); }; } && |
| 4771 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4772 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4773 |
> |
(eval $ac_try) 2>&5 |
| 4774 |
> |
ac_status=$? |
| 4775 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4776 |
> |
(exit $ac_status); }; }; then |
| 4777 |
> |
ac_cv_lib_m_asin=yes |
| 4778 |
|
else |
| 4305 |
– |
ac_cpp_err=yes |
| 4306 |
– |
fi |
| 4307 |
– |
if test -z "$ac_cpp_err"; then |
| 4308 |
– |
: |
| 4309 |
– |
else |
| 4779 |
|
echo "$as_me: failed program was:" >&5 |
| 4780 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4781 |
|
|
| 4782 |
< |
# Broken: fails on valid input. |
| 4314 |
< |
continue |
| 4782 |
> |
ac_cv_lib_m_asin=no |
| 4783 |
|
fi |
| 4784 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4785 |
< |
|
| 4786 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 4787 |
< |
# can be detected and how. |
| 4788 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4789 |
< |
#line $LINENO "configure" |
| 4790 |
< |
/* confdefs.h. */ |
| 4784 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4785 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4786 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 4787 |
> |
fi |
| 4788 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 4789 |
> |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
| 4790 |
> |
if test $ac_cv_lib_m_asin = yes; then |
| 4791 |
> |
cat >>confdefs.h <<_ACEOF |
| 4792 |
> |
#define HAVE_LIBM 1 |
| 4793 |
|
_ACEOF |
| 4794 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4795 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4796 |
< |
/* end confdefs.h. */ |
| 4327 |
< |
#include <ac_nonexistent.h> |
| 4328 |
< |
_ACEOF |
| 4329 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4330 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4331 |
< |
ac_status=$? |
| 4332 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4333 |
< |
rm -f conftest.er1 |
| 4334 |
< |
cat conftest.err >&5 |
| 4335 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4336 |
< |
(exit $ac_status); } >/dev/null; then |
| 4337 |
< |
if test -s conftest.err; then |
| 4338 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4339 |
< |
else |
| 4340 |
< |
ac_cpp_err= |
| 4341 |
< |
fi |
| 4794 |
> |
|
| 4795 |
> |
LIBS="-lm $LIBS" |
| 4796 |
> |
|
| 4797 |
|
else |
| 4798 |
< |
ac_cpp_err=yes |
| 4798 |
> |
exit |
| 4799 |
|
fi |
| 4345 |
– |
if test -z "$ac_cpp_err"; then |
| 4346 |
– |
# Broken: success on invalid input. |
| 4347 |
– |
continue |
| 4348 |
– |
else |
| 4349 |
– |
echo "$as_me: failed program was:" >&5 |
| 4350 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4800 |
|
|
| 4352 |
– |
# Passes both tests. |
| 4353 |
– |
ac_preproc_ok=: |
| 4354 |
– |
break |
| 4355 |
– |
fi |
| 4356 |
– |
rm -f conftest.err conftest.$ac_ext |
| 4801 |
|
|
| 4802 |
< |
done |
| 4803 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4804 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4805 |
< |
if $ac_preproc_ok; then |
| 4806 |
< |
break |
| 4363 |
< |
fi |
| 4802 |
> |
ac_ext=c |
| 4803 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 4804 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4805 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4806 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4807 |
|
|
| 4365 |
– |
done |
| 4366 |
– |
ac_cv_prog_CPP=$CPP |
| 4808 |
|
|
| 4809 |
< |
fi |
| 4810 |
< |
CPP=$ac_cv_prog_CPP |
| 4809 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4810 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4811 |
> |
if test "${ac_cv_header_stdc+set}" = set; then |
| 4812 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4813 |
|
else |
| 4371 |
– |
ac_cv_prog_CPP=$CPP |
| 4372 |
– |
fi |
| 4373 |
– |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4374 |
– |
echo "${ECHO_T}$CPP" >&6 |
| 4375 |
– |
ac_preproc_ok=false |
| 4376 |
– |
for ac_c_preproc_warn_flag in '' yes |
| 4377 |
– |
do |
| 4378 |
– |
# Use a header file that comes with gcc, so configuring glibc |
| 4379 |
– |
# with a fresh cross-compiler works. |
| 4380 |
– |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4381 |
– |
# <limits.h> exists even on freestanding compilers. |
| 4382 |
– |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4383 |
– |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4814 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4385 |
– |
#line $LINENO "configure" |
| 4815 |
|
/* confdefs.h. */ |
| 4816 |
|
_ACEOF |
| 4817 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4818 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4819 |
|
/* end confdefs.h. */ |
| 4820 |
< |
#ifdef __STDC__ |
| 4821 |
< |
# include <limits.h> |
| 4822 |
< |
#else |
| 4823 |
< |
# include <assert.h> |
| 4824 |
< |
#endif |
| 4825 |
< |
Syntax error |
| 4820 |
> |
#include <stdlib.h> |
| 4821 |
> |
#include <stdarg.h> |
| 4822 |
> |
#include <string.h> |
| 4823 |
> |
#include <float.h> |
| 4824 |
> |
|
| 4825 |
> |
int |
| 4826 |
> |
main () |
| 4827 |
> |
{ |
| 4828 |
> |
|
| 4829 |
> |
; |
| 4830 |
> |
return 0; |
| 4831 |
> |
} |
| 4832 |
|
_ACEOF |
| 4833 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4834 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4833 |
> |
rm -f conftest.$ac_objext |
| 4834 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4835 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4836 |
|
ac_status=$? |
| 4837 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4838 |
|
rm -f conftest.er1 |
| 4839 |
|
cat conftest.err >&5 |
| 4840 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4841 |
< |
(exit $ac_status); } >/dev/null; then |
| 4842 |
< |
if test -s conftest.err; then |
| 4843 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4844 |
< |
else |
| 4845 |
< |
ac_cpp_err= |
| 4846 |
< |
fi |
| 4841 |
> |
(exit $ac_status); } && |
| 4842 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4843 |
> |
|| test ! -s conftest.err' |
| 4844 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4845 |
> |
(eval $ac_try) 2>&5 |
| 4846 |
> |
ac_status=$? |
| 4847 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4848 |
> |
(exit $ac_status); }; } && |
| 4849 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4850 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4851 |
> |
(eval $ac_try) 2>&5 |
| 4852 |
> |
ac_status=$? |
| 4853 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4854 |
> |
(exit $ac_status); }; }; then |
| 4855 |
> |
ac_cv_header_stdc=yes |
| 4856 |
|
else |
| 4412 |
– |
ac_cpp_err=yes |
| 4413 |
– |
fi |
| 4414 |
– |
if test -z "$ac_cpp_err"; then |
| 4415 |
– |
: |
| 4416 |
– |
else |
| 4857 |
|
echo "$as_me: failed program was:" >&5 |
| 4858 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4859 |
|
|
| 4860 |
< |
# Broken: fails on valid input. |
| 4421 |
< |
continue |
| 4860 |
> |
ac_cv_header_stdc=no |
| 4861 |
|
fi |
| 4862 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4862 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4863 |
|
|
| 4864 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 4865 |
< |
# can be detected and how. |
| 4864 |
> |
if test $ac_cv_header_stdc = yes; then |
| 4865 |
> |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4866 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4428 |
– |
#line $LINENO "configure" |
| 4867 |
|
/* confdefs.h. */ |
| 4868 |
|
_ACEOF |
| 4869 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4870 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4871 |
|
/* end confdefs.h. */ |
| 4872 |
< |
#include <ac_nonexistent.h> |
| 4872 |
> |
#include <string.h> |
| 4873 |
> |
|
| 4874 |
|
_ACEOF |
| 4436 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4437 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4438 |
– |
ac_status=$? |
| 4439 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4440 |
– |
rm -f conftest.er1 |
| 4441 |
– |
cat conftest.err >&5 |
| 4442 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4443 |
– |
(exit $ac_status); } >/dev/null; then |
| 4444 |
– |
if test -s conftest.err; then |
| 4445 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4446 |
– |
else |
| 4447 |
– |
ac_cpp_err= |
| 4448 |
– |
fi |
| 4449 |
– |
else |
| 4450 |
– |
ac_cpp_err=yes |
| 4451 |
– |
fi |
| 4452 |
– |
if test -z "$ac_cpp_err"; then |
| 4453 |
– |
# Broken: success on invalid input. |
| 4454 |
– |
continue |
| 4455 |
– |
else |
| 4456 |
– |
echo "$as_me: failed program was:" >&5 |
| 4457 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4458 |
– |
|
| 4459 |
– |
# Passes both tests. |
| 4460 |
– |
ac_preproc_ok=: |
| 4461 |
– |
break |
| 4462 |
– |
fi |
| 4463 |
– |
rm -f conftest.err conftest.$ac_ext |
| 4464 |
– |
|
| 4465 |
– |
done |
| 4466 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4467 |
– |
rm -f conftest.err conftest.$ac_ext |
| 4468 |
– |
if $ac_preproc_ok; then |
| 4469 |
– |
: |
| 4470 |
– |
else |
| 4471 |
– |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4472 |
– |
See \`config.log' for more details." >&5 |
| 4473 |
– |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4474 |
– |
See \`config.log' for more details." >&2;} |
| 4475 |
– |
{ (exit 1); exit 1; }; } |
| 4476 |
– |
fi |
| 4477 |
– |
|
| 4478 |
– |
ac_ext=c |
| 4479 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 4480 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4481 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4482 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4483 |
– |
|
| 4484 |
– |
|
| 4485 |
– |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4486 |
– |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4487 |
– |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4488 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4489 |
– |
else |
| 4490 |
– |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4491 |
– |
then ac_cv_prog_egrep='grep -E' |
| 4492 |
– |
else ac_cv_prog_egrep='egrep' |
| 4493 |
– |
fi |
| 4494 |
– |
fi |
| 4495 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 4496 |
– |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 4497 |
– |
EGREP=$ac_cv_prog_egrep |
| 4498 |
– |
|
| 4499 |
– |
|
| 4500 |
– |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4501 |
– |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4502 |
– |
if test "${ac_cv_header_stdc+set}" = set; then |
| 4503 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4504 |
– |
else |
| 4505 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4506 |
– |
#line $LINENO "configure" |
| 4507 |
– |
/* confdefs.h. */ |
| 4508 |
– |
_ACEOF |
| 4509 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4510 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4511 |
– |
/* end confdefs.h. */ |
| 4512 |
– |
#include <stdlib.h> |
| 4513 |
– |
#include <stdarg.h> |
| 4514 |
– |
#include <string.h> |
| 4515 |
– |
#include <float.h> |
| 4516 |
– |
|
| 4517 |
– |
int |
| 4518 |
– |
main () |
| 4519 |
– |
{ |
| 4520 |
– |
|
| 4521 |
– |
; |
| 4522 |
– |
return 0; |
| 4523 |
– |
} |
| 4524 |
– |
_ACEOF |
| 4525 |
– |
rm -f conftest.$ac_objext |
| 4526 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4527 |
– |
(eval $ac_compile) 2>&5 |
| 4528 |
– |
ac_status=$? |
| 4529 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4530 |
– |
(exit $ac_status); } && |
| 4531 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 4532 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4533 |
– |
(eval $ac_try) 2>&5 |
| 4534 |
– |
ac_status=$? |
| 4535 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4536 |
– |
(exit $ac_status); }; }; then |
| 4537 |
– |
ac_cv_header_stdc=yes |
| 4538 |
– |
else |
| 4539 |
– |
echo "$as_me: failed program was:" >&5 |
| 4540 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4541 |
– |
|
| 4542 |
– |
ac_cv_header_stdc=no |
| 4543 |
– |
fi |
| 4544 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4545 |
– |
|
| 4546 |
– |
if test $ac_cv_header_stdc = yes; then |
| 4547 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4548 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4549 |
– |
#line $LINENO "configure" |
| 4550 |
– |
/* confdefs.h. */ |
| 4551 |
– |
_ACEOF |
| 4552 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4553 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4554 |
– |
/* end confdefs.h. */ |
| 4555 |
– |
#include <string.h> |
| 4556 |
– |
|
| 4557 |
– |
_ACEOF |
| 4875 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4876 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
| 4877 |
|
: |
| 4885 |
|
if test $ac_cv_header_stdc = yes; then |
| 4886 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4887 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4571 |
– |
#line $LINENO "configure" |
| 4888 |
|
/* confdefs.h. */ |
| 4889 |
|
_ACEOF |
| 4890 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4909 |
|
: |
| 4910 |
|
else |
| 4911 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4596 |
– |
#line $LINENO "configure" |
| 4912 |
|
/* confdefs.h. */ |
| 4913 |
|
_ACEOF |
| 4914 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4920 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4921 |
|
#else |
| 4922 |
|
# define ISLOWER(c) \ |
| 4923 |
< |
(('a' <= (c) && (c) <= 'i') \ |
| 4924 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4925 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
| 4923 |
> |
(('a' <= (c) && (c) <= 'i') \ |
| 4924 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4925 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
| 4926 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4927 |
|
#endif |
| 4928 |
|
|
| 4933 |
|
int i; |
| 4934 |
|
for (i = 0; i < 256; i++) |
| 4935 |
|
if (XOR (islower (i), ISLOWER (i)) |
| 4936 |
< |
|| toupper (i) != TOUPPER (i)) |
| 4936 |
> |
|| toupper (i) != TOUPPER (i)) |
| 4937 |
|
exit(2); |
| 4938 |
|
exit (0); |
| 4939 |
|
} |
| 4958 |
|
( exit $ac_status ) |
| 4959 |
|
ac_cv_header_stdc=no |
| 4960 |
|
fi |
| 4961 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4961 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4962 |
|
fi |
| 4963 |
|
fi |
| 4964 |
|
fi |
| 4983 |
|
|
| 4984 |
|
|
| 4985 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4986 |
< |
inttypes.h stdint.h unistd.h |
| 4986 |
> |
inttypes.h stdint.h unistd.h |
| 4987 |
> |
do |
| 4988 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4989 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4990 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4991 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4992 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4993 |
> |
else |
| 4994 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4995 |
> |
/* confdefs.h. */ |
| 4996 |
> |
_ACEOF |
| 4997 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4998 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4999 |
> |
/* end confdefs.h. */ |
| 5000 |
> |
$ac_includes_default |
| 5001 |
> |
|
| 5002 |
> |
#include <$ac_header> |
| 5003 |
> |
_ACEOF |
| 5004 |
> |
rm -f conftest.$ac_objext |
| 5005 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5006 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5007 |
> |
ac_status=$? |
| 5008 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5009 |
> |
rm -f conftest.er1 |
| 5010 |
> |
cat conftest.err >&5 |
| 5011 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5012 |
> |
(exit $ac_status); } && |
| 5013 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5014 |
> |
|| test ! -s conftest.err' |
| 5015 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5016 |
> |
(eval $ac_try) 2>&5 |
| 5017 |
> |
ac_status=$? |
| 5018 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5019 |
> |
(exit $ac_status); }; } && |
| 5020 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5021 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5022 |
> |
(eval $ac_try) 2>&5 |
| 5023 |
> |
ac_status=$? |
| 5024 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5025 |
> |
(exit $ac_status); }; }; then |
| 5026 |
> |
eval "$as_ac_Header=yes" |
| 5027 |
> |
else |
| 5028 |
> |
echo "$as_me: failed program was:" >&5 |
| 5029 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5030 |
> |
|
| 5031 |
> |
eval "$as_ac_Header=no" |
| 5032 |
> |
fi |
| 5033 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5034 |
> |
fi |
| 5035 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5036 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5037 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5038 |
> |
cat >>confdefs.h <<_ACEOF |
| 5039 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5040 |
> |
_ACEOF |
| 5041 |
> |
|
| 5042 |
> |
fi |
| 5043 |
> |
|
| 5044 |
> |
done |
| 5045 |
> |
|
| 5046 |
> |
|
| 5047 |
> |
# |
| 5048 |
> |
# Handle user hints |
| 5049 |
> |
# |
| 5050 |
> |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 5051 |
> |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 5052 |
> |
|
| 5053 |
> |
# Check whether --with-zlib or --without-zlib was given. |
| 5054 |
> |
if test "${with_zlib+set}" = set; then |
| 5055 |
> |
withval="$with_zlib" |
| 5056 |
> |
if test "$withval" != no ; then |
| 5057 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5058 |
> |
echo "${ECHO_T}yes" >&6 |
| 5059 |
> |
if test -d "$withval" |
| 5060 |
> |
then |
| 5061 |
> |
ZLIB_HOME="$withval" |
| 5062 |
> |
else |
| 5063 |
> |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 5064 |
> |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 5065 |
> |
fi |
| 5066 |
> |
else |
| 5067 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 5068 |
> |
echo "${ECHO_T}no" >&6 |
| 5069 |
> |
fi |
| 5070 |
> |
fi; |
| 5071 |
> |
|
| 5072 |
> |
ZLIB_HOME=/usr/local |
| 5073 |
> |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 5074 |
> |
then |
| 5075 |
> |
ZLIB_HOME=/usr |
| 5076 |
> |
fi |
| 5077 |
> |
|
| 5078 |
> |
# |
| 5079 |
> |
# Locate zlib, if wanted |
| 5080 |
> |
# |
| 5081 |
> |
if test -n "${ZLIB_HOME}" |
| 5082 |
> |
then |
| 5083 |
> |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 5084 |
> |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 5085 |
> |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5086 |
> |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5087 |
> |
|
| 5088 |
> |
|
| 5089 |
> |
ac_ext=c |
| 5090 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 5091 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5092 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5093 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5094 |
> |
|
| 5095 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5096 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5097 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5098 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5099 |
> |
else |
| 5100 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 5101 |
> |
LIBS="-lz $LIBS" |
| 5102 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5103 |
> |
/* confdefs.h. */ |
| 5104 |
> |
_ACEOF |
| 5105 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5106 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5107 |
> |
/* end confdefs.h. */ |
| 5108 |
> |
|
| 5109 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5110 |
> |
#ifdef __cplusplus |
| 5111 |
> |
extern "C" |
| 5112 |
> |
#endif |
| 5113 |
> |
/* We use char because int might match the return type of a gcc2 |
| 5114 |
> |
builtin and then its argument prototype would still apply. */ |
| 5115 |
> |
char inflateEnd (); |
| 5116 |
> |
int |
| 5117 |
> |
main () |
| 5118 |
> |
{ |
| 5119 |
> |
inflateEnd (); |
| 5120 |
> |
; |
| 5121 |
> |
return 0; |
| 5122 |
> |
} |
| 5123 |
> |
_ACEOF |
| 5124 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5125 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5126 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5127 |
> |
ac_status=$? |
| 5128 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5129 |
> |
rm -f conftest.er1 |
| 5130 |
> |
cat conftest.err >&5 |
| 5131 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5132 |
> |
(exit $ac_status); } && |
| 5133 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5134 |
> |
|| test ! -s conftest.err' |
| 5135 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5136 |
> |
(eval $ac_try) 2>&5 |
| 5137 |
> |
ac_status=$? |
| 5138 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5139 |
> |
(exit $ac_status); }; } && |
| 5140 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 5141 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5142 |
> |
(eval $ac_try) 2>&5 |
| 5143 |
> |
ac_status=$? |
| 5144 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5145 |
> |
(exit $ac_status); }; }; then |
| 5146 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 5147 |
> |
else |
| 5148 |
> |
echo "$as_me: failed program was:" >&5 |
| 5149 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5150 |
> |
|
| 5151 |
> |
ac_cv_lib_z_inflateEnd=no |
| 5152 |
> |
fi |
| 5153 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5154 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5155 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 5156 |
> |
fi |
| 5157 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5158 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5159 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5160 |
> |
zlib_cv_libz=yes |
| 5161 |
> |
else |
| 5162 |
> |
zlib_cv_libz=no |
| 5163 |
> |
fi |
| 5164 |
> |
|
| 5165 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5166 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5167 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5168 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5169 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5170 |
> |
fi |
| 5171 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5172 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5173 |
> |
else |
| 5174 |
> |
# Is the header compilable? |
| 5175 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 5176 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 5177 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5178 |
> |
/* confdefs.h. */ |
| 5179 |
> |
_ACEOF |
| 5180 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5181 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5182 |
> |
/* end confdefs.h. */ |
| 5183 |
> |
$ac_includes_default |
| 5184 |
> |
#include <zlib.h> |
| 5185 |
> |
_ACEOF |
| 5186 |
> |
rm -f conftest.$ac_objext |
| 5187 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5188 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5189 |
> |
ac_status=$? |
| 5190 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5191 |
> |
rm -f conftest.er1 |
| 5192 |
> |
cat conftest.err >&5 |
| 5193 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5194 |
> |
(exit $ac_status); } && |
| 5195 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5196 |
> |
|| test ! -s conftest.err' |
| 5197 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5198 |
> |
(eval $ac_try) 2>&5 |
| 5199 |
> |
ac_status=$? |
| 5200 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5201 |
> |
(exit $ac_status); }; } && |
| 5202 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5203 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5204 |
> |
(eval $ac_try) 2>&5 |
| 5205 |
> |
ac_status=$? |
| 5206 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5207 |
> |
(exit $ac_status); }; }; then |
| 5208 |
> |
ac_header_compiler=yes |
| 5209 |
> |
else |
| 5210 |
> |
echo "$as_me: failed program was:" >&5 |
| 5211 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5212 |
> |
|
| 5213 |
> |
ac_header_compiler=no |
| 5214 |
> |
fi |
| 5215 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5216 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5217 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5218 |
> |
|
| 5219 |
> |
# Is the header present? |
| 5220 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 5221 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 5222 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5223 |
> |
/* confdefs.h. */ |
| 5224 |
> |
_ACEOF |
| 5225 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5226 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5227 |
> |
/* end confdefs.h. */ |
| 5228 |
> |
#include <zlib.h> |
| 5229 |
> |
_ACEOF |
| 5230 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5231 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5232 |
> |
ac_status=$? |
| 5233 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5234 |
> |
rm -f conftest.er1 |
| 5235 |
> |
cat conftest.err >&5 |
| 5236 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5237 |
> |
(exit $ac_status); } >/dev/null; then |
| 5238 |
> |
if test -s conftest.err; then |
| 5239 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5240 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5241 |
> |
else |
| 5242 |
> |
ac_cpp_err= |
| 5243 |
> |
fi |
| 5244 |
> |
else |
| 5245 |
> |
ac_cpp_err=yes |
| 5246 |
> |
fi |
| 5247 |
> |
if test -z "$ac_cpp_err"; then |
| 5248 |
> |
ac_header_preproc=yes |
| 5249 |
> |
else |
| 5250 |
> |
echo "$as_me: failed program was:" >&5 |
| 5251 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5252 |
> |
|
| 5253 |
> |
ac_header_preproc=no |
| 5254 |
> |
fi |
| 5255 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5256 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5257 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5258 |
> |
|
| 5259 |
> |
# So? What about this header? |
| 5260 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5261 |
> |
yes:no: ) |
| 5262 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5263 |
> |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5264 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 5265 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 5266 |
> |
ac_header_preproc=yes |
| 5267 |
> |
;; |
| 5268 |
> |
no:yes:* ) |
| 5269 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
| 5270 |
> |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 5271 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 5272 |
> |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 5273 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 5274 |
> |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 5275 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 5276 |
> |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5277 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 5278 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 5279 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 5280 |
> |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 5281 |
> |
( |
| 5282 |
> |
cat <<\_ASBOX |
| 5283 |
> |
## ------------------------------ ## |
| 5284 |
> |
## Report this to gezelter@nd.edu ## |
| 5285 |
> |
## ------------------------------ ## |
| 5286 |
> |
_ASBOX |
| 5287 |
> |
) | |
| 5288 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5289 |
> |
;; |
| 5290 |
> |
esac |
| 5291 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5292 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5293 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5294 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5295 |
> |
else |
| 5296 |
> |
ac_cv_header_zlib_h=$ac_header_preproc |
| 5297 |
> |
fi |
| 5298 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5299 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5300 |
> |
|
| 5301 |
> |
fi |
| 5302 |
> |
if test $ac_cv_header_zlib_h = yes; then |
| 5303 |
> |
zlib_cv_zlib_h=yes |
| 5304 |
> |
else |
| 5305 |
> |
zlib_cv_zlib_h=no |
| 5306 |
> |
fi |
| 5307 |
> |
|
| 5308 |
> |
|
| 5309 |
> |
ac_ext=c |
| 5310 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 5311 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5312 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5313 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5314 |
> |
|
| 5315 |
> |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 5316 |
> |
then |
| 5317 |
> |
# |
| 5318 |
> |
# If both library and header were found, use them |
| 5319 |
> |
# |
| 5320 |
> |
|
| 5321 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5322 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5323 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5324 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5325 |
> |
else |
| 5326 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 5327 |
> |
LIBS="-lz $LIBS" |
| 5328 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5329 |
> |
/* confdefs.h. */ |
| 5330 |
> |
_ACEOF |
| 5331 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5332 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5333 |
> |
/* end confdefs.h. */ |
| 5334 |
> |
|
| 5335 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5336 |
> |
#ifdef __cplusplus |
| 5337 |
> |
extern "C" |
| 5338 |
> |
#endif |
| 5339 |
> |
/* We use char because int might match the return type of a gcc2 |
| 5340 |
> |
builtin and then its argument prototype would still apply. */ |
| 5341 |
> |
char inflateEnd (); |
| 5342 |
> |
int |
| 5343 |
> |
main () |
| 5344 |
> |
{ |
| 5345 |
> |
inflateEnd (); |
| 5346 |
> |
; |
| 5347 |
> |
return 0; |
| 5348 |
> |
} |
| 5349 |
> |
_ACEOF |
| 5350 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5351 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5352 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5353 |
> |
ac_status=$? |
| 5354 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5355 |
> |
rm -f conftest.er1 |
| 5356 |
> |
cat conftest.err >&5 |
| 5357 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5358 |
> |
(exit $ac_status); } && |
| 5359 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5360 |
> |
|| test ! -s conftest.err' |
| 5361 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5362 |
> |
(eval $ac_try) 2>&5 |
| 5363 |
> |
ac_status=$? |
| 5364 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5365 |
> |
(exit $ac_status); }; } && |
| 5366 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 5367 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5368 |
> |
(eval $ac_try) 2>&5 |
| 5369 |
> |
ac_status=$? |
| 5370 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5371 |
> |
(exit $ac_status); }; }; then |
| 5372 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 5373 |
> |
else |
| 5374 |
> |
echo "$as_me: failed program was:" >&5 |
| 5375 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5376 |
> |
|
| 5377 |
> |
ac_cv_lib_z_inflateEnd=no |
| 5378 |
> |
fi |
| 5379 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5380 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5381 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 5382 |
> |
fi |
| 5383 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5384 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5385 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5386 |
> |
cat >>confdefs.h <<_ACEOF |
| 5387 |
> |
#define HAVE_LIBZ 1 |
| 5388 |
> |
_ACEOF |
| 5389 |
> |
|
| 5390 |
> |
LIBS="-lz $LIBS" |
| 5391 |
> |
|
| 5392 |
> |
fi |
| 5393 |
> |
|
| 5394 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5395 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5396 |
> |
echo "$as_me:$LINENO: result: ok" >&5 |
| 5397 |
> |
echo "${ECHO_T}ok" >&6 |
| 5398 |
> |
else |
| 5399 |
> |
# |
| 5400 |
> |
# If either header or library was not found, revert and bomb |
| 5401 |
> |
# |
| 5402 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5403 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5404 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 5405 |
> |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 5406 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 5407 |
> |
echo "${ECHO_T}failed" >&6 |
| 5408 |
> |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 5409 |
> |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 5410 |
> |
{ (exit 1); exit 1; }; } |
| 5411 |
> |
fi |
| 5412 |
> |
fi |
| 5413 |
> |
|
| 5414 |
> |
|
| 5415 |
> |
|
| 5416 |
> |
|
| 5417 |
> |
|
| 5418 |
> |
|
| 5419 |
> |
|
| 5420 |
> |
|
| 5421 |
> |
for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h |
| 5422 |
|
do |
| 5423 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5424 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5425 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5426 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5427 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5428 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5429 |
+ |
fi |
| 5430 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5431 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5432 |
+ |
else |
| 5433 |
+ |
# Is the header compilable? |
| 5434 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5435 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5436 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5437 |
+ |
/* confdefs.h. */ |
| 5438 |
+ |
_ACEOF |
| 5439 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5440 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5441 |
+ |
/* end confdefs.h. */ |
| 5442 |
+ |
$ac_includes_default |
| 5443 |
+ |
#include <$ac_header> |
| 5444 |
+ |
_ACEOF |
| 5445 |
+ |
rm -f conftest.$ac_objext |
| 5446 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5447 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 5448 |
+ |
ac_status=$? |
| 5449 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5450 |
+ |
rm -f conftest.er1 |
| 5451 |
+ |
cat conftest.err >&5 |
| 5452 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5453 |
+ |
(exit $ac_status); } && |
| 5454 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5455 |
+ |
|| test ! -s conftest.err' |
| 5456 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5457 |
+ |
(eval $ac_try) 2>&5 |
| 5458 |
+ |
ac_status=$? |
| 5459 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5460 |
+ |
(exit $ac_status); }; } && |
| 5461 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5462 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5463 |
+ |
(eval $ac_try) 2>&5 |
| 5464 |
+ |
ac_status=$? |
| 5465 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5466 |
+ |
(exit $ac_status); }; }; then |
| 5467 |
+ |
ac_header_compiler=yes |
| 5468 |
+ |
else |
| 5469 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5470 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5471 |
+ |
|
| 5472 |
+ |
ac_header_compiler=no |
| 5473 |
+ |
fi |
| 5474 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5475 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5476 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5477 |
+ |
|
| 5478 |
+ |
# Is the header present? |
| 5479 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5480 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5481 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5482 |
+ |
/* confdefs.h. */ |
| 5483 |
+ |
_ACEOF |
| 5484 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5485 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5486 |
+ |
/* end confdefs.h. */ |
| 5487 |
+ |
#include <$ac_header> |
| 5488 |
+ |
_ACEOF |
| 5489 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5490 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5491 |
+ |
ac_status=$? |
| 5492 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5493 |
+ |
rm -f conftest.er1 |
| 5494 |
+ |
cat conftest.err >&5 |
| 5495 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5496 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5497 |
+ |
if test -s conftest.err; then |
| 5498 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5499 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5500 |
+ |
else |
| 5501 |
+ |
ac_cpp_err= |
| 5502 |
+ |
fi |
| 5503 |
+ |
else |
| 5504 |
+ |
ac_cpp_err=yes |
| 5505 |
+ |
fi |
| 5506 |
+ |
if test -z "$ac_cpp_err"; then |
| 5507 |
+ |
ac_header_preproc=yes |
| 5508 |
+ |
else |
| 5509 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5510 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5511 |
+ |
|
| 5512 |
+ |
ac_header_preproc=no |
| 5513 |
+ |
fi |
| 5514 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5515 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5516 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5517 |
+ |
|
| 5518 |
+ |
# So? What about this header? |
| 5519 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5520 |
+ |
yes:no: ) |
| 5521 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5522 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5523 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5524 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5525 |
+ |
ac_header_preproc=yes |
| 5526 |
+ |
;; |
| 5527 |
+ |
no:yes:* ) |
| 5528 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5529 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5530 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5531 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5532 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5533 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5534 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5535 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5536 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5537 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5538 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5539 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5540 |
+ |
( |
| 5541 |
+ |
cat <<\_ASBOX |
| 5542 |
+ |
## ------------------------------ ## |
| 5543 |
+ |
## Report this to gezelter@nd.edu ## |
| 5544 |
+ |
## ------------------------------ ## |
| 5545 |
+ |
_ASBOX |
| 5546 |
+ |
) | |
| 5547 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5548 |
+ |
;; |
| 5549 |
+ |
esac |
| 5550 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5551 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5552 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5553 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5554 |
+ |
else |
| 5555 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5556 |
+ |
fi |
| 5557 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5558 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5559 |
+ |
|
| 5560 |
+ |
fi |
| 5561 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5562 |
+ |
cat >>confdefs.h <<_ACEOF |
| 5563 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5564 |
+ |
_ACEOF |
| 5565 |
+ |
|
| 5566 |
+ |
fi |
| 5567 |
+ |
|
| 5568 |
+ |
done |
| 5569 |
+ |
|
| 5570 |
+ |
|
| 5571 |
+ |
|
| 5572 |
+ |
|
| 5573 |
+ |
|
| 5574 |
+ |
|
| 5575 |
+ |
for ac_header in strstream.h iostream.h fstream.h math.h time.h |
| 5576 |
+ |
do |
| 5577 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5578 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5579 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5580 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5581 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5582 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5583 |
+ |
fi |
| 5584 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5585 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5586 |
+ |
else |
| 5587 |
+ |
# Is the header compilable? |
| 5588 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5589 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5590 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5591 |
+ |
/* confdefs.h. */ |
| 5592 |
+ |
_ACEOF |
| 5593 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5594 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5595 |
+ |
/* end confdefs.h. */ |
| 5596 |
+ |
$ac_includes_default |
| 5597 |
+ |
#include <$ac_header> |
| 5598 |
+ |
_ACEOF |
| 5599 |
+ |
rm -f conftest.$ac_objext |
| 5600 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5601 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 5602 |
+ |
ac_status=$? |
| 5603 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5604 |
+ |
rm -f conftest.er1 |
| 5605 |
+ |
cat conftest.err >&5 |
| 5606 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5607 |
+ |
(exit $ac_status); } && |
| 5608 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5609 |
+ |
|| test ! -s conftest.err' |
| 5610 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5611 |
+ |
(eval $ac_try) 2>&5 |
| 5612 |
+ |
ac_status=$? |
| 5613 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5614 |
+ |
(exit $ac_status); }; } && |
| 5615 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5616 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5617 |
+ |
(eval $ac_try) 2>&5 |
| 5618 |
+ |
ac_status=$? |
| 5619 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5620 |
+ |
(exit $ac_status); }; }; then |
| 5621 |
+ |
ac_header_compiler=yes |
| 5622 |
+ |
else |
| 5623 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5624 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5625 |
+ |
|
| 5626 |
+ |
ac_header_compiler=no |
| 5627 |
+ |
fi |
| 5628 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5629 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5630 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5631 |
+ |
|
| 5632 |
+ |
# Is the header present? |
| 5633 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5634 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5635 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5636 |
+ |
/* confdefs.h. */ |
| 5637 |
+ |
_ACEOF |
| 5638 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5639 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5640 |
+ |
/* end confdefs.h. */ |
| 5641 |
+ |
#include <$ac_header> |
| 5642 |
+ |
_ACEOF |
| 5643 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5644 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5645 |
+ |
ac_status=$? |
| 5646 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5647 |
+ |
rm -f conftest.er1 |
| 5648 |
+ |
cat conftest.err >&5 |
| 5649 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5650 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5651 |
+ |
if test -s conftest.err; then |
| 5652 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5653 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5654 |
+ |
else |
| 5655 |
+ |
ac_cpp_err= |
| 5656 |
+ |
fi |
| 5657 |
+ |
else |
| 5658 |
+ |
ac_cpp_err=yes |
| 5659 |
+ |
fi |
| 5660 |
+ |
if test -z "$ac_cpp_err"; then |
| 5661 |
+ |
ac_header_preproc=yes |
| 5662 |
+ |
else |
| 5663 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5664 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5665 |
+ |
|
| 5666 |
+ |
ac_header_preproc=no |
| 5667 |
+ |
fi |
| 5668 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5669 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5670 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5671 |
+ |
|
| 5672 |
+ |
# So? What about this header? |
| 5673 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5674 |
+ |
yes:no: ) |
| 5675 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5676 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5677 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5678 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5679 |
+ |
ac_header_preproc=yes |
| 5680 |
+ |
;; |
| 5681 |
+ |
no:yes:* ) |
| 5682 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5683 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5684 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5685 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5686 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5687 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5688 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5689 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5690 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5691 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5692 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5693 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5694 |
+ |
( |
| 5695 |
+ |
cat <<\_ASBOX |
| 5696 |
+ |
## ------------------------------ ## |
| 5697 |
+ |
## Report this to gezelter@nd.edu ## |
| 5698 |
+ |
## ------------------------------ ## |
| 5699 |
+ |
_ASBOX |
| 5700 |
+ |
) | |
| 5701 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5702 |
+ |
;; |
| 5703 |
+ |
esac |
| 5704 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5705 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5706 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5707 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5708 |
|
else |
| 5709 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5710 |
+ |
fi |
| 5711 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5712 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5713 |
+ |
|
| 5714 |
+ |
fi |
| 5715 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5716 |
+ |
cat >>confdefs.h <<_ACEOF |
| 5717 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5718 |
+ |
_ACEOF |
| 5719 |
+ |
|
| 5720 |
+ |
fi |
| 5721 |
+ |
|
| 5722 |
+ |
done |
| 5723 |
+ |
|
| 5724 |
+ |
ac_ext=cc |
| 5725 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5726 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5727 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5728 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5729 |
+ |
|
| 5730 |
+ |
ac_ext=cc |
| 5731 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5732 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5733 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5734 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5735 |
+ |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 5736 |
+ |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 5737 |
+ |
if test -z "$CXXCPP"; then |
| 5738 |
+ |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 5739 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5740 |
+ |
else |
| 5741 |
+ |
# Double quotes because CXXCPP needs to be expanded |
| 5742 |
+ |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 5743 |
+ |
do |
| 5744 |
+ |
ac_preproc_ok=false |
| 5745 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
| 5746 |
+ |
do |
| 5747 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 5748 |
+ |
# with a fresh cross-compiler works. |
| 5749 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5750 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 5751 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5752 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5753 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4680 |
– |
#line $LINENO "configure" |
| 5754 |
|
/* confdefs.h. */ |
| 5755 |
|
_ACEOF |
| 5756 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5757 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5758 |
|
/* end confdefs.h. */ |
| 5759 |
< |
$ac_includes_default |
| 5759 |
> |
#ifdef __STDC__ |
| 5760 |
> |
# include <limits.h> |
| 5761 |
> |
#else |
| 5762 |
> |
# include <assert.h> |
| 5763 |
> |
#endif |
| 5764 |
> |
Syntax error |
| 5765 |
> |
_ACEOF |
| 5766 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5767 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5768 |
> |
ac_status=$? |
| 5769 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5770 |
> |
rm -f conftest.er1 |
| 5771 |
> |
cat conftest.err >&5 |
| 5772 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5773 |
> |
(exit $ac_status); } >/dev/null; then |
| 5774 |
> |
if test -s conftest.err; then |
| 5775 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5776 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5777 |
> |
else |
| 5778 |
> |
ac_cpp_err= |
| 5779 |
> |
fi |
| 5780 |
> |
else |
| 5781 |
> |
ac_cpp_err=yes |
| 5782 |
> |
fi |
| 5783 |
> |
if test -z "$ac_cpp_err"; then |
| 5784 |
> |
: |
| 5785 |
> |
else |
| 5786 |
> |
echo "$as_me: failed program was:" >&5 |
| 5787 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5788 |
|
|
| 5789 |
+ |
# Broken: fails on valid input. |
| 5790 |
+ |
continue |
| 5791 |
+ |
fi |
| 5792 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5793 |
+ |
|
| 5794 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 5795 |
+ |
# can be detected and how. |
| 5796 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5797 |
+ |
/* confdefs.h. */ |
| 5798 |
+ |
_ACEOF |
| 5799 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5800 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5801 |
+ |
/* end confdefs.h. */ |
| 5802 |
+ |
#include <ac_nonexistent.h> |
| 5803 |
+ |
_ACEOF |
| 5804 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5805 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5806 |
+ |
ac_status=$? |
| 5807 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5808 |
+ |
rm -f conftest.er1 |
| 5809 |
+ |
cat conftest.err >&5 |
| 5810 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5811 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5812 |
+ |
if test -s conftest.err; then |
| 5813 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5814 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5815 |
+ |
else |
| 5816 |
+ |
ac_cpp_err= |
| 5817 |
+ |
fi |
| 5818 |
+ |
else |
| 5819 |
+ |
ac_cpp_err=yes |
| 5820 |
+ |
fi |
| 5821 |
+ |
if test -z "$ac_cpp_err"; then |
| 5822 |
+ |
# Broken: success on invalid input. |
| 5823 |
+ |
continue |
| 5824 |
+ |
else |
| 5825 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5826 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5827 |
+ |
|
| 5828 |
+ |
# Passes both tests. |
| 5829 |
+ |
ac_preproc_ok=: |
| 5830 |
+ |
break |
| 5831 |
+ |
fi |
| 5832 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5833 |
+ |
|
| 5834 |
+ |
done |
| 5835 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5836 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5837 |
+ |
if $ac_preproc_ok; then |
| 5838 |
+ |
break |
| 5839 |
+ |
fi |
| 5840 |
+ |
|
| 5841 |
+ |
done |
| 5842 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
| 5843 |
+ |
|
| 5844 |
+ |
fi |
| 5845 |
+ |
CXXCPP=$ac_cv_prog_CXXCPP |
| 5846 |
+ |
else |
| 5847 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
| 5848 |
+ |
fi |
| 5849 |
+ |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 5850 |
+ |
echo "${ECHO_T}$CXXCPP" >&6 |
| 5851 |
+ |
ac_preproc_ok=false |
| 5852 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
| 5853 |
+ |
do |
| 5854 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 5855 |
+ |
# with a fresh cross-compiler works. |
| 5856 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5857 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 5858 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5859 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5860 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5861 |
+ |
/* confdefs.h. */ |
| 5862 |
+ |
_ACEOF |
| 5863 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5864 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5865 |
+ |
/* end confdefs.h. */ |
| 5866 |
+ |
#ifdef __STDC__ |
| 5867 |
+ |
# include <limits.h> |
| 5868 |
+ |
#else |
| 5869 |
+ |
# include <assert.h> |
| 5870 |
+ |
#endif |
| 5871 |
+ |
Syntax error |
| 5872 |
+ |
_ACEOF |
| 5873 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5874 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5875 |
+ |
ac_status=$? |
| 5876 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5877 |
+ |
rm -f conftest.er1 |
| 5878 |
+ |
cat conftest.err >&5 |
| 5879 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5880 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5881 |
+ |
if test -s conftest.err; then |
| 5882 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5883 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5884 |
+ |
else |
| 5885 |
+ |
ac_cpp_err= |
| 5886 |
+ |
fi |
| 5887 |
+ |
else |
| 5888 |
+ |
ac_cpp_err=yes |
| 5889 |
+ |
fi |
| 5890 |
+ |
if test -z "$ac_cpp_err"; then |
| 5891 |
+ |
: |
| 5892 |
+ |
else |
| 5893 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5894 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5895 |
+ |
|
| 5896 |
+ |
# Broken: fails on valid input. |
| 5897 |
+ |
continue |
| 5898 |
+ |
fi |
| 5899 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5900 |
+ |
|
| 5901 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 5902 |
+ |
# can be detected and how. |
| 5903 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5904 |
+ |
/* confdefs.h. */ |
| 5905 |
+ |
_ACEOF |
| 5906 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5907 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5908 |
+ |
/* end confdefs.h. */ |
| 5909 |
+ |
#include <ac_nonexistent.h> |
| 5910 |
+ |
_ACEOF |
| 5911 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5912 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5913 |
+ |
ac_status=$? |
| 5914 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5915 |
+ |
rm -f conftest.er1 |
| 5916 |
+ |
cat conftest.err >&5 |
| 5917 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5918 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5919 |
+ |
if test -s conftest.err; then |
| 5920 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5921 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5922 |
+ |
else |
| 5923 |
+ |
ac_cpp_err= |
| 5924 |
+ |
fi |
| 5925 |
+ |
else |
| 5926 |
+ |
ac_cpp_err=yes |
| 5927 |
+ |
fi |
| 5928 |
+ |
if test -z "$ac_cpp_err"; then |
| 5929 |
+ |
# Broken: success on invalid input. |
| 5930 |
+ |
continue |
| 5931 |
+ |
else |
| 5932 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5933 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5934 |
+ |
|
| 5935 |
+ |
# Passes both tests. |
| 5936 |
+ |
ac_preproc_ok=: |
| 5937 |
+ |
break |
| 5938 |
+ |
fi |
| 5939 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5940 |
+ |
|
| 5941 |
+ |
done |
| 5942 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5943 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5944 |
+ |
if $ac_preproc_ok; then |
| 5945 |
+ |
: |
| 5946 |
+ |
else |
| 5947 |
+ |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5948 |
+ |
See \`config.log' for more details." >&5 |
| 5949 |
+ |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5950 |
+ |
See \`config.log' for more details." >&2;} |
| 5951 |
+ |
{ (exit 1); exit 1; }; } |
| 5952 |
+ |
fi |
| 5953 |
+ |
|
| 5954 |
+ |
ac_ext=cc |
| 5955 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5956 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5957 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5958 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5959 |
+ |
|
| 5960 |
+ |
|
| 5961 |
+ |
|
| 5962 |
+ |
|
| 5963 |
+ |
|
| 5964 |
+ |
|
| 5965 |
+ |
|
| 5966 |
+ |
for ac_header in ctype.h iostream fstream sstream strstream |
| 5967 |
+ |
do |
| 5968 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5969 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5970 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5971 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5972 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5973 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5974 |
+ |
fi |
| 5975 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5976 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5977 |
+ |
else |
| 5978 |
+ |
# Is the header compilable? |
| 5979 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5980 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5981 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5982 |
+ |
/* confdefs.h. */ |
| 5983 |
+ |
_ACEOF |
| 5984 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5985 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5986 |
+ |
/* end confdefs.h. */ |
| 5987 |
+ |
$ac_includes_default |
| 5988 |
|
#include <$ac_header> |
| 5989 |
|
_ACEOF |
| 5990 |
|
rm -f conftest.$ac_objext |
| 5991 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5992 |
< |
(eval $ac_compile) 2>&5 |
| 5992 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5993 |
|
ac_status=$? |
| 5994 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5995 |
+ |
rm -f conftest.er1 |
| 5996 |
+ |
cat conftest.err >&5 |
| 5997 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5998 |
|
(exit $ac_status); } && |
| 5999 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5999 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6000 |
> |
|| test ! -s conftest.err' |
| 6001 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6002 |
|
(eval $ac_try) 2>&5 |
| 6003 |
|
ac_status=$? |
| 6004 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6005 |
+ |
(exit $ac_status); }; } && |
| 6006 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6007 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6008 |
+ |
(eval $ac_try) 2>&5 |
| 6009 |
+ |
ac_status=$? |
| 6010 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6011 |
|
(exit $ac_status); }; }; then |
| 6012 |
< |
eval "$as_ac_Header=yes" |
| 6012 |
> |
ac_header_compiler=yes |
| 6013 |
|
else |
| 6014 |
|
echo "$as_me: failed program was:" >&5 |
| 6015 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6016 |
|
|
| 6017 |
< |
eval "$as_ac_Header=no" |
| 6017 |
> |
ac_header_compiler=no |
| 6018 |
> |
fi |
| 6019 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6020 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6021 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6022 |
> |
|
| 6023 |
> |
# Is the header present? |
| 6024 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6025 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6026 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6027 |
> |
/* confdefs.h. */ |
| 6028 |
> |
_ACEOF |
| 6029 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6030 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6031 |
> |
/* end confdefs.h. */ |
| 6032 |
> |
#include <$ac_header> |
| 6033 |
> |
_ACEOF |
| 6034 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6035 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6036 |
> |
ac_status=$? |
| 6037 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6038 |
> |
rm -f conftest.er1 |
| 6039 |
> |
cat conftest.err >&5 |
| 6040 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6041 |
> |
(exit $ac_status); } >/dev/null; then |
| 6042 |
> |
if test -s conftest.err; then |
| 6043 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6044 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6045 |
> |
else |
| 6046 |
> |
ac_cpp_err= |
| 6047 |
> |
fi |
| 6048 |
> |
else |
| 6049 |
> |
ac_cpp_err=yes |
| 6050 |
> |
fi |
| 6051 |
> |
if test -z "$ac_cpp_err"; then |
| 6052 |
> |
ac_header_preproc=yes |
| 6053 |
> |
else |
| 6054 |
> |
echo "$as_me: failed program was:" >&5 |
| 6055 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6056 |
> |
|
| 6057 |
> |
ac_header_preproc=no |
| 6058 |
> |
fi |
| 6059 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6060 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6061 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6062 |
> |
|
| 6063 |
> |
# So? What about this header? |
| 6064 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 6065 |
> |
yes:no: ) |
| 6066 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6067 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6068 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6069 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6070 |
> |
ac_header_preproc=yes |
| 6071 |
> |
;; |
| 6072 |
> |
no:yes:* ) |
| 6073 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6074 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6075 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6076 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6077 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6078 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6079 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6080 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6081 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6082 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6083 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6084 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6085 |
> |
( |
| 6086 |
> |
cat <<\_ASBOX |
| 6087 |
> |
## ------------------------------ ## |
| 6088 |
> |
## Report this to gezelter@nd.edu ## |
| 6089 |
> |
## ------------------------------ ## |
| 6090 |
> |
_ASBOX |
| 6091 |
> |
) | |
| 6092 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6093 |
> |
;; |
| 6094 |
> |
esac |
| 6095 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6096 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6097 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6098 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6099 |
> |
else |
| 6100 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6101 |
> |
fi |
| 6102 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6103 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6104 |
> |
|
| 6105 |
> |
fi |
| 6106 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6107 |
> |
cat >>confdefs.h <<_ACEOF |
| 6108 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6109 |
> |
_ACEOF |
| 6110 |
> |
|
| 6111 |
> |
fi |
| 6112 |
> |
|
| 6113 |
> |
done |
| 6114 |
> |
|
| 6115 |
> |
ac_ext=c |
| 6116 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6117 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6118 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6119 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6120 |
> |
|
| 6121 |
> |
|
| 6122 |
> |
|
| 6123 |
> |
|
| 6124 |
> |
for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h |
| 6125 |
> |
do |
| 6126 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6127 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6128 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6129 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6130 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6131 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6132 |
> |
fi |
| 6133 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6134 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6135 |
> |
else |
| 6136 |
> |
# Is the header compilable? |
| 6137 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6138 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6139 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6140 |
> |
/* confdefs.h. */ |
| 6141 |
> |
_ACEOF |
| 6142 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6143 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6144 |
> |
/* end confdefs.h. */ |
| 6145 |
> |
$ac_includes_default |
| 6146 |
> |
#include <$ac_header> |
| 6147 |
> |
_ACEOF |
| 6148 |
> |
rm -f conftest.$ac_objext |
| 6149 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6150 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6151 |
> |
ac_status=$? |
| 6152 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6153 |
> |
rm -f conftest.er1 |
| 6154 |
> |
cat conftest.err >&5 |
| 6155 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6156 |
> |
(exit $ac_status); } && |
| 6157 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6158 |
> |
|| test ! -s conftest.err' |
| 6159 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6160 |
> |
(eval $ac_try) 2>&5 |
| 6161 |
> |
ac_status=$? |
| 6162 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6163 |
> |
(exit $ac_status); }; } && |
| 6164 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6165 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6166 |
> |
(eval $ac_try) 2>&5 |
| 6167 |
> |
ac_status=$? |
| 6168 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6169 |
> |
(exit $ac_status); }; }; then |
| 6170 |
> |
ac_header_compiler=yes |
| 6171 |
> |
else |
| 6172 |
> |
echo "$as_me: failed program was:" >&5 |
| 6173 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6174 |
> |
|
| 6175 |
> |
ac_header_compiler=no |
| 6176 |
> |
fi |
| 6177 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6178 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6179 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6180 |
> |
|
| 6181 |
> |
# Is the header present? |
| 6182 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6183 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6184 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6185 |
> |
/* confdefs.h. */ |
| 6186 |
> |
_ACEOF |
| 6187 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6188 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6189 |
> |
/* end confdefs.h. */ |
| 6190 |
> |
#include <$ac_header> |
| 6191 |
> |
_ACEOF |
| 6192 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6193 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6194 |
> |
ac_status=$? |
| 6195 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6196 |
> |
rm -f conftest.er1 |
| 6197 |
> |
cat conftest.err >&5 |
| 6198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6199 |
> |
(exit $ac_status); } >/dev/null; then |
| 6200 |
> |
if test -s conftest.err; then |
| 6201 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6202 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6203 |
> |
else |
| 6204 |
> |
ac_cpp_err= |
| 6205 |
> |
fi |
| 6206 |
> |
else |
| 6207 |
> |
ac_cpp_err=yes |
| 6208 |
> |
fi |
| 6209 |
> |
if test -z "$ac_cpp_err"; then |
| 6210 |
> |
ac_header_preproc=yes |
| 6211 |
> |
else |
| 6212 |
> |
echo "$as_me: failed program was:" >&5 |
| 6213 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6214 |
> |
|
| 6215 |
> |
ac_header_preproc=no |
| 6216 |
> |
fi |
| 6217 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6218 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6219 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6220 |
> |
|
| 6221 |
> |
# So? What about this header? |
| 6222 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6223 |
> |
yes:no: ) |
| 6224 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6225 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6226 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6227 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6228 |
> |
ac_header_preproc=yes |
| 6229 |
> |
;; |
| 6230 |
> |
no:yes:* ) |
| 6231 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6232 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6233 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6234 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6235 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6236 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6237 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6238 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6239 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6240 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6241 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6242 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6243 |
> |
( |
| 6244 |
> |
cat <<\_ASBOX |
| 6245 |
> |
## ------------------------------ ## |
| 6246 |
> |
## Report this to gezelter@nd.edu ## |
| 6247 |
> |
## ------------------------------ ## |
| 6248 |
> |
_ASBOX |
| 6249 |
> |
) | |
| 6250 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6251 |
> |
;; |
| 6252 |
> |
esac |
| 6253 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6254 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6255 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6256 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6257 |
> |
else |
| 6258 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6259 |
> |
fi |
| 6260 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6261 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6262 |
> |
|
| 6263 |
> |
fi |
| 6264 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6265 |
> |
cat >>confdefs.h <<_ACEOF |
| 6266 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6267 |
> |
_ACEOF |
| 6268 |
> |
|
| 6269 |
> |
fi |
| 6270 |
> |
|
| 6271 |
> |
done |
| 6272 |
> |
|
| 6273 |
> |
|
| 6274 |
> |
|
| 6275 |
> |
|
| 6276 |
> |
|
| 6277 |
> |
for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h |
| 6278 |
> |
do |
| 6279 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6280 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6281 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6282 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6283 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6284 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6285 |
> |
fi |
| 6286 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6287 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6288 |
> |
else |
| 6289 |
> |
# Is the header compilable? |
| 6290 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6291 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6292 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6293 |
> |
/* confdefs.h. */ |
| 6294 |
> |
_ACEOF |
| 6295 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6296 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6297 |
> |
/* end confdefs.h. */ |
| 6298 |
> |
$ac_includes_default |
| 6299 |
> |
#include <$ac_header> |
| 6300 |
> |
_ACEOF |
| 6301 |
> |
rm -f conftest.$ac_objext |
| 6302 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6303 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6304 |
> |
ac_status=$? |
| 6305 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6306 |
> |
rm -f conftest.er1 |
| 6307 |
> |
cat conftest.err >&5 |
| 6308 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6309 |
> |
(exit $ac_status); } && |
| 6310 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6311 |
> |
|| test ! -s conftest.err' |
| 6312 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6313 |
> |
(eval $ac_try) 2>&5 |
| 6314 |
> |
ac_status=$? |
| 6315 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6316 |
> |
(exit $ac_status); }; } && |
| 6317 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6318 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6319 |
> |
(eval $ac_try) 2>&5 |
| 6320 |
> |
ac_status=$? |
| 6321 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6322 |
> |
(exit $ac_status); }; }; then |
| 6323 |
> |
ac_header_compiler=yes |
| 6324 |
> |
else |
| 6325 |
> |
echo "$as_me: failed program was:" >&5 |
| 6326 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6327 |
> |
|
| 6328 |
> |
ac_header_compiler=no |
| 6329 |
> |
fi |
| 6330 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6331 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6332 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6333 |
> |
|
| 6334 |
> |
# Is the header present? |
| 6335 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6336 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6337 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6338 |
> |
/* confdefs.h. */ |
| 6339 |
> |
_ACEOF |
| 6340 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6341 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6342 |
> |
/* end confdefs.h. */ |
| 6343 |
> |
#include <$ac_header> |
| 6344 |
> |
_ACEOF |
| 6345 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6346 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6347 |
> |
ac_status=$? |
| 6348 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6349 |
> |
rm -f conftest.er1 |
| 6350 |
> |
cat conftest.err >&5 |
| 6351 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6352 |
> |
(exit $ac_status); } >/dev/null; then |
| 6353 |
> |
if test -s conftest.err; then |
| 6354 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6355 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6356 |
> |
else |
| 6357 |
> |
ac_cpp_err= |
| 6358 |
> |
fi |
| 6359 |
> |
else |
| 6360 |
> |
ac_cpp_err=yes |
| 6361 |
> |
fi |
| 6362 |
> |
if test -z "$ac_cpp_err"; then |
| 6363 |
> |
ac_header_preproc=yes |
| 6364 |
> |
else |
| 6365 |
> |
echo "$as_me: failed program was:" >&5 |
| 6366 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6367 |
> |
|
| 6368 |
> |
ac_header_preproc=no |
| 6369 |
> |
fi |
| 6370 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6371 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6372 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6373 |
> |
|
| 6374 |
> |
# So? What about this header? |
| 6375 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6376 |
> |
yes:no: ) |
| 6377 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6378 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6379 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6380 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6381 |
> |
ac_header_preproc=yes |
| 6382 |
> |
;; |
| 6383 |
> |
no:yes:* ) |
| 6384 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6385 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6386 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6387 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6388 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6389 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6390 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6391 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6392 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6393 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6394 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6395 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6396 |
> |
( |
| 6397 |
> |
cat <<\_ASBOX |
| 6398 |
> |
## ------------------------------ ## |
| 6399 |
> |
## Report this to gezelter@nd.edu ## |
| 6400 |
> |
## ------------------------------ ## |
| 6401 |
> |
_ASBOX |
| 6402 |
> |
) | |
| 6403 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6404 |
> |
;; |
| 6405 |
> |
esac |
| 6406 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6407 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6408 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6409 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6410 |
> |
else |
| 6411 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6412 |
|
fi |
| 4709 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4710 |
– |
fi |
| 6413 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6414 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6415 |
+ |
|
| 6416 |
+ |
fi |
| 6417 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6418 |
|
cat >>confdefs.h <<_ACEOF |
| 6419 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6424 |
|
done |
| 6425 |
|
|
| 6426 |
|
|
| 6427 |
< |
|
| 4724 |
< |
|
| 4725 |
< |
|
| 4726 |
< |
|
| 4727 |
< |
|
| 4728 |
< |
|
| 4729 |
< |
|
| 4730 |
< |
|
| 4731 |
< |
|
| 4732 |
< |
for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h |
| 6427 |
> |
for ac_header in machine/hal_sysinfo.h |
| 6428 |
|
do |
| 6429 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6430 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6440 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6441 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6442 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4748 |
– |
#line $LINENO "configure" |
| 6443 |
|
/* confdefs.h. */ |
| 6444 |
|
_ACEOF |
| 6445 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6450 |
|
_ACEOF |
| 6451 |
|
rm -f conftest.$ac_objext |
| 6452 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6453 |
< |
(eval $ac_compile) 2>&5 |
| 6453 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6454 |
|
ac_status=$? |
| 6455 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6456 |
+ |
rm -f conftest.er1 |
| 6457 |
+ |
cat conftest.err >&5 |
| 6458 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6459 |
|
(exit $ac_status); } && |
| 6460 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6460 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6461 |
> |
|| test ! -s conftest.err' |
| 6462 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6463 |
|
(eval $ac_try) 2>&5 |
| 6464 |
|
ac_status=$? |
| 6465 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6466 |
+ |
(exit $ac_status); }; } && |
| 6467 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6468 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6469 |
+ |
(eval $ac_try) 2>&5 |
| 6470 |
+ |
ac_status=$? |
| 6471 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6472 |
|
(exit $ac_status); }; }; then |
| 6473 |
|
ac_header_compiler=yes |
| 6474 |
|
else |
| 6477 |
|
|
| 6478 |
|
ac_header_compiler=no |
| 6479 |
|
fi |
| 6480 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6480 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6481 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6482 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6483 |
|
|
| 6485 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6486 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6487 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4784 |
– |
#line $LINENO "configure" |
| 6488 |
|
/* confdefs.h. */ |
| 6489 |
|
_ACEOF |
| 6490 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6502 |
|
(exit $ac_status); } >/dev/null; then |
| 6503 |
|
if test -s conftest.err; then |
| 6504 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6505 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6506 |
|
else |
| 6507 |
|
ac_cpp_err= |
| 6508 |
|
fi |
| 6522 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6523 |
|
|
| 6524 |
|
# So? What about this header? |
| 6525 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 6526 |
< |
yes:no ) |
| 6525 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6526 |
> |
yes:no: ) |
| 6527 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6528 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6529 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6530 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6531 |
< |
( |
| 4828 |
< |
cat <<\_ASBOX |
| 4829 |
< |
## ------------------------------------ ## |
| 4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 4831 |
< |
## ------------------------------------ ## |
| 4832 |
< |
_ASBOX |
| 4833 |
< |
) | |
| 4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6529 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6530 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6531 |
> |
ac_header_preproc=yes |
| 6532 |
|
;; |
| 6533 |
< |
no:yes ) |
| 6533 |
> |
no:yes:* ) |
| 6534 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6535 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6536 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6537 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6536 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6537 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6538 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6539 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6540 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6541 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6542 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6543 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6544 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6545 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6546 |
|
( |
| 6547 |
|
cat <<\_ASBOX |
| 6548 |
< |
## ------------------------------------ ## |
| 6549 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 6550 |
< |
## ------------------------------------ ## |
| 6548 |
> |
## ------------------------------ ## |
| 6549 |
> |
## Report this to gezelter@nd.edu ## |
| 6550 |
> |
## ------------------------------ ## |
| 6551 |
|
_ASBOX |
| 6552 |
|
) | |
| 6553 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 6558 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6559 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6560 |
|
else |
| 6561 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
| 6561 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6562 |
|
fi |
| 6563 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6564 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6567 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6568 |
|
cat >>confdefs.h <<_ACEOF |
| 6569 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6570 |
+ |
_ACEOF |
| 6571 |
+ |
|
| 6572 |
+ |
fi |
| 6573 |
+ |
|
| 6574 |
+ |
done |
| 6575 |
+ |
|
| 6576 |
+ |
|
| 6577 |
+ |
|
| 6578 |
+ |
|
| 6579 |
+ |
|
| 6580 |
+ |
for ac_func in rint snprintf sranddev strncasecmp |
| 6581 |
+ |
do |
| 6582 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6583 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 6584 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 6585 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 6586 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6587 |
+ |
else |
| 6588 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6589 |
+ |
/* confdefs.h. */ |
| 6590 |
+ |
_ACEOF |
| 6591 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6592 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6593 |
+ |
/* end confdefs.h. */ |
| 6594 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6595 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6596 |
+ |
#define $ac_func innocuous_$ac_func |
| 6597 |
+ |
|
| 6598 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 6599 |
+ |
which can conflict with char $ac_func (); below. |
| 6600 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6601 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 6602 |
+ |
|
| 6603 |
+ |
#ifdef __STDC__ |
| 6604 |
+ |
# include <limits.h> |
| 6605 |
+ |
#else |
| 6606 |
+ |
# include <assert.h> |
| 6607 |
+ |
#endif |
| 6608 |
+ |
|
| 6609 |
+ |
#undef $ac_func |
| 6610 |
+ |
|
| 6611 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6612 |
+ |
#ifdef __cplusplus |
| 6613 |
+ |
extern "C" |
| 6614 |
+ |
{ |
| 6615 |
+ |
#endif |
| 6616 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 6617 |
+ |
builtin and then its argument prototype would still apply. */ |
| 6618 |
+ |
char $ac_func (); |
| 6619 |
+ |
/* The GNU C library defines this for functions which it implements |
| 6620 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 6621 |
+ |
something starting with __ and the normal name is an alias. */ |
| 6622 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 6623 |
+ |
choke me |
| 6624 |
+ |
#else |
| 6625 |
+ |
char (*f) () = $ac_func; |
| 6626 |
+ |
#endif |
| 6627 |
+ |
#ifdef __cplusplus |
| 6628 |
+ |
} |
| 6629 |
+ |
#endif |
| 6630 |
+ |
|
| 6631 |
+ |
int |
| 6632 |
+ |
main () |
| 6633 |
+ |
{ |
| 6634 |
+ |
return f != $ac_func; |
| 6635 |
+ |
; |
| 6636 |
+ |
return 0; |
| 6637 |
+ |
} |
| 6638 |
|
_ACEOF |
| 6639 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6640 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6641 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 6642 |
+ |
ac_status=$? |
| 6643 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6644 |
+ |
rm -f conftest.er1 |
| 6645 |
+ |
cat conftest.err >&5 |
| 6646 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6647 |
+ |
(exit $ac_status); } && |
| 6648 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6649 |
+ |
|| test ! -s conftest.err' |
| 6650 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6651 |
+ |
(eval $ac_try) 2>&5 |
| 6652 |
+ |
ac_status=$? |
| 6653 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6654 |
+ |
(exit $ac_status); }; } && |
| 6655 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6656 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6657 |
+ |
(eval $ac_try) 2>&5 |
| 6658 |
+ |
ac_status=$? |
| 6659 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6660 |
+ |
(exit $ac_status); }; }; then |
| 6661 |
+ |
eval "$as_ac_var=yes" |
| 6662 |
+ |
else |
| 6663 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6664 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6665 |
|
|
| 6666 |
+ |
eval "$as_ac_var=no" |
| 6667 |
|
fi |
| 6668 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 6669 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 6670 |
+ |
fi |
| 6671 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 6672 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 6673 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 6674 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6675 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6676 |
+ |
_ACEOF |
| 6677 |
|
|
| 6678 |
+ |
fi |
| 6679 |
|
done |
| 6680 |
|
|
| 6681 |
|
|
| 6692 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6693 |
|
else |
| 6694 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4887 |
– |
#line $LINENO "configure" |
| 6695 |
|
/* confdefs.h. */ |
| 6696 |
|
_ACEOF |
| 6697 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6698 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6699 |
|
/* end confdefs.h. */ |
| 6700 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6701 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6702 |
+ |
#define $ac_func innocuous_$ac_func |
| 6703 |
+ |
|
| 6704 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 6705 |
|
which can conflict with char $ac_func (); below. |
| 6706 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6707 |
|
<limits.h> exists even on freestanding compilers. */ |
| 6708 |
+ |
|
| 6709 |
|
#ifdef __STDC__ |
| 6710 |
|
# include <limits.h> |
| 6711 |
|
#else |
| 6712 |
|
# include <assert.h> |
| 6713 |
|
#endif |
| 6714 |
+ |
|
| 6715 |
+ |
#undef $ac_func |
| 6716 |
+ |
|
| 6717 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6718 |
|
#ifdef __cplusplus |
| 6719 |
|
extern "C" |
| 6744 |
|
_ACEOF |
| 6745 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6746 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6747 |
< |
(eval $ac_link) 2>&5 |
| 6747 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6748 |
|
ac_status=$? |
| 6749 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6750 |
+ |
rm -f conftest.er1 |
| 6751 |
+ |
cat conftest.err >&5 |
| 6752 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6753 |
|
(exit $ac_status); } && |
| 6754 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6754 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6755 |
> |
|| test ! -s conftest.err' |
| 6756 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6757 |
|
(eval $ac_try) 2>&5 |
| 6758 |
|
ac_status=$? |
| 6759 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6760 |
+ |
(exit $ac_status); }; } && |
| 6761 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6762 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6763 |
+ |
(eval $ac_try) 2>&5 |
| 6764 |
+ |
ac_status=$? |
| 6765 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6766 |
|
(exit $ac_status); }; }; then |
| 6767 |
|
eval "$as_ac_var=yes" |
| 6768 |
|
else |
| 6771 |
|
|
| 6772 |
|
eval "$as_ac_var=no" |
| 6773 |
|
fi |
| 6774 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6774 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6775 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6776 |
|
fi |
| 6777 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 6778 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 6789 |
|
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 6790 |
|
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 6791 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4966 |
– |
#line $LINENO "configure" |
| 6792 |
|
/* confdefs.h. */ |
| 6793 |
|
_ACEOF |
| 6794 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6805 |
|
_ACEOF |
| 6806 |
|
rm -f conftest.$ac_objext |
| 6807 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6808 |
< |
(eval $ac_compile) 2>&5 |
| 6808 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6809 |
|
ac_status=$? |
| 6810 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6811 |
+ |
rm -f conftest.er1 |
| 6812 |
+ |
cat conftest.err >&5 |
| 6813 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6814 |
|
(exit $ac_status); } && |
| 6815 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6815 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6816 |
> |
|| test ! -s conftest.err' |
| 6817 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6818 |
|
(eval $ac_try) 2>&5 |
| 6819 |
|
ac_status=$? |
| 6820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6821 |
+ |
(exit $ac_status); }; } && |
| 6822 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6823 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6824 |
+ |
(eval $ac_try) 2>&5 |
| 6825 |
+ |
ac_status=$? |
| 6826 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6827 |
|
(exit $ac_status); }; }; then |
| 6828 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 6829 |
|
echo "${ECHO_T}yes" >&6 |
| 6839 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 6840 |
|
echo "${ECHO_T}no" >&6 |
| 6841 |
|
fi |
| 6842 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6842 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6843 |
> |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6844 |
> |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 6845 |
> |
if test "${ac_cv_header_time+set}" = set; then |
| 6846 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6847 |
> |
else |
| 6848 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6849 |
> |
/* confdefs.h. */ |
| 6850 |
> |
_ACEOF |
| 6851 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6852 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6853 |
> |
/* end confdefs.h. */ |
| 6854 |
> |
#include <sys/types.h> |
| 6855 |
> |
#include <sys/time.h> |
| 6856 |
> |
#include <time.h> |
| 6857 |
> |
|
| 6858 |
> |
int |
| 6859 |
> |
main () |
| 6860 |
> |
{ |
| 6861 |
> |
if ((struct tm *) 0) |
| 6862 |
> |
return 0; |
| 6863 |
> |
; |
| 6864 |
> |
return 0; |
| 6865 |
> |
} |
| 6866 |
> |
_ACEOF |
| 6867 |
> |
rm -f conftest.$ac_objext |
| 6868 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6869 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6870 |
> |
ac_status=$? |
| 6871 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6872 |
> |
rm -f conftest.er1 |
| 6873 |
> |
cat conftest.err >&5 |
| 6874 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6875 |
> |
(exit $ac_status); } && |
| 6876 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6877 |
> |
|| test ! -s conftest.err' |
| 6878 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6879 |
> |
(eval $ac_try) 2>&5 |
| 6880 |
> |
ac_status=$? |
| 6881 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6882 |
> |
(exit $ac_status); }; } && |
| 6883 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6884 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6885 |
> |
(eval $ac_try) 2>&5 |
| 6886 |
> |
ac_status=$? |
| 6887 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6888 |
> |
(exit $ac_status); }; }; then |
| 6889 |
> |
ac_cv_header_time=yes |
| 6890 |
> |
else |
| 6891 |
> |
echo "$as_me: failed program was:" >&5 |
| 6892 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6893 |
|
|
| 6894 |
+ |
ac_cv_header_time=no |
| 6895 |
+ |
fi |
| 6896 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6897 |
+ |
fi |
| 6898 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6899 |
+ |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 6900 |
+ |
if test $ac_cv_header_time = yes; then |
| 6901 |
+ |
|
| 6902 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 6903 |
+ |
#define TIME_WITH_SYS_TIME 1 |
| 6904 |
+ |
_ACEOF |
| 6905 |
+ |
|
| 6906 |
+ |
fi |
| 6907 |
+ |
|
| 6908 |
+ |
|
| 6909 |
+ |
echo "$as_me:$LINENO: checking for clock_t" >&5 |
| 6910 |
+ |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
| 6911 |
+ |
if test "${ac_cv_type_clock_t+set}" = set; then |
| 6912 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6913 |
+ |
else |
| 6914 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6915 |
+ |
/* confdefs.h. */ |
| 6916 |
+ |
_ACEOF |
| 6917 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6918 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6919 |
+ |
/* end confdefs.h. */ |
| 6920 |
+ |
$ac_includes_default |
| 6921 |
+ |
int |
| 6922 |
+ |
main () |
| 6923 |
+ |
{ |
| 6924 |
+ |
if ((clock_t *) 0) |
| 6925 |
+ |
return 0; |
| 6926 |
+ |
if (sizeof (clock_t)) |
| 6927 |
+ |
return 0; |
| 6928 |
+ |
; |
| 6929 |
+ |
return 0; |
| 6930 |
+ |
} |
| 6931 |
+ |
_ACEOF |
| 6932 |
+ |
rm -f conftest.$ac_objext |
| 6933 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6934 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6935 |
+ |
ac_status=$? |
| 6936 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6937 |
+ |
rm -f conftest.er1 |
| 6938 |
+ |
cat conftest.err >&5 |
| 6939 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6940 |
+ |
(exit $ac_status); } && |
| 6941 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6942 |
+ |
|| test ! -s conftest.err' |
| 6943 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6944 |
+ |
(eval $ac_try) 2>&5 |
| 6945 |
+ |
ac_status=$? |
| 6946 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6947 |
+ |
(exit $ac_status); }; } && |
| 6948 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6949 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6950 |
+ |
(eval $ac_try) 2>&5 |
| 6951 |
+ |
ac_status=$? |
| 6952 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6953 |
+ |
(exit $ac_status); }; }; then |
| 6954 |
+ |
ac_cv_type_clock_t=yes |
| 6955 |
+ |
else |
| 6956 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6957 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6958 |
+ |
|
| 6959 |
+ |
ac_cv_type_clock_t=no |
| 6960 |
+ |
fi |
| 6961 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6962 |
+ |
fi |
| 6963 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
| 6964 |
+ |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6 |
| 6965 |
+ |
if test $ac_cv_type_clock_t = yes; then |
| 6966 |
+ |
|
| 6967 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6968 |
+ |
#define HAVE_CLOCK_T 1 |
| 6969 |
+ |
_ACEOF |
| 6970 |
+ |
|
| 6971 |
+ |
|
| 6972 |
+ |
fi |
| 6973 |
+ |
|
| 6974 |
+ |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 6975 |
+ |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 6976 |
+ |
if test "${ac_cv_c_const+set}" = set; then |
| 6977 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6978 |
+ |
else |
| 6979 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6980 |
+ |
/* confdefs.h. */ |
| 6981 |
+ |
_ACEOF |
| 6982 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6983 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6984 |
+ |
/* end confdefs.h. */ |
| 6985 |
+ |
|
| 6986 |
+ |
int |
| 6987 |
+ |
main () |
| 6988 |
+ |
{ |
| 6989 |
+ |
/* FIXME: Include the comments suggested by Paul. */ |
| 6990 |
+ |
#ifndef __cplusplus |
| 6991 |
+ |
/* Ultrix mips cc rejects this. */ |
| 6992 |
+ |
typedef int charset[2]; |
| 6993 |
+ |
const charset x; |
| 6994 |
+ |
/* SunOS 4.1.1 cc rejects this. */ |
| 6995 |
+ |
char const *const *ccp; |
| 6996 |
+ |
char **p; |
| 6997 |
+ |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 6998 |
+ |
struct point {int x, y;}; |
| 6999 |
+ |
static struct point const zero = {0,0}; |
| 7000 |
+ |
/* AIX XL C 1.02.0.0 rejects this. |
| 7001 |
+ |
It does not let you subtract one const X* pointer from another in |
| 7002 |
+ |
an arm of an if-expression whose if-part is not a constant |
| 7003 |
+ |
expression */ |
| 7004 |
+ |
const char *g = "string"; |
| 7005 |
+ |
ccp = &g + (g ? g-g : 0); |
| 7006 |
+ |
/* HPUX 7.0 cc rejects these. */ |
| 7007 |
+ |
++ccp; |
| 7008 |
+ |
p = (char**) ccp; |
| 7009 |
+ |
ccp = (char const *const *) p; |
| 7010 |
+ |
{ /* SCO 3.2v4 cc rejects this. */ |
| 7011 |
+ |
char *t; |
| 7012 |
+ |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 7013 |
+ |
|
| 7014 |
+ |
*t++ = 0; |
| 7015 |
+ |
} |
| 7016 |
+ |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 7017 |
+ |
int x[] = {25, 17}; |
| 7018 |
+ |
const int *foo = &x[0]; |
| 7019 |
+ |
++foo; |
| 7020 |
+ |
} |
| 7021 |
+ |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 7022 |
+ |
typedef const int *iptr; |
| 7023 |
+ |
iptr p = 0; |
| 7024 |
+ |
++p; |
| 7025 |
+ |
} |
| 7026 |
+ |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 7027 |
+ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 7028 |
+ |
struct s { int j; const int *ap[3]; }; |
| 7029 |
+ |
struct s *b; b->j = 5; |
| 7030 |
+ |
} |
| 7031 |
+ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 7032 |
+ |
const int foo = 10; |
| 7033 |
+ |
} |
| 7034 |
+ |
#endif |
| 7035 |
+ |
|
| 7036 |
+ |
; |
| 7037 |
+ |
return 0; |
| 7038 |
+ |
} |
| 7039 |
+ |
_ACEOF |
| 7040 |
+ |
rm -f conftest.$ac_objext |
| 7041 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7042 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7043 |
+ |
ac_status=$? |
| 7044 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7045 |
+ |
rm -f conftest.er1 |
| 7046 |
+ |
cat conftest.err >&5 |
| 7047 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7048 |
+ |
(exit $ac_status); } && |
| 7049 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7050 |
+ |
|| test ! -s conftest.err' |
| 7051 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7052 |
+ |
(eval $ac_try) 2>&5 |
| 7053 |
+ |
ac_status=$? |
| 7054 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7055 |
+ |
(exit $ac_status); }; } && |
| 7056 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7057 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7058 |
+ |
(eval $ac_try) 2>&5 |
| 7059 |
+ |
ac_status=$? |
| 7060 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7061 |
+ |
(exit $ac_status); }; }; then |
| 7062 |
+ |
ac_cv_c_const=yes |
| 7063 |
+ |
else |
| 7064 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7065 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7066 |
+ |
|
| 7067 |
+ |
ac_cv_c_const=no |
| 7068 |
+ |
fi |
| 7069 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7070 |
+ |
fi |
| 7071 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 7072 |
+ |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 7073 |
+ |
if test $ac_cv_c_const = no; then |
| 7074 |
+ |
|
| 7075 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 7076 |
+ |
#define const |
| 7077 |
+ |
_ACEOF |
| 7078 |
+ |
|
| 7079 |
+ |
fi |
| 7080 |
+ |
|
| 7081 |
+ |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 7082 |
+ |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 7083 |
+ |
if test "${ac_cv_c_inline+set}" = set; then |
| 7084 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7085 |
+ |
else |
| 7086 |
+ |
ac_cv_c_inline=no |
| 7087 |
+ |
for ac_kw in inline __inline__ __inline; do |
| 7088 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7089 |
+ |
/* confdefs.h. */ |
| 7090 |
+ |
_ACEOF |
| 7091 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7092 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7093 |
+ |
/* end confdefs.h. */ |
| 7094 |
+ |
#ifndef __cplusplus |
| 7095 |
+ |
typedef int foo_t; |
| 7096 |
+ |
static $ac_kw foo_t static_foo () {return 0; } |
| 7097 |
+ |
$ac_kw foo_t foo () {return 0; } |
| 7098 |
+ |
#endif |
| 7099 |
+ |
|
| 7100 |
+ |
_ACEOF |
| 7101 |
+ |
rm -f conftest.$ac_objext |
| 7102 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7103 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7104 |
+ |
ac_status=$? |
| 7105 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7106 |
+ |
rm -f conftest.er1 |
| 7107 |
+ |
cat conftest.err >&5 |
| 7108 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7109 |
+ |
(exit $ac_status); } && |
| 7110 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7111 |
+ |
|| test ! -s conftest.err' |
| 7112 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7113 |
+ |
(eval $ac_try) 2>&5 |
| 7114 |
+ |
ac_status=$? |
| 7115 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7116 |
+ |
(exit $ac_status); }; } && |
| 7117 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7118 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7119 |
+ |
(eval $ac_try) 2>&5 |
| 7120 |
+ |
ac_status=$? |
| 7121 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7122 |
+ |
(exit $ac_status); }; }; then |
| 7123 |
+ |
ac_cv_c_inline=$ac_kw; break |
| 7124 |
+ |
else |
| 7125 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7126 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7127 |
+ |
|
| 7128 |
+ |
fi |
| 7129 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7130 |
+ |
done |
| 7131 |
+ |
|
| 7132 |
+ |
fi |
| 7133 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 7134 |
+ |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 7135 |
+ |
|
| 7136 |
+ |
|
| 7137 |
+ |
case $ac_cv_c_inline in |
| 7138 |
+ |
inline | yes) ;; |
| 7139 |
+ |
*) |
| 7140 |
+ |
case $ac_cv_c_inline in |
| 7141 |
+ |
no) ac_val=;; |
| 7142 |
+ |
*) ac_val=$ac_cv_c_inline;; |
| 7143 |
+ |
esac |
| 7144 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7145 |
+ |
#ifndef __cplusplus |
| 7146 |
+ |
#define inline $ac_val |
| 7147 |
+ |
#endif |
| 7148 |
+ |
_ACEOF |
| 7149 |
+ |
;; |
| 7150 |
+ |
esac |
| 7151 |
+ |
|
| 7152 |
+ |
|
| 7153 |
+ |
|
| 7154 |
+ |
|
| 7155 |
+ |
for ac_func in rint sranddev |
| 7156 |
+ |
do |
| 7157 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7158 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7159 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7160 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7161 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7162 |
+ |
else |
| 7163 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7164 |
+ |
/* confdefs.h. */ |
| 7165 |
+ |
_ACEOF |
| 7166 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7167 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7168 |
+ |
/* end confdefs.h. */ |
| 7169 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 7170 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7171 |
+ |
#define $ac_func innocuous_$ac_func |
| 7172 |
+ |
|
| 7173 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 7174 |
+ |
which can conflict with char $ac_func (); below. |
| 7175 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7176 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 7177 |
+ |
|
| 7178 |
+ |
#ifdef __STDC__ |
| 7179 |
+ |
# include <limits.h> |
| 7180 |
+ |
#else |
| 7181 |
+ |
# include <assert.h> |
| 7182 |
+ |
#endif |
| 7183 |
+ |
|
| 7184 |
+ |
#undef $ac_func |
| 7185 |
+ |
|
| 7186 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7187 |
+ |
#ifdef __cplusplus |
| 7188 |
+ |
extern "C" |
| 7189 |
+ |
{ |
| 7190 |
+ |
#endif |
| 7191 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 7192 |
+ |
builtin and then its argument prototype would still apply. */ |
| 7193 |
+ |
char $ac_func (); |
| 7194 |
+ |
/* The GNU C library defines this for functions which it implements |
| 7195 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 7196 |
+ |
something starting with __ and the normal name is an alias. */ |
| 7197 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7198 |
+ |
choke me |
| 7199 |
+ |
#else |
| 7200 |
+ |
char (*f) () = $ac_func; |
| 7201 |
+ |
#endif |
| 7202 |
+ |
#ifdef __cplusplus |
| 7203 |
+ |
} |
| 7204 |
+ |
#endif |
| 7205 |
+ |
|
| 7206 |
+ |
int |
| 7207 |
+ |
main () |
| 7208 |
+ |
{ |
| 7209 |
+ |
return f != $ac_func; |
| 7210 |
+ |
; |
| 7211 |
+ |
return 0; |
| 7212 |
+ |
} |
| 7213 |
+ |
_ACEOF |
| 7214 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7215 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7216 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 7217 |
+ |
ac_status=$? |
| 7218 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7219 |
+ |
rm -f conftest.er1 |
| 7220 |
+ |
cat conftest.err >&5 |
| 7221 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7222 |
+ |
(exit $ac_status); } && |
| 7223 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7224 |
+ |
|| test ! -s conftest.err' |
| 7225 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7226 |
+ |
(eval $ac_try) 2>&5 |
| 7227 |
+ |
ac_status=$? |
| 7228 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7229 |
+ |
(exit $ac_status); }; } && |
| 7230 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7231 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7232 |
+ |
(eval $ac_try) 2>&5 |
| 7233 |
+ |
ac_status=$? |
| 7234 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7235 |
+ |
(exit $ac_status); }; }; then |
| 7236 |
+ |
eval "$as_ac_var=yes" |
| 7237 |
+ |
else |
| 7238 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7239 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7240 |
+ |
|
| 7241 |
+ |
eval "$as_ac_var=no" |
| 7242 |
+ |
fi |
| 7243 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 7244 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 7245 |
+ |
fi |
| 7246 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7247 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7248 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7249 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7250 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7251 |
+ |
_ACEOF |
| 7252 |
+ |
|
| 7253 |
+ |
fi |
| 7254 |
+ |
done |
| 7255 |
+ |
|
| 7256 |
+ |
|
| 7257 |
|
# clean out junk possibly left behind by a previous configuration |
| 7258 |
|
rm -f src/getopt.h |
| 7259 |
|
# Check for getopt_long support |
| 7274 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 7275 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 7276 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5029 |
– |
#line $LINENO "configure" |
| 7277 |
|
/* confdefs.h. */ |
| 7278 |
|
_ACEOF |
| 7279 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7284 |
|
_ACEOF |
| 7285 |
|
rm -f conftest.$ac_objext |
| 7286 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7287 |
< |
(eval $ac_compile) 2>&5 |
| 7287 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7288 |
|
ac_status=$? |
| 7289 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7290 |
+ |
rm -f conftest.er1 |
| 7291 |
+ |
cat conftest.err >&5 |
| 7292 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7293 |
|
(exit $ac_status); } && |
| 7294 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7294 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7295 |
> |
|| test ! -s conftest.err' |
| 7296 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7297 |
|
(eval $ac_try) 2>&5 |
| 7298 |
|
ac_status=$? |
| 7299 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7300 |
+ |
(exit $ac_status); }; } && |
| 7301 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7302 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7303 |
+ |
(eval $ac_try) 2>&5 |
| 7304 |
+ |
ac_status=$? |
| 7305 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7306 |
|
(exit $ac_status); }; }; then |
| 7307 |
|
ac_header_compiler=yes |
| 7308 |
|
else |
| 7311 |
|
|
| 7312 |
|
ac_header_compiler=no |
| 7313 |
|
fi |
| 7314 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 7314 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7315 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7316 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7317 |
|
|
| 7319 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 7320 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 7321 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5065 |
– |
#line $LINENO "configure" |
| 7322 |
|
/* confdefs.h. */ |
| 7323 |
|
_ACEOF |
| 7324 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7336 |
|
(exit $ac_status); } >/dev/null; then |
| 7337 |
|
if test -s conftest.err; then |
| 7338 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7339 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7340 |
|
else |
| 7341 |
|
ac_cpp_err= |
| 7342 |
|
fi |
| 7356 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7357 |
|
|
| 7358 |
|
# So? What about this header? |
| 7359 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 7360 |
< |
yes:no ) |
| 7359 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7360 |
> |
yes:no: ) |
| 7361 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7362 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7363 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 7364 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 7365 |
< |
( |
| 5109 |
< |
cat <<\_ASBOX |
| 5110 |
< |
## ------------------------------------ ## |
| 5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 5112 |
< |
## ------------------------------------ ## |
| 5113 |
< |
_ASBOX |
| 5114 |
< |
) | |
| 5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7363 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 7364 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 7365 |
> |
ac_header_preproc=yes |
| 7366 |
|
;; |
| 7367 |
< |
no:yes ) |
| 7367 |
> |
no:yes:* ) |
| 7368 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 7369 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 7370 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 7371 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 7370 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 7371 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 7372 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 7373 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 7374 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 7375 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 7376 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 7377 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 7378 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 7379 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 7380 |
|
( |
| 7381 |
|
cat <<\_ASBOX |
| 7382 |
< |
## ------------------------------------ ## |
| 7383 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 7384 |
< |
## ------------------------------------ ## |
| 7382 |
> |
## ------------------------------ ## |
| 7383 |
> |
## Report this to gezelter@nd.edu ## |
| 7384 |
> |
## ------------------------------ ## |
| 7385 |
|
_ASBOX |
| 7386 |
|
) | |
| 7387 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 7392 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7393 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7394 |
|
else |
| 7395 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
| 7395 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 7396 |
|
fi |
| 7397 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7398 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7417 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7418 |
|
else |
| 7419 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5164 |
– |
#line $LINENO "configure" |
| 7420 |
|
/* confdefs.h. */ |
| 7421 |
|
_ACEOF |
| 7422 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7423 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7424 |
|
/* end confdefs.h. */ |
| 7425 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 7426 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7427 |
+ |
#define $ac_func innocuous_$ac_func |
| 7428 |
+ |
|
| 7429 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 7430 |
|
which can conflict with char $ac_func (); below. |
| 7431 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7432 |
|
<limits.h> exists even on freestanding compilers. */ |
| 7433 |
+ |
|
| 7434 |
|
#ifdef __STDC__ |
| 7435 |
|
# include <limits.h> |
| 7436 |
|
#else |
| 7437 |
|
# include <assert.h> |
| 7438 |
|
#endif |
| 7439 |
+ |
|
| 7440 |
+ |
#undef $ac_func |
| 7441 |
+ |
|
| 7442 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7443 |
|
#ifdef __cplusplus |
| 7444 |
|
extern "C" |
| 7469 |
|
_ACEOF |
| 7470 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7471 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7472 |
< |
(eval $ac_link) 2>&5 |
| 7472 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7473 |
|
ac_status=$? |
| 7474 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7475 |
+ |
rm -f conftest.er1 |
| 7476 |
+ |
cat conftest.err >&5 |
| 7477 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7478 |
|
(exit $ac_status); } && |
| 7479 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7479 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7480 |
> |
|| test ! -s conftest.err' |
| 7481 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7482 |
|
(eval $ac_try) 2>&5 |
| 7483 |
|
ac_status=$? |
| 7484 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7485 |
+ |
(exit $ac_status); }; } && |
| 7486 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7487 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7488 |
+ |
(eval $ac_try) 2>&5 |
| 7489 |
+ |
ac_status=$? |
| 7490 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7491 |
|
(exit $ac_status); }; }; then |
| 7492 |
|
eval "$as_ac_var=yes" |
| 7493 |
|
else |
| 7496 |
|
|
| 7497 |
|
eval "$as_ac_var=no" |
| 7498 |
|
fi |
| 7499 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7499 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7500 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7501 |
|
fi |
| 7502 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7503 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7516 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7517 |
|
LIBS="-lgnugetopt $LIBS" |
| 7518 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5245 |
– |
#line $LINENO "configure" |
| 7519 |
|
/* confdefs.h. */ |
| 7520 |
|
_ACEOF |
| 7521 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7539 |
|
_ACEOF |
| 7540 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7541 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7542 |
< |
(eval $ac_link) 2>&5 |
| 7542 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7543 |
|
ac_status=$? |
| 7544 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7545 |
+ |
rm -f conftest.er1 |
| 7546 |
+ |
cat conftest.err >&5 |
| 7547 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7548 |
|
(exit $ac_status); } && |
| 7549 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7549 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7550 |
> |
|| test ! -s conftest.err' |
| 7551 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7552 |
|
(eval $ac_try) 2>&5 |
| 7553 |
|
ac_status=$? |
| 7554 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7555 |
+ |
(exit $ac_status); }; } && |
| 7556 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7557 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7558 |
+ |
(eval $ac_try) 2>&5 |
| 7559 |
+ |
ac_status=$? |
| 7560 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7561 |
|
(exit $ac_status); }; }; then |
| 7562 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
| 7563 |
|
else |
| 7566 |
|
|
| 7567 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
| 7568 |
|
fi |
| 7569 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7569 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7570 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7571 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7572 |
|
fi |
| 7573 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 7579 |
|
|
| 7580 |
|
else |
| 7581 |
|
# use the GNU replacement |
| 7582 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
| 7583 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
| 7582 |
> |
case $LIBOBJS in |
| 7583 |
> |
"getopt.$ac_objext" | \ |
| 7584 |
> |
*" getopt.$ac_objext" | \ |
| 7585 |
> |
"getopt.$ac_objext "* | \ |
| 7586 |
> |
*" getopt.$ac_objext "* ) ;; |
| 7587 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
| 7588 |
> |
esac |
| 7589 |
> |
|
| 7590 |
> |
case $LIBOBJS in |
| 7591 |
> |
"getopt1.$ac_objext" | \ |
| 7592 |
> |
*" getopt1.$ac_objext" | \ |
| 7593 |
> |
"getopt1.$ac_objext "* | \ |
| 7594 |
> |
*" getopt1.$ac_objext "* ) ;; |
| 7595 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
| 7596 |
> |
esac |
| 7597 |
> |
|
| 7598 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
| 7599 |
|
|
| 7600 |
|
fi |
| 7622 |
|
|
| 7623 |
|
cat > conftest.c <<EOF |
| 7624 |
|
#ifdef __GNUC__ |
| 7625 |
< |
#ifndef __INTEL_COMPILER |
| 7625 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 7626 |
> |
no; |
| 7627 |
> |
#else |
| 7628 |
|
yes; |
| 7629 |
|
#endif |
| 7630 |
|
#endif |
| 8085 |
|
|
| 8086 |
|
cat > conftest.cpp <<EOF |
| 8087 |
|
#ifdef __GNUC__ |
| 8088 |
< |
#ifndef __INTEL_COMPILER |
| 8088 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 8089 |
> |
no; |
| 8090 |
> |
#else |
| 8091 |
|
yes; |
| 8092 |
|
#endif |
| 8093 |
|
#endif |
| 8647 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 8648 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 8649 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 8650 |
+ |
# OS/2's system install, which has a completely different semantic |
| 8651 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 8652 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 8653 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 8664 |
|
case $as_dir/ in |
| 8665 |
|
./ | .// | /cC/* | \ |
| 8666 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 8667 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 8668 |
|
/usr/ucb/* ) ;; |
| 8669 |
|
*) |
| 8670 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 8672 |
|
# by default. |
| 8673 |
|
for ac_prog in ginstall scoinst install; do |
| 8674 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8675 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 8676 |
< |
if test $ac_prog = install && |
| 8677 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8678 |
< |
# AIX install. It has an incompatible calling convention. |
| 8679 |
< |
: |
| 8680 |
< |
elif test $ac_prog = install && |
| 8681 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8682 |
< |
# program-specific install script used by HP pwplus--don't use. |
| 8683 |
< |
: |
| 8684 |
< |
else |
| 8685 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 8686 |
< |
break 3 |
| 8687 |
< |
fi |
| 8688 |
< |
fi |
| 8675 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 8676 |
> |
if test $ac_prog = install && |
| 8677 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8678 |
> |
# AIX install. It has an incompatible calling convention. |
| 8679 |
> |
: |
| 8680 |
> |
elif test $ac_prog = install && |
| 8681 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 8682 |
> |
# program-specific install script used by HP pwplus--don't use. |
| 8683 |
> |
: |
| 8684 |
> |
else |
| 8685 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 8686 |
> |
break 3 |
| 8687 |
> |
fi |
| 8688 |
> |
fi |
| 8689 |
|
done |
| 8690 |
|
done |
| 8691 |
|
;; |
| 8728 |
|
|
| 8729 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 8730 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 8731 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| 8731 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 8732 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 8733 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8734 |
|
else |
| 8927 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8928 |
|
LIBS="-lfl $LIBS" |
| 8929 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6626 |
– |
#line $LINENO "configure" |
| 8930 |
|
/* confdefs.h. */ |
| 8931 |
|
_ACEOF |
| 8932 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8950 |
|
_ACEOF |
| 8951 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8952 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8953 |
< |
(eval $ac_link) 2>&5 |
| 8953 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8954 |
|
ac_status=$? |
| 8955 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8956 |
+ |
rm -f conftest.er1 |
| 8957 |
+ |
cat conftest.err >&5 |
| 8958 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8959 |
|
(exit $ac_status); } && |
| 8960 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8960 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8961 |
> |
|| test ! -s conftest.err' |
| 8962 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8963 |
|
(eval $ac_try) 2>&5 |
| 8964 |
|
ac_status=$? |
| 8965 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8966 |
+ |
(exit $ac_status); }; } && |
| 8967 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8968 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8969 |
+ |
(eval $ac_try) 2>&5 |
| 8970 |
+ |
ac_status=$? |
| 8971 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8972 |
|
(exit $ac_status); }; }; then |
| 8973 |
|
ac_cv_lib_fl_yywrap=yes |
| 8974 |
|
else |
| 8977 |
|
|
| 8978 |
|
ac_cv_lib_fl_yywrap=no |
| 8979 |
|
fi |
| 8980 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8980 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8981 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8982 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8983 |
|
fi |
| 8984 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
| 8994 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8995 |
|
LIBS="-ll $LIBS" |
| 8996 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6683 |
– |
#line $LINENO "configure" |
| 8997 |
|
/* confdefs.h. */ |
| 8998 |
|
_ACEOF |
| 8999 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9017 |
|
_ACEOF |
| 9018 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9019 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9020 |
< |
(eval $ac_link) 2>&5 |
| 9020 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9021 |
|
ac_status=$? |
| 9022 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9023 |
+ |
rm -f conftest.er1 |
| 9024 |
+ |
cat conftest.err >&5 |
| 9025 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9026 |
|
(exit $ac_status); } && |
| 9027 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9027 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9028 |
> |
|| test ! -s conftest.err' |
| 9029 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9030 |
> |
(eval $ac_try) 2>&5 |
| 9031 |
> |
ac_status=$? |
| 9032 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9033 |
> |
(exit $ac_status); }; } && |
| 9034 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9035 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9036 |
|
(eval $ac_try) 2>&5 |
| 9037 |
|
ac_status=$? |
| 9044 |
|
|
| 9045 |
|
ac_cv_lib_l_yywrap=no |
| 9046 |
|
fi |
| 9047 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9047 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9048 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9049 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9050 |
|
fi |
| 9051 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
| 9107 |
|
_ACEOF |
| 9108 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9109 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9110 |
< |
(eval $ac_link) 2>&5 |
| 9110 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9111 |
|
ac_status=$? |
| 9112 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9113 |
+ |
rm -f conftest.er1 |
| 9114 |
+ |
cat conftest.err >&5 |
| 9115 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9116 |
|
(exit $ac_status); } && |
| 9117 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9117 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9118 |
> |
|| test ! -s conftest.err' |
| 9119 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9120 |
|
(eval $ac_try) 2>&5 |
| 9121 |
|
ac_status=$? |
| 9122 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9123 |
+ |
(exit $ac_status); }; } && |
| 9124 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9125 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9126 |
+ |
(eval $ac_try) 2>&5 |
| 9127 |
+ |
ac_status=$? |
| 9128 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9129 |
|
(exit $ac_status); }; }; then |
| 9130 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 9131 |
|
else |
| 9133 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9134 |
|
|
| 9135 |
|
fi |
| 9136 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9136 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9137 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9138 |
|
LIBS=$ac_save_LIBS |
| 9139 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
| 9140 |
|
|
| 9146 |
|
cat >>confdefs.h <<\_ACEOF |
| 9147 |
|
#define YYTEXT_POINTER 1 |
| 9148 |
|
_ACEOF |
| 9149 |
+ |
|
| 9150 |
+ |
fi |
| 9151 |
+ |
|
| 9152 |
+ |
fi |
| 9153 |
+ |
|
| 9154 |
+ |
# Extract the first word of "perl", so it can be a program name with args. |
| 9155 |
+ |
set dummy perl; ac_word=$2 |
| 9156 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9157 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 9158 |
+ |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
| 9159 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9160 |
+ |
else |
| 9161 |
+ |
case $PERLINTERP in |
| 9162 |
+ |
[\\/]* | ?:[\\/]*) |
| 9163 |
+ |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
| 9164 |
+ |
;; |
| 9165 |
+ |
*) |
| 9166 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9167 |
+ |
for as_dir in $PATH |
| 9168 |
+ |
do |
| 9169 |
+ |
IFS=$as_save_IFS |
| 9170 |
+ |
test -z "$as_dir" && as_dir=. |
| 9171 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 9172 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 9173 |
+ |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
| 9174 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9175 |
+ |
break 2 |
| 9176 |
+ |
fi |
| 9177 |
+ |
done |
| 9178 |
+ |
done |
| 9179 |
+ |
|
| 9180 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
| 9181 |
+ |
;; |
| 9182 |
+ |
esac |
| 9183 |
+ |
fi |
| 9184 |
+ |
PERLINTERP=$ac_cv_path_PERLINTERP |
| 9185 |
+ |
|
| 9186 |
+ |
if test -n "$PERLINTERP"; then |
| 9187 |
+ |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
| 9188 |
+ |
echo "${ECHO_T}$PERLINTERP" >&6 |
| 9189 |
+ |
else |
| 9190 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 9191 |
+ |
echo "${ECHO_T}no" >&6 |
| 9192 |
+ |
fi |
| 9193 |
|
|
| 9194 |
+ |
ac_cv_path_perlinterp="$PERLINTERP" |
| 9195 |
+ |
_sHpB='#!' |
| 9196 |
+ |
|
| 9197 |
+ |
|
| 9198 |
+ |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
| 9199 |
+ |
if test "${with_perl_shebang+set}" = set; then |
| 9200 |
+ |
withval="$with_perl_shebang" |
| 9201 |
+ |
opt_perl_shebang="$withval" |
| 9202 |
+ |
else |
| 9203 |
+ |
opt_perl_shebang="not_set" |
| 9204 |
+ |
fi; |
| 9205 |
+ |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 9206 |
+ |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
| 9207 |
+ |
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
| 9208 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9209 |
+ |
else |
| 9210 |
+ |
case "$opt_perl_shebang" in |
| 9211 |
+ |
not_set ) ax_cv_opt_perl_shebang='' |
| 9212 |
+ |
;; |
| 9213 |
+ |
* ) |
| 9214 |
+ |
ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` |
| 9215 |
+ |
esac |
| 9216 |
+ |
|
| 9217 |
|
fi |
| 9218 |
+ |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
| 9219 |
+ |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
| 9220 |
+ |
if test "A$ax_cv_opt_perl_shebang" != "A" |
| 9221 |
+ |
then |
| 9222 |
+ |
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
| 9223 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
| 9224 |
+ |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
| 9225 |
+ |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
| 9226 |
|
|
| 9227 |
+ |
# Automatic detection of sharpbang formula starts here |
| 9228 |
+ |
else |
| 9229 |
+ |
_somian_shbangperl=`$PERLINTERP -V:startperl` |
| 9230 |
+ |
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
| 9231 |
+ |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
| 9232 |
+ |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
| 9233 |
+ |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
| 9234 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9235 |
+ |
else |
| 9236 |
+ |
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
| 9237 |
+ |
if test "x$_somian_kspb_perl" == x |
| 9238 |
+ |
then _somian_ksbp_warn_empty='durnit' |
| 9239 |
+ |
else |
| 9240 |
+ |
case "A$_somian_kspb_perl" in |
| 9241 |
+ |
A#!*perl* ) |
| 9242 |
+ |
ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` |
| 9243 |
+ |
;; |
| 9244 |
+ |
A* ) _somian_ksbp_warn_defau='trouble' |
| 9245 |
+ |
ac_cv_sys_kernshrpbang_perl="$PERLINTERP" |
| 9246 |
+ |
esac |
| 9247 |
+ |
fi |
| 9248 |
+ |
|
| 9249 |
|
fi |
| 9250 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
| 9251 |
+ |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
| 9252 |
+ |
# The above prints Checking ... result message to user. |
| 9253 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
| 9254 |
+ |
|
| 9255 |
+ |
if test A${_somian_ksbp_warn_empty+set} == Aset |
| 9256 |
+ |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
| 9257 |
+ |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
| 9258 |
+ |
fi |
| 9259 |
+ |
# Inform user after printing result value |
| 9260 |
+ |
if test A${_somian_ksbp_warn_defau+set} == Aset |
| 9261 |
+ |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
| 9262 |
+ |
echo "$as_me: Maybe Not good -" >&6;} |
| 9263 |
+ |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
| 9264 |
+ |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
| 9265 |
+ |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
| 9266 |
+ |
echo "$as_me: OK Good result - " >&6;} |
| 9267 |
+ |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
| 9268 |
+ |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
| 9269 |
+ |
fi |
| 9270 |
+ |
fi |
| 9271 |
+ |
|
| 9272 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 9273 |
|
set dummy ar; ac_word=$2 |
| 9274 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9337 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 9338 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 9339 |
|
sed -n \ |
| 9340 |
< |
"s/'/'\\\\''/g; |
| 9341 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 9340 |
> |
"s/'/'\\\\''/g; |
| 9341 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 9342 |
|
;; |
| 9343 |
|
*) |
| 9344 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 9345 |
|
sed -n \ |
| 9346 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 9346 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 9347 |
|
;; |
| 9348 |
|
esac; |
| 9349 |
|
} | |
| 9411 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9412 |
|
else |
| 9413 |
|
|
| 6960 |
– |
if $PS -ef -o rss > /dev/null 2>&1; then |
| 6961 |
– |
ac_cv_prog_ps_ef=yes |
| 6962 |
– |
else |
| 6963 |
– |
ac_cv_prog_ps_ef=no |
| 6964 |
– |
fi |
| 9414 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
| 9415 |
|
ac_cv_prog_ps_ax=yes |
| 9416 |
|
else |
| 9417 |
|
ac_cv_prog_ps_ax=no |
| 9418 |
|
fi |
| 9419 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
| 9420 |
< |
ac_cv_prog_ps_syntax=POSIX |
| 9419 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
| 9420 |
> |
ac_cv_prog_ps_ef=yes |
| 9421 |
> |
else |
| 9422 |
> |
ac_cv_prog_ps_ef=no |
| 9423 |
> |
fi |
| 9424 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
| 9425 |
> |
ac_cv_prog_ps_syntax=BSD |
| 9426 |
|
else |
| 9427 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
| 9428 |
< |
ac_cv_prog_ps_syntax=BSD |
| 9427 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
| 9428 |
> |
ac_cv_prog_ps_syntax=POSIX |
| 9429 |
|
else |
| 9430 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
| 9431 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
| 9436 |
|
fi |
| 9437 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
| 9438 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
| 9439 |
+ |
|
| 9440 |
+ |
|
| 9441 |
+ |
cat >>confdefs.h <<_ACEOF |
| 9442 |
+ |
#define PSCOMMAND $PS |
| 9443 |
+ |
_ACEOF |
| 9444 |
+ |
|
| 9445 |
+ |
|
| 9446 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 9447 |
+ |
#define OBAPI |
| 9448 |
+ |
_ACEOF |
| 9449 |
+ |
|
| 9450 |
+ |
|
| 9451 |
+ |
|
| 9452 |
+ |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 9453 |
|
|
| 9454 |
< |
cat >>confdefs.h <<_ACEOF |
| 9455 |
< |
#define PS $PS |
| 9454 |
> |
cat >>confdefs.h <<\_ACEOF |
| 9455 |
> |
#define PSTYPE_IS_BSD 1 |
| 9456 |
|
_ACEOF |
| 9457 |
|
|
| 9458 |
+ |
else |
| 9459 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 9460 |
|
|
| 9461 |
< |
cat >>confdefs.h <<_ACEOF |
| 9462 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
| 9461 |
> |
cat >>confdefs.h <<\_ACEOF |
| 9462 |
> |
#define PSTYPE_IS_POSIX 1 |
| 9463 |
|
_ACEOF |
| 9464 |
|
|
| 9465 |
+ |
else |
| 9466 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
| 9467 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
| 9468 |
+ |
{ (exit 1); exit 1; }; } |
| 9469 |
+ |
fi |
| 9470 |
+ |
fi |
| 9471 |
|
|
| 9472 |
|
|
| 6997 |
– |
|
| 9473 |
|
# Check whether --with-mpi or --without-mpi was given. |
| 9474 |
|
if test "${with_mpi+set}" = set; then |
| 9475 |
|
withval="$with_mpi" |
| 9498 |
|
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 9499 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
| 9500 |
|
have_mpi_h=0 |
| 9501 |
+ |
rm -f conftest* |
| 9502 |
|
echo '#include <mpi.h>' > conftest.cc |
| 9503 |
< |
if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
| 9503 |
> |
if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
| 9504 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 9505 |
|
echo "${ECHO_T}yes" >&6 |
| 9506 |
|
have_mpi_h=1 |
| 9507 |
|
else |
| 9508 |
+ |
if test -s conftest.out ; then |
| 9509 |
+ |
cat conftest.out >> config.log |
| 9510 |
+ |
fi |
| 9511 |
|
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 9512 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
| 9513 |
|
USE_MPI="no" |
| 9571 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9572 |
|
LIBS="-lmpich $LIBS" |
| 9573 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7095 |
– |
#line $LINENO "configure" |
| 9574 |
|
/* confdefs.h. */ |
| 9575 |
|
_ACEOF |
| 9576 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9594 |
|
_ACEOF |
| 9595 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9596 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9597 |
< |
(eval $ac_link) 2>&5 |
| 9597 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9598 |
|
ac_status=$? |
| 9599 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9600 |
+ |
rm -f conftest.er1 |
| 9601 |
+ |
cat conftest.err >&5 |
| 9602 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9603 |
|
(exit $ac_status); } && |
| 9604 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9604 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9605 |
> |
|| test ! -s conftest.err' |
| 9606 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9607 |
|
(eval $ac_try) 2>&5 |
| 9608 |
|
ac_status=$? |
| 9609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9610 |
+ |
(exit $ac_status); }; } && |
| 9611 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9612 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9613 |
+ |
(eval $ac_try) 2>&5 |
| 9614 |
+ |
ac_status=$? |
| 9615 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9616 |
|
(exit $ac_status); }; }; then |
| 9617 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 9618 |
|
else |
| 9621 |
|
|
| 9622 |
|
ac_cv_lib_mpich_MPI_Init=no |
| 9623 |
|
fi |
| 9624 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9624 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9625 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9626 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9627 |
|
fi |
| 9628 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 9641 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9642 |
|
LIBS="-lmpi $LIBS" |
| 9643 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7155 |
– |
#line $LINENO "configure" |
| 9644 |
|
/* confdefs.h. */ |
| 9645 |
|
_ACEOF |
| 9646 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9664 |
|
_ACEOF |
| 9665 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9666 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9667 |
< |
(eval $ac_link) 2>&5 |
| 9667 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9668 |
|
ac_status=$? |
| 9669 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9670 |
+ |
rm -f conftest.er1 |
| 9671 |
+ |
cat conftest.err >&5 |
| 9672 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9673 |
|
(exit $ac_status); } && |
| 9674 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9674 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9675 |
> |
|| test ! -s conftest.err' |
| 9676 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9677 |
|
(eval $ac_try) 2>&5 |
| 9678 |
|
ac_status=$? |
| 9679 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9680 |
+ |
(exit $ac_status); }; } && |
| 9681 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9682 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9683 |
+ |
(eval $ac_try) 2>&5 |
| 9684 |
+ |
ac_status=$? |
| 9685 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9686 |
|
(exit $ac_status); }; }; then |
| 9687 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 9688 |
|
else |
| 9691 |
|
|
| 9692 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 9693 |
|
fi |
| 9694 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9694 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9695 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9696 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9697 |
|
fi |
| 9698 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 9712 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9713 |
|
LIBS="-lmpi "-llam" $LIBS" |
| 9714 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7216 |
– |
#line $LINENO "configure" |
| 9715 |
|
/* confdefs.h. */ |
| 9716 |
|
_ACEOF |
| 9717 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9735 |
|
_ACEOF |
| 9736 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9737 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9738 |
< |
(eval $ac_link) 2>&5 |
| 9738 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9739 |
|
ac_status=$? |
| 9740 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9741 |
+ |
rm -f conftest.er1 |
| 9742 |
+ |
cat conftest.err >&5 |
| 9743 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9744 |
|
(exit $ac_status); } && |
| 9745 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9745 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9746 |
> |
|| test ! -s conftest.err' |
| 9747 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9748 |
|
(eval $ac_try) 2>&5 |
| 9749 |
|
ac_status=$? |
| 9750 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9751 |
+ |
(exit $ac_status); }; } && |
| 9752 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9753 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9754 |
+ |
(eval $ac_try) 2>&5 |
| 9755 |
+ |
ac_status=$? |
| 9756 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9757 |
|
(exit $ac_status); }; }; then |
| 9758 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 9759 |
|
else |
| 9762 |
|
|
| 9763 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 9764 |
|
fi |
| 9765 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9765 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9766 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9767 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9768 |
|
fi |
| 9769 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 9783 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9784 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
| 9785 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7277 |
– |
#line $LINENO "configure" |
| 9786 |
|
/* confdefs.h. */ |
| 9787 |
|
_ACEOF |
| 9788 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9806 |
|
_ACEOF |
| 9807 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9808 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9809 |
< |
(eval $ac_link) 2>&5 |
| 9809 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9810 |
|
ac_status=$? |
| 9811 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9812 |
+ |
rm -f conftest.er1 |
| 9813 |
+ |
cat conftest.err >&5 |
| 9814 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9815 |
|
(exit $ac_status); } && |
| 9816 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9816 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9817 |
> |
|| test ! -s conftest.err' |
| 9818 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9819 |
|
(eval $ac_try) 2>&5 |
| 9820 |
|
ac_status=$? |
| 9821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9822 |
+ |
(exit $ac_status); }; } && |
| 9823 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9824 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9825 |
+ |
(eval $ac_try) 2>&5 |
| 9826 |
+ |
ac_status=$? |
| 9827 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9828 |
|
(exit $ac_status); }; }; then |
| 9829 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 9830 |
|
else |
| 9833 |
|
|
| 9834 |
|
ac_cv_lib_mpich_MPI_Init=no |
| 9835 |
|
fi |
| 9836 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9836 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9837 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9838 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9839 |
|
fi |
| 9840 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 9855 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9856 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
| 9857 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7339 |
– |
#line $LINENO "configure" |
| 9858 |
|
/* confdefs.h. */ |
| 9859 |
|
_ACEOF |
| 9860 |
|
cat confdefs.h >>conftest.$ac_ext |
| 9878 |
|
_ACEOF |
| 9879 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9880 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9881 |
< |
(eval $ac_link) 2>&5 |
| 9881 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9882 |
|
ac_status=$? |
| 9883 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9884 |
+ |
rm -f conftest.er1 |
| 9885 |
+ |
cat conftest.err >&5 |
| 9886 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9887 |
|
(exit $ac_status); } && |
| 9888 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9888 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9889 |
> |
|| test ! -s conftest.err' |
| 9890 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9891 |
|
(eval $ac_try) 2>&5 |
| 9892 |
|
ac_status=$? |
| 9893 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9894 |
+ |
(exit $ac_status); }; } && |
| 9895 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 9896 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9897 |
+ |
(eval $ac_try) 2>&5 |
| 9898 |
+ |
ac_status=$? |
| 9899 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9900 |
|
(exit $ac_status); }; }; then |
| 9901 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 9902 |
|
else |
| 9905 |
|
|
| 9906 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 9907 |
|
fi |
| 9908 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9908 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9909 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9910 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9911 |
|
fi |
| 9912 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 9944 |
|
|
| 9945 |
|
|
| 9946 |
|
|
| 7418 |
– |
# Check whether --with-sprng or --without-sprng was given. |
| 7419 |
– |
if test "${with_sprng+set}" = set; then |
| 7420 |
– |
withval="$with_sprng" |
| 7421 |
– |
with_sprng=$withval |
| 7422 |
– |
else |
| 7423 |
– |
with_sprng="/usr/local" |
| 7424 |
– |
fi; |
| 9947 |
|
|
| 9948 |
< |
case "x$with_sprng" in |
| 9949 |
< |
xyes | "x") USE_SPRNG=yes;; |
| 7428 |
< |
xno) USE_SPRNG=no ;; |
| 7429 |
< |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
| 7430 |
< |
esac |
| 7431 |
< |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
| 7432 |
< |
SPRNG="/usr/local" |
| 7433 |
< |
fi |
| 7434 |
< |
if test "$USE_SPRNG" = "yes"; then |
| 7435 |
< |
|
| 7436 |
< |
|
| 7437 |
< |
# Set variables... |
| 7438 |
< |
SPRNG_LIB_DIR="$SPRNG/lib" |
| 7439 |
< |
SPRNG_INC_DIR="$SPRNG/include" |
| 9948 |
> |
USE_CGAL=no |
| 9949 |
> |
cgal_makefile=auto |
| 9950 |
|
|
| 9951 |
+ |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
| 9952 |
+ |
if test "${with_cgal_makefile+set}" = set; then |
| 9953 |
+ |
withval="$with_cgal_makefile" |
| 9954 |
+ |
cgal_makefile="$withval" |
| 9955 |
+ |
fi; |
| 9956 |
|
|
| 9957 |
+ |
if test "x$cgal_makefile" != xno; then |
| 9958 |
|
|
| 9959 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
| 9960 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
| 9961 |
< |
have_sprng_h=0 |
| 7446 |
< |
echo '#include <sprng.h>' > conftest.cc |
| 7447 |
< |
if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then |
| 7448 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 7449 |
< |
echo "${ECHO_T}yes" >&6 |
| 7450 |
< |
have_sprng_h=1 |
| 7451 |
< |
else |
| 7452 |
< |
echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5 |
| 7453 |
< |
echo "${ECHO_T}no! Check SPRNG include path!" >&6 |
| 7454 |
< |
USE_SPRNG="no" |
| 7455 |
< |
fi |
| 7456 |
< |
rm -f conftest* |
| 7457 |
< |
if test "$have_sprng_h" = 1; then |
| 9959 |
> |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
| 9960 |
> |
cgal_makefile="$CGAL_MAKEFILE" |
| 9961 |
> |
fi |
| 9962 |
|
|
| 9963 |
< |
cat >>confdefs.h <<\_ACEOF |
| 9964 |
< |
#define HAVE_SPRNG_H 1 |
| 7461 |
< |
_ACEOF |
| 9963 |
> |
echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5 |
| 9964 |
> |
echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6 |
| 9965 |
|
|
| 9966 |
< |
fi |
| 9966 |
> |
if test -f "$cgal_makefile"; then |
| 9967 |
|
|
| 9968 |
< |
ac_ext=c |
| 9969 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 9970 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9971 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9972 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9968 |
> |
cat >config.tmp.Makefile <<EOF |
| 9969 |
> |
include $cgal_makefile |
| 9970 |
> |
default: |
| 9971 |
> |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
| 9972 |
> |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
| 9973 |
> |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
| 9974 |
> |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 9975 |
> |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 9976 |
> |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
| 9977 |
> |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
| 9978 |
> |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 9979 |
> |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 9980 |
> |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
| 9981 |
> |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 9982 |
> |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 9983 |
> |
EOF |
| 9984 |
|
|
| 9985 |
< |
ac_save_LDFLAGS=$LDFLAGS |
| 9986 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
| 9985 |
> |
make -s -f config.tmp.Makefile |
| 9986 |
> |
. config.tmp.cgalvariables |
| 9987 |
|
|
| 9988 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
| 7475 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
| 7476 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
| 7477 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7478 |
< |
else |
| 7479 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 7480 |
< |
LIBS="-lsprng $LIBS" |
| 7481 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7482 |
< |
#line $LINENO "configure" |
| 7483 |
< |
/* confdefs.h. */ |
| 7484 |
< |
_ACEOF |
| 7485 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7486 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7487 |
< |
/* end confdefs.h. */ |
| 9988 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
| 9989 |
|
|
| 9990 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9991 |
< |
#ifdef __cplusplus |
| 9992 |
< |
extern "C" |
| 7492 |
< |
#endif |
| 7493 |
< |
/* We use char because int might match the return type of a gcc2 |
| 7494 |
< |
builtin and then its argument prototype would still apply. */ |
| 7495 |
< |
char init_rng (); |
| 7496 |
< |
int |
| 7497 |
< |
main () |
| 7498 |
< |
{ |
| 7499 |
< |
init_rng (); |
| 7500 |
< |
; |
| 7501 |
< |
return 0; |
| 7502 |
< |
} |
| 7503 |
< |
_ACEOF |
| 7504 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7505 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7506 |
< |
(eval $ac_link) 2>&5 |
| 7507 |
< |
ac_status=$? |
| 7508 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7509 |
< |
(exit $ac_status); } && |
| 7510 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7511 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7512 |
< |
(eval $ac_try) 2>&5 |
| 7513 |
< |
ac_status=$? |
| 7514 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7515 |
< |
(exit $ac_status); }; }; then |
| 7516 |
< |
ac_cv_lib_sprng_init_rng=yes |
| 7517 |
< |
else |
| 7518 |
< |
echo "$as_me: failed program was:" >&5 |
| 7519 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9990 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
| 9991 |
> |
CGAL_INCLDIR="" |
| 9992 |
> |
fi |
| 9993 |
|
|
| 9994 |
< |
ac_cv_lib_sprng_init_rng=no |
| 9995 |
< |
fi |
| 9996 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 9997 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 9998 |
< |
fi |
| 9999 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
| 10000 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
| 10001 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
| 10002 |
< |
SPRNG_LIB="-lsprng" |
| 10003 |
< |
else |
| 9994 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
| 9995 |
> |
CGAL_LIBDIR="" |
| 9996 |
> |
fi |
| 9997 |
> |
|
| 9998 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
| 9999 |
> |
CGAL_RLIBDIR="" |
| 10000 |
> |
fi |
| 10001 |
> |
|
| 10002 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
| 10003 |
> |
LEDA_INCLDIR="" |
| 10004 |
> |
fi |
| 10005 |
> |
|
| 10006 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
| 10007 |
> |
LEDA_LIBDIR="" |
| 10008 |
> |
fi |
| 10009 |
> |
|
| 10010 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
| 10011 |
> |
LEDA_RLIBDIR="" |
| 10012 |
> |
fi |
| 10013 |
|
|
| 10014 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
| 10015 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
| 10016 |
< |
{ (exit 1); exit 1; }; } |
| 7535 |
< |
USE_SPRNG="no" |
| 10014 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
| 10015 |
> |
GMP_INCLDIR="" |
| 10016 |
> |
fi |
| 10017 |
|
|
| 10018 |
< |
fi |
| 10018 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
| 10019 |
> |
GMP_LIBDIR="" |
| 10020 |
> |
fi |
| 10021 |
|
|
| 10022 |
< |
|
| 10023 |
< |
if test "$USE_SPRNG" = "no"; then |
| 7541 |
< |
{ { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5 |
| 7542 |
< |
echo "$as_me: error: No working SPRNG library found" >&2;} |
| 7543 |
< |
{ (exit 1); exit 1; }; } |
| 7544 |
< |
fi |
| 7545 |
< |
|
| 7546 |
< |
|
| 7547 |
< |
fi |
| 7548 |
< |
|
| 7549 |
< |
|
| 7550 |
< |
|
| 7551 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
| 7552 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
| 7553 |
< |
|
| 7554 |
< |
# Check whether --with-mkl or --without-mkl was given. |
| 7555 |
< |
if test "${with_mkl+set}" = set; then |
| 7556 |
< |
withval="$with_mkl" |
| 7557 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 7558 |
< |
echo "${ECHO_T}yes" >&6 |
| 7559 |
< |
for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do |
| 7560 |
< |
mkldir="$dir" |
| 7561 |
< |
if test -f "$dir/include/mkl.h"; then |
| 7562 |
< |
found_mkl="yes"; |
| 7563 |
< |
break; |
| 7564 |
< |
fi |
| 7565 |
< |
done |
| 7566 |
< |
if test x_$found_mkl != x_yes; then |
| 7567 |
< |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
| 7568 |
< |
echo "$as_me: error: Cannot find MKL includes" >&2;} |
| 7569 |
< |
{ (exit 1); exit 1; }; } |
| 7570 |
< |
else |
| 7571 |
< |
printf "MKL includes found in $mkldir/include\n"; |
| 10022 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
| 10023 |
> |
GMP_RLIBDIR="" |
| 10024 |
|
fi |
| 10025 |
|
|
| 10026 |
+ |
echo "$as_me:$LINENO: result: CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&5 |
| 10027 |
+ |
echo "${ECHO_T}CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&6 |
| 10028 |
+ |
echo "$as_me:$LINENO: result: CGAL_INCLDIR= $CGAL_INCLDIR" >&5 |
| 10029 |
+ |
echo "${ECHO_T}CGAL_INCLDIR= $CGAL_INCLDIR" >&6 |
| 10030 |
+ |
echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&5 |
| 10031 |
+ |
echo "${ECHO_T}CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&6 |
| 10032 |
+ |
echo "$as_me:$LINENO: result: CGAL_LIBDIR= $CGAL_LIBDIR" >&5 |
| 10033 |
+ |
echo "${ECHO_T}CGAL_LIBDIR= $CGAL_LIBDIR" >&6 |
| 10034 |
+ |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&5 |
| 10035 |
+ |
echo "${ECHO_T}CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&6 |
| 10036 |
+ |
echo "$as_me:$LINENO: result: LEDA_INCLDIR= $LEDA_INCLDIR" >&5 |
| 10037 |
+ |
echo "${ECHO_T}LEDA_INCLDIR= $LEDA_INCLDIR" >&6 |
| 10038 |
+ |
echo "$as_me:$LINENO: result: LEDA_LIBDIR= $LEDA_LIBDIR" >&5 |
| 10039 |
+ |
echo "${ECHO_T}LEDA_LIBDIR= $LEDA_LIBDIR" >&6 |
| 10040 |
+ |
echo "$as_me:$LINENO: result: GMP_INCLDIR= $GMP_INCLDIR" >&5 |
| 10041 |
+ |
echo "${ECHO_T}GMP_INCLDIR= $GMP_INCLDIR" >&6 |
| 10042 |
+ |
echo "$as_me:$LINENO: result: GMP_LIBDIR= $GMP_LIBDIR" >&5 |
| 10043 |
+ |
echo "${ECHO_T}GMP_LIBDIR= $GMP_LIBDIR" >&6 |
| 10044 |
|
|
| 10045 |
+ |
ac_ext=cc |
| 10046 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10047 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10048 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10049 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 10050 |
|
|
| 10051 |
< |
ac_ext=c |
| 10052 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 10053 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10054 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10055 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 10056 |
< |
|
| 7582 |
< |
ac_save_CPPFLAGS=$CPPFLAGS |
| 7583 |
< |
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
| 7584 |
< |
ac_save_LDFLAGS=$LDFLAGS |
| 7585 |
< |
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
| 7586 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
| 7587 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
| 7588 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
| 7589 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
| 10051 |
> |
save_CXXFLAGS="$CXXFLAGS" |
| 10052 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 10053 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 10054 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 10055 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 10056 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 10057 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10058 |
|
fi |
| 10059 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
| 10060 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
| 10059 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 10060 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 10061 |
|
else |
| 10062 |
|
# Is the header compilable? |
| 10063 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
| 10064 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
| 10063 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
| 10064 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
| 10065 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7599 |
– |
#line $LINENO "configure" |
| 10066 |
|
/* confdefs.h. */ |
| 10067 |
|
_ACEOF |
| 10068 |
|
cat confdefs.h >>conftest.$ac_ext |
| 10069 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 10070 |
|
/* end confdefs.h. */ |
| 10071 |
|
$ac_includes_default |
| 10072 |
< |
#include <mkl.h> |
| 10072 |
> |
#include <CGAL/Cartesian.h> |
| 10073 |
|
_ACEOF |
| 10074 |
|
rm -f conftest.$ac_objext |
| 10075 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10076 |
< |
(eval $ac_compile) 2>&5 |
| 10076 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10077 |
|
ac_status=$? |
| 10078 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10079 |
+ |
rm -f conftest.er1 |
| 10080 |
+ |
cat conftest.err >&5 |
| 10081 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10082 |
|
(exit $ac_status); } && |
| 10083 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 10083 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10084 |
> |
|| test ! -s conftest.err' |
| 10085 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10086 |
|
(eval $ac_try) 2>&5 |
| 10087 |
|
ac_status=$? |
| 10088 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10089 |
+ |
(exit $ac_status); }; } && |
| 10090 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 10091 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10092 |
+ |
(eval $ac_try) 2>&5 |
| 10093 |
+ |
ac_status=$? |
| 10094 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10095 |
|
(exit $ac_status); }; }; then |
| 10096 |
|
ac_header_compiler=yes |
| 10097 |
|
else |
| 10100 |
|
|
| 10101 |
|
ac_header_compiler=no |
| 10102 |
|
fi |
| 10103 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 10103 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10104 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10105 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10106 |
|
|
| 10107 |
|
# Is the header present? |
| 10108 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
| 10109 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
| 10108 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
| 10109 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
| 10110 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7635 |
– |
#line $LINENO "configure" |
| 10111 |
|
/* confdefs.h. */ |
| 10112 |
|
_ACEOF |
| 10113 |
|
cat confdefs.h >>conftest.$ac_ext |
| 10114 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 10115 |
|
/* end confdefs.h. */ |
| 10116 |
< |
#include <mkl.h> |
| 10116 |
> |
#include <CGAL/Cartesian.h> |
| 10117 |
|
_ACEOF |
| 10118 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10119 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10124 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10125 |
|
(exit $ac_status); } >/dev/null; then |
| 10126 |
|
if test -s conftest.err; then |
| 10127 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 10127 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10128 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10129 |
|
else |
| 10130 |
|
ac_cpp_err= |
| 10131 |
|
fi |
| 10145 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10146 |
|
|
| 10147 |
|
# So? What about this header? |
| 10148 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 10149 |
< |
yes:no ) |
| 10150 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 10151 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 10152 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 10153 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 10154 |
< |
( |
| 7679 |
< |
cat <<\_ASBOX |
| 7680 |
< |
## ------------------------------------ ## |
| 7681 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 7682 |
< |
## ------------------------------------ ## |
| 7683 |
< |
_ASBOX |
| 7684 |
< |
) | |
| 7685 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10148 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 10149 |
> |
yes:no: ) |
| 10150 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 10151 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 10152 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
| 10153 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
| 10154 |
> |
ac_header_preproc=yes |
| 10155 |
|
;; |
| 10156 |
< |
no:yes ) |
| 10157 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
| 10158 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
| 10159 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
| 10160 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
| 10161 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 10162 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 10156 |
> |
no:yes:* ) |
| 10157 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
| 10158 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
| 10159 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
| 10160 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
| 10161 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
| 10162 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
| 10163 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 10164 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 10165 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
| 10166 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
| 10167 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
| 10168 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
| 10169 |
|
( |
| 10170 |
|
cat <<\_ASBOX |
| 10171 |
< |
## ------------------------------------ ## |
| 10172 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 10173 |
< |
## ------------------------------------ ## |
| 10171 |
> |
## ------------------------------ ## |
| 10172 |
> |
## Report this to gezelter@nd.edu ## |
| 10173 |
> |
## ------------------------------ ## |
| 10174 |
|
_ASBOX |
| 10175 |
|
) | |
| 10176 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 10177 |
|
;; |
| 10178 |
|
esac |
| 10179 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
| 10180 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
| 10181 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
| 10179 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 10180 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 10181 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 10182 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10183 |
|
else |
| 10184 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
| 10184 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
| 10185 |
|
fi |
| 10186 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
| 10187 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
| 10186 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 10187 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 10188 |
|
|
| 10189 |
|
fi |
| 10190 |
< |
if test $ac_cv_header_mkl_h = yes; then |
| 10191 |
< |
|
| 7717 |
< |
echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5 |
| 7718 |
< |
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
| 7719 |
< |
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
| 7720 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10190 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
| 10191 |
> |
cgal=yes |
| 10192 |
|
else |
| 10193 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 10194 |
< |
LIBS="-lmkl $LIBS" |
| 10193 |
> |
cgal=no |
| 10194 |
> |
fi |
| 10195 |
> |
|
| 10196 |
> |
|
| 10197 |
> |
CXXFLAGS="$save_CXXFLAGS" |
| 10198 |
> |
|
| 10199 |
> |
if test "x$cgal" = xyes; then |
| 10200 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
| 10201 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
| 10202 |
> |
LOCATION=${CGAL_INCLDIR} |
| 10203 |
> |
LOCATION=${LOCATION:-/usr/include} |
| 10204 |
> |
if test -f $LOCATION/CGAL/version.h; then |
| 10205 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
| 10206 |
> |
else |
| 10207 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
| 10208 |
> |
fi |
| 10209 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
| 10210 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
| 10211 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
| 10212 |
> |
else |
| 10213 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
| 10214 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
| 10215 |
> |
cgal=no |
| 10216 |
> |
fi |
| 10217 |
> |
fi |
| 10218 |
> |
|
| 10219 |
> |
if test "x$cgal" = xyes; then |
| 10220 |
> |
CGAL_LIBS="-lCGAL" |
| 10221 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
| 10222 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
| 10223 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
| 10224 |
> |
CGAL_USES_LEDA=yes |
| 10225 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 10226 |
> |
echo "${ECHO_T}yes" >&6 |
| 10227 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
| 10228 |
> |
else |
| 10229 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 10230 |
> |
echo "${ECHO_T}no" >&6 |
| 10231 |
> |
CGAL_USES_LEDA=no |
| 10232 |
> |
fi |
| 10233 |
> |
|
| 10234 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
| 10235 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
| 10236 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
| 10237 |
> |
CGAL_USES_GMP=yes |
| 10238 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 10239 |
> |
echo "${ECHO_T}yes" >&6 |
| 10240 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
| 10241 |
> |
else |
| 10242 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 10243 |
> |
echo "${ECHO_T}no" >&6 |
| 10244 |
> |
CGAL_USES_GMP=no |
| 10245 |
> |
fi |
| 10246 |
> |
|
| 10247 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
| 10248 |
> |
|
| 10249 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
| 10250 |
> |
|
| 10251 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_LEDA= $CGAL_USES_LEDA" >&5 |
| 10252 |
> |
echo "${ECHO_T}CGAL_USES_LEDA= $CGAL_USES_LEDA" >&6 |
| 10253 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_GMP = $CGAL_USES_GMP" >&5 |
| 10254 |
> |
echo "${ECHO_T}CGAL_USES_GMP = $CGAL_USES_GMP" >&6 |
| 10255 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR = $CGAL_INCLDIR" >&5 |
| 10256 |
> |
echo "${ECHO_T}CGAL_INCLDIR = $CGAL_INCLDIR" >&6 |
| 10257 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR = $CGAL_LIBDIR" >&5 |
| 10258 |
> |
echo "${ECHO_T}CGAL_LIBDIR = $CGAL_LIBDIR" >&6 |
| 10259 |
> |
echo "$as_me:$LINENO: result: CGAL_DEFINES = $CGAL_DEFINES" >&5 |
| 10260 |
> |
echo "${ECHO_T}CGAL_DEFINES = $CGAL_DEFINES" >&6 |
| 10261 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&5 |
| 10262 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&6 |
| 10263 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBS = $CGAL_LIBS" >&5 |
| 10264 |
> |
echo "${ECHO_T}CGAL_LIBS = $CGAL_LIBS" >&6 |
| 10265 |
> |
fi |
| 10266 |
> |
|
| 10267 |
> |
if test "x$cgal" = xyes; then |
| 10268 |
> |
save_LIBS="$LIBS" |
| 10269 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
| 10270 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
| 10271 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
| 10272 |
> |
fi |
| 10273 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
| 10274 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
| 10275 |
> |
# fi |
| 10276 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
| 10277 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
| 10278 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
| 10279 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 10280 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
| 10281 |
> |
LIBS="-lCGAL $LIBS" |
| 10282 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7725 |
– |
#line $LINENO "configure" |
| 10283 |
|
/* confdefs.h. */ |
| 10284 |
|
_ACEOF |
| 10285 |
|
cat confdefs.h >>conftest.$ac_ext |
| 10286 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 10287 |
|
/* end confdefs.h. */ |
| 10288 |
< |
|
| 7732 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7733 |
< |
#ifdef __cplusplus |
| 7734 |
< |
extern "C" |
| 7735 |
< |
#endif |
| 7736 |
< |
/* We use char because int might match the return type of a gcc2 |
| 7737 |
< |
builtin and then its argument prototype would still apply. */ |
| 7738 |
< |
char vslNewStream (); |
| 10288 |
> |
#include <CGAL/Cartesian.h> |
| 10289 |
|
int |
| 10290 |
|
main () |
| 10291 |
|
{ |
| 10292 |
< |
vslNewStream (); |
| 10292 |
> |
::CGAL::Cartesian<int>::Point_2 P |
| 10293 |
|
; |
| 10294 |
|
return 0; |
| 10295 |
|
} |
| 10296 |
|
_ACEOF |
| 10297 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10298 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10299 |
< |
(eval $ac_link) 2>&5 |
| 10299 |
> |
(eval $ac_link) 2>conftest.er1 |
| 10300 |
|
ac_status=$? |
| 10301 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10302 |
+ |
rm -f conftest.er1 |
| 10303 |
+ |
cat conftest.err >&5 |
| 10304 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10305 |
|
(exit $ac_status); } && |
| 10306 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10306 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10307 |
> |
|| test ! -s conftest.err' |
| 10308 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10309 |
|
(eval $ac_try) 2>&5 |
| 10310 |
|
ac_status=$? |
| 10311 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10312 |
+ |
(exit $ac_status); }; } && |
| 10313 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 10314 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10315 |
+ |
(eval $ac_try) 2>&5 |
| 10316 |
+ |
ac_status=$? |
| 10317 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10318 |
|
(exit $ac_status); }; }; then |
| 10319 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
| 10319 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 10320 |
> |
echo "${ECHO_T}yes" >&6 |
| 10321 |
> |
cgal=yes |
| 10322 |
|
else |
| 10323 |
|
echo "$as_me: failed program was:" >&5 |
| 10324 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10325 |
|
|
| 10326 |
< |
ac_cv_lib_mkl_vslNewStream=no |
| 10326 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 10327 |
> |
echo "${ECHO_T}no" >&6 |
| 10328 |
> |
cgal=no |
| 10329 |
|
fi |
| 10330 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 10331 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 10332 |
< |
fi |
| 10333 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
| 10334 |
< |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
| 10335 |
< |
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
| 7772 |
< |
MKL_LIBDIR="${mkldir}/lib/32", |
| 7773 |
< |
MKL_LIB="-lmkl -lvml -lguide", |
| 7774 |
< |
HAVE_MKL="yes" |
| 7775 |
< |
fi |
| 10330 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 10331 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10332 |
> |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
| 10333 |
> |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
| 10334 |
> |
LIBS="$save_LIBS" |
| 10335 |
> |
fi |
| 10336 |
|
|
| 10337 |
< |
|
| 7778 |
< |
else |
| 7779 |
< |
MKL_INC="-I${mkldir}/include" |
| 7780 |
< |
fi |
| 7781 |
< |
|
| 7782 |
< |
|
| 7783 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
| 7784 |
< |
LDFLAGS=$ac_save_LDFLAGS |
| 10337 |
> |
fi |
| 10338 |
|
ac_ext=c |
| 10339 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 10340 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10342 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 10343 |
|
|
| 10344 |
|
|
| 10345 |
< |
if test x_$HAVE_MKL != x_yes; then |
| 7793 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with MKL" >&5 |
| 7794 |
< |
echo "$as_me: error: Can't build with MKL" >&2;} |
| 7795 |
< |
{ (exit 1); exit 1; }; } |
| 7796 |
< |
fi |
| 10345 |
> |
fi |
| 10346 |
|
|
| 10347 |
+ |
if test "x$cgal" = xyes; then |
| 10348 |
+ |
USE_CGAL=yes |
| 10349 |
|
|
| 10350 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 10351 |
+ |
#define HAVE_CGAL 1 |
| 10352 |
+ |
_ACEOF |
| 10353 |
|
|
| 10354 |
|
|
| 10355 |
+ |
cat >>confdefs.h <<_ACEOF |
| 10356 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
| 10357 |
+ |
_ACEOF |
| 10358 |
|
|
| 10359 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
| 10360 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 10361 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 10362 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
| 10363 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
| 10364 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
| 10365 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
| 10366 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 10367 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 10368 |
+ |
fi |
| 10369 |
|
else |
| 10370 |
+ |
if test "x$cgal_makefile" != xno; then |
| 10371 |
+ |
echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5 |
| 10372 |
+ |
echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6 |
| 10373 |
+ |
fi |
| 10374 |
+ |
CGAL_INCLDIR= |
| 10375 |
+ |
CGAL_LIBDIR= |
| 10376 |
+ |
CGAL_RLIBDIR= |
| 10377 |
+ |
CGAL_DEFINES= |
| 10378 |
+ |
CGAL_CXXFLAGS= |
| 10379 |
+ |
CGAL_LIBS= |
| 10380 |
+ |
fi |
| 10381 |
|
|
| 7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 7805 |
– |
echo "${ECHO_T}no" >&6 |
| 10382 |
|
|
| 10383 |
< |
fi; |
| 10383 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
| 10384 |
|
|
| 10385 |
+ |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
| 10386 |
|
|
| 10387 |
+ |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
| 10388 |
|
|
| 10389 |
+ |
|
| 10390 |
+ |
|
| 10391 |
+ |
|
| 10392 |
+ |
|
| 10393 |
+ |
|
| 10394 |
+ |
|
| 10395 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
| 10396 |
|
if test "${enable_doxygen+set}" = set; then |
| 10397 |
|
enableval="$enable_doxygen" |
| 10592 |
|
|
| 10593 |
|
ac_config_headers="$ac_config_headers src/config.h" |
| 10594 |
|
|
| 10595 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
| 10595 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
| 10596 |
|
|
| 10597 |
|
|
| 10598 |
|
cat >confcache <<\_ACEOF |
| 10623 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 10624 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 10625 |
|
sed -n \ |
| 10626 |
< |
"s/'/'\\\\''/g; |
| 10627 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 10626 |
> |
"s/'/'\\\\''/g; |
| 10627 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 10628 |
|
;; |
| 10629 |
|
*) |
| 10630 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 10631 |
|
sed -n \ |
| 10632 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 10632 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 10633 |
|
;; |
| 10634 |
|
esac; |
| 10635 |
|
} | |
| 10659 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 10660 |
|
# (actually we leave an empty line to preserve line numbers). |
| 10661 |
|
if test "x$srcdir" = x.; then |
| 10662 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 10662 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 10663 |
|
s/:*\$(srcdir):*/:/; |
| 10664 |
|
s/:*\${srcdir}:*/:/; |
| 10665 |
|
s/:*@srcdir@:*/:/; |
| 10666 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
| 10666 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
| 10667 |
|
s/:*$//; |
| 10668 |
< |
s/^[^=]*=[ ]*$//; |
| 10668 |
> |
s/^[^=]*=[ ]*$//; |
| 10669 |
|
}' |
| 10670 |
|
fi |
| 10671 |
|
|
| 10676 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 10677 |
|
# 1. Remove the extension, and $U if already installed. |
| 10678 |
|
ac_i=`echo "$ac_i" | |
| 10679 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 10679 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 10680 |
|
# 2. Add them. |
| 10681 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 10682 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 10720 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 10721 |
|
set -o posix |
| 10722 |
|
fi |
| 10723 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 10724 |
|
|
| 10725 |
|
# Support unset when possible. |
| 10726 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 10726 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 10727 |
|
as_unset=unset |
| 10728 |
|
else |
| 10729 |
|
as_unset=false |
| 10742 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 10743 |
|
LC_TELEPHONE LC_TIME |
| 10744 |
|
do |
| 10745 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 10745 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 10746 |
|
eval $as_var=C; export $as_var |
| 10747 |
|
else |
| 10748 |
|
$as_unset $as_var |
| 10921 |
|
if mkdir -p . 2>/dev/null; then |
| 10922 |
|
as_mkdir_p=: |
| 10923 |
|
else |
| 10924 |
+ |
test -d ./-p && rmdir ./-p |
| 10925 |
|
as_mkdir_p=false |
| 10926 |
|
fi |
| 10927 |
|
|
| 10928 |
|
as_executable_p="test -f" |
| 10929 |
|
|
| 10930 |
|
# Sed expression to map a string onto a valid CPP name. |
| 10931 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 10931 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 10932 |
|
|
| 10933 |
|
# Sed expression to map a string onto a valid variable name. |
| 10934 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 10934 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 10935 |
|
|
| 10936 |
|
|
| 10937 |
|
# IFS |
| 10958 |
|
cat >&5 <<_CSEOF |
| 10959 |
|
|
| 10960 |
|
This file was extended by OOPSE $as_me 2.0, which was |
| 10961 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
| 10961 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 10962 |
|
|
| 10963 |
|
CONFIG_FILES = $CONFIG_FILES |
| 10964 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 11002 |
|
-d, --debug don't remove temporary files |
| 11003 |
|
--recheck update $as_me by reconfiguring in the same conditions |
| 11004 |
|
--file=FILE[:TEMPLATE] |
| 11005 |
< |
instantiate the configuration file FILE |
| 11005 |
> |
instantiate the configuration file FILE |
| 11006 |
|
--header=FILE[:TEMPLATE] |
| 11007 |
< |
instantiate the configuration header FILE |
| 11007 |
> |
instantiate the configuration header FILE |
| 11008 |
|
|
| 11009 |
|
Configuration files: |
| 11010 |
|
$config_files |
| 11021 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 11022 |
|
ac_cs_version="\\ |
| 11023 |
|
OOPSE config.status 2.0 |
| 11024 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
| 11024 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
| 11025 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 11026 |
|
|
| 11027 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| 8442 |
< |
Free Software Foundation, Inc. |
| 11027 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 11028 |
|
This config.status script is free software; the Free Software Foundation |
| 11029 |
|
gives unlimited permission to copy, distribute and modify it." |
| 11030 |
|
srcdir=$srcdir |
| 11125 |
|
# Handling of arguments. |
| 11126 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
| 11127 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
| 11128 |
+ |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
| 11129 |
+ |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 11130 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
| 11131 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 11132 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 11234 |
|
s,@CXX@,$CXX,;t t |
| 11235 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 11236 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 11237 |
+ |
s,@CPP@,$CPP,;t t |
| 11238 |
+ |
s,@EGREP@,$EGREP,;t t |
| 11239 |
|
s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t |
| 11240 |
|
s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t |
| 11241 |
|
s,@F90@,$F90,;t t |
| 11251 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 11252 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 11253 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 11254 |
< |
s,@CPP@,$CPP,;t t |
| 8666 |
< |
s,@EGREP@,$EGREP,;t t |
| 11254 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
| 11255 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
| 11256 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 11257 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 11264 |
|
s,@LEX@,$LEX,;t t |
| 11265 |
|
s,@LEXLIB@,$LEXLIB,;t t |
| 11266 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
| 11267 |
+ |
s,@PERLINTERP@,$PERLINTERP,;t t |
| 11268 |
+ |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
| 11269 |
|
s,@AR@,$AR,;t t |
| 11270 |
|
s,@PS@,$PS,;t t |
| 11271 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
| 11274 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 11275 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 11276 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 11277 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
| 11278 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
| 11279 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
| 11280 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
| 11281 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
| 11282 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
| 11283 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
| 8694 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
| 11277 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
| 11278 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
| 11279 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
| 11280 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
| 11281 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
| 11282 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
| 11283 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
| 11284 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
| 11285 |
|
s,@DOT@,$DOT,;t t |
| 11286 |
|
s,@DOC@,$DOC,;t t |
| 11323 |
|
(echo ':t |
| 11324 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 11325 |
|
if test -z "$ac_sed_cmds"; then |
| 11326 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11326 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11327 |
|
else |
| 11328 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11328 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11329 |
|
fi |
| 11330 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 11331 |
|
ac_beg=$ac_end |
| 11343 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 11344 |
|
case $ac_file in |
| 11345 |
|
- | *:- | *:-:* ) # input from stdin |
| 11346 |
< |
cat >$tmp/stdin |
| 11347 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11348 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11346 |
> |
cat >$tmp/stdin |
| 11347 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11348 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11349 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11350 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11350 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11351 |
|
* ) ac_file_in=$ac_file.in ;; |
| 11352 |
|
esac |
| 11353 |
|
|
| 11354 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 11355 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 11356 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11357 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11358 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 11359 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 11360 |
< |
. : '\(.\)' 2>/dev/null || |
| 11357 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11358 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 11359 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 11360 |
> |
. : '\(.\)' 2>/dev/null || |
| 11361 |
|
echo X"$ac_file" | |
| 11362 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11363 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11373 |
|
as_dirs="$as_dir $as_dirs" |
| 11374 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 11375 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11376 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11377 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11378 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 11379 |
< |
. : '\(.\)' 2>/dev/null || |
| 11376 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11377 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11378 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 11379 |
> |
. : '\(.\)' 2>/dev/null || |
| 11380 |
|
echo X"$as_dir" | |
| 11381 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11382 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11414 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 11415 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 11416 |
|
esac |
| 8828 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 8829 |
– |
# absolute. |
| 8830 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 8831 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 8832 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 8833 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 11417 |
|
|
| 11418 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 11419 |
+ |
# the directories may not exist. |
| 11420 |
+ |
case `pwd` in |
| 11421 |
+ |
.) ac_abs_builddir="$ac_dir";; |
| 11422 |
+ |
*) |
| 11423 |
+ |
case "$ac_dir" in |
| 11424 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 11425 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 11426 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 11427 |
+ |
esac;; |
| 11428 |
+ |
esac |
| 11429 |
+ |
case $ac_abs_builddir in |
| 11430 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11431 |
+ |
*) |
| 11432 |
+ |
case ${ac_top_builddir}. in |
| 11433 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 11434 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11435 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 11436 |
+ |
esac;; |
| 11437 |
+ |
esac |
| 11438 |
+ |
case $ac_abs_builddir in |
| 11439 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 11440 |
+ |
*) |
| 11441 |
+ |
case $ac_srcdir in |
| 11442 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 11443 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 11444 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 11445 |
+ |
esac;; |
| 11446 |
+ |
esac |
| 11447 |
+ |
case $ac_abs_builddir in |
| 11448 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11449 |
+ |
*) |
| 11450 |
+ |
case $ac_top_srcdir in |
| 11451 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 11452 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11453 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 11454 |
+ |
esac;; |
| 11455 |
+ |
esac |
| 11456 |
|
|
| 11457 |
+ |
|
| 11458 |
|
case $INSTALL in |
| 11459 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 11460 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 11474 |
|
configure_input="$ac_file. " |
| 11475 |
|
fi |
| 11476 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 11477 |
< |
sed 's,.*/,,'` by configure." |
| 11477 |
> |
sed 's,.*/,,'` by configure." |
| 11478 |
|
|
| 11479 |
|
# First look for the input files in the build tree, otherwise in the |
| 11480 |
|
# src tree. |
| 11483 |
|
case $f in |
| 11484 |
|
-) echo $tmp/stdin ;; |
| 11485 |
|
[\\/$]*) |
| 11486 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 11487 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11486 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 11487 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11488 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11489 |
|
{ (exit 1); exit 1; }; } |
| 11490 |
< |
echo $f;; |
| 11490 |
> |
echo "$f";; |
| 11491 |
|
*) # Relative |
| 11492 |
< |
if test -f "$f"; then |
| 11493 |
< |
# Build tree |
| 11494 |
< |
echo $f |
| 11495 |
< |
elif test -f "$srcdir/$f"; then |
| 11496 |
< |
# Source tree |
| 11497 |
< |
echo $srcdir/$f |
| 11498 |
< |
else |
| 11499 |
< |
# /dev/null tree |
| 11500 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11492 |
> |
if test -f "$f"; then |
| 11493 |
> |
# Build tree |
| 11494 |
> |
echo "$f" |
| 11495 |
> |
elif test -f "$srcdir/$f"; then |
| 11496 |
> |
# Source tree |
| 11497 |
> |
echo "$srcdir/$f" |
| 11498 |
> |
else |
| 11499 |
> |
# /dev/null tree |
| 11500 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11501 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11502 |
|
{ (exit 1); exit 1; }; } |
| 11503 |
< |
fi;; |
| 11503 |
> |
fi;; |
| 11504 |
|
esac |
| 11505 |
|
done` || { (exit 1); exit 1; } |
| 11506 |
|
_ACEOF |
| 11530 |
|
rm -f $tmp/out |
| 11531 |
|
fi |
| 11532 |
|
|
| 11533 |
+ |
# Run the commands associated with the file. |
| 11534 |
+ |
case $ac_file in |
| 11535 |
+ |
make/Makefile ) chmod 0755 scripts/* ;; |
| 11536 |
+ |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
| 11537 |
+ |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
| 11538 |
+ |
scripts/filepp ) chmod 0755 scripts/* ;; |
| 11539 |
+ |
esac |
| 11540 |
|
done |
| 11541 |
|
_ACEOF |
| 11542 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11549 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 11550 |
|
# |
| 11551 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
| 11552 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 11553 |
< |
ac_dB='[ ].*$,\1#\2' |
| 11552 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 11553 |
> |
ac_dB='[ ].*$,\1#\2' |
| 11554 |
|
ac_dC=' ' |
| 11555 |
|
ac_dD=',;t' |
| 11556 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 11557 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 11557 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 11558 |
|
ac_uB='$,\1#\2define\3' |
| 11559 |
|
ac_uC=' ' |
| 11560 |
|
ac_uD=',;t' |
| 11563 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 11564 |
|
case $ac_file in |
| 11565 |
|
- | *:- | *:-:* ) # input from stdin |
| 11566 |
< |
cat >$tmp/stdin |
| 11567 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11568 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11566 |
> |
cat >$tmp/stdin |
| 11567 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11568 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11569 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11570 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11570 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11571 |
|
* ) ac_file_in=$ac_file.in ;; |
| 11572 |
|
esac |
| 11573 |
|
|
| 11581 |
|
case $f in |
| 11582 |
|
-) echo $tmp/stdin ;; |
| 11583 |
|
[\\/$]*) |
| 11584 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 11585 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11584 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 11585 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11586 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11587 |
|
{ (exit 1); exit 1; }; } |
| 11588 |
< |
echo $f;; |
| 11588 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 11589 |
> |
echo "$f";; |
| 11590 |
|
*) # Relative |
| 11591 |
< |
if test -f "$f"; then |
| 11592 |
< |
# Build tree |
| 11593 |
< |
echo $f |
| 11594 |
< |
elif test -f "$srcdir/$f"; then |
| 11595 |
< |
# Source tree |
| 11596 |
< |
echo $srcdir/$f |
| 11597 |
< |
else |
| 11598 |
< |
# /dev/null tree |
| 11599 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11591 |
> |
if test -f "$f"; then |
| 11592 |
> |
# Build tree |
| 11593 |
> |
echo "$f" |
| 11594 |
> |
elif test -f "$srcdir/$f"; then |
| 11595 |
> |
# Source tree |
| 11596 |
> |
echo "$srcdir/$f" |
| 11597 |
> |
else |
| 11598 |
> |
# /dev/null tree |
| 11599 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11600 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11601 |
|
{ (exit 1); exit 1; }; } |
| 11602 |
< |
fi;; |
| 11602 |
> |
fi;; |
| 11603 |
|
esac |
| 11604 |
|
done` || { (exit 1); exit 1; } |
| 11605 |
|
# Remove the trailing spaces. |
| 11606 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 11606 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 11607 |
|
|
| 11608 |
|
_ACEOF |
| 11609 |
|
|
| 11626 |
|
s,[\\$`],\\&,g |
| 11627 |
|
t clear |
| 11628 |
|
: clear |
| 11629 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 11629 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 11630 |
|
t end |
| 11631 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 11631 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 11632 |
|
: end |
| 11633 |
|
_ACEOF |
| 11634 |
|
# If some macros were called several times there might be several times |
| 11642 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 11643 |
|
# on some systems where configure will not decide to define it. |
| 11644 |
|
cat >>conftest.undefs <<\_ACEOF |
| 11645 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 11645 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 11646 |
|
_ACEOF |
| 11647 |
|
|
| 11648 |
|
# Break up conftest.defines because some shells have a limit on the size |
| 11649 |
|
# of here documents, and old seds have small limits too (100 cmds). |
| 11650 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 11651 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 11651 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 11652 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 11653 |
|
echo ' :' >>$CONFIG_STATUS |
| 11654 |
|
rm -f conftest.tail |
| 11657 |
|
# Write a limited-size here document to $tmp/defines.sed. |
| 11658 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 11659 |
|
# Speed up: don't consider the non `#define' lines. |
| 11660 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 11660 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 11661 |
|
# Work around the forget-to-reset-the-flag bug. |
| 11662 |
|
echo 't clr' >>$CONFIG_STATUS |
| 11663 |
|
echo ': clr' >>$CONFIG_STATUS |
| 11684 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
| 11685 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 11686 |
|
# Speed up: don't consider the non `#undef' |
| 11687 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 11687 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 11688 |
|
# Work around the forget-to-reset-the-flag bug. |
| 11689 |
|
echo 't clr' >>$CONFIG_STATUS |
| 11690 |
|
echo ': clr' >>$CONFIG_STATUS |
| 11718 |
|
else |
| 11719 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 11720 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11721 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11722 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 11723 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 11724 |
< |
. : '\(.\)' 2>/dev/null || |
| 11721 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11722 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 11723 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 11724 |
> |
. : '\(.\)' 2>/dev/null || |
| 11725 |
|
echo X"$ac_file" | |
| 11726 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11727 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11737 |
|
as_dirs="$as_dir $as_dirs" |
| 11738 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 11739 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11740 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11741 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11742 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 11743 |
< |
. : '\(.\)' 2>/dev/null || |
| 11740 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11741 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11742 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 11743 |
> |
. : '\(.\)' 2>/dev/null || |
| 11744 |
|
echo X"$as_dir" | |
| 11745 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11746 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11785 |
|
# Make relative symlinks. |
| 11786 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
| 11787 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11788 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 11789 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 11790 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
| 11791 |
< |
. : '\(.\)' 2>/dev/null || |
| 11788 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 11789 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 11790 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
| 11791 |
> |
. : '\(.\)' 2>/dev/null || |
| 11792 |
|
echo X"$ac_dest" | |
| 11793 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11794 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11804 |
|
as_dirs="$as_dir $as_dirs" |
| 11805 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 11806 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11807 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11808 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11809 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 11810 |
< |
. : '\(.\)' 2>/dev/null || |
| 11807 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11808 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11809 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 11810 |
> |
. : '\(.\)' 2>/dev/null || |
| 11811 |
|
echo X"$as_dir" | |
| 11812 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11813 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11845 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 11846 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 11847 |
|
esac |
| 9218 |
– |
# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be |
| 9219 |
– |
# absolute. |
| 9220 |
– |
ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` |
| 9221 |
– |
ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` |
| 9222 |
– |
ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` |
| 9223 |
– |
ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` |
| 11848 |
|
|
| 11849 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 11850 |
+ |
# the directories may not exist. |
| 11851 |
+ |
case `pwd` in |
| 11852 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
| 11853 |
+ |
*) |
| 11854 |
+ |
case "$ac_dest_dir" in |
| 11855 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 11856 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
| 11857 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
| 11858 |
+ |
esac;; |
| 11859 |
+ |
esac |
| 11860 |
+ |
case $ac_abs_builddir in |
| 11861 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11862 |
+ |
*) |
| 11863 |
+ |
case ${ac_top_builddir}. in |
| 11864 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 11865 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11866 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 11867 |
+ |
esac;; |
| 11868 |
+ |
esac |
| 11869 |
+ |
case $ac_abs_builddir in |
| 11870 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 11871 |
+ |
*) |
| 11872 |
+ |
case $ac_srcdir in |
| 11873 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 11874 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 11875 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 11876 |
+ |
esac;; |
| 11877 |
+ |
esac |
| 11878 |
+ |
case $ac_abs_builddir in |
| 11879 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11880 |
+ |
*) |
| 11881 |
+ |
case $ac_top_srcdir in |
| 11882 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 11883 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11884 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 11885 |
+ |
esac;; |
| 11886 |
+ |
esac |
| 11887 |
|
|
| 11888 |
+ |
|
| 11889 |
|
case $srcdir in |
| 11890 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
| 11891 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |