| 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 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 PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP 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; } |
| 789 |
|
ac_env_CPP_value=$CPP |
| 790 |
|
ac_cv_env_CPP_set=${CPP+set} |
| 791 |
|
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 |
| 899 |
|
F90 Fortran 90 compiler command |
| 900 |
|
F90FLAGS Fortran 90 compiler flags |
| 901 |
|
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 |
| 941 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 942 |
< |
# absolute. |
| 943 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 944 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 945 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 946 |
< |
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. |
| 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. |
| 1883 |
|
|
| 1884 |
|
|
| 1885 |
|
|
| 1886 |
+ |
|
| 1887 |
+ |
|
| 1888 |
+ |
# |
| 1889 |
+ |
# |
| 1890 |
+ |
# |
| 1891 |
|
|
| 1892 |
|
|
| 1893 |
|
|
| 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=$? |
| 2342 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2343 |
|
(exit $ac_status); }; }; then |
| 2344 |
|
ac_compiler_gnu=yes |
| 2345 |
|
else |
| 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=$? |
| 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=$? |
| 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' |
| 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 |
| 3216 |
|
_ACEOF |
| 3217 |
|
rm -f conftest.$ac_objext |
| 3218 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3219 |
< |
(eval $ac_compile) 2>&5 |
| 3219 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3220 |
|
ac_status=$? |
| 3221 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3222 |
+ |
rm -f conftest.er1 |
| 3223 |
+ |
cat conftest.err >&5 |
| 3224 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3225 |
|
(exit $ac_status); } && |
| 3226 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3226 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3227 |
> |
|| test ! -s conftest.err' |
| 3228 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3229 |
|
(eval $ac_try) 2>&5 |
| 3230 |
|
ac_status=$? |
| 3231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3232 |
+ |
(exit $ac_status); }; } && |
| 3233 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3234 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3235 |
+ |
(eval $ac_try) 2>&5 |
| 3236 |
+ |
ac_status=$? |
| 3237 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3238 |
|
(exit $ac_status); }; }; then |
| 3239 |
|
ac_compiler_gnu=yes |
| 3240 |
|
else |
| 3243 |
|
|
| 3244 |
|
ac_compiler_gnu=no |
| 3245 |
|
fi |
| 3246 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3246 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3247 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
| 3248 |
|
|
| 3249 |
|
fi |
| 3317 |
|
_ACEOF |
| 3318 |
|
rm -f conftest.$ac_objext |
| 3319 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3320 |
< |
(eval $ac_compile) 2>&5 |
| 3320 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3321 |
|
ac_status=$? |
| 3322 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3323 |
+ |
rm -f conftest.er1 |
| 3324 |
+ |
cat conftest.err >&5 |
| 3325 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3326 |
|
(exit $ac_status); } && |
| 3327 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3327 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3328 |
> |
|| test ! -s conftest.err' |
| 3329 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3330 |
|
(eval $ac_try) 2>&5 |
| 3331 |
|
ac_status=$? |
| 3332 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3333 |
+ |
(exit $ac_status); }; } && |
| 3334 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3335 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3336 |
+ |
(eval $ac_try) 2>&5 |
| 3337 |
+ |
ac_status=$? |
| 3338 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3339 |
|
(exit $ac_status); }; }; then |
| 3340 |
|
prepflagworks=1 |
| 3341 |
|
else |
| 3344 |
|
|
| 3345 |
|
prepflagworks=0 |
| 3346 |
|
fi |
| 3347 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3347 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3348 |
|
|
| 3349 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3350 |
|
ac_ext=$ac_save_ext |
| 3432 |
|
_ACEOF |
| 3433 |
|
rm -f conftest.$ac_objext |
| 3434 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3435 |
< |
(eval $ac_compile) 2>&5 |
| 3435 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3436 |
|
ac_status=$? |
| 3437 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3438 |
+ |
rm -f conftest.er1 |
| 3439 |
+ |
cat conftest.err >&5 |
| 3440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3441 |
|
(exit $ac_status); } && |
| 3442 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3442 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3443 |
> |
|| test ! -s conftest.err' |
| 3444 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3445 |
|
(eval $ac_try) 2>&5 |
| 3446 |
|
ac_status=$? |
| 3447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3448 |
+ |
(exit $ac_status); }; } && |
| 3449 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3450 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3451 |
+ |
(eval $ac_try) 2>&5 |
| 3452 |
+ |
ac_status=$? |
| 3453 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3454 |
|
(exit $ac_status); }; }; then |
| 3455 |
|
prepdefflagworks=1 |
| 3456 |
|
else |
| 3459 |
|
|
| 3460 |
|
prepdefflagworks=0 |
| 3461 |
|
fi |
| 3462 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3462 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3463 |
|
|
| 3464 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3465 |
|
ac_ext=$ac_save_ext |
| 3511 |
|
_ACEOF |
| 3512 |
|
rm -f conftest.$ac_objext |
| 3513 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3514 |
< |
(eval $ac_compile) 2>&5 |
| 3514 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3515 |
|
ac_status=$? |
| 3516 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3517 |
+ |
rm -f conftest.er1 |
| 3518 |
+ |
cat conftest.err >&5 |
| 3519 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3520 |
|
(exit $ac_status); } && |
| 3521 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3521 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3522 |
> |
|| test ! -s conftest.err' |
| 3523 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3524 |
> |
(eval $ac_try) 2>&5 |
| 3525 |
> |
ac_status=$? |
| 3526 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3527 |
> |
(exit $ac_status); }; } && |
| 3528 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 3529 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3530 |
|
(eval $ac_try) 2>&5 |
| 3531 |
|
ac_status=$? |
| 3555 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3556 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3557 |
|
|
| 3558 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
| 3558 |
> |
(eval echo $as_me:3558: \"$ac_link\") >&5 |
| 3559 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3560 |
|
echo "$ac_f90_v_output" >&5 |
| 3561 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3597 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 3598 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
| 3599 |
|
fi |
| 3600 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3600 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3601 |
|
|
| 3602 |
|
fi |
| 3603 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
| 3632 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3633 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3634 |
|
|
| 3635 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
| 3635 |
> |
(eval echo $as_me:3635: \"$ac_link\") >&5 |
| 3636 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3637 |
|
echo "$ac_f90_v_output" >&5 |
| 3638 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3814 |
|
_ACEOF |
| 3815 |
|
rm -f conftest.$ac_objext |
| 3816 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3817 |
< |
(eval $ac_compile) 2>&5 |
| 3817 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3818 |
|
ac_status=$? |
| 3819 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3820 |
+ |
rm -f conftest.er1 |
| 3821 |
+ |
cat conftest.err >&5 |
| 3822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3823 |
|
(exit $ac_status); } && |
| 3824 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3824 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3825 |
> |
|| test ! -s conftest.err' |
| 3826 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3827 |
|
(eval $ac_try) 2>&5 |
| 3828 |
|
ac_status=$? |
| 3829 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3830 |
+ |
(exit $ac_status); }; } && |
| 3831 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3832 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3833 |
+ |
(eval $ac_try) 2>&5 |
| 3834 |
+ |
ac_status=$? |
| 3835 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3836 |
|
(exit $ac_status); }; }; then |
| 3837 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
| 3838 |
|
|
| 3850 |
|
for ac_underscore in "" "_"; do |
| 3851 |
|
ac_func="$ac_foobar$ac_underscore" |
| 3852 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3660 |
– |
#line $LINENO "configure" |
| 3853 |
|
/* confdefs.h. */ |
| 3854 |
|
_ACEOF |
| 3855 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3873 |
|
_ACEOF |
| 3874 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3875 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3876 |
< |
(eval $ac_link) 2>&5 |
| 3876 |
> |
(eval $ac_link) 2>conftest.er1 |
| 3877 |
|
ac_status=$? |
| 3878 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3879 |
+ |
rm -f conftest.er1 |
| 3880 |
+ |
cat conftest.err >&5 |
| 3881 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3882 |
|
(exit $ac_status); } && |
| 3883 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 3883 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3884 |
> |
|| test ! -s conftest.err' |
| 3885 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3886 |
|
(eval $ac_try) 2>&5 |
| 3887 |
|
ac_status=$? |
| 3888 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3889 |
+ |
(exit $ac_status); }; } && |
| 3890 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 3891 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3892 |
+ |
(eval $ac_try) 2>&5 |
| 3893 |
+ |
ac_status=$? |
| 3894 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3895 |
|
(exit $ac_status); }; }; then |
| 3896 |
|
ac_success=yes; break 2 |
| 3897 |
|
else |
| 3899 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3900 |
|
|
| 3901 |
|
fi |
| 3902 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 3902 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 3903 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 3904 |
|
done |
| 3905 |
|
done |
| 3906 |
|
|
| 3921 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
| 3922 |
|
|
| 3923 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3721 |
– |
#line $LINENO "configure" |
| 3924 |
|
/* confdefs.h. */ |
| 3925 |
|
_ACEOF |
| 3926 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3944 |
|
_ACEOF |
| 3945 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3946 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3947 |
< |
(eval $ac_link) 2>&5 |
| 3947 |
> |
(eval $ac_link) 2>conftest.er1 |
| 3948 |
|
ac_status=$? |
| 3949 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3950 |
+ |
rm -f conftest.er1 |
| 3951 |
+ |
cat conftest.err >&5 |
| 3952 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3953 |
|
(exit $ac_status); } && |
| 3954 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 3954 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3955 |
> |
|| test ! -s conftest.err' |
| 3956 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3957 |
> |
(eval $ac_try) 2>&5 |
| 3958 |
> |
ac_status=$? |
| 3959 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3960 |
> |
(exit $ac_status); }; } && |
| 3961 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 3962 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3963 |
|
(eval $ac_try) 2>&5 |
| 3964 |
|
ac_status=$? |
| 3970 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3971 |
|
|
| 3972 |
|
fi |
| 3973 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 3973 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 3974 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 3975 |
|
done |
| 3976 |
|
|
| 3977 |
|
if test "$ac_success_extra" = "yes"; then |
| 4006 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4007 |
|
|
| 4008 |
|
fi |
| 4009 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4009 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4010 |
|
ac_ext=f90 |
| 4011 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
| 4012 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4249 |
|
_ACEOF |
| 4250 |
|
rm -f conftest.$ac_objext |
| 4251 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4252 |
< |
(eval $ac_compile) 2>&5 |
| 4252 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4253 |
|
ac_status=$? |
| 4254 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4255 |
+ |
rm -f conftest.er1 |
| 4256 |
+ |
cat conftest.err >&5 |
| 4257 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4258 |
|
(exit $ac_status); } && |
| 4259 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4259 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 4260 |
> |
|| test ! -s conftest.err' |
| 4261 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4262 |
|
(eval $ac_try) 2>&5 |
| 4263 |
|
ac_status=$? |
| 4264 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4265 |
+ |
(exit $ac_status); }; } && |
| 4266 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 4267 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4268 |
+ |
(eval $ac_try) 2>&5 |
| 4269 |
+ |
ac_status=$? |
| 4270 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4271 |
|
(exit $ac_status); }; }; then |
| 4272 |
|
ac_cv_f90_module_names= |
| 4273 |
|
ac_file_list=* |
| 4368 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
| 4369 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
| 4370 |
|
fi |
| 4371 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4371 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4372 |
|
cd .. |
| 4373 |
|
# cleanup |
| 4374 |
|
rm -rf conftest |
| 4498 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4499 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
| 4500 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4278 |
– |
#line $LINENO "configure" |
| 4501 |
|
/* confdefs.h. */ |
| 4502 |
|
_ACEOF |
| 4503 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4508 |
|
#else |
| 4509 |
|
# include <assert.h> |
| 4510 |
|
#endif |
| 4511 |
< |
Syntax error |
| 4511 |
> |
Syntax error |
| 4512 |
|
_ACEOF |
| 4513 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4514 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4520 |
|
(exit $ac_status); } >/dev/null; then |
| 4521 |
|
if test -s conftest.err; then |
| 4522 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4523 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4524 |
|
else |
| 4525 |
|
ac_cpp_err= |
| 4526 |
|
fi |
| 4541 |
|
# OK, works on sane cases. Now check whether non-existent headers |
| 4542 |
|
# can be detected and how. |
| 4543 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4321 |
– |
#line $LINENO "configure" |
| 4544 |
|
/* confdefs.h. */ |
| 4545 |
|
_ACEOF |
| 4546 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4558 |
|
(exit $ac_status); } >/dev/null; then |
| 4559 |
|
if test -s conftest.err; then |
| 4560 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4561 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4562 |
|
else |
| 4563 |
|
ac_cpp_err= |
| 4564 |
|
fi |
| 4605 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4606 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
| 4607 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4385 |
– |
#line $LINENO "configure" |
| 4608 |
|
/* confdefs.h. */ |
| 4609 |
|
_ACEOF |
| 4610 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4615 |
|
#else |
| 4616 |
|
# include <assert.h> |
| 4617 |
|
#endif |
| 4618 |
< |
Syntax error |
| 4618 |
> |
Syntax error |
| 4619 |
|
_ACEOF |
| 4620 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4621 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4627 |
|
(exit $ac_status); } >/dev/null; then |
| 4628 |
|
if test -s conftest.err; then |
| 4629 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4630 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4631 |
|
else |
| 4632 |
|
ac_cpp_err= |
| 4633 |
|
fi |
| 4648 |
|
# OK, works on sane cases. Now check whether non-existent headers |
| 4649 |
|
# can be detected and how. |
| 4650 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4428 |
– |
#line $LINENO "configure" |
| 4651 |
|
/* confdefs.h. */ |
| 4652 |
|
_ACEOF |
| 4653 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4665 |
|
(exit $ac_status); } >/dev/null; then |
| 4666 |
|
if test -s conftest.err; then |
| 4667 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4668 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4669 |
|
else |
| 4670 |
|
ac_cpp_err= |
| 4671 |
|
fi |
| 4726 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4727 |
|
else |
| 4728 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4506 |
– |
#line $LINENO "configure" |
| 4729 |
|
/* confdefs.h. */ |
| 4730 |
|
_ACEOF |
| 4731 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4746 |
|
_ACEOF |
| 4747 |
|
rm -f conftest.$ac_objext |
| 4748 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4749 |
< |
(eval $ac_compile) 2>&5 |
| 4749 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4750 |
|
ac_status=$? |
| 4751 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4752 |
+ |
rm -f conftest.er1 |
| 4753 |
+ |
cat conftest.err >&5 |
| 4754 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4755 |
|
(exit $ac_status); } && |
| 4756 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4756 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4757 |
> |
|| test ! -s conftest.err' |
| 4758 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4759 |
|
(eval $ac_try) 2>&5 |
| 4760 |
|
ac_status=$? |
| 4761 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4762 |
+ |
(exit $ac_status); }; } && |
| 4763 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 4764 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4765 |
+ |
(eval $ac_try) 2>&5 |
| 4766 |
+ |
ac_status=$? |
| 4767 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4768 |
|
(exit $ac_status); }; }; then |
| 4769 |
|
ac_cv_header_stdc=yes |
| 4770 |
|
else |
| 4773 |
|
|
| 4774 |
|
ac_cv_header_stdc=no |
| 4775 |
|
fi |
| 4776 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4776 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4777 |
|
|
| 4778 |
|
if test $ac_cv_header_stdc = yes; then |
| 4779 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4780 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4549 |
– |
#line $LINENO "configure" |
| 4781 |
|
/* confdefs.h. */ |
| 4782 |
|
_ACEOF |
| 4783 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4799 |
|
if test $ac_cv_header_stdc = yes; then |
| 4800 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4801 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4571 |
– |
#line $LINENO "configure" |
| 4802 |
|
/* confdefs.h. */ |
| 4803 |
|
_ACEOF |
| 4804 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4823 |
|
: |
| 4824 |
|
else |
| 4825 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4596 |
– |
#line $LINENO "configure" |
| 4826 |
|
/* confdefs.h. */ |
| 4827 |
|
_ACEOF |
| 4828 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4834 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4835 |
|
#else |
| 4836 |
|
# define ISLOWER(c) \ |
| 4837 |
< |
(('a' <= (c) && (c) <= 'i') \ |
| 4838 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4839 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
| 4837 |
> |
(('a' <= (c) && (c) <= 'i') \ |
| 4838 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4839 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
| 4840 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4841 |
|
#endif |
| 4842 |
|
|
| 4847 |
|
int i; |
| 4848 |
|
for (i = 0; i < 256; i++) |
| 4849 |
|
if (XOR (islower (i), ISLOWER (i)) |
| 4850 |
< |
|| toupper (i) != TOUPPER (i)) |
| 4850 |
> |
|| toupper (i) != TOUPPER (i)) |
| 4851 |
|
exit(2); |
| 4852 |
|
exit (0); |
| 4853 |
|
} |
| 4872 |
|
( exit $ac_status ) |
| 4873 |
|
ac_cv_header_stdc=no |
| 4874 |
|
fi |
| 4875 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4875 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4876 |
|
fi |
| 4877 |
|
fi |
| 4878 |
|
fi |
| 4897 |
|
|
| 4898 |
|
|
| 4899 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4900 |
< |
inttypes.h stdint.h unistd.h |
| 4900 |
> |
inttypes.h stdint.h unistd.h |
| 4901 |
|
do |
| 4902 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4903 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4906 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4907 |
|
else |
| 4908 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4680 |
– |
#line $LINENO "configure" |
| 4909 |
|
/* confdefs.h. */ |
| 4910 |
|
_ACEOF |
| 4911 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4917 |
|
_ACEOF |
| 4918 |
|
rm -f conftest.$ac_objext |
| 4919 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4920 |
< |
(eval $ac_compile) 2>&5 |
| 4920 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4921 |
|
ac_status=$? |
| 4922 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4923 |
+ |
rm -f conftest.er1 |
| 4924 |
+ |
cat conftest.err >&5 |
| 4925 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4926 |
|
(exit $ac_status); } && |
| 4927 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4927 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4928 |
> |
|| test ! -s conftest.err' |
| 4929 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4930 |
|
(eval $ac_try) 2>&5 |
| 4931 |
|
ac_status=$? |
| 4932 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4933 |
+ |
(exit $ac_status); }; } && |
| 4934 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 4935 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4936 |
+ |
(eval $ac_try) 2>&5 |
| 4937 |
+ |
ac_status=$? |
| 4938 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4939 |
|
(exit $ac_status); }; }; then |
| 4940 |
|
eval "$as_ac_Header=yes" |
| 4941 |
|
else |
| 4944 |
|
|
| 4945 |
|
eval "$as_ac_Header=no" |
| 4946 |
|
fi |
| 4947 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 4947 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4948 |
|
fi |
| 4949 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4950 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4958 |
|
done |
| 4959 |
|
|
| 4960 |
|
|
| 4961 |
+ |
# |
| 4962 |
+ |
# Handle user hints |
| 4963 |
+ |
# |
| 4964 |
+ |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 4965 |
+ |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 4966 |
|
|
| 4967 |
+ |
# Check whether --with-zlib or --without-zlib was given. |
| 4968 |
+ |
if test "${with_zlib+set}" = set; then |
| 4969 |
+ |
withval="$with_zlib" |
| 4970 |
+ |
if test "$withval" != no ; then |
| 4971 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
| 4972 |
+ |
echo "${ECHO_T}yes" >&6 |
| 4973 |
+ |
if test -d "$withval" |
| 4974 |
+ |
then |
| 4975 |
+ |
ZLIB_HOME="$withval" |
| 4976 |
+ |
else |
| 4977 |
+ |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 4978 |
+ |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 4979 |
+ |
fi |
| 4980 |
+ |
else |
| 4981 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 4982 |
+ |
echo "${ECHO_T}no" >&6 |
| 4983 |
+ |
fi |
| 4984 |
+ |
fi; |
| 4985 |
|
|
| 4986 |
+ |
ZLIB_HOME=/usr/local |
| 4987 |
+ |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 4988 |
+ |
then |
| 4989 |
+ |
ZLIB_HOME=/usr |
| 4990 |
+ |
fi |
| 4991 |
|
|
| 4992 |
+ |
# |
| 4993 |
+ |
# Locate zlib, if wanted |
| 4994 |
+ |
# |
| 4995 |
+ |
if test -n "${ZLIB_HOME}" |
| 4996 |
+ |
then |
| 4997 |
+ |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 4998 |
+ |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 4999 |
+ |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5000 |
+ |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5001 |
|
|
| 5002 |
|
|
| 5003 |
+ |
ac_ext=c |
| 5004 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 5005 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5006 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5007 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5008 |
|
|
| 5009 |
+ |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5010 |
+ |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5011 |
+ |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5012 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5013 |
+ |
else |
| 5014 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 5015 |
+ |
LIBS="-lz $LIBS" |
| 5016 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5017 |
+ |
/* confdefs.h. */ |
| 5018 |
+ |
_ACEOF |
| 5019 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5020 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5021 |
+ |
/* end confdefs.h. */ |
| 5022 |
|
|
| 5023 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5024 |
+ |
#ifdef __cplusplus |
| 5025 |
+ |
extern "C" |
| 5026 |
+ |
#endif |
| 5027 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 5028 |
+ |
builtin and then its argument prototype would still apply. */ |
| 5029 |
+ |
char inflateEnd (); |
| 5030 |
+ |
int |
| 5031 |
+ |
main () |
| 5032 |
+ |
{ |
| 5033 |
+ |
inflateEnd (); |
| 5034 |
+ |
; |
| 5035 |
+ |
return 0; |
| 5036 |
+ |
} |
| 5037 |
+ |
_ACEOF |
| 5038 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5039 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5040 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 5041 |
+ |
ac_status=$? |
| 5042 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5043 |
+ |
rm -f conftest.er1 |
| 5044 |
+ |
cat conftest.err >&5 |
| 5045 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5046 |
+ |
(exit $ac_status); } && |
| 5047 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5048 |
+ |
|| test ! -s conftest.err' |
| 5049 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5050 |
+ |
(eval $ac_try) 2>&5 |
| 5051 |
+ |
ac_status=$? |
| 5052 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5053 |
+ |
(exit $ac_status); }; } && |
| 5054 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5055 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5056 |
+ |
(eval $ac_try) 2>&5 |
| 5057 |
+ |
ac_status=$? |
| 5058 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5059 |
+ |
(exit $ac_status); }; }; then |
| 5060 |
+ |
ac_cv_lib_z_inflateEnd=yes |
| 5061 |
+ |
else |
| 5062 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5063 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5064 |
|
|
| 5065 |
+ |
ac_cv_lib_z_inflateEnd=no |
| 5066 |
+ |
fi |
| 5067 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 5068 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 5069 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 5070 |
+ |
fi |
| 5071 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5072 |
+ |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5073 |
+ |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5074 |
+ |
zlib_cv_libz=yes |
| 5075 |
+ |
else |
| 5076 |
+ |
zlib_cv_libz=no |
| 5077 |
+ |
fi |
| 5078 |
|
|
| 5079 |
< |
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 |
| 5080 |
< |
do |
| 5081 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5082 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4736 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4737 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4738 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5079 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5080 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5081 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5082 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5083 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5084 |
|
fi |
| 5085 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5086 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5085 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5086 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5087 |
|
else |
| 5088 |
|
# Is the header compilable? |
| 5089 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5090 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5089 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 5090 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 5091 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4748 |
– |
#line $LINENO "configure" |
| 5092 |
|
/* confdefs.h. */ |
| 5093 |
|
_ACEOF |
| 5094 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5095 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5096 |
|
/* end confdefs.h. */ |
| 5097 |
|
$ac_includes_default |
| 5098 |
< |
#include <$ac_header> |
| 5098 |
> |
#include <zlib.h> |
| 5099 |
|
_ACEOF |
| 5100 |
|
rm -f conftest.$ac_objext |
| 5101 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5102 |
< |
(eval $ac_compile) 2>&5 |
| 5102 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5103 |
|
ac_status=$? |
| 5104 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5105 |
+ |
rm -f conftest.er1 |
| 5106 |
+ |
cat conftest.err >&5 |
| 5107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5108 |
|
(exit $ac_status); } && |
| 5109 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5109 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5110 |
> |
|| test ! -s conftest.err' |
| 5111 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5112 |
|
(eval $ac_try) 2>&5 |
| 5113 |
|
ac_status=$? |
| 5114 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5115 |
+ |
(exit $ac_status); }; } && |
| 5116 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5117 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5118 |
+ |
(eval $ac_try) 2>&5 |
| 5119 |
+ |
ac_status=$? |
| 5120 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5121 |
|
(exit $ac_status); }; }; then |
| 5122 |
|
ac_header_compiler=yes |
| 5123 |
|
else |
| 5126 |
|
|
| 5127 |
|
ac_header_compiler=no |
| 5128 |
|
fi |
| 5129 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 5129 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5130 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5131 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5132 |
|
|
| 5133 |
|
# Is the header present? |
| 5134 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5135 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5134 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 5135 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 5136 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4784 |
– |
#line $LINENO "configure" |
| 5137 |
|
/* confdefs.h. */ |
| 5138 |
|
_ACEOF |
| 5139 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5140 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5141 |
|
/* end confdefs.h. */ |
| 5142 |
< |
#include <$ac_header> |
| 5142 |
> |
#include <zlib.h> |
| 5143 |
|
_ACEOF |
| 5144 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5145 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5151 |
|
(exit $ac_status); } >/dev/null; then |
| 5152 |
|
if test -s conftest.err; then |
| 5153 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5154 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5155 |
|
else |
| 5156 |
|
ac_cpp_err= |
| 5157 |
|
fi |
| 5171 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5172 |
|
|
| 5173 |
|
# So? What about this header? |
| 5174 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 5175 |
< |
yes:no ) |
| 5176 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5177 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5178 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5179 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5180 |
< |
( |
| 4828 |
< |
cat <<\_ASBOX |
| 4829 |
< |
## ------------------------------------ ## |
| 4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 4831 |
< |
## ------------------------------------ ## |
| 4832 |
< |
_ASBOX |
| 4833 |
< |
) | |
| 4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5174 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5175 |
> |
yes:no: ) |
| 5176 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5177 |
> |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5178 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 5179 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 5180 |
> |
ac_header_preproc=yes |
| 5181 |
|
;; |
| 5182 |
< |
no:yes ) |
| 5183 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5184 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5185 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5186 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5187 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5188 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5182 |
> |
no:yes:* ) |
| 5183 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
| 5184 |
> |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 5185 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 5186 |
> |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 5187 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 5188 |
> |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 5189 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 5190 |
> |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5191 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 5192 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 5193 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 5194 |
> |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 5195 |
|
( |
| 5196 |
|
cat <<\_ASBOX |
| 5197 |
< |
## ------------------------------------ ## |
| 5198 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 5199 |
< |
## ------------------------------------ ## |
| 5197 |
> |
## ------------------------------ ## |
| 5198 |
> |
## Report this to gezelter@nd.edu ## |
| 5199 |
> |
## ------------------------------ ## |
| 5200 |
|
_ASBOX |
| 5201 |
|
) | |
| 5202 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 5203 |
|
;; |
| 5204 |
|
esac |
| 5205 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5206 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5207 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5205 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5206 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5207 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5208 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5209 |
|
else |
| 5210 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
| 5210 |
> |
ac_cv_header_zlib_h=$ac_header_preproc |
| 5211 |
|
fi |
| 5212 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5213 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5212 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5213 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5214 |
|
|
| 5215 |
|
fi |
| 5216 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5217 |
< |
cat >>confdefs.h <<_ACEOF |
| 5218 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5219 |
< |
_ACEOF |
| 4868 |
< |
|
| 5216 |
> |
if test $ac_cv_header_zlib_h = yes; then |
| 5217 |
> |
zlib_cv_zlib_h=yes |
| 5218 |
> |
else |
| 5219 |
> |
zlib_cv_zlib_h=no |
| 5220 |
|
fi |
| 5221 |
|
|
| 4871 |
– |
done |
| 5222 |
|
|
| 5223 |
+ |
ac_ext=c |
| 5224 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 5225 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5226 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5227 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5228 |
|
|
| 5229 |
+ |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 5230 |
+ |
then |
| 5231 |
+ |
# |
| 5232 |
+ |
# If both library and header were found, use them |
| 5233 |
+ |
# |
| 5234 |
|
|
| 5235 |
< |
|
| 5236 |
< |
|
| 5237 |
< |
|
| 4878 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 4879 |
< |
do |
| 4880 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4881 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4882 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4883 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5235 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5236 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5237 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5238 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5239 |
|
else |
| 5240 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 5241 |
< |
#line $LINENO "configure" |
| 5240 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 5241 |
> |
LIBS="-lz $LIBS" |
| 5242 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5243 |
|
/* confdefs.h. */ |
| 5244 |
|
_ACEOF |
| 5245 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5246 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5247 |
|
/* end confdefs.h. */ |
| 5248 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 4894 |
< |
which can conflict with char $ac_func (); below. |
| 4895 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4896 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 4897 |
< |
#ifdef __STDC__ |
| 4898 |
< |
# include <limits.h> |
| 4899 |
< |
#else |
| 4900 |
< |
# include <assert.h> |
| 4901 |
< |
#endif |
| 5248 |
> |
|
| 5249 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5250 |
|
#ifdef __cplusplus |
| 5251 |
|
extern "C" |
| 4905 |
– |
{ |
| 5252 |
|
#endif |
| 5253 |
|
/* We use char because int might match the return type of a gcc2 |
| 5254 |
|
builtin and then its argument prototype would still apply. */ |
| 5255 |
< |
char $ac_func (); |
| 4910 |
< |
/* The GNU C library defines this for functions which it implements |
| 4911 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 4912 |
< |
something starting with __ and the normal name is an alias. */ |
| 4913 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4914 |
< |
choke me |
| 4915 |
< |
#else |
| 4916 |
< |
char (*f) () = $ac_func; |
| 4917 |
< |
#endif |
| 4918 |
< |
#ifdef __cplusplus |
| 4919 |
< |
} |
| 4920 |
< |
#endif |
| 4921 |
< |
|
| 5255 |
> |
char inflateEnd (); |
| 5256 |
|
int |
| 5257 |
|
main () |
| 5258 |
|
{ |
| 5259 |
< |
return f != $ac_func; |
| 5259 |
> |
inflateEnd (); |
| 5260 |
|
; |
| 5261 |
|
return 0; |
| 5262 |
|
} |
| 5263 |
|
_ACEOF |
| 5264 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5265 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5266 |
< |
(eval $ac_link) 2>&5 |
| 5266 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5267 |
|
ac_status=$? |
| 5268 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5269 |
+ |
rm -f conftest.er1 |
| 5270 |
+ |
cat conftest.err >&5 |
| 5271 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5272 |
|
(exit $ac_status); } && |
| 5273 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5273 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5274 |
> |
|| test ! -s conftest.err' |
| 5275 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5276 |
|
(eval $ac_try) 2>&5 |
| 5277 |
|
ac_status=$? |
| 5278 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5279 |
+ |
(exit $ac_status); }; } && |
| 5280 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5281 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5282 |
+ |
(eval $ac_try) 2>&5 |
| 5283 |
+ |
ac_status=$? |
| 5284 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5285 |
|
(exit $ac_status); }; }; then |
| 5286 |
< |
eval "$as_ac_var=yes" |
| 5286 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 5287 |
|
else |
| 5288 |
|
echo "$as_me: failed program was:" >&5 |
| 5289 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5290 |
|
|
| 5291 |
< |
eval "$as_ac_var=no" |
| 5291 |
> |
ac_cv_lib_z_inflateEnd=no |
| 5292 |
|
fi |
| 5293 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5293 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5294 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5295 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 5296 |
|
fi |
| 5297 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5298 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5299 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5297 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5298 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5299 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5300 |
|
cat >>confdefs.h <<_ACEOF |
| 5301 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5301 |
> |
#define HAVE_LIBZ 1 |
| 5302 |
|
_ACEOF |
| 5303 |
|
|
| 5304 |
< |
fi |
| 4959 |
< |
done |
| 5304 |
> |
LIBS="-lz $LIBS" |
| 5305 |
|
|
| 5306 |
< |
# special check for _system_configuration because AIX <4.3.2 do not |
| 4962 |
< |
# contain the `physmem' member. |
| 4963 |
< |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 4964 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 4965 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4966 |
< |
#line $LINENO "configure" |
| 4967 |
< |
/* confdefs.h. */ |
| 4968 |
< |
_ACEOF |
| 4969 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4970 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4971 |
< |
/* end confdefs.h. */ |
| 4972 |
< |
#include <sys/systemcfg.h> |
| 4973 |
< |
int |
| 4974 |
< |
main () |
| 4975 |
< |
{ |
| 4976 |
< |
double x = _system_configuration.physmem; |
| 4977 |
< |
; |
| 4978 |
< |
return 0; |
| 4979 |
< |
} |
| 4980 |
< |
_ACEOF |
| 4981 |
< |
rm -f conftest.$ac_objext |
| 4982 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4983 |
< |
(eval $ac_compile) 2>&5 |
| 4984 |
< |
ac_status=$? |
| 4985 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4986 |
< |
(exit $ac_status); } && |
| 4987 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4988 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4989 |
< |
(eval $ac_try) 2>&5 |
| 4990 |
< |
ac_status=$? |
| 4991 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4992 |
< |
(exit $ac_status); }; }; then |
| 4993 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 4994 |
< |
echo "${ECHO_T}yes" >&6 |
| 5306 |
> |
fi |
| 5307 |
|
|
| 5308 |
< |
cat >>confdefs.h <<\_ACEOF |
| 5309 |
< |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 5310 |
< |
_ACEOF |
| 5308 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5309 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5310 |
> |
echo "$as_me:$LINENO: result: ok" >&5 |
| 5311 |
> |
echo "${ECHO_T}ok" >&6 |
| 5312 |
> |
else |
| 5313 |
> |
# |
| 5314 |
> |
# If either header or library was not found, revert and bomb |
| 5315 |
> |
# |
| 5316 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5317 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5318 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 5319 |
> |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 5320 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 5321 |
> |
echo "${ECHO_T}failed" >&6 |
| 5322 |
> |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 5323 |
> |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 5324 |
> |
{ (exit 1); exit 1; }; } |
| 5325 |
> |
fi |
| 5326 |
> |
fi |
| 5327 |
|
|
| 5000 |
– |
else |
| 5001 |
– |
echo "$as_me: failed program was:" >&5 |
| 5002 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5328 |
|
|
| 5004 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 5005 |
– |
echo "${ECHO_T}no" >&6 |
| 5006 |
– |
fi |
| 5007 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 5329 |
|
|
| 5009 |
– |
# clean out junk possibly left behind by a previous configuration |
| 5010 |
– |
rm -f src/getopt.h |
| 5011 |
– |
# Check for getopt_long support |
| 5330 |
|
|
| 5331 |
< |
for ac_header in getopt.h |
| 5331 |
> |
|
| 5332 |
> |
|
| 5333 |
> |
|
| 5334 |
> |
|
| 5335 |
> |
|
| 5336 |
> |
|
| 5337 |
> |
|
| 5338 |
> |
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 |
| 5339 |
|
do |
| 5340 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5341 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5351 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5352 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5353 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5029 |
– |
#line $LINENO "configure" |
| 5354 |
|
/* confdefs.h. */ |
| 5355 |
|
_ACEOF |
| 5356 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5361 |
|
_ACEOF |
| 5362 |
|
rm -f conftest.$ac_objext |
| 5363 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5364 |
< |
(eval $ac_compile) 2>&5 |
| 5364 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5365 |
|
ac_status=$? |
| 5366 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5367 |
+ |
rm -f conftest.er1 |
| 5368 |
+ |
cat conftest.err >&5 |
| 5369 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5370 |
|
(exit $ac_status); } && |
| 5371 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5371 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5372 |
> |
|| test ! -s conftest.err' |
| 5373 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5374 |
|
(eval $ac_try) 2>&5 |
| 5375 |
|
ac_status=$? |
| 5376 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5377 |
+ |
(exit $ac_status); }; } && |
| 5378 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5379 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5380 |
+ |
(eval $ac_try) 2>&5 |
| 5381 |
+ |
ac_status=$? |
| 5382 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5383 |
|
(exit $ac_status); }; }; then |
| 5384 |
|
ac_header_compiler=yes |
| 5385 |
|
else |
| 5388 |
|
|
| 5389 |
|
ac_header_compiler=no |
| 5390 |
|
fi |
| 5391 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 5391 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5392 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5393 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5394 |
|
|
| 5396 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5397 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5398 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5065 |
– |
#line $LINENO "configure" |
| 5399 |
|
/* confdefs.h. */ |
| 5400 |
|
_ACEOF |
| 5401 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5413 |
|
(exit $ac_status); } >/dev/null; then |
| 5414 |
|
if test -s conftest.err; then |
| 5415 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5416 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5417 |
|
else |
| 5418 |
|
ac_cpp_err= |
| 5419 |
|
fi |
| 5433 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5434 |
|
|
| 5435 |
|
# So? What about this header? |
| 5436 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 5437 |
< |
yes:no ) |
| 5436 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5437 |
> |
yes:no: ) |
| 5438 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5439 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5440 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5441 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5442 |
< |
( |
| 5109 |
< |
cat <<\_ASBOX |
| 5110 |
< |
## ------------------------------------ ## |
| 5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 5112 |
< |
## ------------------------------------ ## |
| 5113 |
< |
_ASBOX |
| 5114 |
< |
) | |
| 5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5440 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5441 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5442 |
> |
ac_header_preproc=yes |
| 5443 |
|
;; |
| 5444 |
< |
no:yes ) |
| 5444 |
> |
no:yes:* ) |
| 5445 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5446 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5447 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5448 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5447 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5448 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5449 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5450 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5451 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5452 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5453 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5454 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5455 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5456 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5457 |
|
( |
| 5458 |
|
cat <<\_ASBOX |
| 5459 |
< |
## ------------------------------------ ## |
| 5460 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 5461 |
< |
## ------------------------------------ ## |
| 5459 |
> |
## ------------------------------ ## |
| 5460 |
> |
## Report this to gezelter@nd.edu ## |
| 5461 |
> |
## ------------------------------ ## |
| 5462 |
|
_ASBOX |
| 5463 |
|
) | |
| 5464 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 5469 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5470 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5471 |
|
else |
| 5472 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
| 5472 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5473 |
|
fi |
| 5474 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5475 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5485 |
|
done |
| 5486 |
|
|
| 5487 |
|
|
| 5488 |
< |
for ac_func in getopt_long |
| 5488 |
> |
|
| 5489 |
> |
|
| 5490 |
> |
|
| 5491 |
> |
|
| 5492 |
> |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 5493 |
|
do |
| 5494 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5495 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5498 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5499 |
|
else |
| 5500 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5164 |
– |
#line $LINENO "configure" |
| 5501 |
|
/* confdefs.h. */ |
| 5502 |
|
_ACEOF |
| 5503 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5504 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5505 |
|
/* end confdefs.h. */ |
| 5506 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5507 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5508 |
+ |
#define $ac_func innocuous_$ac_func |
| 5509 |
+ |
|
| 5510 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 5511 |
|
which can conflict with char $ac_func (); below. |
| 5512 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5513 |
|
<limits.h> exists even on freestanding compilers. */ |
| 5514 |
+ |
|
| 5515 |
|
#ifdef __STDC__ |
| 5516 |
|
# include <limits.h> |
| 5517 |
|
#else |
| 5518 |
|
# include <assert.h> |
| 5519 |
|
#endif |
| 5520 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5521 |
< |
#ifdef __cplusplus |
| 5520 |
> |
|
| 5521 |
> |
#undef $ac_func |
| 5522 |
> |
|
| 5523 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5524 |
> |
#ifdef __cplusplus |
| 5525 |
|
extern "C" |
| 5526 |
|
{ |
| 5527 |
|
#endif |
| 5550 |
|
_ACEOF |
| 5551 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5552 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5553 |
< |
(eval $ac_link) 2>&5 |
| 5553 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5554 |
|
ac_status=$? |
| 5555 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5556 |
+ |
rm -f conftest.er1 |
| 5557 |
+ |
cat conftest.err >&5 |
| 5558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5559 |
|
(exit $ac_status); } && |
| 5560 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5560 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5561 |
> |
|| test ! -s conftest.err' |
| 5562 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5563 |
|
(eval $ac_try) 2>&5 |
| 5564 |
|
ac_status=$? |
| 5565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5566 |
+ |
(exit $ac_status); }; } && |
| 5567 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5568 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5569 |
+ |
(eval $ac_try) 2>&5 |
| 5570 |
+ |
ac_status=$? |
| 5571 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5572 |
|
(exit $ac_status); }; }; then |
| 5573 |
|
eval "$as_ac_var=yes" |
| 5574 |
|
else |
| 5577 |
|
|
| 5578 |
|
eval "$as_ac_var=no" |
| 5579 |
|
fi |
| 5580 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5580 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5581 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5582 |
|
fi |
| 5583 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5584 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5587 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5588 |
|
_ACEOF |
| 5589 |
|
|
| 5590 |
+ |
fi |
| 5591 |
+ |
done |
| 5592 |
+ |
|
| 5593 |
+ |
# special check for _system_configuration because AIX <4.3.2 do not |
| 5594 |
+ |
# contain the `physmem' member. |
| 5595 |
+ |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 5596 |
+ |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 5597 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5598 |
+ |
/* confdefs.h. */ |
| 5599 |
+ |
_ACEOF |
| 5600 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5601 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5602 |
+ |
/* end confdefs.h. */ |
| 5603 |
+ |
#include <sys/systemcfg.h> |
| 5604 |
+ |
int |
| 5605 |
+ |
main () |
| 5606 |
+ |
{ |
| 5607 |
+ |
double x = _system_configuration.physmem; |
| 5608 |
+ |
; |
| 5609 |
+ |
return 0; |
| 5610 |
+ |
} |
| 5611 |
+ |
_ACEOF |
| 5612 |
+ |
rm -f conftest.$ac_objext |
| 5613 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5614 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 5615 |
+ |
ac_status=$? |
| 5616 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5617 |
+ |
rm -f conftest.er1 |
| 5618 |
+ |
cat conftest.err >&5 |
| 5619 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5620 |
+ |
(exit $ac_status); } && |
| 5621 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5622 |
+ |
|| test ! -s conftest.err' |
| 5623 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5624 |
+ |
(eval $ac_try) 2>&5 |
| 5625 |
+ |
ac_status=$? |
| 5626 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5627 |
+ |
(exit $ac_status); }; } && |
| 5628 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5629 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5630 |
+ |
(eval $ac_try) 2>&5 |
| 5631 |
+ |
ac_status=$? |
| 5632 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5633 |
+ |
(exit $ac_status); }; }; then |
| 5634 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5635 |
+ |
echo "${ECHO_T}yes" >&6 |
| 5636 |
+ |
|
| 5637 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 5638 |
+ |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 5639 |
+ |
_ACEOF |
| 5640 |
+ |
|
| 5641 |
|
else |
| 5642 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5643 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5644 |
+ |
|
| 5645 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 5646 |
+ |
echo "${ECHO_T}no" >&6 |
| 5647 |
+ |
fi |
| 5648 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5649 |
+ |
|
| 5650 |
+ |
# clean out junk possibly left behind by a previous configuration |
| 5651 |
+ |
rm -f src/getopt.h |
| 5652 |
+ |
# Check for getopt_long support |
| 5653 |
+ |
|
| 5654 |
+ |
for ac_header in getopt.h |
| 5655 |
+ |
do |
| 5656 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5657 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5658 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5659 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5660 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5661 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5662 |
+ |
fi |
| 5663 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5664 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5665 |
+ |
else |
| 5666 |
+ |
# Is the header compilable? |
| 5667 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5668 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5669 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5670 |
+ |
/* confdefs.h. */ |
| 5671 |
+ |
_ACEOF |
| 5672 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5673 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5674 |
+ |
/* end confdefs.h. */ |
| 5675 |
+ |
$ac_includes_default |
| 5676 |
+ |
#include <$ac_header> |
| 5677 |
+ |
_ACEOF |
| 5678 |
+ |
rm -f conftest.$ac_objext |
| 5679 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5680 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 5681 |
+ |
ac_status=$? |
| 5682 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5683 |
+ |
rm -f conftest.er1 |
| 5684 |
+ |
cat conftest.err >&5 |
| 5685 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5686 |
+ |
(exit $ac_status); } && |
| 5687 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5688 |
+ |
|| test ! -s conftest.err' |
| 5689 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5690 |
+ |
(eval $ac_try) 2>&5 |
| 5691 |
+ |
ac_status=$? |
| 5692 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5693 |
+ |
(exit $ac_status); }; } && |
| 5694 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 5695 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5696 |
+ |
(eval $ac_try) 2>&5 |
| 5697 |
+ |
ac_status=$? |
| 5698 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5699 |
+ |
(exit $ac_status); }; }; then |
| 5700 |
+ |
ac_header_compiler=yes |
| 5701 |
+ |
else |
| 5702 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5703 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5704 |
+ |
|
| 5705 |
+ |
ac_header_compiler=no |
| 5706 |
+ |
fi |
| 5707 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5708 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5709 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5710 |
+ |
|
| 5711 |
+ |
# Is the header present? |
| 5712 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5713 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5714 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5715 |
+ |
/* confdefs.h. */ |
| 5716 |
+ |
_ACEOF |
| 5717 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5718 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5719 |
+ |
/* end confdefs.h. */ |
| 5720 |
+ |
#include <$ac_header> |
| 5721 |
+ |
_ACEOF |
| 5722 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5723 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5724 |
+ |
ac_status=$? |
| 5725 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5726 |
+ |
rm -f conftest.er1 |
| 5727 |
+ |
cat conftest.err >&5 |
| 5728 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5729 |
+ |
(exit $ac_status); } >/dev/null; then |
| 5730 |
+ |
if test -s conftest.err; then |
| 5731 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5732 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5733 |
+ |
else |
| 5734 |
+ |
ac_cpp_err= |
| 5735 |
+ |
fi |
| 5736 |
+ |
else |
| 5737 |
+ |
ac_cpp_err=yes |
| 5738 |
+ |
fi |
| 5739 |
+ |
if test -z "$ac_cpp_err"; then |
| 5740 |
+ |
ac_header_preproc=yes |
| 5741 |
+ |
else |
| 5742 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5743 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5744 |
+ |
|
| 5745 |
+ |
ac_header_preproc=no |
| 5746 |
+ |
fi |
| 5747 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 5748 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5749 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5750 |
+ |
|
| 5751 |
+ |
# So? What about this header? |
| 5752 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5753 |
+ |
yes:no: ) |
| 5754 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5755 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5756 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5757 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5758 |
+ |
ac_header_preproc=yes |
| 5759 |
+ |
;; |
| 5760 |
+ |
no:yes:* ) |
| 5761 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5762 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5763 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5764 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5765 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5766 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5767 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5768 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5769 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5770 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5771 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5772 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5773 |
+ |
( |
| 5774 |
+ |
cat <<\_ASBOX |
| 5775 |
+ |
## ------------------------------ ## |
| 5776 |
+ |
## Report this to gezelter@nd.edu ## |
| 5777 |
+ |
## ------------------------------ ## |
| 5778 |
+ |
_ASBOX |
| 5779 |
+ |
) | |
| 5780 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5781 |
+ |
;; |
| 5782 |
+ |
esac |
| 5783 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5784 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5785 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5786 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5787 |
+ |
else |
| 5788 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5789 |
+ |
fi |
| 5790 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5791 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5792 |
+ |
|
| 5793 |
+ |
fi |
| 5794 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5795 |
+ |
cat >>confdefs.h <<_ACEOF |
| 5796 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5797 |
+ |
_ACEOF |
| 5798 |
+ |
|
| 5799 |
+ |
fi |
| 5800 |
+ |
|
| 5801 |
+ |
done |
| 5802 |
+ |
|
| 5803 |
+ |
|
| 5804 |
+ |
for ac_func in getopt_long |
| 5805 |
+ |
do |
| 5806 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5807 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5808 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5809 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5810 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5811 |
+ |
else |
| 5812 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5813 |
+ |
/* confdefs.h. */ |
| 5814 |
+ |
_ACEOF |
| 5815 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5816 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5817 |
+ |
/* end confdefs.h. */ |
| 5818 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5819 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5820 |
+ |
#define $ac_func innocuous_$ac_func |
| 5821 |
+ |
|
| 5822 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 5823 |
+ |
which can conflict with char $ac_func (); below. |
| 5824 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5825 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 5826 |
+ |
|
| 5827 |
+ |
#ifdef __STDC__ |
| 5828 |
+ |
# include <limits.h> |
| 5829 |
+ |
#else |
| 5830 |
+ |
# include <assert.h> |
| 5831 |
+ |
#endif |
| 5832 |
+ |
|
| 5833 |
+ |
#undef $ac_func |
| 5834 |
+ |
|
| 5835 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5836 |
+ |
#ifdef __cplusplus |
| 5837 |
+ |
extern "C" |
| 5838 |
+ |
{ |
| 5839 |
+ |
#endif |
| 5840 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 5841 |
+ |
builtin and then its argument prototype would still apply. */ |
| 5842 |
+ |
char $ac_func (); |
| 5843 |
+ |
/* The GNU C library defines this for functions which it implements |
| 5844 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 5845 |
+ |
something starting with __ and the normal name is an alias. */ |
| 5846 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5847 |
+ |
choke me |
| 5848 |
+ |
#else |
| 5849 |
+ |
char (*f) () = $ac_func; |
| 5850 |
+ |
#endif |
| 5851 |
+ |
#ifdef __cplusplus |
| 5852 |
+ |
} |
| 5853 |
+ |
#endif |
| 5854 |
+ |
|
| 5855 |
+ |
int |
| 5856 |
+ |
main () |
| 5857 |
+ |
{ |
| 5858 |
+ |
return f != $ac_func; |
| 5859 |
+ |
; |
| 5860 |
+ |
return 0; |
| 5861 |
+ |
} |
| 5862 |
+ |
_ACEOF |
| 5863 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5864 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5865 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 5866 |
+ |
ac_status=$? |
| 5867 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5868 |
+ |
rm -f conftest.er1 |
| 5869 |
+ |
cat conftest.err >&5 |
| 5870 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5871 |
+ |
(exit $ac_status); } && |
| 5872 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5873 |
+ |
|| test ! -s conftest.err' |
| 5874 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5875 |
+ |
(eval $ac_try) 2>&5 |
| 5876 |
+ |
ac_status=$? |
| 5877 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5878 |
+ |
(exit $ac_status); }; } && |
| 5879 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5880 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5881 |
+ |
(eval $ac_try) 2>&5 |
| 5882 |
+ |
ac_status=$? |
| 5883 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5884 |
+ |
(exit $ac_status); }; }; then |
| 5885 |
+ |
eval "$as_ac_var=yes" |
| 5886 |
+ |
else |
| 5887 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5888 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5889 |
+ |
|
| 5890 |
+ |
eval "$as_ac_var=no" |
| 5891 |
+ |
fi |
| 5892 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 5893 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 5894 |
+ |
fi |
| 5895 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5896 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5897 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5898 |
+ |
cat >>confdefs.h <<_ACEOF |
| 5899 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5900 |
+ |
_ACEOF |
| 5901 |
+ |
|
| 5902 |
+ |
else |
| 5903 |
|
# FreeBSD has a gnugetopt library for this |
| 5904 |
|
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 5905 |
|
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 5909 |
|
ac_check_lib_save_LIBS=$LIBS |
| 5910 |
|
LIBS="-lgnugetopt $LIBS" |
| 5911 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5245 |
– |
#line $LINENO "configure" |
| 5912 |
|
/* confdefs.h. */ |
| 5913 |
|
_ACEOF |
| 5914 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5932 |
|
_ACEOF |
| 5933 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5934 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5935 |
< |
(eval $ac_link) 2>&5 |
| 5935 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5936 |
|
ac_status=$? |
| 5937 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5938 |
+ |
rm -f conftest.er1 |
| 5939 |
+ |
cat conftest.err >&5 |
| 5940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5941 |
|
(exit $ac_status); } && |
| 5942 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5942 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5943 |
> |
|| test ! -s conftest.err' |
| 5944 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5945 |
|
(eval $ac_try) 2>&5 |
| 5946 |
|
ac_status=$? |
| 5947 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5948 |
+ |
(exit $ac_status); }; } && |
| 5949 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5950 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5951 |
+ |
(eval $ac_try) 2>&5 |
| 5952 |
+ |
ac_status=$? |
| 5953 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5954 |
|
(exit $ac_status); }; }; then |
| 5955 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
| 5956 |
|
else |
| 5959 |
|
|
| 5960 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
| 5961 |
|
fi |
| 5962 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 5962 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5963 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5964 |
|
LIBS=$ac_check_lib_save_LIBS |
| 5965 |
|
fi |
| 5966 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 5972 |
|
|
| 5973 |
|
else |
| 5974 |
|
# use the GNU replacement |
| 5975 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
| 5976 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
| 5975 |
> |
case $LIBOBJS in |
| 5976 |
> |
"getopt.$ac_objext" | \ |
| 5977 |
> |
*" getopt.$ac_objext" | \ |
| 5978 |
> |
"getopt.$ac_objext "* | \ |
| 5979 |
> |
*" getopt.$ac_objext "* ) ;; |
| 5980 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
| 5981 |
> |
esac |
| 5982 |
> |
|
| 5983 |
> |
case $LIBOBJS in |
| 5984 |
> |
"getopt1.$ac_objext" | \ |
| 5985 |
> |
*" getopt1.$ac_objext" | \ |
| 5986 |
> |
"getopt1.$ac_objext "* | \ |
| 5987 |
> |
*" getopt1.$ac_objext "* ) ;; |
| 5988 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
| 5989 |
> |
esac |
| 5990 |
> |
|
| 5991 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
| 5992 |
|
|
| 5993 |
|
fi |
| 7036 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 7037 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 7038 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 7039 |
+ |
# OS/2's system install, which has a completely different semantic |
| 7040 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 7041 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 7042 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 7053 |
|
case $as_dir/ in |
| 7054 |
|
./ | .// | /cC/* | \ |
| 7055 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 7056 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 7057 |
|
/usr/ucb/* ) ;; |
| 7058 |
|
*) |
| 7059 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 7061 |
|
# by default. |
| 7062 |
|
for ac_prog in ginstall scoinst install; do |
| 7063 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7064 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 7065 |
< |
if test $ac_prog = install && |
| 7066 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 7067 |
< |
# AIX install. It has an incompatible calling convention. |
| 7068 |
< |
: |
| 7069 |
< |
elif test $ac_prog = install && |
| 7070 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 7071 |
< |
# program-specific install script used by HP pwplus--don't use. |
| 7072 |
< |
: |
| 7073 |
< |
else |
| 7074 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 7075 |
< |
break 3 |
| 7076 |
< |
fi |
| 7077 |
< |
fi |
| 7064 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 7065 |
> |
if test $ac_prog = install && |
| 7066 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 7067 |
> |
# AIX install. It has an incompatible calling convention. |
| 7068 |
> |
: |
| 7069 |
> |
elif test $ac_prog = install && |
| 7070 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 7071 |
> |
# program-specific install script used by HP pwplus--don't use. |
| 7072 |
> |
: |
| 7073 |
> |
else |
| 7074 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 7075 |
> |
break 3 |
| 7076 |
> |
fi |
| 7077 |
> |
fi |
| 7078 |
|
done |
| 7079 |
|
done |
| 7080 |
|
;; |
| 7117 |
|
|
| 7118 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 7119 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 7120 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| 7120 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 7121 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 7122 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7123 |
|
else |
| 7316 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7317 |
|
LIBS="-lfl $LIBS" |
| 7318 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6626 |
– |
#line $LINENO "configure" |
| 7319 |
|
/* confdefs.h. */ |
| 7320 |
|
_ACEOF |
| 7321 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7339 |
|
_ACEOF |
| 7340 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7341 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7342 |
< |
(eval $ac_link) 2>&5 |
| 7342 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7343 |
|
ac_status=$? |
| 7344 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7345 |
+ |
rm -f conftest.er1 |
| 7346 |
+ |
cat conftest.err >&5 |
| 7347 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7348 |
|
(exit $ac_status); } && |
| 7349 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7349 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7350 |
> |
|| test ! -s conftest.err' |
| 7351 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7352 |
> |
(eval $ac_try) 2>&5 |
| 7353 |
> |
ac_status=$? |
| 7354 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7355 |
> |
(exit $ac_status); }; } && |
| 7356 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 7357 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7358 |
|
(eval $ac_try) 2>&5 |
| 7359 |
|
ac_status=$? |
| 7366 |
|
|
| 7367 |
|
ac_cv_lib_fl_yywrap=no |
| 7368 |
|
fi |
| 7369 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7369 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7370 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7371 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7372 |
|
fi |
| 7373 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
| 7383 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7384 |
|
LIBS="-ll $LIBS" |
| 7385 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6683 |
– |
#line $LINENO "configure" |
| 7386 |
|
/* confdefs.h. */ |
| 7387 |
|
_ACEOF |
| 7388 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7406 |
|
_ACEOF |
| 7407 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7408 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7409 |
< |
(eval $ac_link) 2>&5 |
| 7409 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7410 |
|
ac_status=$? |
| 7411 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7412 |
+ |
rm -f conftest.er1 |
| 7413 |
+ |
cat conftest.err >&5 |
| 7414 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7415 |
|
(exit $ac_status); } && |
| 7416 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7416 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7417 |
> |
|| test ! -s conftest.err' |
| 7418 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7419 |
|
(eval $ac_try) 2>&5 |
| 7420 |
|
ac_status=$? |
| 7421 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7422 |
+ |
(exit $ac_status); }; } && |
| 7423 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7424 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7425 |
+ |
(eval $ac_try) 2>&5 |
| 7426 |
+ |
ac_status=$? |
| 7427 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7428 |
|
(exit $ac_status); }; }; then |
| 7429 |
|
ac_cv_lib_l_yywrap=yes |
| 7430 |
|
else |
| 7433 |
|
|
| 7434 |
|
ac_cv_lib_l_yywrap=no |
| 7435 |
|
fi |
| 7436 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7436 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7437 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7438 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7439 |
|
fi |
| 7440 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
| 7496 |
|
_ACEOF |
| 7497 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7498 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7499 |
< |
(eval $ac_link) 2>&5 |
| 7499 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7500 |
|
ac_status=$? |
| 7501 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7502 |
+ |
rm -f conftest.er1 |
| 7503 |
+ |
cat conftest.err >&5 |
| 7504 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7505 |
|
(exit $ac_status); } && |
| 7506 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7506 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7507 |
> |
|| test ! -s conftest.err' |
| 7508 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7509 |
|
(eval $ac_try) 2>&5 |
| 7510 |
|
ac_status=$? |
| 7511 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7512 |
+ |
(exit $ac_status); }; } && |
| 7513 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7514 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7515 |
+ |
(eval $ac_try) 2>&5 |
| 7516 |
+ |
ac_status=$? |
| 7517 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7518 |
|
(exit $ac_status); }; }; then |
| 7519 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 7520 |
|
else |
| 7522 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7523 |
|
|
| 7524 |
|
fi |
| 7525 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7525 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7526 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7527 |
|
LIBS=$ac_save_LIBS |
| 7528 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
| 7529 |
|
|
| 7539 |
|
fi |
| 7540 |
|
|
| 7541 |
|
fi |
| 7542 |
+ |
|
| 7543 |
+ |
# Extract the first word of "perl", so it can be a program name with args. |
| 7544 |
+ |
set dummy perl; ac_word=$2 |
| 7545 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 7546 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 7547 |
+ |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
| 7548 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7549 |
+ |
else |
| 7550 |
+ |
case $PERLINTERP in |
| 7551 |
+ |
[\\/]* | ?:[\\/]*) |
| 7552 |
+ |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
| 7553 |
+ |
;; |
| 7554 |
+ |
*) |
| 7555 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7556 |
+ |
for as_dir in $PATH |
| 7557 |
+ |
do |
| 7558 |
+ |
IFS=$as_save_IFS |
| 7559 |
+ |
test -z "$as_dir" && as_dir=. |
| 7560 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7561 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7562 |
+ |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
| 7563 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7564 |
+ |
break 2 |
| 7565 |
+ |
fi |
| 7566 |
+ |
done |
| 7567 |
+ |
done |
| 7568 |
+ |
|
| 7569 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
| 7570 |
+ |
;; |
| 7571 |
+ |
esac |
| 7572 |
+ |
fi |
| 7573 |
+ |
PERLINTERP=$ac_cv_path_PERLINTERP |
| 7574 |
+ |
|
| 7575 |
+ |
if test -n "$PERLINTERP"; then |
| 7576 |
+ |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
| 7577 |
+ |
echo "${ECHO_T}$PERLINTERP" >&6 |
| 7578 |
+ |
else |
| 7579 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 7580 |
+ |
echo "${ECHO_T}no" >&6 |
| 7581 |
+ |
fi |
| 7582 |
+ |
|
| 7583 |
+ |
ac_cv_path_perlinterp="$PERLINTERP" |
| 7584 |
+ |
_sHpB='#!' |
| 7585 |
+ |
|
| 7586 |
+ |
|
| 7587 |
+ |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
| 7588 |
+ |
if test "${with_perl_shebang+set}" = set; then |
| 7589 |
+ |
withval="$with_perl_shebang" |
| 7590 |
+ |
opt_perl_shebang="$withval" |
| 7591 |
+ |
else |
| 7592 |
+ |
opt_perl_shebang="not_set" |
| 7593 |
+ |
fi; |
| 7594 |
+ |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 7595 |
+ |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
| 7596 |
+ |
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
| 7597 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7598 |
+ |
else |
| 7599 |
+ |
case "$opt_perl_shebang" in |
| 7600 |
+ |
not_set ) ax_cv_opt_perl_shebang='' |
| 7601 |
+ |
;; |
| 7602 |
+ |
* ) |
| 7603 |
+ |
ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` |
| 7604 |
+ |
esac |
| 7605 |
+ |
|
| 7606 |
+ |
fi |
| 7607 |
+ |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
| 7608 |
+ |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
| 7609 |
+ |
if test "A$ax_cv_opt_perl_shebang" != "A" |
| 7610 |
+ |
then |
| 7611 |
+ |
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
| 7612 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
| 7613 |
+ |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
| 7614 |
+ |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
| 7615 |
+ |
|
| 7616 |
+ |
# Automatic detection of sharpbang formula starts here |
| 7617 |
+ |
else |
| 7618 |
+ |
_somian_shbangperl=`$PERLINTERP -V:startperl` |
| 7619 |
+ |
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
| 7620 |
+ |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
| 7621 |
+ |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
| 7622 |
+ |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
| 7623 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7624 |
+ |
else |
| 7625 |
+ |
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
| 7626 |
+ |
if test "x$_somian_kspb_perl" == x |
| 7627 |
+ |
then _somian_ksbp_warn_empty='durnit' |
| 7628 |
+ |
else |
| 7629 |
+ |
case "A$_somian_kspb_perl" in |
| 7630 |
+ |
A#!*perl* ) |
| 7631 |
+ |
ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` |
| 7632 |
+ |
;; |
| 7633 |
+ |
A* ) _somian_ksbp_warn_defau='trouble' |
| 7634 |
+ |
ac_cv_sys_kernshrpbang_perl="$PERLINTERP" |
| 7635 |
+ |
esac |
| 7636 |
+ |
fi |
| 7637 |
+ |
|
| 7638 |
+ |
fi |
| 7639 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
| 7640 |
+ |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
| 7641 |
+ |
# The above prints Checking ... result message to user. |
| 7642 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
| 7643 |
+ |
|
| 7644 |
+ |
if test A${_somian_ksbp_warn_empty+set} == Aset |
| 7645 |
+ |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
| 7646 |
+ |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
| 7647 |
+ |
fi |
| 7648 |
+ |
# Inform user after printing result value |
| 7649 |
+ |
if test A${_somian_ksbp_warn_defau+set} == Aset |
| 7650 |
+ |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
| 7651 |
+ |
echo "$as_me: Maybe Not good -" >&6;} |
| 7652 |
+ |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
| 7653 |
+ |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
| 7654 |
+ |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
| 7655 |
+ |
echo "$as_me: OK Good result - " >&6;} |
| 7656 |
+ |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
| 7657 |
+ |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
| 7658 |
+ |
fi |
| 7659 |
+ |
fi |
| 7660 |
+ |
|
| 7661 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 7662 |
|
set dummy ar; ac_word=$2 |
| 7663 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 7726 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 7727 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 7728 |
|
sed -n \ |
| 7729 |
< |
"s/'/'\\\\''/g; |
| 7730 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 7729 |
> |
"s/'/'\\\\''/g; |
| 7730 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 7731 |
|
;; |
| 7732 |
|
*) |
| 7733 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 7734 |
|
sed -n \ |
| 7735 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 7735 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 7736 |
|
;; |
| 7737 |
|
esac; |
| 7738 |
|
} | |
| 7800 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7801 |
|
else |
| 7802 |
|
|
| 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 |
| 7803 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
| 7804 |
|
ac_cv_prog_ps_ax=yes |
| 7805 |
|
else |
| 7806 |
|
ac_cv_prog_ps_ax=no |
| 7807 |
|
fi |
| 7808 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
| 7809 |
< |
ac_cv_prog_ps_syntax=POSIX |
| 7808 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
| 7809 |
> |
ac_cv_prog_ps_ef=yes |
| 7810 |
> |
else |
| 7811 |
> |
ac_cv_prog_ps_ef=no |
| 7812 |
> |
fi |
| 7813 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
| 7814 |
> |
ac_cv_prog_ps_syntax=BSD |
| 7815 |
|
else |
| 7816 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
| 7817 |
< |
ac_cv_prog_ps_syntax=BSD |
| 7816 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
| 7817 |
> |
ac_cv_prog_ps_syntax=POSIX |
| 7818 |
|
else |
| 7819 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
| 7820 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
| 7826 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
| 7827 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
| 7828 |
|
|
| 7829 |
+ |
|
| 7830 |
|
cat >>confdefs.h <<_ACEOF |
| 7831 |
< |
#define PS $PS |
| 7831 |
> |
#define PSCOMMAND $PS |
| 7832 |
|
_ACEOF |
| 7833 |
|
|
| 7834 |
|
|
| 7835 |
< |
cat >>confdefs.h <<_ACEOF |
| 7836 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
| 7835 |
> |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 7836 |
> |
cat >>confdefs.h <<\_ACEOF |
| 7837 |
> |
#define PSTYPE_IS_BSD 1 |
| 7838 |
|
_ACEOF |
| 7839 |
|
|
| 7840 |
+ |
else |
| 7841 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 7842 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 7843 |
+ |
#define PSTYPE_IS_POSIX 1 |
| 7844 |
+ |
_ACEOF |
| 7845 |
|
|
| 7846 |
+ |
else |
| 7847 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
| 7848 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
| 7849 |
+ |
{ (exit 1); exit 1; }; } |
| 7850 |
+ |
fi |
| 7851 |
+ |
fi |
| 7852 |
|
|
| 7853 |
|
|
| 7854 |
|
# Check whether --with-mpi or --without-mpi was given. |
| 7879 |
|
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 7880 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
| 7881 |
|
have_mpi_h=0 |
| 7882 |
+ |
rm -f conftest* |
| 7883 |
|
echo '#include <mpi.h>' > conftest.cc |
| 7884 |
< |
if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
| 7884 |
> |
if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
| 7885 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 7886 |
|
echo "${ECHO_T}yes" >&6 |
| 7887 |
|
have_mpi_h=1 |
| 7888 |
|
else |
| 7889 |
+ |
if test -s conftest.out ; then |
| 7890 |
+ |
cat conftest.out >> config.log |
| 7891 |
+ |
fi |
| 7892 |
|
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 7893 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
| 7894 |
|
USE_MPI="no" |
| 7952 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7953 |
|
LIBS="-lmpich $LIBS" |
| 7954 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7095 |
– |
#line $LINENO "configure" |
| 7955 |
|
/* confdefs.h. */ |
| 7956 |
|
_ACEOF |
| 7957 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7975 |
|
_ACEOF |
| 7976 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7977 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7978 |
< |
(eval $ac_link) 2>&5 |
| 7978 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7979 |
|
ac_status=$? |
| 7980 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7981 |
+ |
rm -f conftest.er1 |
| 7982 |
+ |
cat conftest.err >&5 |
| 7983 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7984 |
|
(exit $ac_status); } && |
| 7985 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7985 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7986 |
> |
|| test ! -s conftest.err' |
| 7987 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7988 |
|
(eval $ac_try) 2>&5 |
| 7989 |
|
ac_status=$? |
| 7990 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7991 |
+ |
(exit $ac_status); }; } && |
| 7992 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7993 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7994 |
+ |
(eval $ac_try) 2>&5 |
| 7995 |
+ |
ac_status=$? |
| 7996 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7997 |
|
(exit $ac_status); }; }; then |
| 7998 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 7999 |
|
else |
| 8002 |
|
|
| 8003 |
|
ac_cv_lib_mpich_MPI_Init=no |
| 8004 |
|
fi |
| 8005 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8005 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8006 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8007 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8008 |
|
fi |
| 8009 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 8022 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8023 |
|
LIBS="-lmpi $LIBS" |
| 8024 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7155 |
– |
#line $LINENO "configure" |
| 8025 |
|
/* confdefs.h. */ |
| 8026 |
|
_ACEOF |
| 8027 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8045 |
|
_ACEOF |
| 8046 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8047 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8048 |
< |
(eval $ac_link) 2>&5 |
| 8048 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8049 |
|
ac_status=$? |
| 8050 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8051 |
+ |
rm -f conftest.er1 |
| 8052 |
+ |
cat conftest.err >&5 |
| 8053 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8054 |
|
(exit $ac_status); } && |
| 8055 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8055 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8056 |
> |
|| test ! -s conftest.err' |
| 8057 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8058 |
|
(eval $ac_try) 2>&5 |
| 8059 |
|
ac_status=$? |
| 8060 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8061 |
+ |
(exit $ac_status); }; } && |
| 8062 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8063 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8064 |
+ |
(eval $ac_try) 2>&5 |
| 8065 |
+ |
ac_status=$? |
| 8066 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8067 |
|
(exit $ac_status); }; }; then |
| 8068 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 8069 |
|
else |
| 8072 |
|
|
| 8073 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 8074 |
|
fi |
| 8075 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8075 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8076 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8077 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8078 |
|
fi |
| 8079 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 8093 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8094 |
|
LIBS="-lmpi "-llam" $LIBS" |
| 8095 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7216 |
– |
#line $LINENO "configure" |
| 8096 |
|
/* confdefs.h. */ |
| 8097 |
|
_ACEOF |
| 8098 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8116 |
|
_ACEOF |
| 8117 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8118 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8119 |
< |
(eval $ac_link) 2>&5 |
| 8119 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8120 |
|
ac_status=$? |
| 8121 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8122 |
+ |
rm -f conftest.er1 |
| 8123 |
+ |
cat conftest.err >&5 |
| 8124 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8125 |
|
(exit $ac_status); } && |
| 8126 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8126 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8127 |
> |
|| test ! -s conftest.err' |
| 8128 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8129 |
|
(eval $ac_try) 2>&5 |
| 8130 |
|
ac_status=$? |
| 8131 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8132 |
+ |
(exit $ac_status); }; } && |
| 8133 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8134 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8135 |
+ |
(eval $ac_try) 2>&5 |
| 8136 |
+ |
ac_status=$? |
| 8137 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8138 |
|
(exit $ac_status); }; }; then |
| 8139 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 8140 |
|
else |
| 8143 |
|
|
| 8144 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 8145 |
|
fi |
| 8146 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8146 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8147 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8148 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8149 |
|
fi |
| 8150 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 8164 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8165 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
| 8166 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7277 |
– |
#line $LINENO "configure" |
| 8167 |
|
/* confdefs.h. */ |
| 8168 |
|
_ACEOF |
| 8169 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8187 |
|
_ACEOF |
| 8188 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8189 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8190 |
< |
(eval $ac_link) 2>&5 |
| 8190 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8191 |
|
ac_status=$? |
| 8192 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8193 |
+ |
rm -f conftest.er1 |
| 8194 |
+ |
cat conftest.err >&5 |
| 8195 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8196 |
|
(exit $ac_status); } && |
| 8197 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8197 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8198 |
> |
|| test ! -s conftest.err' |
| 8199 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8200 |
|
(eval $ac_try) 2>&5 |
| 8201 |
|
ac_status=$? |
| 8202 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8203 |
+ |
(exit $ac_status); }; } && |
| 8204 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8205 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8206 |
+ |
(eval $ac_try) 2>&5 |
| 8207 |
+ |
ac_status=$? |
| 8208 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8209 |
|
(exit $ac_status); }; }; then |
| 8210 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 8211 |
|
else |
| 8214 |
|
|
| 8215 |
|
ac_cv_lib_mpich_MPI_Init=no |
| 8216 |
|
fi |
| 8217 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8217 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8218 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8219 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8220 |
|
fi |
| 8221 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 8236 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8237 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
| 8238 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7339 |
– |
#line $LINENO "configure" |
| 8239 |
|
/* confdefs.h. */ |
| 8240 |
|
_ACEOF |
| 8241 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8259 |
|
_ACEOF |
| 8260 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8261 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8262 |
< |
(eval $ac_link) 2>&5 |
| 8262 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8263 |
|
ac_status=$? |
| 8264 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8265 |
+ |
rm -f conftest.er1 |
| 8266 |
+ |
cat conftest.err >&5 |
| 8267 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8268 |
|
(exit $ac_status); } && |
| 8269 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8269 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8270 |
> |
|| test ! -s conftest.err' |
| 8271 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8272 |
|
(eval $ac_try) 2>&5 |
| 8273 |
|
ac_status=$? |
| 8274 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8275 |
+ |
(exit $ac_status); }; } && |
| 8276 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8277 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8278 |
+ |
(eval $ac_try) 2>&5 |
| 8279 |
+ |
ac_status=$? |
| 8280 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8281 |
|
(exit $ac_status); }; }; then |
| 8282 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 8283 |
|
else |
| 8286 |
|
|
| 8287 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 8288 |
|
fi |
| 8289 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8289 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8290 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8291 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8292 |
|
fi |
| 8293 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 8325 |
|
|
| 8326 |
|
|
| 8327 |
|
|
| 8328 |
< |
# Check whether --with-sprng or --without-sprng was given. |
| 8329 |
< |
if test "${with_sprng+set}" = set; then |
| 8330 |
< |
withval="$with_sprng" |
| 8331 |
< |
with_sprng=$withval |
| 8332 |
< |
else |
| 8333 |
< |
with_sprng="/usr/local" |
| 8328 |
> |
|
| 8329 |
> |
USE_CGAL=no |
| 8330 |
> |
cgal_makefile=auto |
| 8331 |
> |
|
| 8332 |
> |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
| 8333 |
> |
if test "${with_cgal_makefile+set}" = set; then |
| 8334 |
> |
withval="$with_cgal_makefile" |
| 8335 |
> |
cgal_makefile="$withval" |
| 8336 |
|
fi; |
| 8337 |
|
|
| 8338 |
< |
case "x$with_sprng" in |
| 7427 |
< |
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 |
| 8338 |
> |
if test "x$cgal_makefile" != xno; then |
| 8339 |
|
|
| 8340 |
+ |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
| 8341 |
+ |
cgal_makefile="$CGAL_MAKEFILE" |
| 8342 |
+ |
fi |
| 8343 |
|
|
| 8344 |
< |
# Set variables... |
| 8345 |
< |
SPRNG_LIB_DIR="$SPRNG/lib" |
| 7439 |
< |
SPRNG_INC_DIR="$SPRNG/include" |
| 8344 |
> |
echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5 |
| 8345 |
> |
echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6 |
| 8346 |
|
|
| 8347 |
+ |
if test -f "$cgal_makefile"; then |
| 8348 |
|
|
| 8349 |
+ |
cat >config.tmp.Makefile <<EOF |
| 8350 |
+ |
include $cgal_makefile |
| 8351 |
+ |
default: |
| 8352 |
+ |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
| 8353 |
+ |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
| 8354 |
+ |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
| 8355 |
+ |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 8356 |
+ |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 8357 |
+ |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
| 8358 |
+ |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
| 8359 |
+ |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 8360 |
+ |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 8361 |
+ |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
| 8362 |
+ |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 8363 |
+ |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 8364 |
+ |
EOF |
| 8365 |
|
|
| 8366 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
| 8367 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
| 7445 |
< |
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 |
| 8366 |
> |
make -s -f config.tmp.Makefile |
| 8367 |
> |
. config.tmp.cgalvariables |
| 8368 |
|
|
| 8369 |
< |
cat >>confdefs.h <<\_ACEOF |
| 7460 |
< |
#define HAVE_SPRNG_H 1 |
| 7461 |
< |
_ACEOF |
| 8369 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
| 8370 |
|
|
| 8371 |
< |
fi |
| 8371 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
| 8372 |
> |
CGAL_INCLDIR="" |
| 8373 |
> |
fi |
| 8374 |
|
|
| 8375 |
< |
ac_ext=c |
| 8376 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 8377 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7468 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7469 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8375 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
| 8376 |
> |
CGAL_LIBDIR="" |
| 8377 |
> |
fi |
| 8378 |
|
|
| 8379 |
< |
ac_save_LDFLAGS=$LDFLAGS |
| 8380 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
| 8379 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
| 8380 |
> |
CGAL_RLIBDIR="" |
| 8381 |
> |
fi |
| 8382 |
|
|
| 8383 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
| 8384 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
| 8385 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
| 8383 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
| 8384 |
> |
LEDA_INCLDIR="" |
| 8385 |
> |
fi |
| 8386 |
> |
|
| 8387 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
| 8388 |
> |
LEDA_LIBDIR="" |
| 8389 |
> |
fi |
| 8390 |
> |
|
| 8391 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
| 8392 |
> |
LEDA_RLIBDIR="" |
| 8393 |
> |
fi |
| 8394 |
> |
|
| 8395 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
| 8396 |
> |
GMP_INCLDIR="" |
| 8397 |
> |
fi |
| 8398 |
> |
|
| 8399 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
| 8400 |
> |
GMP_LIBDIR="" |
| 8401 |
> |
fi |
| 8402 |
> |
|
| 8403 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
| 8404 |
> |
GMP_RLIBDIR="" |
| 8405 |
> |
fi |
| 8406 |
> |
|
| 8407 |
> |
echo "$as_me:$LINENO: result: CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&5 |
| 8408 |
> |
echo "${ECHO_T}CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&6 |
| 8409 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR= $CGAL_INCLDIR" >&5 |
| 8410 |
> |
echo "${ECHO_T}CGAL_INCLDIR= $CGAL_INCLDIR" >&6 |
| 8411 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&5 |
| 8412 |
> |
echo "${ECHO_T}CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&6 |
| 8413 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR= $CGAL_LIBDIR" >&5 |
| 8414 |
> |
echo "${ECHO_T}CGAL_LIBDIR= $CGAL_LIBDIR" >&6 |
| 8415 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&5 |
| 8416 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&6 |
| 8417 |
> |
echo "$as_me:$LINENO: result: LEDA_INCLDIR= $LEDA_INCLDIR" >&5 |
| 8418 |
> |
echo "${ECHO_T}LEDA_INCLDIR= $LEDA_INCLDIR" >&6 |
| 8419 |
> |
echo "$as_me:$LINENO: result: LEDA_LIBDIR= $LEDA_LIBDIR" >&5 |
| 8420 |
> |
echo "${ECHO_T}LEDA_LIBDIR= $LEDA_LIBDIR" >&6 |
| 8421 |
> |
echo "$as_me:$LINENO: result: GMP_INCLDIR= $GMP_INCLDIR" >&5 |
| 8422 |
> |
echo "${ECHO_T}GMP_INCLDIR= $GMP_INCLDIR" >&6 |
| 8423 |
> |
echo "$as_me:$LINENO: result: GMP_LIBDIR= $GMP_LIBDIR" >&5 |
| 8424 |
> |
echo "${ECHO_T}GMP_LIBDIR= $GMP_LIBDIR" >&6 |
| 8425 |
> |
|
| 8426 |
> |
ac_ext=cc |
| 8427 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 8428 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8429 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8430 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 8431 |
> |
|
| 8432 |
> |
save_CXXFLAGS="$CXXFLAGS" |
| 8433 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 8434 |
> |
|
| 8435 |
> |
ac_ext=cc |
| 8436 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 8437 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8438 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8439 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 8440 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 8441 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 8442 |
> |
if test -z "$CXXCPP"; then |
| 8443 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 8444 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8445 |
|
else |
| 8446 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 8447 |
< |
LIBS="-lsprng $LIBS" |
| 8448 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8449 |
< |
#line $LINENO "configure" |
| 8446 |
> |
# Double quotes because CXXCPP needs to be expanded |
| 8447 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 8448 |
> |
do |
| 8449 |
> |
ac_preproc_ok=false |
| 8450 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
| 8451 |
> |
do |
| 8452 |
> |
# Use a header file that comes with gcc, so configuring glibc |
| 8453 |
> |
# with a fresh cross-compiler works. |
| 8454 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8455 |
> |
# <limits.h> exists even on freestanding compilers. |
| 8456 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8457 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8458 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 8459 |
|
/* confdefs.h. */ |
| 8460 |
|
_ACEOF |
| 8461 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8462 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8463 |
|
/* end confdefs.h. */ |
| 8464 |
< |
|
| 8465 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8466 |
< |
#ifdef __cplusplus |
| 8467 |
< |
extern "C" |
| 8468 |
< |
#endif |
| 8469 |
< |
/* 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 |
< |
} |
| 8464 |
> |
#ifdef __STDC__ |
| 8465 |
> |
# include <limits.h> |
| 8466 |
> |
#else |
| 8467 |
> |
# include <assert.h> |
| 8468 |
> |
#endif |
| 8469 |
> |
Syntax error |
| 8470 |
|
_ACEOF |
| 8471 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8472 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7506 |
< |
(eval $ac_link) 2>&5 |
| 8471 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8472 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8473 |
|
ac_status=$? |
| 8474 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8475 |
+ |
rm -f conftest.er1 |
| 8476 |
+ |
cat conftest.err >&5 |
| 8477 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8478 |
< |
(exit $ac_status); } && |
| 8479 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8480 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8481 |
< |
(eval $ac_try) 2>&5 |
| 8482 |
< |
ac_status=$? |
| 8483 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8484 |
< |
(exit $ac_status); }; }; then |
| 7516 |
< |
ac_cv_lib_sprng_init_rng=yes |
| 8478 |
> |
(exit $ac_status); } >/dev/null; then |
| 8479 |
> |
if test -s conftest.err; then |
| 8480 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8481 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8482 |
> |
else |
| 8483 |
> |
ac_cpp_err= |
| 8484 |
> |
fi |
| 8485 |
|
else |
| 8486 |
+ |
ac_cpp_err=yes |
| 8487 |
+ |
fi |
| 8488 |
+ |
if test -z "$ac_cpp_err"; then |
| 8489 |
+ |
: |
| 8490 |
+ |
else |
| 8491 |
|
echo "$as_me: failed program was:" >&5 |
| 8492 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8493 |
|
|
| 8494 |
< |
ac_cv_lib_sprng_init_rng=no |
| 8494 |
> |
# Broken: fails on valid input. |
| 8495 |
> |
continue |
| 8496 |
|
fi |
| 8497 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8498 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 8497 |
> |
rm -f conftest.err conftest.$ac_ext |
| 8498 |
> |
|
| 8499 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 8500 |
> |
# can be detected and how. |
| 8501 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 8502 |
> |
/* confdefs.h. */ |
| 8503 |
> |
_ACEOF |
| 8504 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 8505 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 8506 |
> |
/* end confdefs.h. */ |
| 8507 |
> |
#include <ac_nonexistent.h> |
| 8508 |
> |
_ACEOF |
| 8509 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8510 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8511 |
> |
ac_status=$? |
| 8512 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8513 |
> |
rm -f conftest.er1 |
| 8514 |
> |
cat conftest.err >&5 |
| 8515 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8516 |
> |
(exit $ac_status); } >/dev/null; then |
| 8517 |
> |
if test -s conftest.err; then |
| 8518 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8519 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8520 |
> |
else |
| 8521 |
> |
ac_cpp_err= |
| 8522 |
> |
fi |
| 8523 |
> |
else |
| 8524 |
> |
ac_cpp_err=yes |
| 8525 |
|
fi |
| 8526 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
| 8527 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
| 8528 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
| 7529 |
< |
SPRNG_LIB="-lsprng" |
| 8526 |
> |
if test -z "$ac_cpp_err"; then |
| 8527 |
> |
# Broken: success on invalid input. |
| 8528 |
> |
continue |
| 8529 |
|
else |
| 8530 |
+ |
echo "$as_me: failed program was:" >&5 |
| 8531 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8532 |
|
|
| 8533 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
| 8534 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
| 8535 |
< |
{ (exit 1); exit 1; }; } |
| 8536 |
< |
USE_SPRNG="no" |
| 8533 |
> |
# Passes both tests. |
| 8534 |
> |
ac_preproc_ok=: |
| 8535 |
> |
break |
| 8536 |
> |
fi |
| 8537 |
> |
rm -f conftest.err conftest.$ac_ext |
| 8538 |
|
|
| 8539 |
+ |
done |
| 8540 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8541 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8542 |
+ |
if $ac_preproc_ok; then |
| 8543 |
+ |
break |
| 8544 |
|
fi |
| 8545 |
|
|
| 8546 |
+ |
done |
| 8547 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
| 8548 |
|
|
| 7540 |
– |
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; }; } |
| 8549 |
|
fi |
| 8550 |
+ |
CXXCPP=$ac_cv_prog_CXXCPP |
| 8551 |
+ |
else |
| 8552 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
| 8553 |
+ |
fi |
| 8554 |
+ |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 8555 |
+ |
echo "${ECHO_T}$CXXCPP" >&6 |
| 8556 |
+ |
ac_preproc_ok=false |
| 8557 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
| 8558 |
+ |
do |
| 8559 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 8560 |
+ |
# with a fresh cross-compiler works. |
| 8561 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8562 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 8563 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8564 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8565 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 8566 |
+ |
/* confdefs.h. */ |
| 8567 |
+ |
_ACEOF |
| 8568 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 8569 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 8570 |
+ |
/* end confdefs.h. */ |
| 8571 |
+ |
#ifdef __STDC__ |
| 8572 |
+ |
# include <limits.h> |
| 8573 |
+ |
#else |
| 8574 |
+ |
# include <assert.h> |
| 8575 |
+ |
#endif |
| 8576 |
+ |
Syntax error |
| 8577 |
+ |
_ACEOF |
| 8578 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8579 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8580 |
+ |
ac_status=$? |
| 8581 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8582 |
+ |
rm -f conftest.er1 |
| 8583 |
+ |
cat conftest.err >&5 |
| 8584 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8585 |
+ |
(exit $ac_status); } >/dev/null; then |
| 8586 |
+ |
if test -s conftest.err; then |
| 8587 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8588 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8589 |
+ |
else |
| 8590 |
+ |
ac_cpp_err= |
| 8591 |
+ |
fi |
| 8592 |
+ |
else |
| 8593 |
+ |
ac_cpp_err=yes |
| 8594 |
+ |
fi |
| 8595 |
+ |
if test -z "$ac_cpp_err"; then |
| 8596 |
+ |
: |
| 8597 |
+ |
else |
| 8598 |
+ |
echo "$as_me: failed program was:" >&5 |
| 8599 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8600 |
|
|
| 8601 |
+ |
# Broken: fails on valid input. |
| 8602 |
+ |
continue |
| 8603 |
+ |
fi |
| 8604 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8605 |
|
|
| 8606 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 8607 |
+ |
# can be detected and how. |
| 8608 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 8609 |
+ |
/* confdefs.h. */ |
| 8610 |
+ |
_ACEOF |
| 8611 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 8612 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 8613 |
+ |
/* end confdefs.h. */ |
| 8614 |
+ |
#include <ac_nonexistent.h> |
| 8615 |
+ |
_ACEOF |
| 8616 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8617 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8618 |
+ |
ac_status=$? |
| 8619 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8620 |
+ |
rm -f conftest.er1 |
| 8621 |
+ |
cat conftest.err >&5 |
| 8622 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8623 |
+ |
(exit $ac_status); } >/dev/null; then |
| 8624 |
+ |
if test -s conftest.err; then |
| 8625 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8626 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8627 |
+ |
else |
| 8628 |
+ |
ac_cpp_err= |
| 8629 |
+ |
fi |
| 8630 |
+ |
else |
| 8631 |
+ |
ac_cpp_err=yes |
| 8632 |
|
fi |
| 8633 |
+ |
if test -z "$ac_cpp_err"; then |
| 8634 |
+ |
# Broken: success on invalid input. |
| 8635 |
+ |
continue |
| 8636 |
+ |
else |
| 8637 |
+ |
echo "$as_me: failed program was:" >&5 |
| 8638 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8639 |
|
|
| 8640 |
+ |
# Passes both tests. |
| 8641 |
+ |
ac_preproc_ok=: |
| 8642 |
+ |
break |
| 8643 |
+ |
fi |
| 8644 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8645 |
|
|
| 8646 |
< |
|
| 8647 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
| 8648 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
| 8649 |
< |
|
| 8650 |
< |
# Check whether --with-mkl or --without-mkl was given. |
| 8651 |
< |
if test "${with_mkl+set}" = set; then |
| 8652 |
< |
withval="$with_mkl" |
| 8653 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 8654 |
< |
echo "${ECHO_T}yes" >&6 |
| 8655 |
< |
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;} |
| 8646 |
> |
done |
| 8647 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8648 |
> |
rm -f conftest.err conftest.$ac_ext |
| 8649 |
> |
if $ac_preproc_ok; then |
| 8650 |
> |
: |
| 8651 |
> |
else |
| 8652 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 8653 |
> |
See \`config.log' for more details." >&5 |
| 8654 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 8655 |
> |
See \`config.log' for more details." >&2;} |
| 8656 |
|
{ (exit 1); exit 1; }; } |
| 8657 |
< |
else |
| 7571 |
< |
printf "MKL includes found in $mkldir/include\n"; |
| 7572 |
< |
fi |
| 8657 |
> |
fi |
| 8658 |
|
|
| 8659 |
+ |
ac_ext=cc |
| 8660 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 8661 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8662 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8663 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 8664 |
|
|
| 8665 |
|
|
| 8666 |
< |
ac_ext=c |
| 8667 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 8668 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8669 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7580 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7581 |
< |
|
| 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 |
| 8666 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 8667 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 8668 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 8669 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 8670 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8671 |
|
fi |
| 8672 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
| 8673 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
| 8672 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 8673 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 8674 |
|
else |
| 8675 |
|
# Is the header compilable? |
| 8676 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
| 8677 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
| 8676 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
| 8677 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
| 8678 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7599 |
– |
#line $LINENO "configure" |
| 8679 |
|
/* confdefs.h. */ |
| 8680 |
|
_ACEOF |
| 8681 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8682 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8683 |
|
/* end confdefs.h. */ |
| 8684 |
|
$ac_includes_default |
| 8685 |
< |
#include <mkl.h> |
| 8685 |
> |
#include <CGAL/Cartesian.h> |
| 8686 |
|
_ACEOF |
| 8687 |
|
rm -f conftest.$ac_objext |
| 8688 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8689 |
< |
(eval $ac_compile) 2>&5 |
| 8689 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8690 |
|
ac_status=$? |
| 8691 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8692 |
+ |
rm -f conftest.er1 |
| 8693 |
+ |
cat conftest.err >&5 |
| 8694 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8695 |
|
(exit $ac_status); } && |
| 8696 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 8696 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 8697 |
> |
|| test ! -s conftest.err' |
| 8698 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8699 |
|
(eval $ac_try) 2>&5 |
| 8700 |
|
ac_status=$? |
| 8701 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8702 |
+ |
(exit $ac_status); }; } && |
| 8703 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 8704 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8705 |
+ |
(eval $ac_try) 2>&5 |
| 8706 |
+ |
ac_status=$? |
| 8707 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8708 |
|
(exit $ac_status); }; }; then |
| 8709 |
|
ac_header_compiler=yes |
| 8710 |
|
else |
| 8713 |
|
|
| 8714 |
|
ac_header_compiler=no |
| 8715 |
|
fi |
| 8716 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 8716 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8717 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8718 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8719 |
|
|
| 8720 |
|
# Is the header present? |
| 8721 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
| 8722 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
| 8721 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
| 8722 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
| 8723 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7635 |
– |
#line $LINENO "configure" |
| 8724 |
|
/* confdefs.h. */ |
| 8725 |
|
_ACEOF |
| 8726 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8727 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8728 |
|
/* end confdefs.h. */ |
| 8729 |
< |
#include <mkl.h> |
| 8729 |
> |
#include <CGAL/Cartesian.h> |
| 8730 |
|
_ACEOF |
| 8731 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8732 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8737 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8738 |
|
(exit $ac_status); } >/dev/null; then |
| 8739 |
|
if test -s conftest.err; then |
| 8740 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8740 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8741 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8742 |
|
else |
| 8743 |
|
ac_cpp_err= |
| 8744 |
|
fi |
| 8758 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8759 |
|
|
| 8760 |
|
# So? What about this header? |
| 8761 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 8762 |
< |
yes:no ) |
| 8763 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8764 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8765 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 8766 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 8767 |
< |
( |
| 7679 |
< |
cat <<\_ASBOX |
| 7680 |
< |
## ------------------------------------ ## |
| 7681 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 7682 |
< |
## ------------------------------------ ## |
| 7683 |
< |
_ASBOX |
| 7684 |
< |
) | |
| 7685 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8761 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 8762 |
> |
yes:no: ) |
| 8763 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 8764 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 8765 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
| 8766 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
| 8767 |
> |
ac_header_preproc=yes |
| 8768 |
|
;; |
| 8769 |
< |
no:yes ) |
| 8770 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
| 8771 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
| 8772 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
| 8773 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
| 8774 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 8775 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 8769 |
> |
no:yes:* ) |
| 8770 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
| 8771 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
| 8772 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
| 8773 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
| 8774 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
| 8775 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
| 8776 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 8777 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 8778 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
| 8779 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
| 8780 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
| 8781 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
| 8782 |
|
( |
| 8783 |
|
cat <<\_ASBOX |
| 8784 |
< |
## ------------------------------------ ## |
| 8785 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 8786 |
< |
## ------------------------------------ ## |
| 8784 |
> |
## ------------------------------ ## |
| 8785 |
> |
## Report this to gezelter@nd.edu ## |
| 8786 |
> |
## ------------------------------ ## |
| 8787 |
|
_ASBOX |
| 8788 |
|
) | |
| 8789 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 8790 |
|
;; |
| 8791 |
|
esac |
| 8792 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
| 8793 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
| 8794 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
| 8792 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 8793 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 8794 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 8795 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8796 |
|
else |
| 8797 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
| 8797 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
| 8798 |
|
fi |
| 8799 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
| 8800 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
| 8799 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 8800 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 8801 |
|
|
| 8802 |
|
fi |
| 8803 |
< |
if test $ac_cv_header_mkl_h = yes; then |
| 8804 |
< |
|
| 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 |
| 8803 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
| 8804 |
> |
cgal=yes |
| 8805 |
|
else |
| 8806 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 8807 |
< |
LIBS="-lmkl $LIBS" |
| 8806 |
> |
cgal=no |
| 8807 |
> |
fi |
| 8808 |
> |
|
| 8809 |
> |
|
| 8810 |
> |
CXXFLAGS="$save_CXXFLAGS" |
| 8811 |
> |
|
| 8812 |
> |
if test "x$cgal" = xyes; then |
| 8813 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
| 8814 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
| 8815 |
> |
LOCATION=${CGAL_INCLDIR} |
| 8816 |
> |
LOCATION=${LOCATION:-/usr/include} |
| 8817 |
> |
if test -f $LOCATION/CGAL/version.h; then |
| 8818 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
| 8819 |
> |
else |
| 8820 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
| 8821 |
> |
fi |
| 8822 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
| 8823 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
| 8824 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
| 8825 |
> |
else |
| 8826 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
| 8827 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
| 8828 |
> |
cgal=no |
| 8829 |
> |
fi |
| 8830 |
> |
fi |
| 8831 |
> |
|
| 8832 |
> |
if test "x$cgal" = xyes; then |
| 8833 |
> |
CGAL_LIBS="-lCGAL" |
| 8834 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
| 8835 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
| 8836 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
| 8837 |
> |
CGAL_USES_LEDA=yes |
| 8838 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 8839 |
> |
echo "${ECHO_T}yes" >&6 |
| 8840 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
| 8841 |
> |
else |
| 8842 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 8843 |
> |
echo "${ECHO_T}no" >&6 |
| 8844 |
> |
CGAL_USES_LEDA=no |
| 8845 |
> |
fi |
| 8846 |
> |
|
| 8847 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
| 8848 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
| 8849 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
| 8850 |
> |
CGAL_USES_GMP=yes |
| 8851 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 8852 |
> |
echo "${ECHO_T}yes" >&6 |
| 8853 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
| 8854 |
> |
else |
| 8855 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 8856 |
> |
echo "${ECHO_T}no" >&6 |
| 8857 |
> |
CGAL_USES_GMP=no |
| 8858 |
> |
fi |
| 8859 |
> |
|
| 8860 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
| 8861 |
> |
|
| 8862 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
| 8863 |
> |
|
| 8864 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_LEDA= $CGAL_USES_LEDA" >&5 |
| 8865 |
> |
echo "${ECHO_T}CGAL_USES_LEDA= $CGAL_USES_LEDA" >&6 |
| 8866 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_GMP = $CGAL_USES_GMP" >&5 |
| 8867 |
> |
echo "${ECHO_T}CGAL_USES_GMP = $CGAL_USES_GMP" >&6 |
| 8868 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR = $CGAL_INCLDIR" >&5 |
| 8869 |
> |
echo "${ECHO_T}CGAL_INCLDIR = $CGAL_INCLDIR" >&6 |
| 8870 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR = $CGAL_LIBDIR" >&5 |
| 8871 |
> |
echo "${ECHO_T}CGAL_LIBDIR = $CGAL_LIBDIR" >&6 |
| 8872 |
> |
echo "$as_me:$LINENO: result: CGAL_DEFINES = $CGAL_DEFINES" >&5 |
| 8873 |
> |
echo "${ECHO_T}CGAL_DEFINES = $CGAL_DEFINES" >&6 |
| 8874 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&5 |
| 8875 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&6 |
| 8876 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBS = $CGAL_LIBS" >&5 |
| 8877 |
> |
echo "${ECHO_T}CGAL_LIBS = $CGAL_LIBS" >&6 |
| 8878 |
> |
fi |
| 8879 |
> |
|
| 8880 |
> |
if test "x$cgal" = xyes; then |
| 8881 |
> |
save_LIBS="$LIBS" |
| 8882 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
| 8883 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
| 8884 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
| 8885 |
> |
fi |
| 8886 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
| 8887 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
| 8888 |
> |
# fi |
| 8889 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
| 8890 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
| 8891 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
| 8892 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 8893 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
| 8894 |
> |
LIBS="-lCGAL $LIBS" |
| 8895 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7725 |
– |
#line $LINENO "configure" |
| 8896 |
|
/* confdefs.h. */ |
| 8897 |
|
_ACEOF |
| 8898 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8899 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8900 |
|
/* end confdefs.h. */ |
| 8901 |
< |
|
| 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 (); |
| 8901 |
> |
#include <CGAL/Cartesian.h> |
| 8902 |
|
int |
| 8903 |
|
main () |
| 8904 |
|
{ |
| 8905 |
< |
vslNewStream (); |
| 8905 |
> |
::CGAL::Cartesian<int>::Point_2 P |
| 8906 |
|
; |
| 8907 |
|
return 0; |
| 8908 |
|
} |
| 8909 |
|
_ACEOF |
| 8910 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8911 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8912 |
< |
(eval $ac_link) 2>&5 |
| 8912 |
> |
(eval $ac_link) 2>conftest.er1 |
| 8913 |
|
ac_status=$? |
| 8914 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8915 |
+ |
rm -f conftest.er1 |
| 8916 |
+ |
cat conftest.err >&5 |
| 8917 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8918 |
|
(exit $ac_status); } && |
| 8919 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8919 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 8920 |
> |
|| test ! -s conftest.err' |
| 8921 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8922 |
|
(eval $ac_try) 2>&5 |
| 8923 |
|
ac_status=$? |
| 8924 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8925 |
+ |
(exit $ac_status); }; } && |
| 8926 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 8927 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8928 |
+ |
(eval $ac_try) 2>&5 |
| 8929 |
+ |
ac_status=$? |
| 8930 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8931 |
|
(exit $ac_status); }; }; then |
| 8932 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
| 8932 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 8933 |
> |
echo "${ECHO_T}yes" >&6 |
| 8934 |
> |
cgal=yes |
| 8935 |
|
else |
| 8936 |
|
echo "$as_me: failed program was:" >&5 |
| 8937 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8938 |
|
|
| 8939 |
< |
ac_cv_lib_mkl_vslNewStream=no |
| 8939 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 8940 |
> |
echo "${ECHO_T}no" >&6 |
| 8941 |
> |
cgal=no |
| 8942 |
|
fi |
| 8943 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 8944 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 8945 |
< |
fi |
| 8946 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
| 8947 |
< |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
| 8948 |
< |
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 |
| 8943 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 8944 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8945 |
> |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
| 8946 |
> |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
| 8947 |
> |
LIBS="$save_LIBS" |
| 8948 |
> |
fi |
| 8949 |
|
|
| 8950 |
< |
|
| 7778 |
< |
else |
| 7779 |
< |
MKL_INC="-I${mkldir}/include" |
| 7780 |
< |
fi |
| 7781 |
< |
|
| 7782 |
< |
|
| 7783 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
| 7784 |
< |
LDFLAGS=$ac_save_LDFLAGS |
| 8950 |
> |
fi |
| 8951 |
|
ac_ext=c |
| 8952 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 8953 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8955 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8956 |
|
|
| 8957 |
|
|
| 8958 |
< |
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 |
| 8958 |
> |
fi |
| 8959 |
|
|
| 8960 |
+ |
if test "x$cgal" = xyes; then |
| 8961 |
+ |
USE_CGAL=yes |
| 8962 |
|
|
| 8963 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 8964 |
+ |
#define HAVE_CGAL 1 |
| 8965 |
+ |
_ACEOF |
| 8966 |
|
|
| 8967 |
|
|
| 8968 |
+ |
cat >>confdefs.h <<_ACEOF |
| 8969 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
| 8970 |
+ |
_ACEOF |
| 8971 |
|
|
| 8972 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
| 8973 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 8974 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 8975 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
| 8976 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
| 8977 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
| 8978 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
| 8979 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 8980 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 8981 |
+ |
fi |
| 8982 |
|
else |
| 8983 |
+ |
if test "x$cgal_makefile" != xno; then |
| 8984 |
+ |
echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5 |
| 8985 |
+ |
echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6 |
| 8986 |
+ |
fi |
| 8987 |
+ |
CGAL_INCLDIR= |
| 8988 |
+ |
CGAL_LIBDIR= |
| 8989 |
+ |
CGAL_RLIBDIR= |
| 8990 |
+ |
CGAL_DEFINES= |
| 8991 |
+ |
CGAL_CXXFLAGS= |
| 8992 |
+ |
CGAL_LIBS= |
| 8993 |
+ |
fi |
| 8994 |
|
|
| 7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 7805 |
– |
echo "${ECHO_T}no" >&6 |
| 8995 |
|
|
| 8996 |
< |
fi; |
| 8996 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
| 8997 |
|
|
| 8998 |
+ |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
| 8999 |
|
|
| 9000 |
+ |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
| 9001 |
|
|
| 9002 |
+ |
|
| 9003 |
+ |
|
| 9004 |
+ |
|
| 9005 |
+ |
|
| 9006 |
+ |
|
| 9007 |
+ |
|
| 9008 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
| 9009 |
|
if test "${enable_doxygen+set}" = set; then |
| 9010 |
|
enableval="$enable_doxygen" |
| 9205 |
|
|
| 9206 |
|
ac_config_headers="$ac_config_headers src/config.h" |
| 9207 |
|
|
| 9208 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
| 9208 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
| 9209 |
|
|
| 9210 |
|
|
| 9211 |
|
cat >confcache <<\_ACEOF |
| 9236 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 9237 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 9238 |
|
sed -n \ |
| 9239 |
< |
"s/'/'\\\\''/g; |
| 9240 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 9239 |
> |
"s/'/'\\\\''/g; |
| 9240 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 9241 |
|
;; |
| 9242 |
|
*) |
| 9243 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 9244 |
|
sed -n \ |
| 9245 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 9245 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 9246 |
|
;; |
| 9247 |
|
esac; |
| 9248 |
|
} | |
| 9272 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 9273 |
|
# (actually we leave an empty line to preserve line numbers). |
| 9274 |
|
if test "x$srcdir" = x.; then |
| 9275 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 9275 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 9276 |
|
s/:*\$(srcdir):*/:/; |
| 9277 |
|
s/:*\${srcdir}:*/:/; |
| 9278 |
|
s/:*@srcdir@:*/:/; |
| 9279 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
| 9279 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
| 9280 |
|
s/:*$//; |
| 9281 |
< |
s/^[^=]*=[ ]*$//; |
| 9281 |
> |
s/^[^=]*=[ ]*$//; |
| 9282 |
|
}' |
| 9283 |
|
fi |
| 9284 |
|
|
| 9289 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 9290 |
|
# 1. Remove the extension, and $U if already installed. |
| 9291 |
|
ac_i=`echo "$ac_i" | |
| 9292 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 9292 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 9293 |
|
# 2. Add them. |
| 9294 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 9295 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 9333 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 9334 |
|
set -o posix |
| 9335 |
|
fi |
| 9336 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 9337 |
|
|
| 9338 |
|
# Support unset when possible. |
| 9339 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 9339 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 9340 |
|
as_unset=unset |
| 9341 |
|
else |
| 9342 |
|
as_unset=false |
| 9355 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 9356 |
|
LC_TELEPHONE LC_TIME |
| 9357 |
|
do |
| 9358 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 9358 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 9359 |
|
eval $as_var=C; export $as_var |
| 9360 |
|
else |
| 9361 |
|
$as_unset $as_var |
| 9534 |
|
if mkdir -p . 2>/dev/null; then |
| 9535 |
|
as_mkdir_p=: |
| 9536 |
|
else |
| 9537 |
+ |
test -d ./-p && rmdir ./-p |
| 9538 |
|
as_mkdir_p=false |
| 9539 |
|
fi |
| 9540 |
|
|
| 9541 |
|
as_executable_p="test -f" |
| 9542 |
|
|
| 9543 |
|
# Sed expression to map a string onto a valid CPP name. |
| 9544 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 9544 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 9545 |
|
|
| 9546 |
|
# Sed expression to map a string onto a valid variable name. |
| 9547 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 9547 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 9548 |
|
|
| 9549 |
|
|
| 9550 |
|
# IFS |
| 9571 |
|
cat >&5 <<_CSEOF |
| 9572 |
|
|
| 9573 |
|
This file was extended by OOPSE $as_me 2.0, which was |
| 9574 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
| 9574 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 9575 |
|
|
| 9576 |
|
CONFIG_FILES = $CONFIG_FILES |
| 9577 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 9615 |
|
-d, --debug don't remove temporary files |
| 9616 |
|
--recheck update $as_me by reconfiguring in the same conditions |
| 9617 |
|
--file=FILE[:TEMPLATE] |
| 9618 |
< |
instantiate the configuration file FILE |
| 9618 |
> |
instantiate the configuration file FILE |
| 9619 |
|
--header=FILE[:TEMPLATE] |
| 9620 |
< |
instantiate the configuration header FILE |
| 9620 |
> |
instantiate the configuration header FILE |
| 9621 |
|
|
| 9622 |
|
Configuration files: |
| 9623 |
|
$config_files |
| 9634 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 9635 |
|
ac_cs_version="\\ |
| 9636 |
|
OOPSE config.status 2.0 |
| 9637 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
| 9637 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
| 9638 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 9639 |
|
|
| 9640 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| 8442 |
< |
Free Software Foundation, Inc. |
| 9640 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 9641 |
|
This config.status script is free software; the Free Software Foundation |
| 9642 |
|
gives unlimited permission to copy, distribute and modify it." |
| 9643 |
|
srcdir=$srcdir |
| 9738 |
|
# Handling of arguments. |
| 9739 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
| 9740 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
| 9741 |
+ |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
| 9742 |
+ |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 9743 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
| 9744 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 9745 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 9876 |
|
s,@LEX@,$LEX,;t t |
| 9877 |
|
s,@LEXLIB@,$LEXLIB,;t t |
| 9878 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
| 9879 |
+ |
s,@PERLINTERP@,$PERLINTERP,;t t |
| 9880 |
+ |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
| 9881 |
|
s,@AR@,$AR,;t t |
| 9882 |
|
s,@PS@,$PS,;t t |
| 9883 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
| 9886 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 9887 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 9888 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 9889 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
| 9890 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
| 9891 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
| 9892 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
| 9893 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
| 9894 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
| 9895 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
| 9896 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
| 9889 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
| 9890 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
| 9891 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
| 9892 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
| 9893 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
| 9894 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
| 9895 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
| 9896 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
| 9897 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
| 9898 |
|
s,@DOT@,$DOT,;t t |
| 9899 |
|
s,@DOC@,$DOC,;t t |
| 9936 |
|
(echo ':t |
| 9937 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 9938 |
|
if test -z "$ac_sed_cmds"; then |
| 9939 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 9939 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 9940 |
|
else |
| 9941 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 9941 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 9942 |
|
fi |
| 9943 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 9944 |
|
ac_beg=$ac_end |
| 9956 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 9957 |
|
case $ac_file in |
| 9958 |
|
- | *:- | *:-:* ) # input from stdin |
| 9959 |
< |
cat >$tmp/stdin |
| 9960 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 9961 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 9959 |
> |
cat >$tmp/stdin |
| 9960 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 9961 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 9962 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 9963 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 9963 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 9964 |
|
* ) ac_file_in=$ac_file.in ;; |
| 9965 |
|
esac |
| 9966 |
|
|
| 9967 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 9968 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 9969 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 9970 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 9971 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 9972 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 9973 |
< |
. : '\(.\)' 2>/dev/null || |
| 9970 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 9971 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 9972 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 9973 |
> |
. : '\(.\)' 2>/dev/null || |
| 9974 |
|
echo X"$ac_file" | |
| 9975 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 9976 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 9986 |
|
as_dirs="$as_dir $as_dirs" |
| 9987 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 9988 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 9989 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 9990 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 9991 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 9992 |
< |
. : '\(.\)' 2>/dev/null || |
| 9989 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 9990 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 9991 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 9992 |
> |
. : '\(.\)' 2>/dev/null || |
| 9993 |
|
echo X"$as_dir" | |
| 9994 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 9995 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 10027 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 10028 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 10029 |
|
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` |
| 10030 |
|
|
| 10031 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 10032 |
+ |
# the directories may not exist. |
| 10033 |
+ |
case `pwd` in |
| 10034 |
+ |
.) ac_abs_builddir="$ac_dir";; |
| 10035 |
+ |
*) |
| 10036 |
+ |
case "$ac_dir" in |
| 10037 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 10038 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 10039 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 10040 |
+ |
esac;; |
| 10041 |
+ |
esac |
| 10042 |
+ |
case $ac_abs_builddir in |
| 10043 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 10044 |
+ |
*) |
| 10045 |
+ |
case ${ac_top_builddir}. in |
| 10046 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 10047 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 10048 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 10049 |
+ |
esac;; |
| 10050 |
+ |
esac |
| 10051 |
+ |
case $ac_abs_builddir in |
| 10052 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 10053 |
+ |
*) |
| 10054 |
+ |
case $ac_srcdir in |
| 10055 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 10056 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 10057 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 10058 |
+ |
esac;; |
| 10059 |
+ |
esac |
| 10060 |
+ |
case $ac_abs_builddir in |
| 10061 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 10062 |
+ |
*) |
| 10063 |
+ |
case $ac_top_srcdir in |
| 10064 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 10065 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 10066 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 10067 |
+ |
esac;; |
| 10068 |
+ |
esac |
| 10069 |
|
|
| 10070 |
+ |
|
| 10071 |
|
case $INSTALL in |
| 10072 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 10073 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 10087 |
|
configure_input="$ac_file. " |
| 10088 |
|
fi |
| 10089 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 10090 |
< |
sed 's,.*/,,'` by configure." |
| 10090 |
> |
sed 's,.*/,,'` by configure." |
| 10091 |
|
|
| 10092 |
|
# First look for the input files in the build tree, otherwise in the |
| 10093 |
|
# src tree. |
| 10096 |
|
case $f in |
| 10097 |
|
-) echo $tmp/stdin ;; |
| 10098 |
|
[\\/$]*) |
| 10099 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 10100 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10099 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 10100 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10101 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 10102 |
|
{ (exit 1); exit 1; }; } |
| 10103 |
< |
echo $f;; |
| 10103 |
> |
echo "$f";; |
| 10104 |
|
*) # Relative |
| 10105 |
< |
if test -f "$f"; then |
| 10106 |
< |
# Build tree |
| 10107 |
< |
echo $f |
| 10108 |
< |
elif test -f "$srcdir/$f"; then |
| 10109 |
< |
# Source tree |
| 10110 |
< |
echo $srcdir/$f |
| 10111 |
< |
else |
| 10112 |
< |
# /dev/null tree |
| 10113 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10105 |
> |
if test -f "$f"; then |
| 10106 |
> |
# Build tree |
| 10107 |
> |
echo "$f" |
| 10108 |
> |
elif test -f "$srcdir/$f"; then |
| 10109 |
> |
# Source tree |
| 10110 |
> |
echo "$srcdir/$f" |
| 10111 |
> |
else |
| 10112 |
> |
# /dev/null tree |
| 10113 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10114 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 10115 |
|
{ (exit 1); exit 1; }; } |
| 10116 |
< |
fi;; |
| 10116 |
> |
fi;; |
| 10117 |
|
esac |
| 10118 |
|
done` || { (exit 1); exit 1; } |
| 10119 |
|
_ACEOF |
| 10143 |
|
rm -f $tmp/out |
| 10144 |
|
fi |
| 10145 |
|
|
| 10146 |
+ |
# Run the commands associated with the file. |
| 10147 |
+ |
case $ac_file in |
| 10148 |
+ |
make/Makefile ) chmod 0755 scripts/* ;; |
| 10149 |
+ |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
| 10150 |
+ |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
| 10151 |
+ |
scripts/filepp ) chmod 0755 scripts/* ;; |
| 10152 |
+ |
esac |
| 10153 |
|
done |
| 10154 |
|
_ACEOF |
| 10155 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 10162 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 10163 |
|
# |
| 10164 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
| 10165 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 10166 |
< |
ac_dB='[ ].*$,\1#\2' |
| 10165 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 10166 |
> |
ac_dB='[ ].*$,\1#\2' |
| 10167 |
|
ac_dC=' ' |
| 10168 |
|
ac_dD=',;t' |
| 10169 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 10170 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 10170 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 10171 |
|
ac_uB='$,\1#\2define\3' |
| 10172 |
|
ac_uC=' ' |
| 10173 |
|
ac_uD=',;t' |
| 10176 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 10177 |
|
case $ac_file in |
| 10178 |
|
- | *:- | *:-:* ) # input from stdin |
| 10179 |
< |
cat >$tmp/stdin |
| 10180 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 10181 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 10179 |
> |
cat >$tmp/stdin |
| 10180 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 10181 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 10182 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 10183 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 10183 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 10184 |
|
* ) ac_file_in=$ac_file.in ;; |
| 10185 |
|
esac |
| 10186 |
|
|
| 10194 |
|
case $f in |
| 10195 |
|
-) echo $tmp/stdin ;; |
| 10196 |
|
[\\/$]*) |
| 10197 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 10198 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10197 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 10198 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10199 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 10200 |
|
{ (exit 1); exit 1; }; } |
| 10201 |
< |
echo $f;; |
| 10201 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 10202 |
> |
echo "$f";; |
| 10203 |
|
*) # Relative |
| 10204 |
< |
if test -f "$f"; then |
| 10205 |
< |
# Build tree |
| 10206 |
< |
echo $f |
| 10207 |
< |
elif test -f "$srcdir/$f"; then |
| 10208 |
< |
# Source tree |
| 10209 |
< |
echo $srcdir/$f |
| 10210 |
< |
else |
| 10211 |
< |
# /dev/null tree |
| 10212 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10204 |
> |
if test -f "$f"; then |
| 10205 |
> |
# Build tree |
| 10206 |
> |
echo "$f" |
| 10207 |
> |
elif test -f "$srcdir/$f"; then |
| 10208 |
> |
# Source tree |
| 10209 |
> |
echo "$srcdir/$f" |
| 10210 |
> |
else |
| 10211 |
> |
# /dev/null tree |
| 10212 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 10213 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 10214 |
|
{ (exit 1); exit 1; }; } |
| 10215 |
< |
fi;; |
| 10215 |
> |
fi;; |
| 10216 |
|
esac |
| 10217 |
|
done` || { (exit 1); exit 1; } |
| 10218 |
|
# Remove the trailing spaces. |
| 10219 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 10219 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 10220 |
|
|
| 10221 |
|
_ACEOF |
| 10222 |
|
|
| 10239 |
|
s,[\\$`],\\&,g |
| 10240 |
|
t clear |
| 10241 |
|
: clear |
| 10242 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 10242 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 10243 |
|
t end |
| 10244 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 10244 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 10245 |
|
: end |
| 10246 |
|
_ACEOF |
| 10247 |
|
# If some macros were called several times there might be several times |
| 10255 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 10256 |
|
# on some systems where configure will not decide to define it. |
| 10257 |
|
cat >>conftest.undefs <<\_ACEOF |
| 10258 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 10258 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 10259 |
|
_ACEOF |
| 10260 |
|
|
| 10261 |
|
# Break up conftest.defines because some shells have a limit on the size |
| 10262 |
|
# of here documents, and old seds have small limits too (100 cmds). |
| 10263 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 10264 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 10264 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 10265 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 10266 |
|
echo ' :' >>$CONFIG_STATUS |
| 10267 |
|
rm -f conftest.tail |
| 10270 |
|
# Write a limited-size here document to $tmp/defines.sed. |
| 10271 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 10272 |
|
# Speed up: don't consider the non `#define' lines. |
| 10273 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 10273 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 10274 |
|
# Work around the forget-to-reset-the-flag bug. |
| 10275 |
|
echo 't clr' >>$CONFIG_STATUS |
| 10276 |
|
echo ': clr' >>$CONFIG_STATUS |
| 10297 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
| 10298 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 10299 |
|
# Speed up: don't consider the non `#undef' |
| 10300 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 10300 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 10301 |
|
# Work around the forget-to-reset-the-flag bug. |
| 10302 |
|
echo 't clr' >>$CONFIG_STATUS |
| 10303 |
|
echo ': clr' >>$CONFIG_STATUS |
| 10331 |
|
else |
| 10332 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 10333 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 10334 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 10335 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 10336 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 10337 |
< |
. : '\(.\)' 2>/dev/null || |
| 10334 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 10335 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 10336 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 10337 |
> |
. : '\(.\)' 2>/dev/null || |
| 10338 |
|
echo X"$ac_file" | |
| 10339 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 10340 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 10350 |
|
as_dirs="$as_dir $as_dirs" |
| 10351 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 10352 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 10353 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 10354 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 10355 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 10356 |
< |
. : '\(.\)' 2>/dev/null || |
| 10353 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 10354 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 10355 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 10356 |
> |
. : '\(.\)' 2>/dev/null || |
| 10357 |
|
echo X"$as_dir" | |
| 10358 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 10359 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 10398 |
|
# Make relative symlinks. |
| 10399 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
| 10400 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 10401 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 10402 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 10403 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
| 10404 |
< |
. : '\(.\)' 2>/dev/null || |
| 10401 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 10402 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 10403 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
| 10404 |
> |
. : '\(.\)' 2>/dev/null || |
| 10405 |
|
echo X"$ac_dest" | |
| 10406 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 10407 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 10417 |
|
as_dirs="$as_dir $as_dirs" |
| 10418 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 10419 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 10420 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 10421 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 10422 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 10423 |
< |
. : '\(.\)' 2>/dev/null || |
| 10420 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 10421 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 10422 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 10423 |
> |
. : '\(.\)' 2>/dev/null || |
| 10424 |
|
echo X"$as_dir" | |
| 10425 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 10426 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 10458 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 10459 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 10460 |
|
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` |
| 10461 |
|
|
| 10462 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 10463 |
+ |
# the directories may not exist. |
| 10464 |
+ |
case `pwd` in |
| 10465 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
| 10466 |
+ |
*) |
| 10467 |
+ |
case "$ac_dest_dir" in |
| 10468 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 10469 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
| 10470 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
| 10471 |
+ |
esac;; |
| 10472 |
+ |
esac |
| 10473 |
+ |
case $ac_abs_builddir in |
| 10474 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 10475 |
+ |
*) |
| 10476 |
+ |
case ${ac_top_builddir}. in |
| 10477 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 10478 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 10479 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 10480 |
+ |
esac;; |
| 10481 |
+ |
esac |
| 10482 |
+ |
case $ac_abs_builddir in |
| 10483 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 10484 |
+ |
*) |
| 10485 |
+ |
case $ac_srcdir in |
| 10486 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 10487 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 10488 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 10489 |
+ |
esac;; |
| 10490 |
+ |
esac |
| 10491 |
+ |
case $ac_abs_builddir in |
| 10492 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 10493 |
+ |
*) |
| 10494 |
+ |
case $ac_top_srcdir in |
| 10495 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 10496 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 10497 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 10498 |
+ |
esac;; |
| 10499 |
+ |
esac |
| 10500 |
|
|
| 10501 |
+ |
|
| 10502 |
|
case $srcdir in |
| 10503 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
| 10504 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |