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 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 |
880 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
881 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
882 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
883 |
< |
--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 |
883 |
> |
--with-cgal-makefile=FILE CGAL makefile that should be used |
884 |
|
|
885 |
|
Some influential environment variables: |
886 |
|
CC C compiler command |
894 |
|
F90 Fortran 90 compiler command |
895 |
|
F90FLAGS Fortran 90 compiler flags |
896 |
|
CPP C preprocessor |
897 |
+ |
CXXCPP C++ preprocessor |
898 |
|
|
899 |
|
Use these variables to override the choices made by `configure' or to help |
900 |
|
it to find libraries and programs with nonstandard names/locations. |
933 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
934 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
935 |
|
esac |
932 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
933 |
– |
# absolute. |
934 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
935 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
936 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
937 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
936 |
|
|
937 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
938 |
+ |
# the directories may not exist. |
939 |
+ |
case `pwd` in |
940 |
+ |
.) ac_abs_builddir="$ac_dir";; |
941 |
+ |
*) |
942 |
+ |
case "$ac_dir" in |
943 |
+ |
.) ac_abs_builddir=`pwd`;; |
944 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
945 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
946 |
+ |
esac;; |
947 |
+ |
esac |
948 |
+ |
case $ac_abs_builddir in |
949 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
950 |
+ |
*) |
951 |
+ |
case ${ac_top_builddir}. in |
952 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
953 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
954 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
955 |
+ |
esac;; |
956 |
+ |
esac |
957 |
+ |
case $ac_abs_builddir in |
958 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
959 |
+ |
*) |
960 |
+ |
case $ac_srcdir in |
961 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
962 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
963 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
964 |
+ |
esac;; |
965 |
+ |
esac |
966 |
+ |
case $ac_abs_builddir in |
967 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
968 |
+ |
*) |
969 |
+ |
case $ac_top_srcdir in |
970 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
971 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
972 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
973 |
+ |
esac;; |
974 |
+ |
esac |
975 |
+ |
|
976 |
|
cd $ac_dir |
977 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
978 |
|
if test -f $ac_srcdir/configure.gnu; then |
982 |
|
echo |
983 |
|
$SHELL $ac_srcdir/configure --help=recursive |
984 |
|
elif test -f $ac_srcdir/configure.ac || |
985 |
< |
test -f $ac_srcdir/configure.in; then |
985 |
> |
test -f $ac_srcdir/configure.in; then |
986 |
|
echo |
987 |
|
$ac_configure --help |
988 |
|
else |
996 |
|
if $ac_init_version; then |
997 |
|
cat <<\_ACEOF |
998 |
|
OOPSE configure 2.0 |
999 |
< |
generated by GNU Autoconf 2.57 |
999 |
> |
generated by GNU Autoconf 2.59 |
1000 |
|
|
1001 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
965 |
< |
Free Software Foundation, Inc. |
1001 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
1002 |
|
This configure script is free software; the Free Software Foundation |
1003 |
|
gives unlimited permission to copy, distribute and modify it. |
1004 |
|
_ACEOF |
1010 |
|
running configure, to aid debugging if configure makes a mistake. |
1011 |
|
|
1012 |
|
It was created by OOPSE $as_me 2.0, which was |
1013 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
1013 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1014 |
|
|
1015 |
|
$ $0 $@ |
1016 |
|
|
1087 |
|
2) |
1088 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1089 |
|
if test $ac_must_keep_next = true; then |
1090 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1090 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1091 |
|
else |
1092 |
< |
case $ac_arg in |
1093 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1094 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1095 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1096 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1097 |
< |
case "$ac_configure_args0 " in |
1098 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1099 |
< |
esac |
1100 |
< |
;; |
1101 |
< |
-* ) ac_must_keep_next=true ;; |
1102 |
< |
esac |
1092 |
> |
case $ac_arg in |
1093 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1094 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1095 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1096 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1097 |
> |
case "$ac_configure_args0 " in |
1098 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1099 |
> |
esac |
1100 |
> |
;; |
1101 |
> |
-* ) ac_must_keep_next=true ;; |
1102 |
> |
esac |
1103 |
|
fi |
1104 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1105 |
|
# Get rid of the leading space. |
1133 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1134 |
|
*ac_space=\ *) |
1135 |
|
sed -n \ |
1136 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1137 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1136 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1137 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1138 |
|
;; |
1139 |
|
*) |
1140 |
|
sed -n \ |
1141 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1141 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1142 |
|
;; |
1143 |
|
esac; |
1144 |
|
} |
1167 |
|
for ac_var in $ac_subst_files |
1168 |
|
do |
1169 |
|
eval ac_val=$`echo $ac_var` |
1170 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1170 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1171 |
|
done | sort |
1172 |
|
echo |
1173 |
|
fi |
1186 |
|
echo "$as_me: caught signal $ac_signal" |
1187 |
|
echo "$as_me: exit $exit_status" |
1188 |
|
} >&5 |
1189 |
< |
rm -f core core.* *.core && |
1189 |
> |
rm -f core *.core && |
1190 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1191 |
|
exit $exit_status |
1192 |
|
' 0 |
1266 |
|
# value. |
1267 |
|
ac_cache_corrupted=false |
1268 |
|
for ac_var in `(set) 2>&1 | |
1269 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1269 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1270 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1271 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1272 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1283 |
|
,);; |
1284 |
|
*) |
1285 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1286 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1286 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1287 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1288 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1288 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1289 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1290 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1290 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1291 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1292 |
< |
ac_cache_corrupted=: |
1292 |
> |
ac_cache_corrupted=: |
1293 |
|
fi;; |
1294 |
|
esac |
1295 |
|
# Pass precious variables to config.status. |
1827 |
|
# Figure out how the Fortran 90 compiler constructs module file names |
1828 |
|
# |
1829 |
|
# AC_F90_MODULE_NAMES |
1830 |
+ |
|
1831 |
|
|
1832 |
|
|
1833 |
|
|
2087 |
|
(exit $ac_status); } |
2088 |
|
|
2089 |
|
cat >conftest.$ac_ext <<_ACEOF |
2053 |
– |
#line $LINENO "configure" |
2090 |
|
/* confdefs.h. */ |
2091 |
|
_ACEOF |
2092 |
|
cat confdefs.h >>conftest.$ac_ext |
2106 |
|
# Try to create an executable without -o first, disregard a.out. |
2107 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2108 |
|
# of exeext. |
2109 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2110 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2109 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2110 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2111 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2112 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2113 |
|
(eval $ac_link_default) 2>&5 |
2127 |
|
test -f "$ac_file" || continue |
2128 |
|
case $ac_file in |
2129 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2130 |
< |
;; |
2130 |
> |
;; |
2131 |
|
conftest.$ac_ext ) |
2132 |
< |
# This is the source file. |
2133 |
< |
;; |
2132 |
> |
# This is the source file. |
2133 |
> |
;; |
2134 |
|
[ab].out ) |
2135 |
< |
# We found the default executable, but exeext='' is most |
2136 |
< |
# certainly right. |
2137 |
< |
break;; |
2135 |
> |
# We found the default executable, but exeext='' is most |
2136 |
> |
# certainly right. |
2137 |
> |
break;; |
2138 |
|
*.* ) |
2139 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2140 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2141 |
< |
# but it would be cool to find out if it's true. Does anybody |
2142 |
< |
# maintain Libtool? --akim. |
2143 |
< |
export ac_cv_exeext |
2144 |
< |
break;; |
2139 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2140 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2141 |
> |
# but it would be cool to find out if it's true. Does anybody |
2142 |
> |
# maintain Libtool? --akim. |
2143 |
> |
export ac_cv_exeext |
2144 |
> |
break;; |
2145 |
|
* ) |
2146 |
< |
break;; |
2146 |
> |
break;; |
2147 |
|
esac |
2148 |
|
done |
2149 |
|
else |
2217 |
|
case $ac_file in |
2218 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2219 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2220 |
< |
export ac_cv_exeext |
2221 |
< |
break;; |
2220 |
> |
export ac_cv_exeext |
2221 |
> |
break;; |
2222 |
|
* ) break;; |
2223 |
|
esac |
2224 |
|
done |
2243 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2244 |
|
else |
2245 |
|
cat >conftest.$ac_ext <<_ACEOF |
2210 |
– |
#line $LINENO "configure" |
2246 |
|
/* confdefs.h. */ |
2247 |
|
_ACEOF |
2248 |
|
cat confdefs.h >>conftest.$ac_ext |
2293 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2294 |
|
else |
2295 |
|
cat >conftest.$ac_ext <<_ACEOF |
2261 |
– |
#line $LINENO "configure" |
2296 |
|
/* confdefs.h. */ |
2297 |
|
_ACEOF |
2298 |
|
cat confdefs.h >>conftest.$ac_ext |
2312 |
|
_ACEOF |
2313 |
|
rm -f conftest.$ac_objext |
2314 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2315 |
< |
(eval $ac_compile) 2>&5 |
2315 |
> |
(eval $ac_compile) 2>conftest.er1 |
2316 |
|
ac_status=$? |
2317 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2318 |
+ |
rm -f conftest.er1 |
2319 |
+ |
cat conftest.err >&5 |
2320 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2321 |
|
(exit $ac_status); } && |
2322 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2322 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2323 |
> |
|| test ! -s conftest.err' |
2324 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2325 |
|
(eval $ac_try) 2>&5 |
2326 |
|
ac_status=$? |
2327 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2328 |
+ |
(exit $ac_status); }; } && |
2329 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2330 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2331 |
+ |
(eval $ac_try) 2>&5 |
2332 |
+ |
ac_status=$? |
2333 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2334 |
|
(exit $ac_status); }; }; then |
2335 |
|
ac_compiler_gnu=yes |
2336 |
|
else |
2339 |
|
|
2340 |
|
ac_compiler_gnu=no |
2341 |
|
fi |
2342 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2342 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2343 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2344 |
|
|
2345 |
|
fi |
2355 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2356 |
|
else |
2357 |
|
cat >conftest.$ac_ext <<_ACEOF |
2314 |
– |
#line $LINENO "configure" |
2358 |
|
/* confdefs.h. */ |
2359 |
|
_ACEOF |
2360 |
|
cat confdefs.h >>conftest.$ac_ext |
2371 |
|
_ACEOF |
2372 |
|
rm -f conftest.$ac_objext |
2373 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2374 |
< |
(eval $ac_compile) 2>&5 |
2374 |
> |
(eval $ac_compile) 2>conftest.er1 |
2375 |
|
ac_status=$? |
2376 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2377 |
+ |
rm -f conftest.er1 |
2378 |
+ |
cat conftest.err >&5 |
2379 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2380 |
|
(exit $ac_status); } && |
2381 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2381 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2382 |
> |
|| test ! -s conftest.err' |
2383 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2384 |
|
(eval $ac_try) 2>&5 |
2385 |
|
ac_status=$? |
2386 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2387 |
+ |
(exit $ac_status); }; } && |
2388 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2389 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2390 |
+ |
(eval $ac_try) 2>&5 |
2391 |
+ |
ac_status=$? |
2392 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2393 |
|
(exit $ac_status); }; }; then |
2394 |
|
ac_cv_prog_cc_g=yes |
2395 |
|
else |
2398 |
|
|
2399 |
|
ac_cv_prog_cc_g=no |
2400 |
|
fi |
2401 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2401 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2402 |
|
fi |
2403 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2404 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2425 |
|
ac_cv_prog_cc_stdc=no |
2426 |
|
ac_save_CC=$CC |
2427 |
|
cat >conftest.$ac_ext <<_ACEOF |
2375 |
– |
#line $LINENO "configure" |
2428 |
|
/* confdefs.h. */ |
2429 |
|
_ACEOF |
2430 |
|
cat confdefs.h >>conftest.$ac_ext |
2452 |
|
va_end (v); |
2453 |
|
return s; |
2454 |
|
} |
2455 |
+ |
|
2456 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2457 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
2458 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
2459 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
2460 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2461 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
2462 |
+ |
that's true only with -std1. */ |
2463 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2464 |
+ |
|
2465 |
|
int test (int i, double x); |
2466 |
|
struct s1 {int (*f) (int a);}; |
2467 |
|
struct s2 {int (*f) (double a);}; |
2488 |
|
CC="$ac_save_CC $ac_arg" |
2489 |
|
rm -f conftest.$ac_objext |
2490 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2491 |
< |
(eval $ac_compile) 2>&5 |
2491 |
> |
(eval $ac_compile) 2>conftest.er1 |
2492 |
|
ac_status=$? |
2493 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2494 |
+ |
rm -f conftest.er1 |
2495 |
+ |
cat conftest.err >&5 |
2496 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2497 |
|
(exit $ac_status); } && |
2498 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2498 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2499 |
> |
|| test ! -s conftest.err' |
2500 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2501 |
|
(eval $ac_try) 2>&5 |
2502 |
|
ac_status=$? |
2503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2504 |
+ |
(exit $ac_status); }; } && |
2505 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2506 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2507 |
+ |
(eval $ac_try) 2>&5 |
2508 |
+ |
ac_status=$? |
2509 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2510 |
|
(exit $ac_status); }; }; then |
2511 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2512 |
|
break |
2515 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2516 |
|
|
2517 |
|
fi |
2518 |
< |
rm -f conftest.$ac_objext |
2518 |
> |
rm -f conftest.err conftest.$ac_objext |
2519 |
|
done |
2520 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2521 |
|
CC=$ac_save_CC |
2543 |
|
_ACEOF |
2544 |
|
rm -f conftest.$ac_objext |
2545 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2546 |
< |
(eval $ac_compile) 2>&5 |
2546 |
> |
(eval $ac_compile) 2>conftest.er1 |
2547 |
|
ac_status=$? |
2548 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2549 |
+ |
rm -f conftest.er1 |
2550 |
+ |
cat conftest.err >&5 |
2551 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2552 |
|
(exit $ac_status); } && |
2553 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2553 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2554 |
> |
|| test ! -s conftest.err' |
2555 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2556 |
|
(eval $ac_try) 2>&5 |
2557 |
|
ac_status=$? |
2558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2559 |
+ |
(exit $ac_status); }; } && |
2560 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2561 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2562 |
+ |
(eval $ac_try) 2>&5 |
2563 |
+ |
ac_status=$? |
2564 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2565 |
|
(exit $ac_status); }; }; then |
2566 |
|
for ac_declaration in \ |
2567 |
< |
''\ |
2486 |
< |
'#include <stdlib.h>' \ |
2567 |
> |
'' \ |
2568 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2569 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2570 |
|
'extern "C" void exit (int) throw ();' \ |
2572 |
|
'void exit (int);' |
2573 |
|
do |
2574 |
|
cat >conftest.$ac_ext <<_ACEOF |
2494 |
– |
#line $LINENO "configure" |
2575 |
|
/* confdefs.h. */ |
2576 |
|
_ACEOF |
2577 |
|
cat confdefs.h >>conftest.$ac_ext |
2578 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2579 |
|
/* end confdefs.h. */ |
2500 |
– |
#include <stdlib.h> |
2580 |
|
$ac_declaration |
2581 |
+ |
#include <stdlib.h> |
2582 |
|
int |
2583 |
|
main () |
2584 |
|
{ |
2589 |
|
_ACEOF |
2590 |
|
rm -f conftest.$ac_objext |
2591 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2592 |
< |
(eval $ac_compile) 2>&5 |
2592 |
> |
(eval $ac_compile) 2>conftest.er1 |
2593 |
|
ac_status=$? |
2594 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2595 |
+ |
rm -f conftest.er1 |
2596 |
+ |
cat conftest.err >&5 |
2597 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2598 |
|
(exit $ac_status); } && |
2599 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2599 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2600 |
> |
|| test ! -s conftest.err' |
2601 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2602 |
|
(eval $ac_try) 2>&5 |
2603 |
|
ac_status=$? |
2604 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2605 |
+ |
(exit $ac_status); }; } && |
2606 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2607 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2608 |
+ |
(eval $ac_try) 2>&5 |
2609 |
+ |
ac_status=$? |
2610 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2611 |
|
(exit $ac_status); }; }; then |
2612 |
|
: |
2613 |
|
else |
2616 |
|
|
2617 |
|
continue |
2618 |
|
fi |
2619 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2619 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2620 |
|
cat >conftest.$ac_ext <<_ACEOF |
2531 |
– |
#line $LINENO "configure" |
2621 |
|
/* confdefs.h. */ |
2622 |
|
_ACEOF |
2623 |
|
cat confdefs.h >>conftest.$ac_ext |
2634 |
|
_ACEOF |
2635 |
|
rm -f conftest.$ac_objext |
2636 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2637 |
< |
(eval $ac_compile) 2>&5 |
2637 |
> |
(eval $ac_compile) 2>conftest.er1 |
2638 |
|
ac_status=$? |
2639 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2640 |
+ |
rm -f conftest.er1 |
2641 |
+ |
cat conftest.err >&5 |
2642 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2643 |
|
(exit $ac_status); } && |
2644 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2644 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2645 |
> |
|| test ! -s conftest.err' |
2646 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2647 |
|
(eval $ac_try) 2>&5 |
2648 |
|
ac_status=$? |
2649 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2650 |
+ |
(exit $ac_status); }; } && |
2651 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2652 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2653 |
+ |
(eval $ac_try) 2>&5 |
2654 |
+ |
ac_status=$? |
2655 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2656 |
|
(exit $ac_status); }; }; then |
2657 |
|
break |
2658 |
|
else |
2660 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2661 |
|
|
2662 |
|
fi |
2663 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2663 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2664 |
|
done |
2665 |
|
rm -f conftest* |
2666 |
|
if test -n "$ac_declaration"; then |
2674 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2675 |
|
|
2676 |
|
fi |
2677 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2677 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2678 |
|
ac_ext=c |
2679 |
|
ac_cpp='$CPP $CPPFLAGS' |
2680 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2801 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2802 |
|
else |
2803 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
– |
#line $LINENO "configure" |
2804 |
|
/* confdefs.h. */ |
2805 |
|
_ACEOF |
2806 |
|
cat confdefs.h >>conftest.$ac_ext |
2820 |
|
_ACEOF |
2821 |
|
rm -f conftest.$ac_objext |
2822 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2823 |
< |
(eval $ac_compile) 2>&5 |
2823 |
> |
(eval $ac_compile) 2>conftest.er1 |
2824 |
|
ac_status=$? |
2825 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2826 |
+ |
rm -f conftest.er1 |
2827 |
+ |
cat conftest.err >&5 |
2828 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2829 |
|
(exit $ac_status); } && |
2830 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2830 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2831 |
> |
|| test ! -s conftest.err' |
2832 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2833 |
|
(eval $ac_try) 2>&5 |
2834 |
|
ac_status=$? |
2835 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2836 |
+ |
(exit $ac_status); }; } && |
2837 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2838 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2839 |
+ |
(eval $ac_try) 2>&5 |
2840 |
+ |
ac_status=$? |
2841 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2842 |
|
(exit $ac_status); }; }; then |
2843 |
|
ac_compiler_gnu=yes |
2844 |
|
else |
2847 |
|
|
2848 |
|
ac_compiler_gnu=no |
2849 |
|
fi |
2850 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2850 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2851 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2852 |
|
|
2853 |
|
fi |
2863 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2864 |
|
else |
2865 |
|
cat >conftest.$ac_ext <<_ACEOF |
2758 |
– |
#line $LINENO "configure" |
2866 |
|
/* confdefs.h. */ |
2867 |
|
_ACEOF |
2868 |
|
cat confdefs.h >>conftest.$ac_ext |
2879 |
|
_ACEOF |
2880 |
|
rm -f conftest.$ac_objext |
2881 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2882 |
< |
(eval $ac_compile) 2>&5 |
2882 |
> |
(eval $ac_compile) 2>conftest.er1 |
2883 |
|
ac_status=$? |
2884 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2885 |
+ |
rm -f conftest.er1 |
2886 |
+ |
cat conftest.err >&5 |
2887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2888 |
|
(exit $ac_status); } && |
2889 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2889 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2890 |
> |
|| test ! -s conftest.err' |
2891 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2892 |
|
(eval $ac_try) 2>&5 |
2893 |
|
ac_status=$? |
2894 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2895 |
+ |
(exit $ac_status); }; } && |
2896 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2897 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2898 |
+ |
(eval $ac_try) 2>&5 |
2899 |
+ |
ac_status=$? |
2900 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2901 |
|
(exit $ac_status); }; }; then |
2902 |
|
ac_cv_prog_cxx_g=yes |
2903 |
|
else |
2906 |
|
|
2907 |
|
ac_cv_prog_cxx_g=no |
2908 |
|
fi |
2909 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2909 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2910 |
|
fi |
2911 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2912 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2926 |
|
fi |
2927 |
|
fi |
2928 |
|
for ac_declaration in \ |
2929 |
< |
''\ |
2813 |
< |
'#include <stdlib.h>' \ |
2929 |
> |
'' \ |
2930 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2931 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2932 |
|
'extern "C" void exit (int) throw ();' \ |
2934 |
|
'void exit (int);' |
2935 |
|
do |
2936 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
– |
#line $LINENO "configure" |
2937 |
|
/* confdefs.h. */ |
2938 |
|
_ACEOF |
2939 |
|
cat confdefs.h >>conftest.$ac_ext |
2940 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2941 |
|
/* end confdefs.h. */ |
2827 |
– |
#include <stdlib.h> |
2942 |
|
$ac_declaration |
2943 |
+ |
#include <stdlib.h> |
2944 |
|
int |
2945 |
|
main () |
2946 |
|
{ |
2951 |
|
_ACEOF |
2952 |
|
rm -f conftest.$ac_objext |
2953 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2954 |
< |
(eval $ac_compile) 2>&5 |
2954 |
> |
(eval $ac_compile) 2>conftest.er1 |
2955 |
|
ac_status=$? |
2956 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2957 |
+ |
rm -f conftest.er1 |
2958 |
+ |
cat conftest.err >&5 |
2959 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2960 |
|
(exit $ac_status); } && |
2961 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2961 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2962 |
> |
|| test ! -s conftest.err' |
2963 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2964 |
|
(eval $ac_try) 2>&5 |
2965 |
|
ac_status=$? |
2966 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2967 |
+ |
(exit $ac_status); }; } && |
2968 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2969 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2970 |
+ |
(eval $ac_try) 2>&5 |
2971 |
+ |
ac_status=$? |
2972 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2973 |
|
(exit $ac_status); }; }; then |
2974 |
|
: |
2975 |
|
else |
2978 |
|
|
2979 |
|
continue |
2980 |
|
fi |
2981 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2981 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2982 |
|
cat >conftest.$ac_ext <<_ACEOF |
2858 |
– |
#line $LINENO "configure" |
2983 |
|
/* confdefs.h. */ |
2984 |
|
_ACEOF |
2985 |
|
cat confdefs.h >>conftest.$ac_ext |
2996 |
|
_ACEOF |
2997 |
|
rm -f conftest.$ac_objext |
2998 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2999 |
< |
(eval $ac_compile) 2>&5 |
2999 |
> |
(eval $ac_compile) 2>conftest.er1 |
3000 |
|
ac_status=$? |
3001 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3002 |
+ |
rm -f conftest.er1 |
3003 |
+ |
cat conftest.err >&5 |
3004 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3005 |
|
(exit $ac_status); } && |
3006 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3006 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3007 |
> |
|| test ! -s conftest.err' |
3008 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3009 |
|
(eval $ac_try) 2>&5 |
3010 |
|
ac_status=$? |
3011 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3012 |
+ |
(exit $ac_status); }; } && |
3013 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3014 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3015 |
+ |
(eval $ac_try) 2>&5 |
3016 |
+ |
ac_status=$? |
3017 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3018 |
|
(exit $ac_status); }; }; then |
3019 |
|
break |
3020 |
|
else |
3022 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3023 |
|
|
3024 |
|
fi |
3025 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3025 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3026 |
|
done |
3027 |
|
rm -f conftest* |
3028 |
|
if test -n "$ac_declaration"; then |
3207 |
|
_ACEOF |
3208 |
|
rm -f conftest.$ac_objext |
3209 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3210 |
< |
(eval $ac_compile) 2>&5 |
3210 |
> |
(eval $ac_compile) 2>conftest.er1 |
3211 |
|
ac_status=$? |
3212 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3213 |
+ |
rm -f conftest.er1 |
3214 |
+ |
cat conftest.err >&5 |
3215 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3216 |
|
(exit $ac_status); } && |
3217 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3217 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3218 |
> |
|| test ! -s conftest.err' |
3219 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3220 |
|
(eval $ac_try) 2>&5 |
3221 |
|
ac_status=$? |
3222 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3223 |
+ |
(exit $ac_status); }; } && |
3224 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3225 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3226 |
+ |
(eval $ac_try) 2>&5 |
3227 |
+ |
ac_status=$? |
3228 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3229 |
|
(exit $ac_status); }; }; then |
3230 |
|
ac_compiler_gnu=yes |
3231 |
|
else |
3234 |
|
|
3235 |
|
ac_compiler_gnu=no |
3236 |
|
fi |
3237 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3237 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3238 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3239 |
|
|
3240 |
|
fi |
3308 |
|
_ACEOF |
3309 |
|
rm -f conftest.$ac_objext |
3310 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3311 |
< |
(eval $ac_compile) 2>&5 |
3311 |
> |
(eval $ac_compile) 2>conftest.er1 |
3312 |
|
ac_status=$? |
3313 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3314 |
+ |
rm -f conftest.er1 |
3315 |
+ |
cat conftest.err >&5 |
3316 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3317 |
|
(exit $ac_status); } && |
3318 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3318 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3319 |
> |
|| test ! -s conftest.err' |
3320 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3321 |
|
(eval $ac_try) 2>&5 |
3322 |
|
ac_status=$? |
3323 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3324 |
+ |
(exit $ac_status); }; } && |
3325 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3326 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3327 |
+ |
(eval $ac_try) 2>&5 |
3328 |
+ |
ac_status=$? |
3329 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3330 |
|
(exit $ac_status); }; }; then |
3331 |
|
prepflagworks=1 |
3332 |
|
else |
3335 |
|
|
3336 |
|
prepflagworks=0 |
3337 |
|
fi |
3338 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3338 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3339 |
|
|
3340 |
|
F90FLAGS=$ac_save_F90FLAGS |
3341 |
|
ac_ext=$ac_save_ext |
3423 |
|
_ACEOF |
3424 |
|
rm -f conftest.$ac_objext |
3425 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3426 |
< |
(eval $ac_compile) 2>&5 |
3426 |
> |
(eval $ac_compile) 2>conftest.er1 |
3427 |
|
ac_status=$? |
3428 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3429 |
+ |
rm -f conftest.er1 |
3430 |
+ |
cat conftest.err >&5 |
3431 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3432 |
|
(exit $ac_status); } && |
3433 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3433 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3434 |
> |
|| test ! -s conftest.err' |
3435 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3436 |
|
(eval $ac_try) 2>&5 |
3437 |
|
ac_status=$? |
3438 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3439 |
+ |
(exit $ac_status); }; } && |
3440 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3441 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3442 |
+ |
(eval $ac_try) 2>&5 |
3443 |
+ |
ac_status=$? |
3444 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3445 |
|
(exit $ac_status); }; }; then |
3446 |
|
prepdefflagworks=1 |
3447 |
|
else |
3450 |
|
|
3451 |
|
prepdefflagworks=0 |
3452 |
|
fi |
3453 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3453 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3454 |
|
|
3455 |
|
F90FLAGS=$ac_save_F90FLAGS |
3456 |
|
ac_ext=$ac_save_ext |
3502 |
|
_ACEOF |
3503 |
|
rm -f conftest.$ac_objext |
3504 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3505 |
< |
(eval $ac_compile) 2>&5 |
3505 |
> |
(eval $ac_compile) 2>conftest.er1 |
3506 |
|
ac_status=$? |
3507 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3508 |
+ |
rm -f conftest.er1 |
3509 |
+ |
cat conftest.err >&5 |
3510 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3511 |
|
(exit $ac_status); } && |
3512 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3512 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3513 |
> |
|| test ! -s conftest.err' |
3514 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3515 |
|
(eval $ac_try) 2>&5 |
3516 |
|
ac_status=$? |
3517 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3518 |
+ |
(exit $ac_status); }; } && |
3519 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3520 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3521 |
+ |
(eval $ac_try) 2>&5 |
3522 |
+ |
ac_status=$? |
3523 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3524 |
|
(exit $ac_status); }; }; then |
3525 |
|
ac_cv_prog_f90_v= |
3526 |
|
# Try some options frequently used verbose output |
3546 |
|
ac_save_F90FLAGS=$F90FLAGS |
3547 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3548 |
|
|
3549 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
3549 |
> |
(eval echo $as_me:3549: \"$ac_link\") >&5 |
3550 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3551 |
|
echo "$ac_f90_v_output" >&5 |
3552 |
|
F90FLAGS=$ac_save_F90FLAGS |
3588 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3589 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3590 |
|
fi |
3591 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3591 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3592 |
|
|
3593 |
|
fi |
3594 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3623 |
|
ac_save_F90FLAGS=$F90FLAGS |
3624 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3625 |
|
|
3626 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
3626 |
> |
(eval echo $as_me:3626: \"$ac_link\") >&5 |
3627 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3628 |
|
echo "$ac_f90_v_output" >&5 |
3629 |
|
F90FLAGS=$ac_save_F90FLAGS |
3805 |
|
_ACEOF |
3806 |
|
rm -f conftest.$ac_objext |
3807 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3808 |
< |
(eval $ac_compile) 2>&5 |
3808 |
> |
(eval $ac_compile) 2>conftest.er1 |
3809 |
|
ac_status=$? |
3810 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3811 |
+ |
rm -f conftest.er1 |
3812 |
+ |
cat conftest.err >&5 |
3813 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3814 |
|
(exit $ac_status); } && |
3815 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3815 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3816 |
> |
|| test ! -s conftest.err' |
3817 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3818 |
> |
(eval $ac_try) 2>&5 |
3819 |
> |
ac_status=$? |
3820 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3821 |
> |
(exit $ac_status); }; } && |
3822 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3823 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3824 |
|
(eval $ac_try) 2>&5 |
3825 |
|
ac_status=$? |
3841 |
|
for ac_underscore in "" "_"; do |
3842 |
|
ac_func="$ac_foobar$ac_underscore" |
3843 |
|
cat >conftest.$ac_ext <<_ACEOF |
3660 |
– |
#line $LINENO "configure" |
3844 |
|
/* confdefs.h. */ |
3845 |
|
_ACEOF |
3846 |
|
cat confdefs.h >>conftest.$ac_ext |
3864 |
|
_ACEOF |
3865 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3866 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3867 |
< |
(eval $ac_link) 2>&5 |
3867 |
> |
(eval $ac_link) 2>conftest.er1 |
3868 |
|
ac_status=$? |
3869 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3870 |
+ |
rm -f conftest.er1 |
3871 |
+ |
cat conftest.err >&5 |
3872 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3873 |
|
(exit $ac_status); } && |
3874 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3874 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3875 |
> |
|| test ! -s conftest.err' |
3876 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3877 |
|
(eval $ac_try) 2>&5 |
3878 |
|
ac_status=$? |
3879 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3880 |
+ |
(exit $ac_status); }; } && |
3881 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
3882 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3883 |
+ |
(eval $ac_try) 2>&5 |
3884 |
+ |
ac_status=$? |
3885 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3886 |
|
(exit $ac_status); }; }; then |
3887 |
|
ac_success=yes; break 2 |
3888 |
|
else |
3890 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3891 |
|
|
3892 |
|
fi |
3893 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3893 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3894 |
> |
conftest$ac_exeext conftest.$ac_ext |
3895 |
|
done |
3896 |
|
done |
3897 |
|
|
3912 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3913 |
|
|
3914 |
|
cat >conftest.$ac_ext <<_ACEOF |
3721 |
– |
#line $LINENO "configure" |
3915 |
|
/* confdefs.h. */ |
3916 |
|
_ACEOF |
3917 |
|
cat confdefs.h >>conftest.$ac_ext |
3935 |
|
_ACEOF |
3936 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3937 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3938 |
< |
(eval $ac_link) 2>&5 |
3938 |
> |
(eval $ac_link) 2>conftest.er1 |
3939 |
|
ac_status=$? |
3940 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3941 |
+ |
rm -f conftest.er1 |
3942 |
+ |
cat conftest.err >&5 |
3943 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3944 |
|
(exit $ac_status); } && |
3945 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3945 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3946 |
> |
|| test ! -s conftest.err' |
3947 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3948 |
> |
(eval $ac_try) 2>&5 |
3949 |
> |
ac_status=$? |
3950 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3951 |
> |
(exit $ac_status); }; } && |
3952 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3953 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3954 |
|
(eval $ac_try) 2>&5 |
3955 |
|
ac_status=$? |
3961 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3962 |
|
|
3963 |
|
fi |
3964 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3964 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3965 |
> |
conftest$ac_exeext conftest.$ac_ext |
3966 |
|
done |
3967 |
|
|
3968 |
|
if test "$ac_success_extra" = "yes"; then |
3997 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3998 |
|
|
3999 |
|
fi |
4000 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4000 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4001 |
|
ac_ext=f90 |
4002 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4003 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4240 |
|
_ACEOF |
4241 |
|
rm -f conftest.$ac_objext |
4242 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4243 |
< |
(eval $ac_compile) 2>&5 |
4243 |
> |
(eval $ac_compile) 2>conftest.er1 |
4244 |
|
ac_status=$? |
4245 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4246 |
+ |
rm -f conftest.er1 |
4247 |
+ |
cat conftest.err >&5 |
4248 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4249 |
|
(exit $ac_status); } && |
4250 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4250 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
4251 |
> |
|| test ! -s conftest.err' |
4252 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4253 |
|
(eval $ac_try) 2>&5 |
4254 |
|
ac_status=$? |
4255 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4256 |
+ |
(exit $ac_status); }; } && |
4257 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4258 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4259 |
+ |
(eval $ac_try) 2>&5 |
4260 |
+ |
ac_status=$? |
4261 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4262 |
|
(exit $ac_status); }; }; then |
4263 |
|
ac_cv_f90_module_names= |
4264 |
|
ac_file_list=* |
4359 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4360 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4361 |
|
fi |
4362 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4362 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4363 |
|
cd .. |
4364 |
|
# cleanup |
4365 |
|
rm -rf conftest |
4489 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4490 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4491 |
|
cat >conftest.$ac_ext <<_ACEOF |
4278 |
– |
#line $LINENO "configure" |
4492 |
|
/* confdefs.h. */ |
4493 |
|
_ACEOF |
4494 |
|
cat confdefs.h >>conftest.$ac_ext |
4499 |
|
#else |
4500 |
|
# include <assert.h> |
4501 |
|
#endif |
4502 |
< |
Syntax error |
4502 |
> |
Syntax error |
4503 |
|
_ACEOF |
4504 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4505 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4511 |
|
(exit $ac_status); } >/dev/null; then |
4512 |
|
if test -s conftest.err; then |
4513 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4514 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4515 |
|
else |
4516 |
|
ac_cpp_err= |
4517 |
|
fi |
4532 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4533 |
|
# can be detected and how. |
4534 |
|
cat >conftest.$ac_ext <<_ACEOF |
4321 |
– |
#line $LINENO "configure" |
4535 |
|
/* confdefs.h. */ |
4536 |
|
_ACEOF |
4537 |
|
cat confdefs.h >>conftest.$ac_ext |
4549 |
|
(exit $ac_status); } >/dev/null; then |
4550 |
|
if test -s conftest.err; then |
4551 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4552 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4553 |
|
else |
4554 |
|
ac_cpp_err= |
4555 |
|
fi |
4596 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4597 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4598 |
|
cat >conftest.$ac_ext <<_ACEOF |
4385 |
– |
#line $LINENO "configure" |
4599 |
|
/* confdefs.h. */ |
4600 |
|
_ACEOF |
4601 |
|
cat confdefs.h >>conftest.$ac_ext |
4606 |
|
#else |
4607 |
|
# include <assert.h> |
4608 |
|
#endif |
4609 |
< |
Syntax error |
4609 |
> |
Syntax error |
4610 |
|
_ACEOF |
4611 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4612 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4618 |
|
(exit $ac_status); } >/dev/null; then |
4619 |
|
if test -s conftest.err; then |
4620 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4621 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4622 |
|
else |
4623 |
|
ac_cpp_err= |
4624 |
|
fi |
4639 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4640 |
|
# can be detected and how. |
4641 |
|
cat >conftest.$ac_ext <<_ACEOF |
4428 |
– |
#line $LINENO "configure" |
4642 |
|
/* confdefs.h. */ |
4643 |
|
_ACEOF |
4644 |
|
cat confdefs.h >>conftest.$ac_ext |
4656 |
|
(exit $ac_status); } >/dev/null; then |
4657 |
|
if test -s conftest.err; then |
4658 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4659 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4660 |
|
else |
4661 |
|
ac_cpp_err= |
4662 |
|
fi |
4717 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4718 |
|
else |
4719 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
– |
#line $LINENO "configure" |
4720 |
|
/* confdefs.h. */ |
4721 |
|
_ACEOF |
4722 |
|
cat confdefs.h >>conftest.$ac_ext |
4737 |
|
_ACEOF |
4738 |
|
rm -f conftest.$ac_objext |
4739 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4740 |
< |
(eval $ac_compile) 2>&5 |
4740 |
> |
(eval $ac_compile) 2>conftest.er1 |
4741 |
|
ac_status=$? |
4742 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4743 |
+ |
rm -f conftest.er1 |
4744 |
+ |
cat conftest.err >&5 |
4745 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4746 |
|
(exit $ac_status); } && |
4747 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4747 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4748 |
> |
|| test ! -s conftest.err' |
4749 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4750 |
|
(eval $ac_try) 2>&5 |
4751 |
|
ac_status=$? |
4752 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4753 |
+ |
(exit $ac_status); }; } && |
4754 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4755 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4756 |
+ |
(eval $ac_try) 2>&5 |
4757 |
+ |
ac_status=$? |
4758 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4759 |
|
(exit $ac_status); }; }; then |
4760 |
|
ac_cv_header_stdc=yes |
4761 |
|
else |
4764 |
|
|
4765 |
|
ac_cv_header_stdc=no |
4766 |
|
fi |
4767 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4767 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4768 |
|
|
4769 |
|
if test $ac_cv_header_stdc = yes; then |
4770 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4771 |
|
cat >conftest.$ac_ext <<_ACEOF |
4549 |
– |
#line $LINENO "configure" |
4772 |
|
/* confdefs.h. */ |
4773 |
|
_ACEOF |
4774 |
|
cat confdefs.h >>conftest.$ac_ext |
4790 |
|
if test $ac_cv_header_stdc = yes; then |
4791 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4792 |
|
cat >conftest.$ac_ext <<_ACEOF |
4571 |
– |
#line $LINENO "configure" |
4793 |
|
/* confdefs.h. */ |
4794 |
|
_ACEOF |
4795 |
|
cat confdefs.h >>conftest.$ac_ext |
4814 |
|
: |
4815 |
|
else |
4816 |
|
cat >conftest.$ac_ext <<_ACEOF |
4596 |
– |
#line $LINENO "configure" |
4817 |
|
/* confdefs.h. */ |
4818 |
|
_ACEOF |
4819 |
|
cat confdefs.h >>conftest.$ac_ext |
4825 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4826 |
|
#else |
4827 |
|
# define ISLOWER(c) \ |
4828 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4829 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4830 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4828 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4829 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4830 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4831 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4832 |
|
#endif |
4833 |
|
|
4838 |
|
int i; |
4839 |
|
for (i = 0; i < 256; i++) |
4840 |
|
if (XOR (islower (i), ISLOWER (i)) |
4841 |
< |
|| toupper (i) != TOUPPER (i)) |
4841 |
> |
|| toupper (i) != TOUPPER (i)) |
4842 |
|
exit(2); |
4843 |
|
exit (0); |
4844 |
|
} |
4863 |
|
( exit $ac_status ) |
4864 |
|
ac_cv_header_stdc=no |
4865 |
|
fi |
4866 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4866 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4867 |
|
fi |
4868 |
|
fi |
4869 |
|
fi |
4888 |
|
|
4889 |
|
|
4890 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4891 |
< |
inttypes.h stdint.h unistd.h |
4891 |
> |
inttypes.h stdint.h unistd.h |
4892 |
|
do |
4893 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4894 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4897 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4898 |
|
else |
4899 |
|
cat >conftest.$ac_ext <<_ACEOF |
4680 |
– |
#line $LINENO "configure" |
4900 |
|
/* confdefs.h. */ |
4901 |
|
_ACEOF |
4902 |
|
cat confdefs.h >>conftest.$ac_ext |
4908 |
|
_ACEOF |
4909 |
|
rm -f conftest.$ac_objext |
4910 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4911 |
< |
(eval $ac_compile) 2>&5 |
4911 |
> |
(eval $ac_compile) 2>conftest.er1 |
4912 |
|
ac_status=$? |
4913 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4914 |
+ |
rm -f conftest.er1 |
4915 |
+ |
cat conftest.err >&5 |
4916 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4917 |
|
(exit $ac_status); } && |
4918 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4918 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4919 |
> |
|| test ! -s conftest.err' |
4920 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4921 |
|
(eval $ac_try) 2>&5 |
4922 |
|
ac_status=$? |
4923 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4924 |
+ |
(exit $ac_status); }; } && |
4925 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4926 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4927 |
+ |
(eval $ac_try) 2>&5 |
4928 |
+ |
ac_status=$? |
4929 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4930 |
|
(exit $ac_status); }; }; then |
4931 |
|
eval "$as_ac_Header=yes" |
4932 |
|
else |
4935 |
|
|
4936 |
|
eval "$as_ac_Header=no" |
4937 |
|
fi |
4938 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4938 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4939 |
|
fi |
4940 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4941 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4974 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4975 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4976 |
|
cat >conftest.$ac_ext <<_ACEOF |
4748 |
– |
#line $LINENO "configure" |
4977 |
|
/* confdefs.h. */ |
4978 |
|
_ACEOF |
4979 |
|
cat confdefs.h >>conftest.$ac_ext |
4984 |
|
_ACEOF |
4985 |
|
rm -f conftest.$ac_objext |
4986 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4987 |
< |
(eval $ac_compile) 2>&5 |
4987 |
> |
(eval $ac_compile) 2>conftest.er1 |
4988 |
|
ac_status=$? |
4989 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4990 |
+ |
rm -f conftest.er1 |
4991 |
+ |
cat conftest.err >&5 |
4992 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4993 |
|
(exit $ac_status); } && |
4994 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4994 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4995 |
> |
|| test ! -s conftest.err' |
4996 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4997 |
|
(eval $ac_try) 2>&5 |
4998 |
|
ac_status=$? |
4999 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5000 |
+ |
(exit $ac_status); }; } && |
5001 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5002 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5003 |
+ |
(eval $ac_try) 2>&5 |
5004 |
+ |
ac_status=$? |
5005 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5006 |
|
(exit $ac_status); }; }; then |
5007 |
|
ac_header_compiler=yes |
5008 |
|
else |
5011 |
|
|
5012 |
|
ac_header_compiler=no |
5013 |
|
fi |
5014 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5014 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5015 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5016 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5017 |
|
|
5019 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5020 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5021 |
|
cat >conftest.$ac_ext <<_ACEOF |
4784 |
– |
#line $LINENO "configure" |
5022 |
|
/* confdefs.h. */ |
5023 |
|
_ACEOF |
5024 |
|
cat confdefs.h >>conftest.$ac_ext |
5036 |
|
(exit $ac_status); } >/dev/null; then |
5037 |
|
if test -s conftest.err; then |
5038 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5039 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5040 |
|
else |
5041 |
|
ac_cpp_err= |
5042 |
|
fi |
5056 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5057 |
|
|
5058 |
|
# So? What about this header? |
5059 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5060 |
< |
yes:no ) |
5059 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5060 |
> |
yes:no: ) |
5061 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5062 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5063 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5064 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5065 |
< |
( |
4828 |
< |
cat <<\_ASBOX |
4829 |
< |
## ------------------------------------ ## |
4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
< |
## ------------------------------------ ## |
4832 |
< |
_ASBOX |
4833 |
< |
) | |
4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5063 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5064 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5065 |
> |
ac_header_preproc=yes |
5066 |
|
;; |
5067 |
< |
no:yes ) |
5067 |
> |
no:yes:* ) |
5068 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5069 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5070 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5071 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5070 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5071 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5072 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5073 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5074 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5075 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5076 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5077 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5078 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5079 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5080 |
|
( |
5081 |
|
cat <<\_ASBOX |
5082 |
< |
## ------------------------------------ ## |
5083 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5084 |
< |
## ------------------------------------ ## |
5082 |
> |
## ------------------------------ ## |
5083 |
> |
## Report this to gezelter@nd.edu ## |
5084 |
> |
## ------------------------------ ## |
5085 |
|
_ASBOX |
5086 |
|
) | |
5087 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5092 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5093 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5094 |
|
else |
5095 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5095 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5096 |
|
fi |
5097 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5098 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5121 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5122 |
|
else |
5123 |
|
cat >conftest.$ac_ext <<_ACEOF |
4887 |
– |
#line $LINENO "configure" |
5124 |
|
/* confdefs.h. */ |
5125 |
|
_ACEOF |
5126 |
|
cat confdefs.h >>conftest.$ac_ext |
5127 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5128 |
|
/* end confdefs.h. */ |
5129 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5130 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5131 |
+ |
#define $ac_func innocuous_$ac_func |
5132 |
+ |
|
5133 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5134 |
|
which can conflict with char $ac_func (); below. |
5135 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5136 |
|
<limits.h> exists even on freestanding compilers. */ |
5137 |
+ |
|
5138 |
|
#ifdef __STDC__ |
5139 |
|
# include <limits.h> |
5140 |
|
#else |
5141 |
|
# include <assert.h> |
5142 |
|
#endif |
5143 |
+ |
|
5144 |
+ |
#undef $ac_func |
5145 |
+ |
|
5146 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5147 |
|
#ifdef __cplusplus |
5148 |
|
extern "C" |
5173 |
|
_ACEOF |
5174 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5175 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5176 |
< |
(eval $ac_link) 2>&5 |
5176 |
> |
(eval $ac_link) 2>conftest.er1 |
5177 |
|
ac_status=$? |
5178 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5179 |
+ |
rm -f conftest.er1 |
5180 |
+ |
cat conftest.err >&5 |
5181 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5182 |
|
(exit $ac_status); } && |
5183 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5183 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5184 |
> |
|| test ! -s conftest.err' |
5185 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5186 |
|
(eval $ac_try) 2>&5 |
5187 |
|
ac_status=$? |
5188 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5189 |
+ |
(exit $ac_status); }; } && |
5190 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5191 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5192 |
+ |
(eval $ac_try) 2>&5 |
5193 |
+ |
ac_status=$? |
5194 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5195 |
|
(exit $ac_status); }; }; then |
5196 |
|
eval "$as_ac_var=yes" |
5197 |
|
else |
5200 |
|
|
5201 |
|
eval "$as_ac_var=no" |
5202 |
|
fi |
5203 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5203 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5204 |
> |
conftest$ac_exeext conftest.$ac_ext |
5205 |
|
fi |
5206 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5207 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5218 |
|
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5219 |
|
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5220 |
|
cat >conftest.$ac_ext <<_ACEOF |
4966 |
– |
#line $LINENO "configure" |
5221 |
|
/* confdefs.h. */ |
5222 |
|
_ACEOF |
5223 |
|
cat confdefs.h >>conftest.$ac_ext |
5234 |
|
_ACEOF |
5235 |
|
rm -f conftest.$ac_objext |
5236 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5237 |
< |
(eval $ac_compile) 2>&5 |
5237 |
> |
(eval $ac_compile) 2>conftest.er1 |
5238 |
|
ac_status=$? |
5239 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5240 |
+ |
rm -f conftest.er1 |
5241 |
+ |
cat conftest.err >&5 |
5242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 |
|
(exit $ac_status); } && |
5244 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5244 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5245 |
> |
|| test ! -s conftest.err' |
5246 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5247 |
|
(eval $ac_try) 2>&5 |
5248 |
|
ac_status=$? |
5249 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5250 |
+ |
(exit $ac_status); }; } && |
5251 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5252 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5253 |
+ |
(eval $ac_try) 2>&5 |
5254 |
+ |
ac_status=$? |
5255 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5256 |
|
(exit $ac_status); }; }; then |
5257 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5258 |
|
echo "${ECHO_T}yes" >&6 |
5268 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5269 |
|
echo "${ECHO_T}no" >&6 |
5270 |
|
fi |
5271 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5271 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5272 |
|
|
5273 |
|
# clean out junk possibly left behind by a previous configuration |
5274 |
|
rm -f src/getopt.h |
5290 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5291 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5292 |
|
cat >conftest.$ac_ext <<_ACEOF |
5029 |
– |
#line $LINENO "configure" |
5293 |
|
/* confdefs.h. */ |
5294 |
|
_ACEOF |
5295 |
|
cat confdefs.h >>conftest.$ac_ext |
5300 |
|
_ACEOF |
5301 |
|
rm -f conftest.$ac_objext |
5302 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5303 |
< |
(eval $ac_compile) 2>&5 |
5303 |
> |
(eval $ac_compile) 2>conftest.er1 |
5304 |
|
ac_status=$? |
5305 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5306 |
+ |
rm -f conftest.er1 |
5307 |
+ |
cat conftest.err >&5 |
5308 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5309 |
|
(exit $ac_status); } && |
5310 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5310 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5311 |
> |
|| test ! -s conftest.err' |
5312 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5313 |
|
(eval $ac_try) 2>&5 |
5314 |
|
ac_status=$? |
5315 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5316 |
+ |
(exit $ac_status); }; } && |
5317 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5318 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5319 |
+ |
(eval $ac_try) 2>&5 |
5320 |
+ |
ac_status=$? |
5321 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5322 |
|
(exit $ac_status); }; }; then |
5323 |
|
ac_header_compiler=yes |
5324 |
|
else |
5327 |
|
|
5328 |
|
ac_header_compiler=no |
5329 |
|
fi |
5330 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5330 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5331 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5332 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5333 |
|
|
5335 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5336 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5337 |
|
cat >conftest.$ac_ext <<_ACEOF |
5065 |
– |
#line $LINENO "configure" |
5338 |
|
/* confdefs.h. */ |
5339 |
|
_ACEOF |
5340 |
|
cat confdefs.h >>conftest.$ac_ext |
5352 |
|
(exit $ac_status); } >/dev/null; then |
5353 |
|
if test -s conftest.err; then |
5354 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5355 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5356 |
|
else |
5357 |
|
ac_cpp_err= |
5358 |
|
fi |
5372 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5373 |
|
|
5374 |
|
# So? What about this header? |
5375 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5376 |
< |
yes:no ) |
5375 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5376 |
> |
yes:no: ) |
5377 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5378 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5379 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5380 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5381 |
< |
( |
5109 |
< |
cat <<\_ASBOX |
5110 |
< |
## ------------------------------------ ## |
5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5112 |
< |
## ------------------------------------ ## |
5113 |
< |
_ASBOX |
5114 |
< |
) | |
5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5379 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5380 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5381 |
> |
ac_header_preproc=yes |
5382 |
|
;; |
5383 |
< |
no:yes ) |
5383 |
> |
no:yes:* ) |
5384 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5385 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5386 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5387 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5386 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5387 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5388 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5389 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5390 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5391 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5392 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5393 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5394 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5395 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5396 |
|
( |
5397 |
|
cat <<\_ASBOX |
5398 |
< |
## ------------------------------------ ## |
5399 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5400 |
< |
## ------------------------------------ ## |
5398 |
> |
## ------------------------------ ## |
5399 |
> |
## Report this to gezelter@nd.edu ## |
5400 |
> |
## ------------------------------ ## |
5401 |
|
_ASBOX |
5402 |
|
) | |
5403 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5408 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5409 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5410 |
|
else |
5411 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5411 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5412 |
|
fi |
5413 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5414 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5433 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5434 |
|
else |
5435 |
|
cat >conftest.$ac_ext <<_ACEOF |
5164 |
– |
#line $LINENO "configure" |
5436 |
|
/* confdefs.h. */ |
5437 |
|
_ACEOF |
5438 |
|
cat confdefs.h >>conftest.$ac_ext |
5439 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5440 |
|
/* end confdefs.h. */ |
5441 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5442 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5443 |
+ |
#define $ac_func innocuous_$ac_func |
5444 |
+ |
|
5445 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5446 |
|
which can conflict with char $ac_func (); below. |
5447 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5448 |
|
<limits.h> exists even on freestanding compilers. */ |
5449 |
+ |
|
5450 |
|
#ifdef __STDC__ |
5451 |
|
# include <limits.h> |
5452 |
|
#else |
5453 |
|
# include <assert.h> |
5454 |
|
#endif |
5455 |
+ |
|
5456 |
+ |
#undef $ac_func |
5457 |
+ |
|
5458 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5459 |
|
#ifdef __cplusplus |
5460 |
|
extern "C" |
5485 |
|
_ACEOF |
5486 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5487 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5488 |
< |
(eval $ac_link) 2>&5 |
5488 |
> |
(eval $ac_link) 2>conftest.er1 |
5489 |
|
ac_status=$? |
5490 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5491 |
+ |
rm -f conftest.er1 |
5492 |
+ |
cat conftest.err >&5 |
5493 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5494 |
|
(exit $ac_status); } && |
5495 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5495 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5496 |
> |
|| test ! -s conftest.err' |
5497 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5498 |
|
(eval $ac_try) 2>&5 |
5499 |
|
ac_status=$? |
5500 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5501 |
+ |
(exit $ac_status); }; } && |
5502 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5503 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5504 |
+ |
(eval $ac_try) 2>&5 |
5505 |
+ |
ac_status=$? |
5506 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5507 |
|
(exit $ac_status); }; }; then |
5508 |
|
eval "$as_ac_var=yes" |
5509 |
|
else |
5512 |
|
|
5513 |
|
eval "$as_ac_var=no" |
5514 |
|
fi |
5515 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5515 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5516 |
> |
conftest$ac_exeext conftest.$ac_ext |
5517 |
|
fi |
5518 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5519 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5532 |
|
ac_check_lib_save_LIBS=$LIBS |
5533 |
|
LIBS="-lgnugetopt $LIBS" |
5534 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
– |
#line $LINENO "configure" |
5535 |
|
/* confdefs.h. */ |
5536 |
|
_ACEOF |
5537 |
|
cat confdefs.h >>conftest.$ac_ext |
5555 |
|
_ACEOF |
5556 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5557 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5558 |
< |
(eval $ac_link) 2>&5 |
5558 |
> |
(eval $ac_link) 2>conftest.er1 |
5559 |
|
ac_status=$? |
5560 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5561 |
+ |
rm -f conftest.er1 |
5562 |
+ |
cat conftest.err >&5 |
5563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5564 |
|
(exit $ac_status); } && |
5565 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5565 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5566 |
> |
|| test ! -s conftest.err' |
5567 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5568 |
|
(eval $ac_try) 2>&5 |
5569 |
|
ac_status=$? |
5570 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5571 |
+ |
(exit $ac_status); }; } && |
5572 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5573 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5574 |
+ |
(eval $ac_try) 2>&5 |
5575 |
+ |
ac_status=$? |
5576 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 |
|
(exit $ac_status); }; }; then |
5578 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
5579 |
|
else |
5582 |
|
|
5583 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
5584 |
|
fi |
5585 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5585 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5586 |
> |
conftest$ac_exeext conftest.$ac_ext |
5587 |
|
LIBS=$ac_check_lib_save_LIBS |
5588 |
|
fi |
5589 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5595 |
|
|
5596 |
|
else |
5597 |
|
# use the GNU replacement |
5598 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5599 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5598 |
> |
case $LIBOBJS in |
5599 |
> |
"getopt.$ac_objext" | \ |
5600 |
> |
*" getopt.$ac_objext" | \ |
5601 |
> |
"getopt.$ac_objext "* | \ |
5602 |
> |
*" getopt.$ac_objext "* ) ;; |
5603 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5604 |
> |
esac |
5605 |
> |
|
5606 |
> |
case $LIBOBJS in |
5607 |
> |
"getopt1.$ac_objext" | \ |
5608 |
> |
*" getopt1.$ac_objext" | \ |
5609 |
> |
"getopt1.$ac_objext "* | \ |
5610 |
> |
*" getopt1.$ac_objext "* ) ;; |
5611 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5612 |
> |
esac |
5613 |
> |
|
5614 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5615 |
|
|
5616 |
|
fi |
6659 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6660 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6661 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6662 |
+ |
# OS/2's system install, which has a completely different semantic |
6663 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6664 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6665 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6676 |
|
case $as_dir/ in |
6677 |
|
./ | .// | /cC/* | \ |
6678 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6679 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6680 |
|
/usr/ucb/* ) ;; |
6681 |
|
*) |
6682 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
6684 |
|
# by default. |
6685 |
|
for ac_prog in ginstall scoinst install; do |
6686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6687 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6688 |
< |
if test $ac_prog = install && |
6689 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6690 |
< |
# AIX install. It has an incompatible calling convention. |
6691 |
< |
: |
6692 |
< |
elif test $ac_prog = install && |
6693 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6694 |
< |
# program-specific install script used by HP pwplus--don't use. |
6695 |
< |
: |
6696 |
< |
else |
6697 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6698 |
< |
break 3 |
6699 |
< |
fi |
6700 |
< |
fi |
6687 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6688 |
> |
if test $ac_prog = install && |
6689 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6690 |
> |
# AIX install. It has an incompatible calling convention. |
6691 |
> |
: |
6692 |
> |
elif test $ac_prog = install && |
6693 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6694 |
> |
# program-specific install script used by HP pwplus--don't use. |
6695 |
> |
: |
6696 |
> |
else |
6697 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6698 |
> |
break 3 |
6699 |
> |
fi |
6700 |
> |
fi |
6701 |
|
done |
6702 |
|
done |
6703 |
|
;; |
6740 |
|
|
6741 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6742 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6743 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6743 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6744 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6745 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6746 |
|
else |
6939 |
|
ac_check_lib_save_LIBS=$LIBS |
6940 |
|
LIBS="-lfl $LIBS" |
6941 |
|
cat >conftest.$ac_ext <<_ACEOF |
6626 |
– |
#line $LINENO "configure" |
6942 |
|
/* confdefs.h. */ |
6943 |
|
_ACEOF |
6944 |
|
cat confdefs.h >>conftest.$ac_ext |
6962 |
|
_ACEOF |
6963 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6964 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6965 |
< |
(eval $ac_link) 2>&5 |
6965 |
> |
(eval $ac_link) 2>conftest.er1 |
6966 |
|
ac_status=$? |
6967 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6968 |
+ |
rm -f conftest.er1 |
6969 |
+ |
cat conftest.err >&5 |
6970 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6971 |
|
(exit $ac_status); } && |
6972 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6972 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6973 |
> |
|| test ! -s conftest.err' |
6974 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6975 |
|
(eval $ac_try) 2>&5 |
6976 |
|
ac_status=$? |
6977 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6978 |
+ |
(exit $ac_status); }; } && |
6979 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
6980 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6981 |
+ |
(eval $ac_try) 2>&5 |
6982 |
+ |
ac_status=$? |
6983 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6984 |
|
(exit $ac_status); }; }; then |
6985 |
|
ac_cv_lib_fl_yywrap=yes |
6986 |
|
else |
6989 |
|
|
6990 |
|
ac_cv_lib_fl_yywrap=no |
6991 |
|
fi |
6992 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6992 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6993 |
> |
conftest$ac_exeext conftest.$ac_ext |
6994 |
|
LIBS=$ac_check_lib_save_LIBS |
6995 |
|
fi |
6996 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
7006 |
|
ac_check_lib_save_LIBS=$LIBS |
7007 |
|
LIBS="-ll $LIBS" |
7008 |
|
cat >conftest.$ac_ext <<_ACEOF |
6683 |
– |
#line $LINENO "configure" |
7009 |
|
/* confdefs.h. */ |
7010 |
|
_ACEOF |
7011 |
|
cat confdefs.h >>conftest.$ac_ext |
7029 |
|
_ACEOF |
7030 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7031 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7032 |
< |
(eval $ac_link) 2>&5 |
7032 |
> |
(eval $ac_link) 2>conftest.er1 |
7033 |
|
ac_status=$? |
7034 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7035 |
+ |
rm -f conftest.er1 |
7036 |
+ |
cat conftest.err >&5 |
7037 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7038 |
|
(exit $ac_status); } && |
7039 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7039 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7040 |
> |
|| test ! -s conftest.err' |
7041 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7042 |
|
(eval $ac_try) 2>&5 |
7043 |
|
ac_status=$? |
7044 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7045 |
+ |
(exit $ac_status); }; } && |
7046 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7047 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7048 |
+ |
(eval $ac_try) 2>&5 |
7049 |
+ |
ac_status=$? |
7050 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7051 |
|
(exit $ac_status); }; }; then |
7052 |
|
ac_cv_lib_l_yywrap=yes |
7053 |
|
else |
7056 |
|
|
7057 |
|
ac_cv_lib_l_yywrap=no |
7058 |
|
fi |
7059 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7059 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7060 |
> |
conftest$ac_exeext conftest.$ac_ext |
7061 |
|
LIBS=$ac_check_lib_save_LIBS |
7062 |
|
fi |
7063 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
7119 |
|
_ACEOF |
7120 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7121 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7122 |
< |
(eval $ac_link) 2>&5 |
7122 |
> |
(eval $ac_link) 2>conftest.er1 |
7123 |
|
ac_status=$? |
7124 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7125 |
+ |
rm -f conftest.er1 |
7126 |
+ |
cat conftest.err >&5 |
7127 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7128 |
|
(exit $ac_status); } && |
7129 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7129 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7130 |
> |
|| test ! -s conftest.err' |
7131 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7132 |
|
(eval $ac_try) 2>&5 |
7133 |
|
ac_status=$? |
7134 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7135 |
+ |
(exit $ac_status); }; } && |
7136 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7137 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7138 |
+ |
(eval $ac_try) 2>&5 |
7139 |
+ |
ac_status=$? |
7140 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7141 |
|
(exit $ac_status); }; }; then |
7142 |
|
ac_cv_prog_lex_yytext_pointer=yes |
7143 |
|
else |
7145 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7146 |
|
|
7147 |
|
fi |
7148 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7148 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7149 |
> |
conftest$ac_exeext conftest.$ac_ext |
7150 |
|
LIBS=$ac_save_LIBS |
7151 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
7152 |
|
|
7230 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7231 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7232 |
|
sed -n \ |
7233 |
< |
"s/'/'\\\\''/g; |
7234 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7233 |
> |
"s/'/'\\\\''/g; |
7234 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7235 |
|
;; |
7236 |
|
*) |
7237 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7238 |
|
sed -n \ |
7239 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7239 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7240 |
|
;; |
7241 |
|
esac; |
7242 |
|
} | |
7304 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7305 |
|
else |
7306 |
|
|
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 |
7307 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
7308 |
|
ac_cv_prog_ps_ax=yes |
7309 |
|
else |
7310 |
|
ac_cv_prog_ps_ax=no |
7311 |
|
fi |
7312 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
7313 |
< |
ac_cv_prog_ps_syntax=POSIX |
7312 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
7313 |
> |
ac_cv_prog_ps_ef=yes |
7314 |
> |
else |
7315 |
> |
ac_cv_prog_ps_ef=no |
7316 |
> |
fi |
7317 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
7318 |
> |
ac_cv_prog_ps_syntax=BSD |
7319 |
|
else |
7320 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
7321 |
< |
ac_cv_prog_ps_syntax=BSD |
7320 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
7321 |
> |
ac_cv_prog_ps_syntax=POSIX |
7322 |
|
else |
7323 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
7324 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
7329 |
|
fi |
7330 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
7331 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
7332 |
+ |
|
7333 |
|
|
7334 |
|
cat >>confdefs.h <<_ACEOF |
7335 |
< |
#define PS $PS |
7335 |
> |
#define PSCOMMAND $PS |
7336 |
|
_ACEOF |
7337 |
|
|
7338 |
|
|
7339 |
< |
cat >>confdefs.h <<_ACEOF |
7340 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
7339 |
> |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
7340 |
> |
cat >>confdefs.h <<\_ACEOF |
7341 |
> |
#define PSTYPE_IS_BSD 1 |
7342 |
|
_ACEOF |
7343 |
|
|
7344 |
+ |
else |
7345 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
7346 |
+ |
cat >>confdefs.h <<\_ACEOF |
7347 |
+ |
#define PSTYPE_IS_POSIX 1 |
7348 |
+ |
_ACEOF |
7349 |
|
|
7350 |
+ |
else |
7351 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
7352 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
7353 |
+ |
{ (exit 1); exit 1; }; } |
7354 |
+ |
fi |
7355 |
+ |
fi |
7356 |
|
|
7357 |
|
|
7358 |
|
# Check whether --with-mpi or --without-mpi was given. |
7452 |
|
ac_check_lib_save_LIBS=$LIBS |
7453 |
|
LIBS="-lmpich $LIBS" |
7454 |
|
cat >conftest.$ac_ext <<_ACEOF |
7095 |
– |
#line $LINENO "configure" |
7455 |
|
/* confdefs.h. */ |
7456 |
|
_ACEOF |
7457 |
|
cat confdefs.h >>conftest.$ac_ext |
7475 |
|
_ACEOF |
7476 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7477 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7478 |
< |
(eval $ac_link) 2>&5 |
7478 |
> |
(eval $ac_link) 2>conftest.er1 |
7479 |
|
ac_status=$? |
7480 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7481 |
+ |
rm -f conftest.er1 |
7482 |
+ |
cat conftest.err >&5 |
7483 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7484 |
|
(exit $ac_status); } && |
7485 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7485 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7486 |
> |
|| test ! -s conftest.err' |
7487 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7488 |
|
(eval $ac_try) 2>&5 |
7489 |
|
ac_status=$? |
7490 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7491 |
+ |
(exit $ac_status); }; } && |
7492 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7493 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7494 |
+ |
(eval $ac_try) 2>&5 |
7495 |
+ |
ac_status=$? |
7496 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7497 |
|
(exit $ac_status); }; }; then |
7498 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7499 |
|
else |
7502 |
|
|
7503 |
|
ac_cv_lib_mpich_MPI_Init=no |
7504 |
|
fi |
7505 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7505 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7506 |
> |
conftest$ac_exeext conftest.$ac_ext |
7507 |
|
LIBS=$ac_check_lib_save_LIBS |
7508 |
|
fi |
7509 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7522 |
|
ac_check_lib_save_LIBS=$LIBS |
7523 |
|
LIBS="-lmpi $LIBS" |
7524 |
|
cat >conftest.$ac_ext <<_ACEOF |
7155 |
– |
#line $LINENO "configure" |
7525 |
|
/* confdefs.h. */ |
7526 |
|
_ACEOF |
7527 |
|
cat confdefs.h >>conftest.$ac_ext |
7545 |
|
_ACEOF |
7546 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7547 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7548 |
< |
(eval $ac_link) 2>&5 |
7548 |
> |
(eval $ac_link) 2>conftest.er1 |
7549 |
|
ac_status=$? |
7550 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7551 |
+ |
rm -f conftest.er1 |
7552 |
+ |
cat conftest.err >&5 |
7553 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7554 |
|
(exit $ac_status); } && |
7555 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7555 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7556 |
> |
|| test ! -s conftest.err' |
7557 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7558 |
|
(eval $ac_try) 2>&5 |
7559 |
|
ac_status=$? |
7560 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7561 |
+ |
(exit $ac_status); }; } && |
7562 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7563 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7564 |
+ |
(eval $ac_try) 2>&5 |
7565 |
+ |
ac_status=$? |
7566 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7567 |
|
(exit $ac_status); }; }; then |
7568 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7569 |
|
else |
7572 |
|
|
7573 |
|
ac_cv_lib_mpi_MPI_Init=no |
7574 |
|
fi |
7575 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7575 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7576 |
> |
conftest$ac_exeext conftest.$ac_ext |
7577 |
|
LIBS=$ac_check_lib_save_LIBS |
7578 |
|
fi |
7579 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7593 |
|
ac_check_lib_save_LIBS=$LIBS |
7594 |
|
LIBS="-lmpi "-llam" $LIBS" |
7595 |
|
cat >conftest.$ac_ext <<_ACEOF |
7216 |
– |
#line $LINENO "configure" |
7596 |
|
/* confdefs.h. */ |
7597 |
|
_ACEOF |
7598 |
|
cat confdefs.h >>conftest.$ac_ext |
7616 |
|
_ACEOF |
7617 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7618 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7619 |
< |
(eval $ac_link) 2>&5 |
7619 |
> |
(eval $ac_link) 2>conftest.er1 |
7620 |
|
ac_status=$? |
7621 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7622 |
+ |
rm -f conftest.er1 |
7623 |
+ |
cat conftest.err >&5 |
7624 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7625 |
|
(exit $ac_status); } && |
7626 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7626 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7627 |
> |
|| test ! -s conftest.err' |
7628 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7629 |
|
(eval $ac_try) 2>&5 |
7630 |
|
ac_status=$? |
7631 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7632 |
+ |
(exit $ac_status); }; } && |
7633 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7634 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7635 |
+ |
(eval $ac_try) 2>&5 |
7636 |
+ |
ac_status=$? |
7637 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7638 |
|
(exit $ac_status); }; }; then |
7639 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7640 |
|
else |
7643 |
|
|
7644 |
|
ac_cv_lib_mpi_MPI_Init=no |
7645 |
|
fi |
7646 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7646 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7647 |
> |
conftest$ac_exeext conftest.$ac_ext |
7648 |
|
LIBS=$ac_check_lib_save_LIBS |
7649 |
|
fi |
7650 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7664 |
|
ac_check_lib_save_LIBS=$LIBS |
7665 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
7666 |
|
cat >conftest.$ac_ext <<_ACEOF |
7277 |
– |
#line $LINENO "configure" |
7667 |
|
/* confdefs.h. */ |
7668 |
|
_ACEOF |
7669 |
|
cat confdefs.h >>conftest.$ac_ext |
7687 |
|
_ACEOF |
7688 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7689 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7690 |
< |
(eval $ac_link) 2>&5 |
7690 |
> |
(eval $ac_link) 2>conftest.er1 |
7691 |
|
ac_status=$? |
7692 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7693 |
+ |
rm -f conftest.er1 |
7694 |
+ |
cat conftest.err >&5 |
7695 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7696 |
|
(exit $ac_status); } && |
7697 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7697 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7698 |
> |
|| test ! -s conftest.err' |
7699 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7700 |
|
(eval $ac_try) 2>&5 |
7701 |
|
ac_status=$? |
7702 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7703 |
+ |
(exit $ac_status); }; } && |
7704 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7705 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7706 |
+ |
(eval $ac_try) 2>&5 |
7707 |
+ |
ac_status=$? |
7708 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7709 |
|
(exit $ac_status); }; }; then |
7710 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7711 |
|
else |
7714 |
|
|
7715 |
|
ac_cv_lib_mpich_MPI_Init=no |
7716 |
|
fi |
7717 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7717 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7718 |
> |
conftest$ac_exeext conftest.$ac_ext |
7719 |
|
LIBS=$ac_check_lib_save_LIBS |
7720 |
|
fi |
7721 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7736 |
|
ac_check_lib_save_LIBS=$LIBS |
7737 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7738 |
|
cat >conftest.$ac_ext <<_ACEOF |
7339 |
– |
#line $LINENO "configure" |
7739 |
|
/* confdefs.h. */ |
7740 |
|
_ACEOF |
7741 |
|
cat confdefs.h >>conftest.$ac_ext |
7759 |
|
_ACEOF |
7760 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7761 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7762 |
< |
(eval $ac_link) 2>&5 |
7762 |
> |
(eval $ac_link) 2>conftest.er1 |
7763 |
|
ac_status=$? |
7764 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7765 |
+ |
rm -f conftest.er1 |
7766 |
+ |
cat conftest.err >&5 |
7767 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7768 |
|
(exit $ac_status); } && |
7769 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7769 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7770 |
> |
|| test ! -s conftest.err' |
7771 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7772 |
|
(eval $ac_try) 2>&5 |
7773 |
|
ac_status=$? |
7774 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7775 |
+ |
(exit $ac_status); }; } && |
7776 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7777 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7778 |
+ |
(eval $ac_try) 2>&5 |
7779 |
+ |
ac_status=$? |
7780 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7781 |
|
(exit $ac_status); }; }; then |
7782 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7783 |
|
else |
7786 |
|
|
7787 |
|
ac_cv_lib_mpi_MPI_Init=no |
7788 |
|
fi |
7789 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7789 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7790 |
> |
conftest$ac_exeext conftest.$ac_ext |
7791 |
|
LIBS=$ac_check_lib_save_LIBS |
7792 |
|
fi |
7793 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7825 |
|
|
7826 |
|
|
7827 |
|
|
7418 |
– |
# Check whether --with-sprng or --without-sprng was given. |
7419 |
– |
if test "${with_sprng+set}" = set; then |
7420 |
– |
withval="$with_sprng" |
7421 |
– |
with_sprng=$withval |
7422 |
– |
else |
7423 |
– |
with_sprng="/usr/local" |
7424 |
– |
fi; |
7828 |
|
|
7829 |
< |
case "x$with_sprng" in |
7830 |
< |
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 |
7829 |
> |
USE_CGAL=no |
7830 |
> |
cgal_makefile=auto |
7831 |
|
|
7832 |
+ |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
7833 |
+ |
if test "${with_cgal_makefile+set}" = set; then |
7834 |
+ |
withval="$with_cgal_makefile" |
7835 |
+ |
cgal_makefile="$withval" |
7836 |
+ |
fi; |
7837 |
|
|
7838 |
< |
# Set variables... |
7438 |
< |
SPRNG_LIB_DIR="$SPRNG/lib" |
7439 |
< |
SPRNG_INC_DIR="$SPRNG/include" |
7838 |
> |
if test "x$cgal_makefile" != xno; then |
7839 |
|
|
7840 |
< |
|
7841 |
< |
|
7842 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
7444 |
< |
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 |
7840 |
> |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
7841 |
> |
cgal_makefile="$CGAL_MAKEFILE" |
7842 |
> |
fi |
7843 |
|
|
7844 |
< |
cat >>confdefs.h <<\_ACEOF |
7460 |
< |
#define HAVE_SPRNG_H 1 |
7461 |
< |
_ACEOF |
7844 |
> |
echo "cgal_makefile $cgal_makefile" |
7845 |
|
|
7846 |
< |
fi |
7846 |
> |
if test -f "$cgal_makefile"; then |
7847 |
|
|
7848 |
< |
ac_ext=c |
7849 |
< |
ac_cpp='$CPP $CPPFLAGS' |
7850 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7851 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7852 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7848 |
> |
cat >config.tmp.Makefile <<EOF |
7849 |
> |
include $cgal_makefile |
7850 |
> |
default: |
7851 |
> |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
7852 |
> |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
7853 |
> |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
7854 |
> |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7855 |
> |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7856 |
> |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
7857 |
> |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
7858 |
> |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7859 |
> |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7860 |
> |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
7861 |
> |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7862 |
> |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7863 |
> |
EOF |
7864 |
|
|
7865 |
< |
ac_save_LDFLAGS=$LDFLAGS |
7866 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
7865 |
> |
make -s -f config.tmp.Makefile |
7866 |
> |
. config.tmp.cgalvariables |
7867 |
|
|
7868 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
7869 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
7870 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
7868 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
7869 |
> |
|
7870 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
7871 |
> |
CGAL_INCLDIR="" |
7872 |
> |
fi |
7873 |
> |
|
7874 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
7875 |
> |
CGAL_LIBDIR="" |
7876 |
> |
fi |
7877 |
> |
|
7878 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
7879 |
> |
CGAL_RLIBDIR="" |
7880 |
> |
fi |
7881 |
> |
|
7882 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
7883 |
> |
LEDA_INCLDIR="" |
7884 |
> |
fi |
7885 |
> |
|
7886 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
7887 |
> |
LEDA_LIBDIR="" |
7888 |
> |
fi |
7889 |
> |
|
7890 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
7891 |
> |
LEDA_RLIBDIR="" |
7892 |
> |
fi |
7893 |
> |
|
7894 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
7895 |
> |
GMP_INCLDIR="" |
7896 |
> |
fi |
7897 |
> |
|
7898 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
7899 |
> |
GMP_LIBDIR="" |
7900 |
> |
fi |
7901 |
> |
|
7902 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
7903 |
> |
GMP_RLIBDIR="" |
7904 |
> |
fi |
7905 |
> |
|
7906 |
> |
echo "CGAL_OS_COMPILER $CGAL_OS_COMPILER" |
7907 |
> |
echo "CGAL_INCLDIR $CGAL_INCLDIR" |
7908 |
> |
echo "CGAL_INCLCONFDIR $CGAL_INCLCONFDIR" |
7909 |
> |
echo "CGAL_LIBDIR $CGAL_LIBDIR" |
7910 |
> |
echo "CGAL_CXXFLAGS $CGAL_CXXFLAGS" |
7911 |
> |
echo "LEDA_INCLDIR $LEDA_INCLDIR" |
7912 |
> |
echo "LEDA_LIBDIR $LEDA_LIBDIR" |
7913 |
> |
echo "GMP_INCLDIR $GMP_INCLDIR" |
7914 |
> |
echo "GMP_LIBDIR $GMP_LIBDIR" |
7915 |
> |
|
7916 |
> |
ac_ext=cc |
7917 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
7918 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7919 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7920 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
7921 |
> |
|
7922 |
> |
save_CXXFLAGS="$CXXFLAGS" |
7923 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
7924 |
> |
|
7925 |
> |
ac_ext=cc |
7926 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
7927 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7928 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7929 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
7930 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
7931 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
7932 |
> |
if test -z "$CXXCPP"; then |
7933 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
7934 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7935 |
|
else |
7936 |
< |
ac_check_lib_save_LIBS=$LIBS |
7937 |
< |
LIBS="-lsprng $LIBS" |
7938 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7939 |
< |
#line $LINENO "configure" |
7936 |
> |
# Double quotes because CXXCPP needs to be expanded |
7937 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
7938 |
> |
do |
7939 |
> |
ac_preproc_ok=false |
7940 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
7941 |
> |
do |
7942 |
> |
# Use a header file that comes with gcc, so configuring glibc |
7943 |
> |
# with a fresh cross-compiler works. |
7944 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7945 |
> |
# <limits.h> exists even on freestanding compilers. |
7946 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
7947 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
7948 |
> |
cat >conftest.$ac_ext <<_ACEOF |
7949 |
|
/* confdefs.h. */ |
7950 |
|
_ACEOF |
7951 |
|
cat confdefs.h >>conftest.$ac_ext |
7952 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7953 |
|
/* end confdefs.h. */ |
7954 |
< |
|
7955 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
7956 |
< |
#ifdef __cplusplus |
7957 |
< |
extern "C" |
7954 |
> |
#ifdef __STDC__ |
7955 |
> |
# include <limits.h> |
7956 |
> |
#else |
7957 |
> |
# include <assert.h> |
7958 |
|
#endif |
7959 |
< |
/* 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 |
< |
} |
7959 |
> |
Syntax error |
7960 |
|
_ACEOF |
7961 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
7962 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7506 |
< |
(eval $ac_link) 2>&5 |
7961 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7962 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7963 |
|
ac_status=$? |
7964 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7965 |
+ |
rm -f conftest.er1 |
7966 |
+ |
cat conftest.err >&5 |
7967 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7968 |
< |
(exit $ac_status); } && |
7969 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7970 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7971 |
< |
(eval $ac_try) 2>&5 |
7972 |
< |
ac_status=$? |
7973 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7974 |
< |
(exit $ac_status); }; }; then |
7516 |
< |
ac_cv_lib_sprng_init_rng=yes |
7968 |
> |
(exit $ac_status); } >/dev/null; then |
7969 |
> |
if test -s conftest.err; then |
7970 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
7971 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
7972 |
> |
else |
7973 |
> |
ac_cpp_err= |
7974 |
> |
fi |
7975 |
|
else |
7976 |
+ |
ac_cpp_err=yes |
7977 |
+ |
fi |
7978 |
+ |
if test -z "$ac_cpp_err"; then |
7979 |
+ |
: |
7980 |
+ |
else |
7981 |
|
echo "$as_me: failed program was:" >&5 |
7982 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7983 |
|
|
7984 |
< |
ac_cv_lib_sprng_init_rng=no |
7984 |
> |
# Broken: fails on valid input. |
7985 |
> |
continue |
7986 |
|
fi |
7987 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7988 |
< |
LIBS=$ac_check_lib_save_LIBS |
7987 |
> |
rm -f conftest.err conftest.$ac_ext |
7988 |
> |
|
7989 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
7990 |
> |
# can be detected and how. |
7991 |
> |
cat >conftest.$ac_ext <<_ACEOF |
7992 |
> |
/* confdefs.h. */ |
7993 |
> |
_ACEOF |
7994 |
> |
cat confdefs.h >>conftest.$ac_ext |
7995 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
7996 |
> |
/* end confdefs.h. */ |
7997 |
> |
#include <ac_nonexistent.h> |
7998 |
> |
_ACEOF |
7999 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8000 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8001 |
> |
ac_status=$? |
8002 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8003 |
> |
rm -f conftest.er1 |
8004 |
> |
cat conftest.err >&5 |
8005 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8006 |
> |
(exit $ac_status); } >/dev/null; then |
8007 |
> |
if test -s conftest.err; then |
8008 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8009 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8010 |
> |
else |
8011 |
> |
ac_cpp_err= |
8012 |
> |
fi |
8013 |
> |
else |
8014 |
> |
ac_cpp_err=yes |
8015 |
|
fi |
8016 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
8017 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
8018 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
7529 |
< |
SPRNG_LIB="-lsprng" |
8016 |
> |
if test -z "$ac_cpp_err"; then |
8017 |
> |
# Broken: success on invalid input. |
8018 |
> |
continue |
8019 |
|
else |
8020 |
+ |
echo "$as_me: failed program was:" >&5 |
8021 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8022 |
|
|
8023 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
8024 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
8025 |
< |
{ (exit 1); exit 1; }; } |
8026 |
< |
USE_SPRNG="no" |
8023 |
> |
# Passes both tests. |
8024 |
> |
ac_preproc_ok=: |
8025 |
> |
break |
8026 |
> |
fi |
8027 |
> |
rm -f conftest.err conftest.$ac_ext |
8028 |
|
|
8029 |
+ |
done |
8030 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8031 |
+ |
rm -f conftest.err conftest.$ac_ext |
8032 |
+ |
if $ac_preproc_ok; then |
8033 |
+ |
break |
8034 |
|
fi |
8035 |
|
|
8036 |
+ |
done |
8037 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
8038 |
|
|
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; }; } |
8039 |
|
fi |
8040 |
+ |
CXXCPP=$ac_cv_prog_CXXCPP |
8041 |
+ |
else |
8042 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
8043 |
+ |
fi |
8044 |
+ |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
8045 |
+ |
echo "${ECHO_T}$CXXCPP" >&6 |
8046 |
+ |
ac_preproc_ok=false |
8047 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
8048 |
+ |
do |
8049 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
8050 |
+ |
# with a fresh cross-compiler works. |
8051 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8052 |
+ |
# <limits.h> exists even on freestanding compilers. |
8053 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8054 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
8055 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
8056 |
+ |
/* confdefs.h. */ |
8057 |
+ |
_ACEOF |
8058 |
+ |
cat confdefs.h >>conftest.$ac_ext |
8059 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
8060 |
+ |
/* end confdefs.h. */ |
8061 |
+ |
#ifdef __STDC__ |
8062 |
+ |
# include <limits.h> |
8063 |
+ |
#else |
8064 |
+ |
# include <assert.h> |
8065 |
+ |
#endif |
8066 |
+ |
Syntax error |
8067 |
+ |
_ACEOF |
8068 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8069 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8070 |
+ |
ac_status=$? |
8071 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8072 |
+ |
rm -f conftest.er1 |
8073 |
+ |
cat conftest.err >&5 |
8074 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8075 |
+ |
(exit $ac_status); } >/dev/null; then |
8076 |
+ |
if test -s conftest.err; then |
8077 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8078 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8079 |
+ |
else |
8080 |
+ |
ac_cpp_err= |
8081 |
+ |
fi |
8082 |
+ |
else |
8083 |
+ |
ac_cpp_err=yes |
8084 |
+ |
fi |
8085 |
+ |
if test -z "$ac_cpp_err"; then |
8086 |
+ |
: |
8087 |
+ |
else |
8088 |
+ |
echo "$as_me: failed program was:" >&5 |
8089 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8090 |
|
|
8091 |
+ |
# Broken: fails on valid input. |
8092 |
+ |
continue |
8093 |
+ |
fi |
8094 |
+ |
rm -f conftest.err conftest.$ac_ext |
8095 |
|
|
8096 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
8097 |
+ |
# can be detected and how. |
8098 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
8099 |
+ |
/* confdefs.h. */ |
8100 |
+ |
_ACEOF |
8101 |
+ |
cat confdefs.h >>conftest.$ac_ext |
8102 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
8103 |
+ |
/* end confdefs.h. */ |
8104 |
+ |
#include <ac_nonexistent.h> |
8105 |
+ |
_ACEOF |
8106 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8107 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8108 |
+ |
ac_status=$? |
8109 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8110 |
+ |
rm -f conftest.er1 |
8111 |
+ |
cat conftest.err >&5 |
8112 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8113 |
+ |
(exit $ac_status); } >/dev/null; then |
8114 |
+ |
if test -s conftest.err; then |
8115 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8116 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8117 |
+ |
else |
8118 |
+ |
ac_cpp_err= |
8119 |
+ |
fi |
8120 |
+ |
else |
8121 |
+ |
ac_cpp_err=yes |
8122 |
|
fi |
8123 |
+ |
if test -z "$ac_cpp_err"; then |
8124 |
+ |
# Broken: success on invalid input. |
8125 |
+ |
continue |
8126 |
+ |
else |
8127 |
+ |
echo "$as_me: failed program was:" >&5 |
8128 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8129 |
|
|
8130 |
+ |
# Passes both tests. |
8131 |
+ |
ac_preproc_ok=: |
8132 |
+ |
break |
8133 |
+ |
fi |
8134 |
+ |
rm -f conftest.err conftest.$ac_ext |
8135 |
|
|
8136 |
< |
|
8137 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
8138 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
8139 |
< |
|
8140 |
< |
# Check whether --with-mkl or --without-mkl was given. |
8141 |
< |
if test "${with_mkl+set}" = set; then |
8142 |
< |
withval="$with_mkl" |
8143 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
8144 |
< |
echo "${ECHO_T}yes" >&6 |
8145 |
< |
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;} |
8136 |
> |
done |
8137 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8138 |
> |
rm -f conftest.err conftest.$ac_ext |
8139 |
> |
if $ac_preproc_ok; then |
8140 |
> |
: |
8141 |
> |
else |
8142 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8143 |
> |
See \`config.log' for more details." >&5 |
8144 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8145 |
> |
See \`config.log' for more details." >&2;} |
8146 |
|
{ (exit 1); exit 1; }; } |
8147 |
< |
else |
7571 |
< |
printf "MKL includes found in $mkldir/include\n"; |
7572 |
< |
fi |
8147 |
> |
fi |
8148 |
|
|
8149 |
+ |
ac_ext=cc |
8150 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
8151 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8152 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8153 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8154 |
|
|
8155 |
|
|
8156 |
< |
ac_ext=c |
8157 |
< |
ac_cpp='$CPP $CPPFLAGS' |
8158 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8159 |
< |
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 |
8156 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8157 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8158 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8159 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8160 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8161 |
|
fi |
8162 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
8163 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
8162 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8163 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8164 |
|
else |
8165 |
|
# Is the header compilable? |
8166 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
8167 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
8166 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
8167 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
8168 |
|
cat >conftest.$ac_ext <<_ACEOF |
7599 |
– |
#line $LINENO "configure" |
8169 |
|
/* confdefs.h. */ |
8170 |
|
_ACEOF |
8171 |
|
cat confdefs.h >>conftest.$ac_ext |
8172 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8173 |
|
/* end confdefs.h. */ |
8174 |
|
$ac_includes_default |
8175 |
< |
#include <mkl.h> |
8175 |
> |
#include <CGAL/Cartesian.h> |
8176 |
|
_ACEOF |
8177 |
|
rm -f conftest.$ac_objext |
8178 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8179 |
< |
(eval $ac_compile) 2>&5 |
8179 |
> |
(eval $ac_compile) 2>conftest.er1 |
8180 |
|
ac_status=$? |
8181 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8182 |
+ |
rm -f conftest.er1 |
8183 |
+ |
cat conftest.err >&5 |
8184 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8185 |
|
(exit $ac_status); } && |
8186 |
< |
{ ac_try='test -s conftest.$ac_objext' |
8186 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8187 |
> |
|| test ! -s conftest.err' |
8188 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8189 |
|
(eval $ac_try) 2>&5 |
8190 |
|
ac_status=$? |
8191 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8192 |
+ |
(exit $ac_status); }; } && |
8193 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
8194 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8195 |
+ |
(eval $ac_try) 2>&5 |
8196 |
+ |
ac_status=$? |
8197 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8198 |
|
(exit $ac_status); }; }; then |
8199 |
|
ac_header_compiler=yes |
8200 |
|
else |
8203 |
|
|
8204 |
|
ac_header_compiler=no |
8205 |
|
fi |
8206 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
8206 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8207 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8208 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8209 |
|
|
8210 |
|
# Is the header present? |
8211 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
8212 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
8211 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
8212 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
8213 |
|
cat >conftest.$ac_ext <<_ACEOF |
7635 |
– |
#line $LINENO "configure" |
8214 |
|
/* confdefs.h. */ |
8215 |
|
_ACEOF |
8216 |
|
cat confdefs.h >>conftest.$ac_ext |
8217 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8218 |
|
/* end confdefs.h. */ |
8219 |
< |
#include <mkl.h> |
8219 |
> |
#include <CGAL/Cartesian.h> |
8220 |
|
_ACEOF |
8221 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8222 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8227 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8228 |
|
(exit $ac_status); } >/dev/null; then |
8229 |
|
if test -s conftest.err; then |
8230 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
8230 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8231 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8232 |
|
else |
8233 |
|
ac_cpp_err= |
8234 |
|
fi |
8248 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8249 |
|
|
8250 |
|
# So? What about this header? |
8251 |
< |
case $ac_header_compiler:$ac_header_preproc in |
8252 |
< |
yes:no ) |
8253 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8254 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8255 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
8256 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
8257 |
< |
( |
7679 |
< |
cat <<\_ASBOX |
7680 |
< |
## ------------------------------------ ## |
7681 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7682 |
< |
## ------------------------------------ ## |
7683 |
< |
_ASBOX |
7684 |
< |
) | |
7685 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
8251 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8252 |
> |
yes:no: ) |
8253 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8254 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8255 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
8256 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
8257 |
> |
ac_header_preproc=yes |
8258 |
|
;; |
8259 |
< |
no:yes ) |
8260 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
8261 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
8262 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
8263 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
8264 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
8265 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
8259 |
> |
no:yes:* ) |
8260 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
8261 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
8262 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
8263 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
8264 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
8265 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
8266 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
8267 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8268 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
8269 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
8270 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
8271 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
8272 |
|
( |
8273 |
|
cat <<\_ASBOX |
8274 |
< |
## ------------------------------------ ## |
8275 |
< |
## Report this to bug-autoconf@gnu.org. ## |
8276 |
< |
## ------------------------------------ ## |
8274 |
> |
## ------------------------------ ## |
8275 |
> |
## Report this to gezelter@nd.edu ## |
8276 |
> |
## ------------------------------ ## |
8277 |
|
_ASBOX |
8278 |
|
) | |
8279 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8280 |
|
;; |
8281 |
|
esac |
8282 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
8283 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
8284 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
8282 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8283 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8284 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8285 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8286 |
|
else |
8287 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
8287 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
8288 |
|
fi |
8289 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
8290 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
8289 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8290 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8291 |
|
|
8292 |
|
fi |
8293 |
< |
if test $ac_cv_header_mkl_h = yes; then |
8294 |
< |
|
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 |
8293 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
8294 |
> |
cgal=yes |
8295 |
|
else |
8296 |
< |
ac_check_lib_save_LIBS=$LIBS |
8297 |
< |
LIBS="-lmkl $LIBS" |
8296 |
> |
cgal=no |
8297 |
> |
fi |
8298 |
> |
|
8299 |
> |
|
8300 |
> |
CXXFLAGS="$save_CXXFLAGS" |
8301 |
> |
|
8302 |
> |
if test "x$cgal" = xyes; then |
8303 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
8304 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
8305 |
> |
LOCATION=${CGAL_INCLDIR} |
8306 |
> |
LOCATION=${LOCATION:-/usr/include} |
8307 |
> |
if test -f $LOCATION/CGAL/version.h; then |
8308 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
8309 |
> |
else |
8310 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
8311 |
> |
fi |
8312 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
8313 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
8314 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
8315 |
> |
else |
8316 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
8317 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
8318 |
> |
cgal=no |
8319 |
> |
fi |
8320 |
> |
fi |
8321 |
> |
|
8322 |
> |
if test "x$cgal" = xyes; then |
8323 |
> |
CGAL_LIBS="-lCGAL" |
8324 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
8325 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
8326 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
8327 |
> |
CGAL_USES_LEDA=yes |
8328 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8329 |
> |
echo "${ECHO_T}yes" >&6 |
8330 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
8331 |
> |
else |
8332 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8333 |
> |
echo "${ECHO_T}no" >&6 |
8334 |
> |
CGAL_USES_LEDA=no |
8335 |
> |
fi |
8336 |
> |
|
8337 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
8338 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
8339 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
8340 |
> |
CGAL_USES_GMP=yes |
8341 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8342 |
> |
echo "${ECHO_T}yes" >&6 |
8343 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
8344 |
> |
else |
8345 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8346 |
> |
echo "${ECHO_T}no" >&6 |
8347 |
> |
CGAL_USES_GMP=no |
8348 |
> |
fi |
8349 |
> |
|
8350 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
8351 |
> |
|
8352 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
8353 |
> |
|
8354 |
> |
echo "CGAL_USES_LEDA $CGAL_USES_LEDA" |
8355 |
> |
echo "CGAL_USES_GMP $CGAL_USES_GMP" |
8356 |
> |
echo "CGAL_INCLDIR $CGAL_INCLDIR" |
8357 |
> |
echo "CGAL_LIBDIR $CGAL_LIBDIR" |
8358 |
> |
echo "CGAL_DEFINES $CGAL_DEFINES" |
8359 |
> |
echo "CGAL_CXXFLAGS $CGAL_CXXFLAGS" |
8360 |
> |
echo "CGAL_LIBS $CGAL_LIBS" |
8361 |
> |
fi |
8362 |
> |
|
8363 |
> |
if test "x$cgal" = xyes; then |
8364 |
> |
save_LIBS="$LIBS" |
8365 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
8366 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
8367 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
8368 |
> |
fi |
8369 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
8370 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
8371 |
> |
# fi |
8372 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
8373 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
8374 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
8375 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
8376 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
8377 |
> |
LIBS="-lCGAL $LIBS" |
8378 |
|
cat >conftest.$ac_ext <<_ACEOF |
7725 |
– |
#line $LINENO "configure" |
8379 |
|
/* confdefs.h. */ |
8380 |
|
_ACEOF |
8381 |
|
cat confdefs.h >>conftest.$ac_ext |
8382 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8383 |
|
/* end confdefs.h. */ |
8384 |
< |
|
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 (); |
8384 |
> |
#include <CGAL/Cartesian.h> |
8385 |
|
int |
8386 |
|
main () |
8387 |
|
{ |
8388 |
< |
vslNewStream (); |
8388 |
> |
::CGAL::Cartesian<int>::Point_2 P |
8389 |
|
; |
8390 |
|
return 0; |
8391 |
|
} |
8392 |
|
_ACEOF |
8393 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8394 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8395 |
< |
(eval $ac_link) 2>&5 |
8395 |
> |
(eval $ac_link) 2>conftest.er1 |
8396 |
|
ac_status=$? |
8397 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8398 |
+ |
rm -f conftest.er1 |
8399 |
+ |
cat conftest.err >&5 |
8400 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8401 |
|
(exit $ac_status); } && |
8402 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8402 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8403 |
> |
|| test ! -s conftest.err' |
8404 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8405 |
|
(eval $ac_try) 2>&5 |
8406 |
|
ac_status=$? |
8407 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8408 |
+ |
(exit $ac_status); }; } && |
8409 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
8410 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8411 |
+ |
(eval $ac_try) 2>&5 |
8412 |
+ |
ac_status=$? |
8413 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8414 |
|
(exit $ac_status); }; }; then |
8415 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
8415 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8416 |
> |
echo "${ECHO_T}yes" >&6 |
8417 |
> |
cgal=yes |
8418 |
|
else |
8419 |
|
echo "$as_me: failed program was:" >&5 |
8420 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8421 |
|
|
8422 |
< |
ac_cv_lib_mkl_vslNewStream=no |
8423 |
< |
fi |
8424 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7767 |
< |
LIBS=$ac_check_lib_save_LIBS |
7768 |
< |
fi |
7769 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
7770 |
< |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
7771 |
< |
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 |
7776 |
< |
|
7777 |
< |
|
7778 |
< |
else |
7779 |
< |
MKL_INC="-I${mkldir}/include" |
8422 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8423 |
> |
echo "${ECHO_T}no" >&6 |
8424 |
> |
cgal=no |
8425 |
|
fi |
8426 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
8427 |
+ |
conftest$ac_exeext conftest.$ac_ext |
8428 |
+ |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
8429 |
+ |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
8430 |
+ |
LIBS="$save_LIBS" |
8431 |
+ |
fi |
8432 |
|
|
8433 |
< |
|
7783 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
7784 |
< |
LDFLAGS=$ac_save_LDFLAGS |
8433 |
> |
fi |
8434 |
|
ac_ext=c |
8435 |
|
ac_cpp='$CPP $CPPFLAGS' |
8436 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8438 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8439 |
|
|
8440 |
|
|
8441 |
< |
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 |
8441 |
> |
fi |
8442 |
|
|
8443 |
+ |
if test "x$cgal" = xyes; then |
8444 |
+ |
USE_CGAL=yes |
8445 |
|
|
8446 |
+ |
cat >>confdefs.h <<\_ACEOF |
8447 |
+ |
#define HAVE_CGAL 1 |
8448 |
+ |
_ACEOF |
8449 |
|
|
8450 |
|
|
8451 |
+ |
cat >>confdefs.h <<_ACEOF |
8452 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
8453 |
+ |
_ACEOF |
8454 |
|
|
8455 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
8456 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8457 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8458 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
8459 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
8460 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
8461 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
8462 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8463 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8464 |
+ |
fi |
8465 |
|
else |
8466 |
+ |
if test "x$cgal_makefile" != xno; then |
8467 |
+ |
{ echo "$as_me:$LINENO: WARNING: *********************************************************" >&5 |
8468 |
+ |
echo "$as_me: WARNING: *********************************************************" >&2;} |
8469 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found. ***" >&5 |
8470 |
+ |
echo "$as_me: WARNING: *** Warning: CGAL was not found. ***" >&2;} |
8471 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options. ***" >&5 |
8472 |
+ |
echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options. ***" >&2;} |
8473 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled. ***" >&5 |
8474 |
+ |
echo "$as_me: WARNING: *** CGAL support will be disabled. ***" >&2;} |
8475 |
+ |
{ echo "$as_me:$LINENO: WARNING: *********************************************************" >&5 |
8476 |
+ |
echo "$as_me: WARNING: *********************************************************" >&2;} |
8477 |
+ |
fi |
8478 |
+ |
CGAL_INCLDIR= |
8479 |
+ |
CGAL_LIBDIR= |
8480 |
+ |
CGAL_RLIBDIR= |
8481 |
+ |
CGAL_DEFINES= |
8482 |
+ |
CGAL_CXXFLAGS= |
8483 |
+ |
CGAL_LIBS= |
8484 |
+ |
fi |
8485 |
|
|
7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
7805 |
– |
echo "${ECHO_T}no" >&6 |
8486 |
|
|
8487 |
< |
fi; |
8487 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
8488 |
> |
|
8489 |
> |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
8490 |
> |
|
8491 |
> |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
8492 |
|
|
8493 |
|
|
8494 |
|
|
8495 |
+ |
|
8496 |
+ |
|
8497 |
+ |
|
8498 |
+ |
|
8499 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
8500 |
|
if test "${enable_doxygen+set}" = set; then |
8501 |
|
enableval="$enable_doxygen" |
8696 |
|
|
8697 |
|
ac_config_headers="$ac_config_headers src/config.h" |
8698 |
|
|
8699 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
8699 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile" |
8700 |
|
|
8701 |
|
|
8702 |
|
cat >confcache <<\_ACEOF |
8727 |
|
# `set' does not quote correctly, so add quotes (double-quote |
8728 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
8729 |
|
sed -n \ |
8730 |
< |
"s/'/'\\\\''/g; |
8731 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8730 |
> |
"s/'/'\\\\''/g; |
8731 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8732 |
|
;; |
8733 |
|
*) |
8734 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
8735 |
|
sed -n \ |
8736 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8736 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8737 |
|
;; |
8738 |
|
esac; |
8739 |
|
} | |
8763 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
8764 |
|
# (actually we leave an empty line to preserve line numbers). |
8765 |
|
if test "x$srcdir" = x.; then |
8766 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8766 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8767 |
|
s/:*\$(srcdir):*/:/; |
8768 |
|
s/:*\${srcdir}:*/:/; |
8769 |
|
s/:*@srcdir@:*/:/; |
8770 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
8770 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
8771 |
|
s/:*$//; |
8772 |
< |
s/^[^=]*=[ ]*$//; |
8772 |
> |
s/^[^=]*=[ ]*$//; |
8773 |
|
}' |
8774 |
|
fi |
8775 |
|
|
8780 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8781 |
|
# 1. Remove the extension, and $U if already installed. |
8782 |
|
ac_i=`echo "$ac_i" | |
8783 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8783 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8784 |
|
# 2. Add them. |
8785 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
8786 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
8824 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
8825 |
|
set -o posix |
8826 |
|
fi |
8827 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
8828 |
|
|
8829 |
|
# Support unset when possible. |
8830 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
8830 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
8831 |
|
as_unset=unset |
8832 |
|
else |
8833 |
|
as_unset=false |
8846 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8847 |
|
LC_TELEPHONE LC_TIME |
8848 |
|
do |
8849 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8849 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8850 |
|
eval $as_var=C; export $as_var |
8851 |
|
else |
8852 |
|
$as_unset $as_var |
9025 |
|
if mkdir -p . 2>/dev/null; then |
9026 |
|
as_mkdir_p=: |
9027 |
|
else |
9028 |
+ |
test -d ./-p && rmdir ./-p |
9029 |
|
as_mkdir_p=false |
9030 |
|
fi |
9031 |
|
|
9032 |
|
as_executable_p="test -f" |
9033 |
|
|
9034 |
|
# Sed expression to map a string onto a valid CPP name. |
9035 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
9035 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9036 |
|
|
9037 |
|
# Sed expression to map a string onto a valid variable name. |
9038 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
9038 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9039 |
|
|
9040 |
|
|
9041 |
|
# IFS |
9062 |
|
cat >&5 <<_CSEOF |
9063 |
|
|
9064 |
|
This file was extended by OOPSE $as_me 2.0, which was |
9065 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
9065 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
9066 |
|
|
9067 |
|
CONFIG_FILES = $CONFIG_FILES |
9068 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
9106 |
|
-d, --debug don't remove temporary files |
9107 |
|
--recheck update $as_me by reconfiguring in the same conditions |
9108 |
|
--file=FILE[:TEMPLATE] |
9109 |
< |
instantiate the configuration file FILE |
9109 |
> |
instantiate the configuration file FILE |
9110 |
|
--header=FILE[:TEMPLATE] |
9111 |
< |
instantiate the configuration header FILE |
9111 |
> |
instantiate the configuration header FILE |
9112 |
|
|
9113 |
|
Configuration files: |
9114 |
|
$config_files |
9125 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
9126 |
|
ac_cs_version="\\ |
9127 |
|
OOPSE config.status 2.0 |
9128 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
9128 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
9129 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9130 |
|
|
9131 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8442 |
< |
Free Software Foundation, Inc. |
9131 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
9132 |
|
This config.status script is free software; the Free Software Foundation |
9133 |
|
gives unlimited permission to copy, distribute and modify it." |
9134 |
|
srcdir=$srcdir |
9229 |
|
# Handling of arguments. |
9230 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
9231 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
9232 |
+ |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
9233 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
9234 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
9235 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
9374 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
9375 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
9376 |
|
s,@USE_MPI@,$USE_MPI,;t t |
9377 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
9378 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
9379 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
9380 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
9381 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
9382 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
9383 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
9384 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
9377 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
9378 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
9379 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
9380 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
9381 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
9382 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
9383 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
9384 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
9385 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
9386 |
|
s,@DOT@,$DOT,;t t |
9387 |
|
s,@DOC@,$DOC,;t t |
9424 |
|
(echo ':t |
9425 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
9426 |
|
if test -z "$ac_sed_cmds"; then |
9427 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9427 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9428 |
|
else |
9429 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9429 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9430 |
|
fi |
9431 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
9432 |
|
ac_beg=$ac_end |
9444 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9445 |
|
case $ac_file in |
9446 |
|
- | *:- | *:-:* ) # input from stdin |
9447 |
< |
cat >$tmp/stdin |
9448 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9449 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9447 |
> |
cat >$tmp/stdin |
9448 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9449 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9450 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9451 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9451 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9452 |
|
* ) ac_file_in=$ac_file.in ;; |
9453 |
|
esac |
9454 |
|
|
9455 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
9456 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9457 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9458 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9459 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9460 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9461 |
< |
. : '\(.\)' 2>/dev/null || |
9458 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9459 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9460 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9461 |
> |
. : '\(.\)' 2>/dev/null || |
9462 |
|
echo X"$ac_file" | |
9463 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9464 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9474 |
|
as_dirs="$as_dir $as_dirs" |
9475 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9476 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9477 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9478 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9479 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9480 |
< |
. : '\(.\)' 2>/dev/null || |
9477 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9478 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9479 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9480 |
> |
. : '\(.\)' 2>/dev/null || |
9481 |
|
echo X"$as_dir" | |
9482 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9483 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9515 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9516 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9517 |
|
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` |
9518 |
|
|
9519 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9520 |
+ |
# the directories may not exist. |
9521 |
+ |
case `pwd` in |
9522 |
+ |
.) ac_abs_builddir="$ac_dir";; |
9523 |
+ |
*) |
9524 |
+ |
case "$ac_dir" in |
9525 |
+ |
.) ac_abs_builddir=`pwd`;; |
9526 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
9527 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
9528 |
+ |
esac;; |
9529 |
+ |
esac |
9530 |
+ |
case $ac_abs_builddir in |
9531 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9532 |
+ |
*) |
9533 |
+ |
case ${ac_top_builddir}. in |
9534 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9535 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9536 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9537 |
+ |
esac;; |
9538 |
+ |
esac |
9539 |
+ |
case $ac_abs_builddir in |
9540 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
9541 |
+ |
*) |
9542 |
+ |
case $ac_srcdir in |
9543 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9544 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9545 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9546 |
+ |
esac;; |
9547 |
+ |
esac |
9548 |
+ |
case $ac_abs_builddir in |
9549 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9550 |
+ |
*) |
9551 |
+ |
case $ac_top_srcdir in |
9552 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9553 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9554 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9555 |
+ |
esac;; |
9556 |
+ |
esac |
9557 |
|
|
9558 |
+ |
|
9559 |
|
case $INSTALL in |
9560 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9561 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
9575 |
|
configure_input="$ac_file. " |
9576 |
|
fi |
9577 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
9578 |
< |
sed 's,.*/,,'` by configure." |
9578 |
> |
sed 's,.*/,,'` by configure." |
9579 |
|
|
9580 |
|
# First look for the input files in the build tree, otherwise in the |
9581 |
|
# src tree. |
9584 |
|
case $f in |
9585 |
|
-) echo $tmp/stdin ;; |
9586 |
|
[\\/$]*) |
9587 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9588 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9587 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9588 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9589 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9590 |
|
{ (exit 1); exit 1; }; } |
9591 |
< |
echo $f;; |
9591 |
> |
echo "$f";; |
9592 |
|
*) # Relative |
9593 |
< |
if test -f "$f"; then |
9594 |
< |
# Build tree |
9595 |
< |
echo $f |
9596 |
< |
elif test -f "$srcdir/$f"; then |
9597 |
< |
# Source tree |
9598 |
< |
echo $srcdir/$f |
9599 |
< |
else |
9600 |
< |
# /dev/null tree |
9601 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9593 |
> |
if test -f "$f"; then |
9594 |
> |
# Build tree |
9595 |
> |
echo "$f" |
9596 |
> |
elif test -f "$srcdir/$f"; then |
9597 |
> |
# Source tree |
9598 |
> |
echo "$srcdir/$f" |
9599 |
> |
else |
9600 |
> |
# /dev/null tree |
9601 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9602 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9603 |
|
{ (exit 1); exit 1; }; } |
9604 |
< |
fi;; |
9604 |
> |
fi;; |
9605 |
|
esac |
9606 |
|
done` || { (exit 1); exit 1; } |
9607 |
|
_ACEOF |
9643 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
9644 |
|
# |
9645 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
9646 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9647 |
< |
ac_dB='[ ].*$,\1#\2' |
9646 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9647 |
> |
ac_dB='[ ].*$,\1#\2' |
9648 |
|
ac_dC=' ' |
9649 |
|
ac_dD=',;t' |
9650 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
9651 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9651 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9652 |
|
ac_uB='$,\1#\2define\3' |
9653 |
|
ac_uC=' ' |
9654 |
|
ac_uD=',;t' |
9657 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9658 |
|
case $ac_file in |
9659 |
|
- | *:- | *:-:* ) # input from stdin |
9660 |
< |
cat >$tmp/stdin |
9661 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9662 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9660 |
> |
cat >$tmp/stdin |
9661 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9662 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9663 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9664 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9664 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9665 |
|
* ) ac_file_in=$ac_file.in ;; |
9666 |
|
esac |
9667 |
|
|
9675 |
|
case $f in |
9676 |
|
-) echo $tmp/stdin ;; |
9677 |
|
[\\/$]*) |
9678 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9679 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9678 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9679 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9680 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9681 |
|
{ (exit 1); exit 1; }; } |
9682 |
< |
echo $f;; |
9682 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
9683 |
> |
echo "$f";; |
9684 |
|
*) # Relative |
9685 |
< |
if test -f "$f"; then |
9686 |
< |
# Build tree |
9687 |
< |
echo $f |
9688 |
< |
elif test -f "$srcdir/$f"; then |
9689 |
< |
# Source tree |
9690 |
< |
echo $srcdir/$f |
9691 |
< |
else |
9692 |
< |
# /dev/null tree |
9693 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9685 |
> |
if test -f "$f"; then |
9686 |
> |
# Build tree |
9687 |
> |
echo "$f" |
9688 |
> |
elif test -f "$srcdir/$f"; then |
9689 |
> |
# Source tree |
9690 |
> |
echo "$srcdir/$f" |
9691 |
> |
else |
9692 |
> |
# /dev/null tree |
9693 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9694 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9695 |
|
{ (exit 1); exit 1; }; } |
9696 |
< |
fi;; |
9696 |
> |
fi;; |
9697 |
|
esac |
9698 |
|
done` || { (exit 1); exit 1; } |
9699 |
|
# Remove the trailing spaces. |
9700 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9700 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9701 |
|
|
9702 |
|
_ACEOF |
9703 |
|
|
9720 |
|
s,[\\$`],\\&,g |
9721 |
|
t clear |
9722 |
|
: clear |
9723 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9723 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9724 |
|
t end |
9725 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9725 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9726 |
|
: end |
9727 |
|
_ACEOF |
9728 |
|
# If some macros were called several times there might be several times |
9736 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
9737 |
|
# on some systems where configure will not decide to define it. |
9738 |
|
cat >>conftest.undefs <<\_ACEOF |
9739 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9739 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9740 |
|
_ACEOF |
9741 |
|
|
9742 |
|
# Break up conftest.defines because some shells have a limit on the size |
9743 |
|
# of here documents, and old seds have small limits too (100 cmds). |
9744 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
9745 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9745 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9746 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
9747 |
|
echo ' :' >>$CONFIG_STATUS |
9748 |
|
rm -f conftest.tail |
9751 |
|
# Write a limited-size here document to $tmp/defines.sed. |
9752 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
9753 |
|
# Speed up: don't consider the non `#define' lines. |
9754 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9754 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9755 |
|
# Work around the forget-to-reset-the-flag bug. |
9756 |
|
echo 't clr' >>$CONFIG_STATUS |
9757 |
|
echo ': clr' >>$CONFIG_STATUS |
9778 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
9779 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
9780 |
|
# Speed up: don't consider the non `#undef' |
9781 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9781 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9782 |
|
# Work around the forget-to-reset-the-flag bug. |
9783 |
|
echo 't clr' >>$CONFIG_STATUS |
9784 |
|
echo ': clr' >>$CONFIG_STATUS |
9812 |
|
else |
9813 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9814 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9815 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9816 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9817 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9818 |
< |
. : '\(.\)' 2>/dev/null || |
9815 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9816 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9817 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9818 |
> |
. : '\(.\)' 2>/dev/null || |
9819 |
|
echo X"$ac_file" | |
9820 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9821 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9831 |
|
as_dirs="$as_dir $as_dirs" |
9832 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9833 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9834 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9835 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9836 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9837 |
< |
. : '\(.\)' 2>/dev/null || |
9834 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9835 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9836 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9837 |
> |
. : '\(.\)' 2>/dev/null || |
9838 |
|
echo X"$as_dir" | |
9839 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9840 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9879 |
|
# Make relative symlinks. |
9880 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
9881 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9882 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9883 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
9884 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
9885 |
< |
. : '\(.\)' 2>/dev/null || |
9882 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9883 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
9884 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
9885 |
> |
. : '\(.\)' 2>/dev/null || |
9886 |
|
echo X"$ac_dest" | |
9887 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9888 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9898 |
|
as_dirs="$as_dir $as_dirs" |
9899 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9900 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9901 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9902 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9903 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9904 |
< |
. : '\(.\)' 2>/dev/null || |
9901 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9902 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9903 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9904 |
> |
. : '\(.\)' 2>/dev/null || |
9905 |
|
echo X"$as_dir" | |
9906 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9907 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9939 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9940 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9941 |
|
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` |
9942 |
|
|
9943 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9944 |
+ |
# the directories may not exist. |
9945 |
+ |
case `pwd` in |
9946 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
9947 |
+ |
*) |
9948 |
+ |
case "$ac_dest_dir" in |
9949 |
+ |
.) ac_abs_builddir=`pwd`;; |
9950 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
9951 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
9952 |
+ |
esac;; |
9953 |
+ |
esac |
9954 |
+ |
case $ac_abs_builddir in |
9955 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9956 |
+ |
*) |
9957 |
+ |
case ${ac_top_builddir}. in |
9958 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9959 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9960 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9961 |
+ |
esac;; |
9962 |
+ |
esac |
9963 |
+ |
case $ac_abs_builddir in |
9964 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
9965 |
+ |
*) |
9966 |
+ |
case $ac_srcdir in |
9967 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9968 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9969 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9970 |
+ |
esac;; |
9971 |
+ |
esac |
9972 |
+ |
case $ac_abs_builddir in |
9973 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9974 |
+ |
*) |
9975 |
+ |
case $ac_top_srcdir in |
9976 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9977 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9978 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9979 |
+ |
esac;; |
9980 |
+ |
esac |
9981 |
|
|
9982 |
+ |
|
9983 |
|
case $srcdir in |
9984 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
9985 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |