1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 2.0. |
3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
< |
# Free Software Foundation, Inc. |
7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
8 |
|
# This configure script is free software; the Free Software Foundation |
9 |
|
# gives unlimited permission to copy, distribute and modify it. |
10 |
|
## --------------------- ## |
21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22 |
|
set -o posix |
23 |
|
fi |
24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
27 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
28 |
|
as_unset=unset |
29 |
|
else |
30 |
|
as_unset=false |
43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
|
LC_TELEPHONE LC_TIME |
45 |
|
do |
46 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
46 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
|
eval $as_var=C; export $as_var |
48 |
|
else |
49 |
|
$as_unset $as_var |
220 |
|
if mkdir -p . 2>/dev/null; then |
221 |
|
as_mkdir_p=: |
222 |
|
else |
223 |
+ |
test -d ./-p && rmdir ./-p |
224 |
|
as_mkdir_p=false |
225 |
|
fi |
226 |
|
|
227 |
|
as_executable_p="test -f" |
228 |
|
|
229 |
|
# Sed expression to map a string onto a valid CPP name. |
230 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 |
|
|
232 |
|
# Sed expression to map a string onto a valid variable name. |
233 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 |
|
|
235 |
|
|
236 |
|
# IFS |
312 |
|
# include <unistd.h> |
313 |
|
#endif" |
314 |
|
|
315 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
316 |
|
ac_subst_files='' |
317 |
|
|
318 |
|
# Initialize some variables set by options. |
671 |
|
|
672 |
|
# Be sure to have absolute paths. |
673 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
674 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
674 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
675 |
|
do |
676 |
|
eval ac_val=$`echo $ac_var` |
677 |
|
case $ac_val in |
711 |
|
# Try the directory containing this script, then its parent. |
712 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
713 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
714 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
715 |
< |
X"$0" : 'X\(//\)$' \| \ |
716 |
< |
X"$0" : 'X\(/\)' \| \ |
717 |
< |
. : '\(.\)' 2>/dev/null || |
714 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
715 |
> |
X"$0" : 'X\(//\)$' \| \ |
716 |
> |
X"$0" : 'X\(/\)' \| \ |
717 |
> |
. : '\(.\)' 2>/dev/null || |
718 |
|
echo X"$0" | |
719 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
720 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
789 |
|
ac_env_CPP_value=$CPP |
790 |
|
ac_cv_env_CPP_set=${CPP+set} |
791 |
|
ac_cv_env_CPP_value=$CPP |
792 |
+ |
ac_env_CXXCPP_set=${CXXCPP+set} |
793 |
+ |
ac_env_CXXCPP_value=$CXXCPP |
794 |
+ |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
795 |
+ |
ac_cv_env_CXXCPP_value=$CXXCPP |
796 |
|
|
797 |
|
# |
798 |
|
# Report the --help message. |
826 |
|
cat <<_ACEOF |
827 |
|
Installation directories: |
828 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
829 |
< |
[$ac_default_prefix] |
829 |
> |
[$ac_default_prefix] |
830 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
831 |
< |
[PREFIX] |
831 |
> |
[PREFIX] |
832 |
|
|
833 |
|
By default, \`make install' will install all the files in |
834 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
879 |
|
Optional Packages: |
880 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
881 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
882 |
+ |
--with-perl-shebang override what perl thinks is the way for the kernel |
883 |
+ |
to start it (seldom needed) |
884 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
885 |
< |
--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 |
885 |
> |
--with-cgal-makefile=FILE CGAL makefile that should be used |
886 |
|
|
887 |
|
Some influential environment variables: |
888 |
|
CC C compiler command |
896 |
|
F90 Fortran 90 compiler command |
897 |
|
F90FLAGS Fortran 90 compiler flags |
898 |
|
CPP C preprocessor |
899 |
+ |
CXXCPP C++ preprocessor |
900 |
|
|
901 |
|
Use these variables to override the choices made by `configure' or to help |
902 |
|
it to find libraries and programs with nonstandard names/locations. |
935 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
936 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
937 |
|
esac |
938 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
939 |
< |
# absolute. |
940 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
941 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
942 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
943 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
938 |
> |
|
939 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
940 |
> |
# the directories may not exist. |
941 |
> |
case `pwd` in |
942 |
> |
.) ac_abs_builddir="$ac_dir";; |
943 |
> |
*) |
944 |
> |
case "$ac_dir" in |
945 |
> |
.) ac_abs_builddir=`pwd`;; |
946 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
947 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
948 |
> |
esac;; |
949 |
> |
esac |
950 |
> |
case $ac_abs_builddir in |
951 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
952 |
> |
*) |
953 |
> |
case ${ac_top_builddir}. in |
954 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
955 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
956 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
957 |
> |
esac;; |
958 |
> |
esac |
959 |
> |
case $ac_abs_builddir in |
960 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
961 |
> |
*) |
962 |
> |
case $ac_srcdir in |
963 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
964 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
965 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
966 |
> |
esac;; |
967 |
> |
esac |
968 |
> |
case $ac_abs_builddir in |
969 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
970 |
> |
*) |
971 |
> |
case $ac_top_srcdir in |
972 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
973 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
974 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
975 |
> |
esac;; |
976 |
> |
esac |
977 |
|
|
978 |
|
cd $ac_dir |
979 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
984 |
|
echo |
985 |
|
$SHELL $ac_srcdir/configure --help=recursive |
986 |
|
elif test -f $ac_srcdir/configure.ac || |
987 |
< |
test -f $ac_srcdir/configure.in; then |
987 |
> |
test -f $ac_srcdir/configure.in; then |
988 |
|
echo |
989 |
|
$ac_configure --help |
990 |
|
else |
998 |
|
if $ac_init_version; then |
999 |
|
cat <<\_ACEOF |
1000 |
|
OOPSE configure 2.0 |
1001 |
< |
generated by GNU Autoconf 2.57 |
1001 |
> |
generated by GNU Autoconf 2.59 |
1002 |
|
|
1003 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
965 |
< |
Free Software Foundation, Inc. |
1003 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
1004 |
|
This configure script is free software; the Free Software Foundation |
1005 |
|
gives unlimited permission to copy, distribute and modify it. |
1006 |
|
_ACEOF |
1012 |
|
running configure, to aid debugging if configure makes a mistake. |
1013 |
|
|
1014 |
|
It was created by OOPSE $as_me 2.0, which was |
1015 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
1015 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1016 |
|
|
1017 |
|
$ $0 $@ |
1018 |
|
|
1089 |
|
2) |
1090 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1091 |
|
if test $ac_must_keep_next = true; then |
1092 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1092 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1093 |
|
else |
1094 |
< |
case $ac_arg in |
1095 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1096 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1097 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1098 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1099 |
< |
case "$ac_configure_args0 " in |
1100 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1101 |
< |
esac |
1102 |
< |
;; |
1103 |
< |
-* ) ac_must_keep_next=true ;; |
1104 |
< |
esac |
1094 |
> |
case $ac_arg in |
1095 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1096 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1097 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1098 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1099 |
> |
case "$ac_configure_args0 " in |
1100 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1101 |
> |
esac |
1102 |
> |
;; |
1103 |
> |
-* ) ac_must_keep_next=true ;; |
1104 |
> |
esac |
1105 |
|
fi |
1106 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1107 |
|
# Get rid of the leading space. |
1135 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1136 |
|
*ac_space=\ *) |
1137 |
|
sed -n \ |
1138 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1139 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1138 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1139 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1140 |
|
;; |
1141 |
|
*) |
1142 |
|
sed -n \ |
1143 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1143 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1144 |
|
;; |
1145 |
|
esac; |
1146 |
|
} |
1169 |
|
for ac_var in $ac_subst_files |
1170 |
|
do |
1171 |
|
eval ac_val=$`echo $ac_var` |
1172 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1172 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1173 |
|
done | sort |
1174 |
|
echo |
1175 |
|
fi |
1188 |
|
echo "$as_me: caught signal $ac_signal" |
1189 |
|
echo "$as_me: exit $exit_status" |
1190 |
|
} >&5 |
1191 |
< |
rm -f core core.* *.core && |
1191 |
> |
rm -f core *.core && |
1192 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1193 |
|
exit $exit_status |
1194 |
|
' 0 |
1268 |
|
# value. |
1269 |
|
ac_cache_corrupted=false |
1270 |
|
for ac_var in `(set) 2>&1 | |
1271 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1271 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1272 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1273 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1274 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1285 |
|
,);; |
1286 |
|
*) |
1287 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1288 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1289 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1290 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1288 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1289 |
> |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1290 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1291 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1292 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1292 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1293 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1294 |
< |
ac_cache_corrupted=: |
1294 |
> |
ac_cache_corrupted=: |
1295 |
|
fi;; |
1296 |
|
esac |
1297 |
|
# Pass precious variables to config.status. |
1882 |
|
|
1883 |
|
|
1884 |
|
|
1885 |
+ |
# |
1886 |
+ |
# |
1887 |
+ |
# |
1888 |
|
|
1889 |
|
|
1890 |
|
|
2091 |
|
(exit $ac_status); } |
2092 |
|
|
2093 |
|
cat >conftest.$ac_ext <<_ACEOF |
2053 |
– |
#line $LINENO "configure" |
2094 |
|
/* confdefs.h. */ |
2095 |
|
_ACEOF |
2096 |
|
cat confdefs.h >>conftest.$ac_ext |
2110 |
|
# Try to create an executable without -o first, disregard a.out. |
2111 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2112 |
|
# of exeext. |
2113 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2114 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2113 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2114 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2115 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2116 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2117 |
|
(eval $ac_link_default) 2>&5 |
2131 |
|
test -f "$ac_file" || continue |
2132 |
|
case $ac_file in |
2133 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2134 |
< |
;; |
2134 |
> |
;; |
2135 |
|
conftest.$ac_ext ) |
2136 |
< |
# This is the source file. |
2137 |
< |
;; |
2136 |
> |
# This is the source file. |
2137 |
> |
;; |
2138 |
|
[ab].out ) |
2139 |
< |
# We found the default executable, but exeext='' is most |
2140 |
< |
# certainly right. |
2141 |
< |
break;; |
2139 |
> |
# We found the default executable, but exeext='' is most |
2140 |
> |
# certainly right. |
2141 |
> |
break;; |
2142 |
|
*.* ) |
2143 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2144 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2145 |
< |
# but it would be cool to find out if it's true. Does anybody |
2146 |
< |
# maintain Libtool? --akim. |
2147 |
< |
export ac_cv_exeext |
2148 |
< |
break;; |
2143 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2144 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2145 |
> |
# but it would be cool to find out if it's true. Does anybody |
2146 |
> |
# maintain Libtool? --akim. |
2147 |
> |
export ac_cv_exeext |
2148 |
> |
break;; |
2149 |
|
* ) |
2150 |
< |
break;; |
2150 |
> |
break;; |
2151 |
|
esac |
2152 |
|
done |
2153 |
|
else |
2221 |
|
case $ac_file in |
2222 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2223 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2224 |
< |
export ac_cv_exeext |
2225 |
< |
break;; |
2224 |
> |
export ac_cv_exeext |
2225 |
> |
break;; |
2226 |
|
* ) break;; |
2227 |
|
esac |
2228 |
|
done |
2247 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2248 |
|
else |
2249 |
|
cat >conftest.$ac_ext <<_ACEOF |
2210 |
– |
#line $LINENO "configure" |
2250 |
|
/* confdefs.h. */ |
2251 |
|
_ACEOF |
2252 |
|
cat confdefs.h >>conftest.$ac_ext |
2297 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2298 |
|
else |
2299 |
|
cat >conftest.$ac_ext <<_ACEOF |
2261 |
– |
#line $LINENO "configure" |
2300 |
|
/* confdefs.h. */ |
2301 |
|
_ACEOF |
2302 |
|
cat confdefs.h >>conftest.$ac_ext |
2316 |
|
_ACEOF |
2317 |
|
rm -f conftest.$ac_objext |
2318 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2319 |
< |
(eval $ac_compile) 2>&5 |
2319 |
> |
(eval $ac_compile) 2>conftest.er1 |
2320 |
|
ac_status=$? |
2321 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2322 |
+ |
rm -f conftest.er1 |
2323 |
+ |
cat conftest.err >&5 |
2324 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2325 |
|
(exit $ac_status); } && |
2326 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2326 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2327 |
> |
|| test ! -s conftest.err' |
2328 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2329 |
|
(eval $ac_try) 2>&5 |
2330 |
|
ac_status=$? |
2331 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2332 |
+ |
(exit $ac_status); }; } && |
2333 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2334 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2335 |
+ |
(eval $ac_try) 2>&5 |
2336 |
+ |
ac_status=$? |
2337 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2338 |
|
(exit $ac_status); }; }; then |
2339 |
|
ac_compiler_gnu=yes |
2340 |
|
else |
2343 |
|
|
2344 |
|
ac_compiler_gnu=no |
2345 |
|
fi |
2346 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2346 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2347 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2348 |
|
|
2349 |
|
fi |
2359 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2360 |
|
else |
2361 |
|
cat >conftest.$ac_ext <<_ACEOF |
2314 |
– |
#line $LINENO "configure" |
2362 |
|
/* confdefs.h. */ |
2363 |
|
_ACEOF |
2364 |
|
cat confdefs.h >>conftest.$ac_ext |
2375 |
|
_ACEOF |
2376 |
|
rm -f conftest.$ac_objext |
2377 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2378 |
< |
(eval $ac_compile) 2>&5 |
2378 |
> |
(eval $ac_compile) 2>conftest.er1 |
2379 |
|
ac_status=$? |
2380 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2381 |
+ |
rm -f conftest.er1 |
2382 |
+ |
cat conftest.err >&5 |
2383 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2384 |
|
(exit $ac_status); } && |
2385 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2385 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2386 |
> |
|| test ! -s conftest.err' |
2387 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2388 |
|
(eval $ac_try) 2>&5 |
2389 |
|
ac_status=$? |
2390 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2391 |
+ |
(exit $ac_status); }; } && |
2392 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2393 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2394 |
+ |
(eval $ac_try) 2>&5 |
2395 |
+ |
ac_status=$? |
2396 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2397 |
|
(exit $ac_status); }; }; then |
2398 |
|
ac_cv_prog_cc_g=yes |
2399 |
|
else |
2402 |
|
|
2403 |
|
ac_cv_prog_cc_g=no |
2404 |
|
fi |
2405 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2405 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2406 |
|
fi |
2407 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2408 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2429 |
|
ac_cv_prog_cc_stdc=no |
2430 |
|
ac_save_CC=$CC |
2431 |
|
cat >conftest.$ac_ext <<_ACEOF |
2375 |
– |
#line $LINENO "configure" |
2432 |
|
/* confdefs.h. */ |
2433 |
|
_ACEOF |
2434 |
|
cat confdefs.h >>conftest.$ac_ext |
2456 |
|
va_end (v); |
2457 |
|
return s; |
2458 |
|
} |
2459 |
+ |
|
2460 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2461 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
2462 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
2463 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
2464 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2465 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
2466 |
+ |
that's true only with -std1. */ |
2467 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2468 |
+ |
|
2469 |
|
int test (int i, double x); |
2470 |
|
struct s1 {int (*f) (int a);}; |
2471 |
|
struct s2 {int (*f) (double a);}; |
2492 |
|
CC="$ac_save_CC $ac_arg" |
2493 |
|
rm -f conftest.$ac_objext |
2494 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2495 |
< |
(eval $ac_compile) 2>&5 |
2495 |
> |
(eval $ac_compile) 2>conftest.er1 |
2496 |
|
ac_status=$? |
2497 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2498 |
+ |
rm -f conftest.er1 |
2499 |
+ |
cat conftest.err >&5 |
2500 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2501 |
|
(exit $ac_status); } && |
2502 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2502 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2503 |
> |
|| test ! -s conftest.err' |
2504 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2505 |
|
(eval $ac_try) 2>&5 |
2506 |
|
ac_status=$? |
2507 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2508 |
+ |
(exit $ac_status); }; } && |
2509 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2510 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2511 |
+ |
(eval $ac_try) 2>&5 |
2512 |
+ |
ac_status=$? |
2513 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2514 |
|
(exit $ac_status); }; }; then |
2515 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2516 |
|
break |
2519 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2520 |
|
|
2521 |
|
fi |
2522 |
< |
rm -f conftest.$ac_objext |
2522 |
> |
rm -f conftest.err conftest.$ac_objext |
2523 |
|
done |
2524 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2525 |
|
CC=$ac_save_CC |
2547 |
|
_ACEOF |
2548 |
|
rm -f conftest.$ac_objext |
2549 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2550 |
< |
(eval $ac_compile) 2>&5 |
2550 |
> |
(eval $ac_compile) 2>conftest.er1 |
2551 |
|
ac_status=$? |
2552 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2553 |
+ |
rm -f conftest.er1 |
2554 |
+ |
cat conftest.err >&5 |
2555 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2556 |
|
(exit $ac_status); } && |
2557 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2557 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2558 |
> |
|| test ! -s conftest.err' |
2559 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2560 |
|
(eval $ac_try) 2>&5 |
2561 |
|
ac_status=$? |
2562 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2563 |
+ |
(exit $ac_status); }; } && |
2564 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2565 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2566 |
+ |
(eval $ac_try) 2>&5 |
2567 |
+ |
ac_status=$? |
2568 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2569 |
|
(exit $ac_status); }; }; then |
2570 |
|
for ac_declaration in \ |
2571 |
< |
''\ |
2486 |
< |
'#include <stdlib.h>' \ |
2571 |
> |
'' \ |
2572 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2573 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2574 |
|
'extern "C" void exit (int) throw ();' \ |
2576 |
|
'void exit (int);' |
2577 |
|
do |
2578 |
|
cat >conftest.$ac_ext <<_ACEOF |
2494 |
– |
#line $LINENO "configure" |
2579 |
|
/* confdefs.h. */ |
2580 |
|
_ACEOF |
2581 |
|
cat confdefs.h >>conftest.$ac_ext |
2582 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2583 |
|
/* end confdefs.h. */ |
2500 |
– |
#include <stdlib.h> |
2584 |
|
$ac_declaration |
2585 |
+ |
#include <stdlib.h> |
2586 |
|
int |
2587 |
|
main () |
2588 |
|
{ |
2593 |
|
_ACEOF |
2594 |
|
rm -f conftest.$ac_objext |
2595 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2596 |
< |
(eval $ac_compile) 2>&5 |
2596 |
> |
(eval $ac_compile) 2>conftest.er1 |
2597 |
|
ac_status=$? |
2598 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2599 |
+ |
rm -f conftest.er1 |
2600 |
+ |
cat conftest.err >&5 |
2601 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2602 |
|
(exit $ac_status); } && |
2603 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2603 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2604 |
> |
|| test ! -s conftest.err' |
2605 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2606 |
|
(eval $ac_try) 2>&5 |
2607 |
|
ac_status=$? |
2608 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2609 |
+ |
(exit $ac_status); }; } && |
2610 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2611 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2612 |
+ |
(eval $ac_try) 2>&5 |
2613 |
+ |
ac_status=$? |
2614 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2615 |
|
(exit $ac_status); }; }; then |
2616 |
|
: |
2617 |
|
else |
2620 |
|
|
2621 |
|
continue |
2622 |
|
fi |
2623 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2623 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2624 |
|
cat >conftest.$ac_ext <<_ACEOF |
2531 |
– |
#line $LINENO "configure" |
2625 |
|
/* confdefs.h. */ |
2626 |
|
_ACEOF |
2627 |
|
cat confdefs.h >>conftest.$ac_ext |
2638 |
|
_ACEOF |
2639 |
|
rm -f conftest.$ac_objext |
2640 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2641 |
< |
(eval $ac_compile) 2>&5 |
2641 |
> |
(eval $ac_compile) 2>conftest.er1 |
2642 |
|
ac_status=$? |
2643 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2644 |
+ |
rm -f conftest.er1 |
2645 |
+ |
cat conftest.err >&5 |
2646 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2647 |
|
(exit $ac_status); } && |
2648 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2648 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2649 |
> |
|| test ! -s conftest.err' |
2650 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2651 |
|
(eval $ac_try) 2>&5 |
2652 |
|
ac_status=$? |
2653 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2654 |
+ |
(exit $ac_status); }; } && |
2655 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2656 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2657 |
+ |
(eval $ac_try) 2>&5 |
2658 |
+ |
ac_status=$? |
2659 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2660 |
|
(exit $ac_status); }; }; then |
2661 |
|
break |
2662 |
|
else |
2664 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2665 |
|
|
2666 |
|
fi |
2667 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2667 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2668 |
|
done |
2669 |
|
rm -f conftest* |
2670 |
|
if test -n "$ac_declaration"; then |
2678 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2679 |
|
|
2680 |
|
fi |
2681 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2681 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2682 |
|
ac_ext=c |
2683 |
|
ac_cpp='$CPP $CPPFLAGS' |
2684 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2805 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2806 |
|
else |
2807 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
– |
#line $LINENO "configure" |
2808 |
|
/* confdefs.h. */ |
2809 |
|
_ACEOF |
2810 |
|
cat confdefs.h >>conftest.$ac_ext |
2824 |
|
_ACEOF |
2825 |
|
rm -f conftest.$ac_objext |
2826 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2827 |
< |
(eval $ac_compile) 2>&5 |
2827 |
> |
(eval $ac_compile) 2>conftest.er1 |
2828 |
|
ac_status=$? |
2829 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2830 |
+ |
rm -f conftest.er1 |
2831 |
+ |
cat conftest.err >&5 |
2832 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2833 |
|
(exit $ac_status); } && |
2834 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2834 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2835 |
> |
|| test ! -s conftest.err' |
2836 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2837 |
|
(eval $ac_try) 2>&5 |
2838 |
|
ac_status=$? |
2839 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2840 |
+ |
(exit $ac_status); }; } && |
2841 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2842 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2843 |
+ |
(eval $ac_try) 2>&5 |
2844 |
+ |
ac_status=$? |
2845 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2846 |
|
(exit $ac_status); }; }; then |
2847 |
|
ac_compiler_gnu=yes |
2848 |
|
else |
2851 |
|
|
2852 |
|
ac_compiler_gnu=no |
2853 |
|
fi |
2854 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2854 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2855 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2856 |
|
|
2857 |
|
fi |
2867 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2868 |
|
else |
2869 |
|
cat >conftest.$ac_ext <<_ACEOF |
2758 |
– |
#line $LINENO "configure" |
2870 |
|
/* confdefs.h. */ |
2871 |
|
_ACEOF |
2872 |
|
cat confdefs.h >>conftest.$ac_ext |
2883 |
|
_ACEOF |
2884 |
|
rm -f conftest.$ac_objext |
2885 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2886 |
< |
(eval $ac_compile) 2>&5 |
2886 |
> |
(eval $ac_compile) 2>conftest.er1 |
2887 |
|
ac_status=$? |
2888 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2889 |
+ |
rm -f conftest.er1 |
2890 |
+ |
cat conftest.err >&5 |
2891 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2892 |
|
(exit $ac_status); } && |
2893 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2893 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2894 |
> |
|| test ! -s conftest.err' |
2895 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2896 |
|
(eval $ac_try) 2>&5 |
2897 |
|
ac_status=$? |
2898 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2899 |
+ |
(exit $ac_status); }; } && |
2900 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2901 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2902 |
+ |
(eval $ac_try) 2>&5 |
2903 |
+ |
ac_status=$? |
2904 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2905 |
|
(exit $ac_status); }; }; then |
2906 |
|
ac_cv_prog_cxx_g=yes |
2907 |
|
else |
2910 |
|
|
2911 |
|
ac_cv_prog_cxx_g=no |
2912 |
|
fi |
2913 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2913 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2914 |
|
fi |
2915 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2916 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2930 |
|
fi |
2931 |
|
fi |
2932 |
|
for ac_declaration in \ |
2933 |
< |
''\ |
2813 |
< |
'#include <stdlib.h>' \ |
2933 |
> |
'' \ |
2934 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2935 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2936 |
|
'extern "C" void exit (int) throw ();' \ |
2938 |
|
'void exit (int);' |
2939 |
|
do |
2940 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
– |
#line $LINENO "configure" |
2941 |
|
/* confdefs.h. */ |
2942 |
|
_ACEOF |
2943 |
|
cat confdefs.h >>conftest.$ac_ext |
2944 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2945 |
|
/* end confdefs.h. */ |
2827 |
– |
#include <stdlib.h> |
2946 |
|
$ac_declaration |
2947 |
+ |
#include <stdlib.h> |
2948 |
|
int |
2949 |
|
main () |
2950 |
|
{ |
2955 |
|
_ACEOF |
2956 |
|
rm -f conftest.$ac_objext |
2957 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2958 |
< |
(eval $ac_compile) 2>&5 |
2958 |
> |
(eval $ac_compile) 2>conftest.er1 |
2959 |
|
ac_status=$? |
2960 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2961 |
+ |
rm -f conftest.er1 |
2962 |
+ |
cat conftest.err >&5 |
2963 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2964 |
|
(exit $ac_status); } && |
2965 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2965 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2966 |
> |
|| test ! -s conftest.err' |
2967 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2968 |
> |
(eval $ac_try) 2>&5 |
2969 |
> |
ac_status=$? |
2970 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2971 |
> |
(exit $ac_status); }; } && |
2972 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2973 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2974 |
|
(eval $ac_try) 2>&5 |
2975 |
|
ac_status=$? |
2982 |
|
|
2983 |
|
continue |
2984 |
|
fi |
2985 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2985 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2986 |
|
cat >conftest.$ac_ext <<_ACEOF |
2858 |
– |
#line $LINENO "configure" |
2987 |
|
/* confdefs.h. */ |
2988 |
|
_ACEOF |
2989 |
|
cat confdefs.h >>conftest.$ac_ext |
3000 |
|
_ACEOF |
3001 |
|
rm -f conftest.$ac_objext |
3002 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3003 |
< |
(eval $ac_compile) 2>&5 |
3003 |
> |
(eval $ac_compile) 2>conftest.er1 |
3004 |
|
ac_status=$? |
3005 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3006 |
+ |
rm -f conftest.er1 |
3007 |
+ |
cat conftest.err >&5 |
3008 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3009 |
|
(exit $ac_status); } && |
3010 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3010 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3011 |
> |
|| test ! -s conftest.err' |
3012 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3013 |
|
(eval $ac_try) 2>&5 |
3014 |
|
ac_status=$? |
3015 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3016 |
+ |
(exit $ac_status); }; } && |
3017 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3018 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3019 |
+ |
(eval $ac_try) 2>&5 |
3020 |
+ |
ac_status=$? |
3021 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3022 |
|
(exit $ac_status); }; }; then |
3023 |
|
break |
3024 |
|
else |
3026 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3027 |
|
|
3028 |
|
fi |
3029 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3029 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3030 |
|
done |
3031 |
|
rm -f conftest* |
3032 |
|
if test -n "$ac_declaration"; then |
3211 |
|
_ACEOF |
3212 |
|
rm -f conftest.$ac_objext |
3213 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3214 |
< |
(eval $ac_compile) 2>&5 |
3214 |
> |
(eval $ac_compile) 2>conftest.er1 |
3215 |
|
ac_status=$? |
3216 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3217 |
+ |
rm -f conftest.er1 |
3218 |
+ |
cat conftest.err >&5 |
3219 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3220 |
|
(exit $ac_status); } && |
3221 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3221 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3222 |
> |
|| test ! -s conftest.err' |
3223 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3224 |
> |
(eval $ac_try) 2>&5 |
3225 |
> |
ac_status=$? |
3226 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3227 |
> |
(exit $ac_status); }; } && |
3228 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3229 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3230 |
|
(eval $ac_try) 2>&5 |
3231 |
|
ac_status=$? |
3238 |
|
|
3239 |
|
ac_compiler_gnu=no |
3240 |
|
fi |
3241 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3241 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3242 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3243 |
|
|
3244 |
|
fi |
3312 |
|
_ACEOF |
3313 |
|
rm -f conftest.$ac_objext |
3314 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3315 |
< |
(eval $ac_compile) 2>&5 |
3315 |
> |
(eval $ac_compile) 2>conftest.er1 |
3316 |
|
ac_status=$? |
3317 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3318 |
+ |
rm -f conftest.er1 |
3319 |
+ |
cat conftest.err >&5 |
3320 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3321 |
|
(exit $ac_status); } && |
3322 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3322 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3323 |
> |
|| test ! -s conftest.err' |
3324 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3325 |
|
(eval $ac_try) 2>&5 |
3326 |
|
ac_status=$? |
3327 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3328 |
+ |
(exit $ac_status); }; } && |
3329 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3330 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3331 |
+ |
(eval $ac_try) 2>&5 |
3332 |
+ |
ac_status=$? |
3333 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3334 |
|
(exit $ac_status); }; }; then |
3335 |
|
prepflagworks=1 |
3336 |
|
else |
3339 |
|
|
3340 |
|
prepflagworks=0 |
3341 |
|
fi |
3342 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3342 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3343 |
|
|
3344 |
|
F90FLAGS=$ac_save_F90FLAGS |
3345 |
|
ac_ext=$ac_save_ext |
3427 |
|
_ACEOF |
3428 |
|
rm -f conftest.$ac_objext |
3429 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3430 |
< |
(eval $ac_compile) 2>&5 |
3430 |
> |
(eval $ac_compile) 2>conftest.er1 |
3431 |
|
ac_status=$? |
3432 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3433 |
+ |
rm -f conftest.er1 |
3434 |
+ |
cat conftest.err >&5 |
3435 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3436 |
|
(exit $ac_status); } && |
3437 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3437 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3438 |
> |
|| test ! -s conftest.err' |
3439 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3440 |
|
(eval $ac_try) 2>&5 |
3441 |
|
ac_status=$? |
3442 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3443 |
+ |
(exit $ac_status); }; } && |
3444 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3445 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3446 |
+ |
(eval $ac_try) 2>&5 |
3447 |
+ |
ac_status=$? |
3448 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3449 |
|
(exit $ac_status); }; }; then |
3450 |
|
prepdefflagworks=1 |
3451 |
|
else |
3454 |
|
|
3455 |
|
prepdefflagworks=0 |
3456 |
|
fi |
3457 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3457 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3458 |
|
|
3459 |
|
F90FLAGS=$ac_save_F90FLAGS |
3460 |
|
ac_ext=$ac_save_ext |
3506 |
|
_ACEOF |
3507 |
|
rm -f conftest.$ac_objext |
3508 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3509 |
< |
(eval $ac_compile) 2>&5 |
3509 |
> |
(eval $ac_compile) 2>conftest.er1 |
3510 |
|
ac_status=$? |
3511 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3512 |
+ |
rm -f conftest.er1 |
3513 |
+ |
cat conftest.err >&5 |
3514 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3515 |
|
(exit $ac_status); } && |
3516 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3516 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3517 |
> |
|| test ! -s conftest.err' |
3518 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3519 |
|
(eval $ac_try) 2>&5 |
3520 |
|
ac_status=$? |
3521 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3522 |
+ |
(exit $ac_status); }; } && |
3523 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3524 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3525 |
+ |
(eval $ac_try) 2>&5 |
3526 |
+ |
ac_status=$? |
3527 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3528 |
|
(exit $ac_status); }; }; then |
3529 |
|
ac_cv_prog_f90_v= |
3530 |
|
# Try some options frequently used verbose output |
3550 |
|
ac_save_F90FLAGS=$F90FLAGS |
3551 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3552 |
|
|
3553 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
3553 |
> |
(eval echo $as_me:3553: \"$ac_link\") >&5 |
3554 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3555 |
|
echo "$ac_f90_v_output" >&5 |
3556 |
|
F90FLAGS=$ac_save_F90FLAGS |
3592 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3593 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3594 |
|
fi |
3595 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3595 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3596 |
|
|
3597 |
|
fi |
3598 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3627 |
|
ac_save_F90FLAGS=$F90FLAGS |
3628 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3629 |
|
|
3630 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
3630 |
> |
(eval echo $as_me:3630: \"$ac_link\") >&5 |
3631 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3632 |
|
echo "$ac_f90_v_output" >&5 |
3633 |
|
F90FLAGS=$ac_save_F90FLAGS |
3809 |
|
_ACEOF |
3810 |
|
rm -f conftest.$ac_objext |
3811 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3812 |
< |
(eval $ac_compile) 2>&5 |
3812 |
> |
(eval $ac_compile) 2>conftest.er1 |
3813 |
|
ac_status=$? |
3814 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3815 |
+ |
rm -f conftest.er1 |
3816 |
+ |
cat conftest.err >&5 |
3817 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3818 |
|
(exit $ac_status); } && |
3819 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3819 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3820 |
> |
|| test ! -s conftest.err' |
3821 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3822 |
|
(eval $ac_try) 2>&5 |
3823 |
|
ac_status=$? |
3824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3825 |
+ |
(exit $ac_status); }; } && |
3826 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3827 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3828 |
+ |
(eval $ac_try) 2>&5 |
3829 |
+ |
ac_status=$? |
3830 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3831 |
|
(exit $ac_status); }; }; then |
3832 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
3833 |
|
|
3845 |
|
for ac_underscore in "" "_"; do |
3846 |
|
ac_func="$ac_foobar$ac_underscore" |
3847 |
|
cat >conftest.$ac_ext <<_ACEOF |
3660 |
– |
#line $LINENO "configure" |
3848 |
|
/* confdefs.h. */ |
3849 |
|
_ACEOF |
3850 |
|
cat confdefs.h >>conftest.$ac_ext |
3868 |
|
_ACEOF |
3869 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3870 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3871 |
< |
(eval $ac_link) 2>&5 |
3871 |
> |
(eval $ac_link) 2>conftest.er1 |
3872 |
|
ac_status=$? |
3873 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3874 |
+ |
rm -f conftest.er1 |
3875 |
+ |
cat conftest.err >&5 |
3876 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3877 |
|
(exit $ac_status); } && |
3878 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3878 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3879 |
> |
|| test ! -s conftest.err' |
3880 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3881 |
|
(eval $ac_try) 2>&5 |
3882 |
|
ac_status=$? |
3883 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3884 |
+ |
(exit $ac_status); }; } && |
3885 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
3886 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3887 |
+ |
(eval $ac_try) 2>&5 |
3888 |
+ |
ac_status=$? |
3889 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3890 |
|
(exit $ac_status); }; }; then |
3891 |
|
ac_success=yes; break 2 |
3892 |
|
else |
3894 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3895 |
|
|
3896 |
|
fi |
3897 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3897 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3898 |
> |
conftest$ac_exeext conftest.$ac_ext |
3899 |
|
done |
3900 |
|
done |
3901 |
|
|
3916 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3917 |
|
|
3918 |
|
cat >conftest.$ac_ext <<_ACEOF |
3721 |
– |
#line $LINENO "configure" |
3919 |
|
/* confdefs.h. */ |
3920 |
|
_ACEOF |
3921 |
|
cat confdefs.h >>conftest.$ac_ext |
3939 |
|
_ACEOF |
3940 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3941 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3942 |
< |
(eval $ac_link) 2>&5 |
3942 |
> |
(eval $ac_link) 2>conftest.er1 |
3943 |
|
ac_status=$? |
3944 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3945 |
+ |
rm -f conftest.er1 |
3946 |
+ |
cat conftest.err >&5 |
3947 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3948 |
|
(exit $ac_status); } && |
3949 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3949 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3950 |
> |
|| test ! -s conftest.err' |
3951 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3952 |
|
(eval $ac_try) 2>&5 |
3953 |
|
ac_status=$? |
3954 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3955 |
+ |
(exit $ac_status); }; } && |
3956 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
3957 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3958 |
+ |
(eval $ac_try) 2>&5 |
3959 |
+ |
ac_status=$? |
3960 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3961 |
|
(exit $ac_status); }; }; then |
3962 |
|
ac_success_extra=yes; break |
3963 |
|
else |
3965 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3966 |
|
|
3967 |
|
fi |
3968 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3968 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3969 |
> |
conftest$ac_exeext conftest.$ac_ext |
3970 |
|
done |
3971 |
|
|
3972 |
|
if test "$ac_success_extra" = "yes"; then |
4001 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4002 |
|
|
4003 |
|
fi |
4004 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4004 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4005 |
|
ac_ext=f90 |
4006 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4007 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4244 |
|
_ACEOF |
4245 |
|
rm -f conftest.$ac_objext |
4246 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4247 |
< |
(eval $ac_compile) 2>&5 |
4247 |
> |
(eval $ac_compile) 2>conftest.er1 |
4248 |
|
ac_status=$? |
4249 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4250 |
+ |
rm -f conftest.er1 |
4251 |
+ |
cat conftest.err >&5 |
4252 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4253 |
|
(exit $ac_status); } && |
4254 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4254 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
4255 |
> |
|| test ! -s conftest.err' |
4256 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4257 |
|
(eval $ac_try) 2>&5 |
4258 |
|
ac_status=$? |
4259 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4260 |
+ |
(exit $ac_status); }; } && |
4261 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4262 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4263 |
+ |
(eval $ac_try) 2>&5 |
4264 |
+ |
ac_status=$? |
4265 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4266 |
|
(exit $ac_status); }; }; then |
4267 |
|
ac_cv_f90_module_names= |
4268 |
|
ac_file_list=* |
4363 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4364 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4365 |
|
fi |
4366 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4366 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4367 |
|
cd .. |
4368 |
|
# cleanup |
4369 |
|
rm -rf conftest |
4493 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4494 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4495 |
|
cat >conftest.$ac_ext <<_ACEOF |
4278 |
– |
#line $LINENO "configure" |
4496 |
|
/* confdefs.h. */ |
4497 |
|
_ACEOF |
4498 |
|
cat confdefs.h >>conftest.$ac_ext |
4503 |
|
#else |
4504 |
|
# include <assert.h> |
4505 |
|
#endif |
4506 |
< |
Syntax error |
4506 |
> |
Syntax error |
4507 |
|
_ACEOF |
4508 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4509 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4515 |
|
(exit $ac_status); } >/dev/null; then |
4516 |
|
if test -s conftest.err; then |
4517 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4518 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4519 |
|
else |
4520 |
|
ac_cpp_err= |
4521 |
|
fi |
4536 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4537 |
|
# can be detected and how. |
4538 |
|
cat >conftest.$ac_ext <<_ACEOF |
4321 |
– |
#line $LINENO "configure" |
4539 |
|
/* confdefs.h. */ |
4540 |
|
_ACEOF |
4541 |
|
cat confdefs.h >>conftest.$ac_ext |
4553 |
|
(exit $ac_status); } >/dev/null; then |
4554 |
|
if test -s conftest.err; then |
4555 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4556 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4557 |
|
else |
4558 |
|
ac_cpp_err= |
4559 |
|
fi |
4600 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4601 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4602 |
|
cat >conftest.$ac_ext <<_ACEOF |
4385 |
– |
#line $LINENO "configure" |
4603 |
|
/* confdefs.h. */ |
4604 |
|
_ACEOF |
4605 |
|
cat confdefs.h >>conftest.$ac_ext |
4610 |
|
#else |
4611 |
|
# include <assert.h> |
4612 |
|
#endif |
4613 |
< |
Syntax error |
4613 |
> |
Syntax error |
4614 |
|
_ACEOF |
4615 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4616 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4622 |
|
(exit $ac_status); } >/dev/null; then |
4623 |
|
if test -s conftest.err; then |
4624 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4625 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4626 |
|
else |
4627 |
|
ac_cpp_err= |
4628 |
|
fi |
4643 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4644 |
|
# can be detected and how. |
4645 |
|
cat >conftest.$ac_ext <<_ACEOF |
4428 |
– |
#line $LINENO "configure" |
4646 |
|
/* confdefs.h. */ |
4647 |
|
_ACEOF |
4648 |
|
cat confdefs.h >>conftest.$ac_ext |
4660 |
|
(exit $ac_status); } >/dev/null; then |
4661 |
|
if test -s conftest.err; then |
4662 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4663 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4664 |
|
else |
4665 |
|
ac_cpp_err= |
4666 |
|
fi |
4721 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4722 |
|
else |
4723 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
– |
#line $LINENO "configure" |
4724 |
|
/* confdefs.h. */ |
4725 |
|
_ACEOF |
4726 |
|
cat confdefs.h >>conftest.$ac_ext |
4741 |
|
_ACEOF |
4742 |
|
rm -f conftest.$ac_objext |
4743 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4744 |
< |
(eval $ac_compile) 2>&5 |
4744 |
> |
(eval $ac_compile) 2>conftest.er1 |
4745 |
|
ac_status=$? |
4746 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4747 |
+ |
rm -f conftest.er1 |
4748 |
+ |
cat conftest.err >&5 |
4749 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4750 |
|
(exit $ac_status); } && |
4751 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4751 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4752 |
> |
|| test ! -s conftest.err' |
4753 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4754 |
|
(eval $ac_try) 2>&5 |
4755 |
|
ac_status=$? |
4756 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4757 |
+ |
(exit $ac_status); }; } && |
4758 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4759 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4760 |
+ |
(eval $ac_try) 2>&5 |
4761 |
+ |
ac_status=$? |
4762 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4763 |
|
(exit $ac_status); }; }; then |
4764 |
|
ac_cv_header_stdc=yes |
4765 |
|
else |
4768 |
|
|
4769 |
|
ac_cv_header_stdc=no |
4770 |
|
fi |
4771 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4771 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4772 |
|
|
4773 |
|
if test $ac_cv_header_stdc = yes; then |
4774 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4775 |
|
cat >conftest.$ac_ext <<_ACEOF |
4549 |
– |
#line $LINENO "configure" |
4776 |
|
/* confdefs.h. */ |
4777 |
|
_ACEOF |
4778 |
|
cat confdefs.h >>conftest.$ac_ext |
4794 |
|
if test $ac_cv_header_stdc = yes; then |
4795 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4796 |
|
cat >conftest.$ac_ext <<_ACEOF |
4571 |
– |
#line $LINENO "configure" |
4797 |
|
/* confdefs.h. */ |
4798 |
|
_ACEOF |
4799 |
|
cat confdefs.h >>conftest.$ac_ext |
4818 |
|
: |
4819 |
|
else |
4820 |
|
cat >conftest.$ac_ext <<_ACEOF |
4596 |
– |
#line $LINENO "configure" |
4821 |
|
/* confdefs.h. */ |
4822 |
|
_ACEOF |
4823 |
|
cat confdefs.h >>conftest.$ac_ext |
4829 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4830 |
|
#else |
4831 |
|
# define ISLOWER(c) \ |
4832 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4833 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4834 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4832 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4833 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4834 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4835 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4836 |
|
#endif |
4837 |
|
|
4842 |
|
int i; |
4843 |
|
for (i = 0; i < 256; i++) |
4844 |
|
if (XOR (islower (i), ISLOWER (i)) |
4845 |
< |
|| toupper (i) != TOUPPER (i)) |
4845 |
> |
|| toupper (i) != TOUPPER (i)) |
4846 |
|
exit(2); |
4847 |
|
exit (0); |
4848 |
|
} |
4867 |
|
( exit $ac_status ) |
4868 |
|
ac_cv_header_stdc=no |
4869 |
|
fi |
4870 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4870 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4871 |
|
fi |
4872 |
|
fi |
4873 |
|
fi |
4892 |
|
|
4893 |
|
|
4894 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4895 |
< |
inttypes.h stdint.h unistd.h |
4895 |
> |
inttypes.h stdint.h unistd.h |
4896 |
|
do |
4897 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4898 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4901 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4902 |
|
else |
4903 |
|
cat >conftest.$ac_ext <<_ACEOF |
4680 |
– |
#line $LINENO "configure" |
4904 |
|
/* confdefs.h. */ |
4905 |
|
_ACEOF |
4906 |
|
cat confdefs.h >>conftest.$ac_ext |
4912 |
|
_ACEOF |
4913 |
|
rm -f conftest.$ac_objext |
4914 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4915 |
< |
(eval $ac_compile) 2>&5 |
4915 |
> |
(eval $ac_compile) 2>conftest.er1 |
4916 |
|
ac_status=$? |
4917 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4918 |
+ |
rm -f conftest.er1 |
4919 |
+ |
cat conftest.err >&5 |
4920 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4921 |
|
(exit $ac_status); } && |
4922 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4922 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4923 |
> |
|| test ! -s conftest.err' |
4924 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4925 |
> |
(eval $ac_try) 2>&5 |
4926 |
> |
ac_status=$? |
4927 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4928 |
> |
(exit $ac_status); }; } && |
4929 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4930 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4931 |
|
(eval $ac_try) 2>&5 |
4932 |
|
ac_status=$? |
4939 |
|
|
4940 |
|
eval "$as_ac_Header=no" |
4941 |
|
fi |
4942 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4942 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4943 |
|
fi |
4944 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4945 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4978 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4979 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4980 |
|
cat >conftest.$ac_ext <<_ACEOF |
4748 |
– |
#line $LINENO "configure" |
4981 |
|
/* confdefs.h. */ |
4982 |
|
_ACEOF |
4983 |
|
cat confdefs.h >>conftest.$ac_ext |
4988 |
|
_ACEOF |
4989 |
|
rm -f conftest.$ac_objext |
4990 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4991 |
< |
(eval $ac_compile) 2>&5 |
4991 |
> |
(eval $ac_compile) 2>conftest.er1 |
4992 |
|
ac_status=$? |
4993 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4994 |
+ |
rm -f conftest.er1 |
4995 |
+ |
cat conftest.err >&5 |
4996 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4997 |
|
(exit $ac_status); } && |
4998 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4998 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4999 |
> |
|| test ! -s conftest.err' |
5000 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5001 |
|
(eval $ac_try) 2>&5 |
5002 |
|
ac_status=$? |
5003 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5004 |
+ |
(exit $ac_status); }; } && |
5005 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5006 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5007 |
+ |
(eval $ac_try) 2>&5 |
5008 |
+ |
ac_status=$? |
5009 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5010 |
|
(exit $ac_status); }; }; then |
5011 |
|
ac_header_compiler=yes |
5012 |
|
else |
5015 |
|
|
5016 |
|
ac_header_compiler=no |
5017 |
|
fi |
5018 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5018 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5019 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5020 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5021 |
|
|
5023 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5024 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5025 |
|
cat >conftest.$ac_ext <<_ACEOF |
4784 |
– |
#line $LINENO "configure" |
5026 |
|
/* confdefs.h. */ |
5027 |
|
_ACEOF |
5028 |
|
cat confdefs.h >>conftest.$ac_ext |
5040 |
|
(exit $ac_status); } >/dev/null; then |
5041 |
|
if test -s conftest.err; then |
5042 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5043 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5044 |
|
else |
5045 |
|
ac_cpp_err= |
5046 |
|
fi |
5060 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5061 |
|
|
5062 |
|
# So? What about this header? |
5063 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5064 |
< |
yes:no ) |
5063 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5064 |
> |
yes:no: ) |
5065 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5066 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5067 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5068 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5069 |
< |
( |
4828 |
< |
cat <<\_ASBOX |
4829 |
< |
## ------------------------------------ ## |
4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
< |
## ------------------------------------ ## |
4832 |
< |
_ASBOX |
4833 |
< |
) | |
4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5067 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5068 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5069 |
> |
ac_header_preproc=yes |
5070 |
|
;; |
5071 |
< |
no:yes ) |
5071 |
> |
no:yes:* ) |
5072 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5073 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5074 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5075 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5074 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5075 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5076 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5077 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5078 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5079 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5080 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5081 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5082 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5083 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5084 |
|
( |
5085 |
|
cat <<\_ASBOX |
5086 |
< |
## ------------------------------------ ## |
5087 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5088 |
< |
## ------------------------------------ ## |
5086 |
> |
## ------------------------------ ## |
5087 |
> |
## Report this to gezelter@nd.edu ## |
5088 |
> |
## ------------------------------ ## |
5089 |
|
_ASBOX |
5090 |
|
) | |
5091 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5096 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5097 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5098 |
|
else |
5099 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5099 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5100 |
|
fi |
5101 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5102 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5125 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5126 |
|
else |
5127 |
|
cat >conftest.$ac_ext <<_ACEOF |
4887 |
– |
#line $LINENO "configure" |
5128 |
|
/* confdefs.h. */ |
5129 |
|
_ACEOF |
5130 |
|
cat confdefs.h >>conftest.$ac_ext |
5131 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5132 |
|
/* end confdefs.h. */ |
5133 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5134 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5135 |
+ |
#define $ac_func innocuous_$ac_func |
5136 |
+ |
|
5137 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5138 |
|
which can conflict with char $ac_func (); below. |
5139 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5140 |
|
<limits.h> exists even on freestanding compilers. */ |
5141 |
+ |
|
5142 |
|
#ifdef __STDC__ |
5143 |
|
# include <limits.h> |
5144 |
|
#else |
5145 |
|
# include <assert.h> |
5146 |
|
#endif |
5147 |
+ |
|
5148 |
+ |
#undef $ac_func |
5149 |
+ |
|
5150 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5151 |
|
#ifdef __cplusplus |
5152 |
|
extern "C" |
5177 |
|
_ACEOF |
5178 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5179 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5180 |
< |
(eval $ac_link) 2>&5 |
5180 |
> |
(eval $ac_link) 2>conftest.er1 |
5181 |
|
ac_status=$? |
5182 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5183 |
+ |
rm -f conftest.er1 |
5184 |
+ |
cat conftest.err >&5 |
5185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5186 |
|
(exit $ac_status); } && |
5187 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5187 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5188 |
> |
|| test ! -s conftest.err' |
5189 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5190 |
|
(eval $ac_try) 2>&5 |
5191 |
|
ac_status=$? |
5192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5193 |
+ |
(exit $ac_status); }; } && |
5194 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5195 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5196 |
+ |
(eval $ac_try) 2>&5 |
5197 |
+ |
ac_status=$? |
5198 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5199 |
|
(exit $ac_status); }; }; then |
5200 |
|
eval "$as_ac_var=yes" |
5201 |
|
else |
5204 |
|
|
5205 |
|
eval "$as_ac_var=no" |
5206 |
|
fi |
5207 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5207 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5208 |
> |
conftest$ac_exeext conftest.$ac_ext |
5209 |
|
fi |
5210 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5211 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5222 |
|
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5223 |
|
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5224 |
|
cat >conftest.$ac_ext <<_ACEOF |
4966 |
– |
#line $LINENO "configure" |
5225 |
|
/* confdefs.h. */ |
5226 |
|
_ACEOF |
5227 |
|
cat confdefs.h >>conftest.$ac_ext |
5238 |
|
_ACEOF |
5239 |
|
rm -f conftest.$ac_objext |
5240 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5241 |
< |
(eval $ac_compile) 2>&5 |
5241 |
> |
(eval $ac_compile) 2>conftest.er1 |
5242 |
|
ac_status=$? |
5243 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5244 |
+ |
rm -f conftest.er1 |
5245 |
+ |
cat conftest.err >&5 |
5246 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 |
|
(exit $ac_status); } && |
5248 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5248 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5249 |
> |
|| test ! -s conftest.err' |
5250 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5251 |
|
(eval $ac_try) 2>&5 |
5252 |
|
ac_status=$? |
5253 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5254 |
+ |
(exit $ac_status); }; } && |
5255 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5256 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5257 |
+ |
(eval $ac_try) 2>&5 |
5258 |
+ |
ac_status=$? |
5259 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5260 |
|
(exit $ac_status); }; }; then |
5261 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5262 |
|
echo "${ECHO_T}yes" >&6 |
5272 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5273 |
|
echo "${ECHO_T}no" >&6 |
5274 |
|
fi |
5275 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5275 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5276 |
|
|
5277 |
|
# clean out junk possibly left behind by a previous configuration |
5278 |
|
rm -f src/getopt.h |
5294 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5295 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5296 |
|
cat >conftest.$ac_ext <<_ACEOF |
5029 |
– |
#line $LINENO "configure" |
5297 |
|
/* confdefs.h. */ |
5298 |
|
_ACEOF |
5299 |
|
cat confdefs.h >>conftest.$ac_ext |
5304 |
|
_ACEOF |
5305 |
|
rm -f conftest.$ac_objext |
5306 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5307 |
< |
(eval $ac_compile) 2>&5 |
5307 |
> |
(eval $ac_compile) 2>conftest.er1 |
5308 |
|
ac_status=$? |
5309 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5310 |
+ |
rm -f conftest.er1 |
5311 |
+ |
cat conftest.err >&5 |
5312 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5313 |
|
(exit $ac_status); } && |
5314 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5314 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5315 |
> |
|| test ! -s conftest.err' |
5316 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5317 |
|
(eval $ac_try) 2>&5 |
5318 |
|
ac_status=$? |
5319 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5320 |
+ |
(exit $ac_status); }; } && |
5321 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5322 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5323 |
+ |
(eval $ac_try) 2>&5 |
5324 |
+ |
ac_status=$? |
5325 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5326 |
|
(exit $ac_status); }; }; then |
5327 |
|
ac_header_compiler=yes |
5328 |
|
else |
5331 |
|
|
5332 |
|
ac_header_compiler=no |
5333 |
|
fi |
5334 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5334 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5335 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5336 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5337 |
|
|
5339 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5340 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5341 |
|
cat >conftest.$ac_ext <<_ACEOF |
5065 |
– |
#line $LINENO "configure" |
5342 |
|
/* confdefs.h. */ |
5343 |
|
_ACEOF |
5344 |
|
cat confdefs.h >>conftest.$ac_ext |
5356 |
|
(exit $ac_status); } >/dev/null; then |
5357 |
|
if test -s conftest.err; then |
5358 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5359 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5360 |
|
else |
5361 |
|
ac_cpp_err= |
5362 |
|
fi |
5376 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5377 |
|
|
5378 |
|
# So? What about this header? |
5379 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5380 |
< |
yes:no ) |
5379 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5380 |
> |
yes:no: ) |
5381 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5382 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5383 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5384 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5385 |
< |
( |
5109 |
< |
cat <<\_ASBOX |
5110 |
< |
## ------------------------------------ ## |
5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5112 |
< |
## ------------------------------------ ## |
5113 |
< |
_ASBOX |
5114 |
< |
) | |
5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5383 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5384 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5385 |
> |
ac_header_preproc=yes |
5386 |
|
;; |
5387 |
< |
no:yes ) |
5387 |
> |
no:yes:* ) |
5388 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5389 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5390 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5391 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5390 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5391 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5392 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5393 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5394 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5395 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5396 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5397 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5398 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5399 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5400 |
|
( |
5401 |
|
cat <<\_ASBOX |
5402 |
< |
## ------------------------------------ ## |
5403 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5404 |
< |
## ------------------------------------ ## |
5402 |
> |
## ------------------------------ ## |
5403 |
> |
## Report this to gezelter@nd.edu ## |
5404 |
> |
## ------------------------------ ## |
5405 |
|
_ASBOX |
5406 |
|
) | |
5407 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5412 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5413 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5414 |
|
else |
5415 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5415 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5416 |
|
fi |
5417 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5418 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5437 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5438 |
|
else |
5439 |
|
cat >conftest.$ac_ext <<_ACEOF |
5164 |
– |
#line $LINENO "configure" |
5440 |
|
/* confdefs.h. */ |
5441 |
|
_ACEOF |
5442 |
|
cat confdefs.h >>conftest.$ac_ext |
5443 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5444 |
|
/* end confdefs.h. */ |
5445 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5446 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5447 |
+ |
#define $ac_func innocuous_$ac_func |
5448 |
+ |
|
5449 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5450 |
|
which can conflict with char $ac_func (); below. |
5451 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5452 |
|
<limits.h> exists even on freestanding compilers. */ |
5453 |
+ |
|
5454 |
|
#ifdef __STDC__ |
5455 |
|
# include <limits.h> |
5456 |
|
#else |
5457 |
|
# include <assert.h> |
5458 |
|
#endif |
5459 |
+ |
|
5460 |
+ |
#undef $ac_func |
5461 |
+ |
|
5462 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5463 |
|
#ifdef __cplusplus |
5464 |
|
extern "C" |
5489 |
|
_ACEOF |
5490 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5491 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5492 |
< |
(eval $ac_link) 2>&5 |
5492 |
> |
(eval $ac_link) 2>conftest.er1 |
5493 |
|
ac_status=$? |
5494 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5495 |
+ |
rm -f conftest.er1 |
5496 |
+ |
cat conftest.err >&5 |
5497 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5498 |
|
(exit $ac_status); } && |
5499 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5499 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5500 |
> |
|| test ! -s conftest.err' |
5501 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5502 |
|
(eval $ac_try) 2>&5 |
5503 |
|
ac_status=$? |
5504 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 |
+ |
(exit $ac_status); }; } && |
5506 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5507 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5508 |
+ |
(eval $ac_try) 2>&5 |
5509 |
+ |
ac_status=$? |
5510 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5511 |
|
(exit $ac_status); }; }; then |
5512 |
|
eval "$as_ac_var=yes" |
5513 |
|
else |
5516 |
|
|
5517 |
|
eval "$as_ac_var=no" |
5518 |
|
fi |
5519 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5519 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5520 |
> |
conftest$ac_exeext conftest.$ac_ext |
5521 |
|
fi |
5522 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5523 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5536 |
|
ac_check_lib_save_LIBS=$LIBS |
5537 |
|
LIBS="-lgnugetopt $LIBS" |
5538 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
– |
#line $LINENO "configure" |
5539 |
|
/* confdefs.h. */ |
5540 |
|
_ACEOF |
5541 |
|
cat confdefs.h >>conftest.$ac_ext |
5559 |
|
_ACEOF |
5560 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5561 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5562 |
< |
(eval $ac_link) 2>&5 |
5562 |
> |
(eval $ac_link) 2>conftest.er1 |
5563 |
|
ac_status=$? |
5564 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5565 |
+ |
rm -f conftest.er1 |
5566 |
+ |
cat conftest.err >&5 |
5567 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5568 |
|
(exit $ac_status); } && |
5569 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5569 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5570 |
> |
|| test ! -s conftest.err' |
5571 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5572 |
|
(eval $ac_try) 2>&5 |
5573 |
|
ac_status=$? |
5574 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5575 |
+ |
(exit $ac_status); }; } && |
5576 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5577 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5578 |
+ |
(eval $ac_try) 2>&5 |
5579 |
+ |
ac_status=$? |
5580 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5581 |
|
(exit $ac_status); }; }; then |
5582 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
5583 |
|
else |
5586 |
|
|
5587 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
5588 |
|
fi |
5589 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5589 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5590 |
> |
conftest$ac_exeext conftest.$ac_ext |
5591 |
|
LIBS=$ac_check_lib_save_LIBS |
5592 |
|
fi |
5593 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5599 |
|
|
5600 |
|
else |
5601 |
|
# use the GNU replacement |
5602 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5603 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5602 |
> |
case $LIBOBJS in |
5603 |
> |
"getopt.$ac_objext" | \ |
5604 |
> |
*" getopt.$ac_objext" | \ |
5605 |
> |
"getopt.$ac_objext "* | \ |
5606 |
> |
*" getopt.$ac_objext "* ) ;; |
5607 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5608 |
> |
esac |
5609 |
> |
|
5610 |
> |
case $LIBOBJS in |
5611 |
> |
"getopt1.$ac_objext" | \ |
5612 |
> |
*" getopt1.$ac_objext" | \ |
5613 |
> |
"getopt1.$ac_objext "* | \ |
5614 |
> |
*" getopt1.$ac_objext "* ) ;; |
5615 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5616 |
> |
esac |
5617 |
> |
|
5618 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5619 |
|
|
5620 |
|
fi |
6663 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6664 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6665 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6666 |
+ |
# OS/2's system install, which has a completely different semantic |
6667 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6668 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6669 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6680 |
|
case $as_dir/ in |
6681 |
|
./ | .// | /cC/* | \ |
6682 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6683 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6684 |
|
/usr/ucb/* ) ;; |
6685 |
|
*) |
6686 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
6688 |
|
# by default. |
6689 |
|
for ac_prog in ginstall scoinst install; do |
6690 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6691 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6692 |
< |
if test $ac_prog = install && |
6693 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6694 |
< |
# AIX install. It has an incompatible calling convention. |
6695 |
< |
: |
6696 |
< |
elif test $ac_prog = install && |
6697 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6698 |
< |
# program-specific install script used by HP pwplus--don't use. |
6699 |
< |
: |
6700 |
< |
else |
6701 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6702 |
< |
break 3 |
6703 |
< |
fi |
6704 |
< |
fi |
6691 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6692 |
> |
if test $ac_prog = install && |
6693 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6694 |
> |
# AIX install. It has an incompatible calling convention. |
6695 |
> |
: |
6696 |
> |
elif test $ac_prog = install && |
6697 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6698 |
> |
# program-specific install script used by HP pwplus--don't use. |
6699 |
> |
: |
6700 |
> |
else |
6701 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6702 |
> |
break 3 |
6703 |
> |
fi |
6704 |
> |
fi |
6705 |
|
done |
6706 |
|
done |
6707 |
|
;; |
6744 |
|
|
6745 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6746 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6747 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6747 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6748 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6749 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6750 |
|
else |
6943 |
|
ac_check_lib_save_LIBS=$LIBS |
6944 |
|
LIBS="-lfl $LIBS" |
6945 |
|
cat >conftest.$ac_ext <<_ACEOF |
6626 |
– |
#line $LINENO "configure" |
6946 |
|
/* confdefs.h. */ |
6947 |
|
_ACEOF |
6948 |
|
cat confdefs.h >>conftest.$ac_ext |
6966 |
|
_ACEOF |
6967 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6968 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6969 |
< |
(eval $ac_link) 2>&5 |
6969 |
> |
(eval $ac_link) 2>conftest.er1 |
6970 |
|
ac_status=$? |
6971 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6972 |
+ |
rm -f conftest.er1 |
6973 |
+ |
cat conftest.err >&5 |
6974 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6975 |
|
(exit $ac_status); } && |
6976 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6976 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6977 |
> |
|| test ! -s conftest.err' |
6978 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6979 |
> |
(eval $ac_try) 2>&5 |
6980 |
> |
ac_status=$? |
6981 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6982 |
> |
(exit $ac_status); }; } && |
6983 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6984 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6985 |
|
(eval $ac_try) 2>&5 |
6986 |
|
ac_status=$? |
6993 |
|
|
6994 |
|
ac_cv_lib_fl_yywrap=no |
6995 |
|
fi |
6996 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6996 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6997 |
> |
conftest$ac_exeext conftest.$ac_ext |
6998 |
|
LIBS=$ac_check_lib_save_LIBS |
6999 |
|
fi |
7000 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
7010 |
|
ac_check_lib_save_LIBS=$LIBS |
7011 |
|
LIBS="-ll $LIBS" |
7012 |
|
cat >conftest.$ac_ext <<_ACEOF |
6683 |
– |
#line $LINENO "configure" |
7013 |
|
/* confdefs.h. */ |
7014 |
|
_ACEOF |
7015 |
|
cat confdefs.h >>conftest.$ac_ext |
7033 |
|
_ACEOF |
7034 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7035 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7036 |
< |
(eval $ac_link) 2>&5 |
7036 |
> |
(eval $ac_link) 2>conftest.er1 |
7037 |
|
ac_status=$? |
7038 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7039 |
+ |
rm -f conftest.er1 |
7040 |
+ |
cat conftest.err >&5 |
7041 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7042 |
|
(exit $ac_status); } && |
7043 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7043 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7044 |
> |
|| test ! -s conftest.err' |
7045 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7046 |
|
(eval $ac_try) 2>&5 |
7047 |
|
ac_status=$? |
7048 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7049 |
+ |
(exit $ac_status); }; } && |
7050 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7051 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7052 |
+ |
(eval $ac_try) 2>&5 |
7053 |
+ |
ac_status=$? |
7054 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7055 |
|
(exit $ac_status); }; }; then |
7056 |
|
ac_cv_lib_l_yywrap=yes |
7057 |
|
else |
7060 |
|
|
7061 |
|
ac_cv_lib_l_yywrap=no |
7062 |
|
fi |
7063 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7063 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7064 |
> |
conftest$ac_exeext conftest.$ac_ext |
7065 |
|
LIBS=$ac_check_lib_save_LIBS |
7066 |
|
fi |
7067 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
7123 |
|
_ACEOF |
7124 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7125 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7126 |
< |
(eval $ac_link) 2>&5 |
7126 |
> |
(eval $ac_link) 2>conftest.er1 |
7127 |
|
ac_status=$? |
7128 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7129 |
+ |
rm -f conftest.er1 |
7130 |
+ |
cat conftest.err >&5 |
7131 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7132 |
|
(exit $ac_status); } && |
7133 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7133 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7134 |
> |
|| test ! -s conftest.err' |
7135 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7136 |
|
(eval $ac_try) 2>&5 |
7137 |
|
ac_status=$? |
7138 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7139 |
+ |
(exit $ac_status); }; } && |
7140 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7141 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7142 |
+ |
(eval $ac_try) 2>&5 |
7143 |
+ |
ac_status=$? |
7144 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7145 |
|
(exit $ac_status); }; }; then |
7146 |
|
ac_cv_prog_lex_yytext_pointer=yes |
7147 |
|
else |
7149 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7150 |
|
|
7151 |
|
fi |
7152 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7152 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7153 |
> |
conftest$ac_exeext conftest.$ac_ext |
7154 |
|
LIBS=$ac_save_LIBS |
7155 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
7156 |
|
|
7166 |
|
fi |
7167 |
|
|
7168 |
|
fi |
7169 |
+ |
|
7170 |
+ |
# Extract the first word of "perl", so it can be a program name with args. |
7171 |
+ |
set dummy perl; ac_word=$2 |
7172 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7173 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7174 |
+ |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
7175 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7176 |
+ |
else |
7177 |
+ |
case $PERLINTERP in |
7178 |
+ |
[\\/]* | ?:[\\/]*) |
7179 |
+ |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
7180 |
+ |
;; |
7181 |
+ |
*) |
7182 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7183 |
+ |
for as_dir in $PATH |
7184 |
+ |
do |
7185 |
+ |
IFS=$as_save_IFS |
7186 |
+ |
test -z "$as_dir" && as_dir=. |
7187 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7188 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7189 |
+ |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
7190 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7191 |
+ |
break 2 |
7192 |
+ |
fi |
7193 |
+ |
done |
7194 |
+ |
done |
7195 |
+ |
|
7196 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
7197 |
+ |
;; |
7198 |
+ |
esac |
7199 |
+ |
fi |
7200 |
+ |
PERLINTERP=$ac_cv_path_PERLINTERP |
7201 |
+ |
|
7202 |
+ |
if test -n "$PERLINTERP"; then |
7203 |
+ |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
7204 |
+ |
echo "${ECHO_T}$PERLINTERP" >&6 |
7205 |
+ |
else |
7206 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
7207 |
+ |
echo "${ECHO_T}no" >&6 |
7208 |
+ |
fi |
7209 |
+ |
|
7210 |
+ |
ac_cv_path_perlinterp="$PERLINTERP" |
7211 |
+ |
_sHpB='#!' |
7212 |
+ |
|
7213 |
+ |
|
7214 |
+ |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
7215 |
+ |
if test "${with_perl_shebang+set}" = set; then |
7216 |
+ |
withval="$with_perl_shebang" |
7217 |
+ |
opt_perl_shebang="$withval" |
7218 |
+ |
else |
7219 |
+ |
opt_perl_shebang="not_set" |
7220 |
+ |
fi; |
7221 |
+ |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
7222 |
+ |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
7223 |
+ |
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
7224 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7225 |
+ |
else |
7226 |
+ |
case "$opt_perl_shebang" in |
7227 |
+ |
not_set ) ax_cv_opt_perl_shebang='' |
7228 |
+ |
;; |
7229 |
+ |
* ) |
7230 |
+ |
ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` |
7231 |
+ |
esac |
7232 |
+ |
|
7233 |
+ |
fi |
7234 |
+ |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
7235 |
+ |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
7236 |
+ |
if test "A$ax_cv_opt_perl_shebang" != "A" |
7237 |
+ |
then |
7238 |
+ |
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
7239 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
7240 |
+ |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
7241 |
+ |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
7242 |
+ |
|
7243 |
+ |
# Automatic detection of sharpbang formula starts here |
7244 |
+ |
else |
7245 |
+ |
_somian_shbangperl=`$PERLINTERP -V:startperl` |
7246 |
+ |
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
7247 |
+ |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
7248 |
+ |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
7249 |
+ |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
7250 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7251 |
+ |
else |
7252 |
+ |
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
7253 |
+ |
if test "x$_somian_kspb_perl" == x |
7254 |
+ |
then _somian_ksbp_warn_empty='durnit' |
7255 |
+ |
else |
7256 |
+ |
case "A$_somian_kspb_perl" in |
7257 |
+ |
A#!*perl* ) |
7258 |
+ |
ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` |
7259 |
+ |
;; |
7260 |
+ |
A* ) _somian_ksbp_warn_defau='trouble' |
7261 |
+ |
ac_cv_sys_kernshrpbang_perl="$PERLINTERP" |
7262 |
+ |
esac |
7263 |
+ |
fi |
7264 |
+ |
|
7265 |
+ |
fi |
7266 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
7267 |
+ |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
7268 |
+ |
# The above prints Checking ... result message to user. |
7269 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
7270 |
+ |
|
7271 |
+ |
if test A${_somian_ksbp_warn_empty+set} == Aset |
7272 |
+ |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
7273 |
+ |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
7274 |
+ |
fi |
7275 |
+ |
# Inform user after printing result value |
7276 |
+ |
if test A${_somian_ksbp_warn_defau+set} == Aset |
7277 |
+ |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
7278 |
+ |
echo "$as_me: Maybe Not good -" >&6;} |
7279 |
+ |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
7280 |
+ |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
7281 |
+ |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
7282 |
+ |
echo "$as_me: OK Good result - " >&6;} |
7283 |
+ |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
7284 |
+ |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
7285 |
+ |
fi |
7286 |
+ |
fi |
7287 |
+ |
|
7288 |
|
# Extract the first word of "ar", so it can be a program name with args. |
7289 |
|
set dummy ar; ac_word=$2 |
7290 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7353 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7354 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7355 |
|
sed -n \ |
7356 |
< |
"s/'/'\\\\''/g; |
7357 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7356 |
> |
"s/'/'\\\\''/g; |
7357 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7358 |
|
;; |
7359 |
|
*) |
7360 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7361 |
|
sed -n \ |
7362 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7362 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7363 |
|
;; |
7364 |
|
esac; |
7365 |
|
} | |
7427 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7428 |
|
else |
7429 |
|
|
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 |
7430 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
7431 |
|
ac_cv_prog_ps_ax=yes |
7432 |
|
else |
7433 |
|
ac_cv_prog_ps_ax=no |
7434 |
|
fi |
7435 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
7436 |
< |
ac_cv_prog_ps_syntax=POSIX |
7435 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
7436 |
> |
ac_cv_prog_ps_ef=yes |
7437 |
> |
else |
7438 |
> |
ac_cv_prog_ps_ef=no |
7439 |
> |
fi |
7440 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
7441 |
> |
ac_cv_prog_ps_syntax=BSD |
7442 |
|
else |
7443 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
7444 |
< |
ac_cv_prog_ps_syntax=BSD |
7443 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
7444 |
> |
ac_cv_prog_ps_syntax=POSIX |
7445 |
|
else |
7446 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
7447 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
7453 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
7454 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
7455 |
|
|
7456 |
+ |
|
7457 |
|
cat >>confdefs.h <<_ACEOF |
7458 |
< |
#define PS $PS |
7458 |
> |
#define PSCOMMAND $PS |
7459 |
|
_ACEOF |
7460 |
|
|
7461 |
|
|
7462 |
< |
cat >>confdefs.h <<_ACEOF |
7463 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
7462 |
> |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
7463 |
> |
cat >>confdefs.h <<\_ACEOF |
7464 |
> |
#define PSTYPE_IS_BSD 1 |
7465 |
|
_ACEOF |
7466 |
|
|
6995 |
– |
|
6996 |
– |
|
6997 |
– |
|
6998 |
– |
# Check whether --with-mpi or --without-mpi was given. |
6999 |
– |
if test "${with_mpi+set}" = set; then |
7000 |
– |
withval="$with_mpi" |
7001 |
– |
with_mpi=$withval |
7467 |
|
else |
7468 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
7469 |
+ |
cat >>confdefs.h <<\_ACEOF |
7470 |
+ |
#define PSTYPE_IS_POSIX 1 |
7471 |
+ |
_ACEOF |
7472 |
+ |
|
7473 |
+ |
else |
7474 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
7475 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
7476 |
+ |
{ (exit 1); exit 1; }; } |
7477 |
+ |
fi |
7478 |
+ |
fi |
7479 |
+ |
|
7480 |
+ |
|
7481 |
+ |
# Check whether --with-mpi or --without-mpi was given. |
7482 |
+ |
if test "${with_mpi+set}" = set; then |
7483 |
+ |
withval="$with_mpi" |
7484 |
+ |
with_mpi=$withval |
7485 |
+ |
else |
7486 |
|
with_mpi="no" |
7487 |
|
fi; |
7488 |
|
|
7575 |
|
ac_check_lib_save_LIBS=$LIBS |
7576 |
|
LIBS="-lmpich $LIBS" |
7577 |
|
cat >conftest.$ac_ext <<_ACEOF |
7095 |
– |
#line $LINENO "configure" |
7578 |
|
/* confdefs.h. */ |
7579 |
|
_ACEOF |
7580 |
|
cat confdefs.h >>conftest.$ac_ext |
7598 |
|
_ACEOF |
7599 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7600 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7601 |
< |
(eval $ac_link) 2>&5 |
7601 |
> |
(eval $ac_link) 2>conftest.er1 |
7602 |
|
ac_status=$? |
7603 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7604 |
+ |
rm -f conftest.er1 |
7605 |
+ |
cat conftest.err >&5 |
7606 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7607 |
|
(exit $ac_status); } && |
7608 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7608 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7609 |
> |
|| test ! -s conftest.err' |
7610 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7611 |
|
(eval $ac_try) 2>&5 |
7612 |
|
ac_status=$? |
7613 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7614 |
+ |
(exit $ac_status); }; } && |
7615 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7616 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7617 |
+ |
(eval $ac_try) 2>&5 |
7618 |
+ |
ac_status=$? |
7619 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7620 |
|
(exit $ac_status); }; }; then |
7621 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7622 |
|
else |
7625 |
|
|
7626 |
|
ac_cv_lib_mpich_MPI_Init=no |
7627 |
|
fi |
7628 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7628 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7629 |
> |
conftest$ac_exeext conftest.$ac_ext |
7630 |
|
LIBS=$ac_check_lib_save_LIBS |
7631 |
|
fi |
7632 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7645 |
|
ac_check_lib_save_LIBS=$LIBS |
7646 |
|
LIBS="-lmpi $LIBS" |
7647 |
|
cat >conftest.$ac_ext <<_ACEOF |
7155 |
– |
#line $LINENO "configure" |
7648 |
|
/* confdefs.h. */ |
7649 |
|
_ACEOF |
7650 |
|
cat confdefs.h >>conftest.$ac_ext |
7668 |
|
_ACEOF |
7669 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7670 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7671 |
< |
(eval $ac_link) 2>&5 |
7671 |
> |
(eval $ac_link) 2>conftest.er1 |
7672 |
|
ac_status=$? |
7673 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7674 |
+ |
rm -f conftest.er1 |
7675 |
+ |
cat conftest.err >&5 |
7676 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7677 |
|
(exit $ac_status); } && |
7678 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7678 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7679 |
> |
|| test ! -s conftest.err' |
7680 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7681 |
|
(eval $ac_try) 2>&5 |
7682 |
|
ac_status=$? |
7683 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7684 |
+ |
(exit $ac_status); }; } && |
7685 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7686 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7687 |
+ |
(eval $ac_try) 2>&5 |
7688 |
+ |
ac_status=$? |
7689 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7690 |
|
(exit $ac_status); }; }; then |
7691 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7692 |
|
else |
7695 |
|
|
7696 |
|
ac_cv_lib_mpi_MPI_Init=no |
7697 |
|
fi |
7698 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7698 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7699 |
> |
conftest$ac_exeext conftest.$ac_ext |
7700 |
|
LIBS=$ac_check_lib_save_LIBS |
7701 |
|
fi |
7702 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7716 |
|
ac_check_lib_save_LIBS=$LIBS |
7717 |
|
LIBS="-lmpi "-llam" $LIBS" |
7718 |
|
cat >conftest.$ac_ext <<_ACEOF |
7216 |
– |
#line $LINENO "configure" |
7719 |
|
/* confdefs.h. */ |
7720 |
|
_ACEOF |
7721 |
|
cat confdefs.h >>conftest.$ac_ext |
7739 |
|
_ACEOF |
7740 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7741 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7742 |
< |
(eval $ac_link) 2>&5 |
7742 |
> |
(eval $ac_link) 2>conftest.er1 |
7743 |
|
ac_status=$? |
7744 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7745 |
+ |
rm -f conftest.er1 |
7746 |
+ |
cat conftest.err >&5 |
7747 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7748 |
|
(exit $ac_status); } && |
7749 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7749 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7750 |
> |
|| test ! -s conftest.err' |
7751 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7752 |
|
(eval $ac_try) 2>&5 |
7753 |
|
ac_status=$? |
7754 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7755 |
+ |
(exit $ac_status); }; } && |
7756 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7757 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 |
+ |
(eval $ac_try) 2>&5 |
7759 |
+ |
ac_status=$? |
7760 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 |
|
(exit $ac_status); }; }; then |
7762 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7763 |
|
else |
7766 |
|
|
7767 |
|
ac_cv_lib_mpi_MPI_Init=no |
7768 |
|
fi |
7769 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7769 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7770 |
> |
conftest$ac_exeext conftest.$ac_ext |
7771 |
|
LIBS=$ac_check_lib_save_LIBS |
7772 |
|
fi |
7773 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7787 |
|
ac_check_lib_save_LIBS=$LIBS |
7788 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
7789 |
|
cat >conftest.$ac_ext <<_ACEOF |
7277 |
– |
#line $LINENO "configure" |
7790 |
|
/* confdefs.h. */ |
7791 |
|
_ACEOF |
7792 |
|
cat confdefs.h >>conftest.$ac_ext |
7810 |
|
_ACEOF |
7811 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7812 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7813 |
< |
(eval $ac_link) 2>&5 |
7813 |
> |
(eval $ac_link) 2>conftest.er1 |
7814 |
|
ac_status=$? |
7815 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7816 |
+ |
rm -f conftest.er1 |
7817 |
+ |
cat conftest.err >&5 |
7818 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7819 |
|
(exit $ac_status); } && |
7820 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7820 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7821 |
> |
|| test ! -s conftest.err' |
7822 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7823 |
> |
(eval $ac_try) 2>&5 |
7824 |
> |
ac_status=$? |
7825 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7826 |
> |
(exit $ac_status); }; } && |
7827 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7828 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7829 |
|
(eval $ac_try) 2>&5 |
7830 |
|
ac_status=$? |
7837 |
|
|
7838 |
|
ac_cv_lib_mpich_MPI_Init=no |
7839 |
|
fi |
7840 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7840 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7841 |
> |
conftest$ac_exeext conftest.$ac_ext |
7842 |
|
LIBS=$ac_check_lib_save_LIBS |
7843 |
|
fi |
7844 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7859 |
|
ac_check_lib_save_LIBS=$LIBS |
7860 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7861 |
|
cat >conftest.$ac_ext <<_ACEOF |
7339 |
– |
#line $LINENO "configure" |
7862 |
|
/* confdefs.h. */ |
7863 |
|
_ACEOF |
7864 |
|
cat confdefs.h >>conftest.$ac_ext |
7882 |
|
_ACEOF |
7883 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7884 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7885 |
< |
(eval $ac_link) 2>&5 |
7885 |
> |
(eval $ac_link) 2>conftest.er1 |
7886 |
|
ac_status=$? |
7887 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7888 |
+ |
rm -f conftest.er1 |
7889 |
+ |
cat conftest.err >&5 |
7890 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7891 |
|
(exit $ac_status); } && |
7892 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7892 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7893 |
> |
|| test ! -s conftest.err' |
7894 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7895 |
|
(eval $ac_try) 2>&5 |
7896 |
|
ac_status=$? |
7897 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7898 |
+ |
(exit $ac_status); }; } && |
7899 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7900 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7901 |
+ |
(eval $ac_try) 2>&5 |
7902 |
+ |
ac_status=$? |
7903 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7904 |
|
(exit $ac_status); }; }; then |
7905 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7906 |
|
else |
7909 |
|
|
7910 |
|
ac_cv_lib_mpi_MPI_Init=no |
7911 |
|
fi |
7912 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7912 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7913 |
> |
conftest$ac_exeext conftest.$ac_ext |
7914 |
|
LIBS=$ac_check_lib_save_LIBS |
7915 |
|
fi |
7916 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7948 |
|
|
7949 |
|
|
7950 |
|
|
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; |
7951 |
|
|
7952 |
< |
case "x$with_sprng" in |
7953 |
< |
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 |
7952 |
> |
USE_CGAL=no |
7953 |
> |
cgal_makefile=auto |
7954 |
|
|
7955 |
+ |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
7956 |
+ |
if test "${with_cgal_makefile+set}" = set; then |
7957 |
+ |
withval="$with_cgal_makefile" |
7958 |
+ |
cgal_makefile="$withval" |
7959 |
+ |
fi; |
7960 |
|
|
7961 |
< |
# Set variables... |
7438 |
< |
SPRNG_LIB_DIR="$SPRNG/lib" |
7439 |
< |
SPRNG_INC_DIR="$SPRNG/include" |
7961 |
> |
if test "x$cgal_makefile" != xno; then |
7962 |
|
|
7963 |
+ |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
7964 |
+ |
cgal_makefile="$CGAL_MAKEFILE" |
7965 |
+ |
fi |
7966 |
|
|
7967 |
+ |
echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5 |
7968 |
+ |
echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6 |
7969 |
|
|
7970 |
< |
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 |
7458 |
< |
|
7459 |
< |
cat >>confdefs.h <<\_ACEOF |
7460 |
< |
#define HAVE_SPRNG_H 1 |
7461 |
< |
_ACEOF |
7970 |
> |
if test -f "$cgal_makefile"; then |
7971 |
|
|
7972 |
< |
fi |
7972 |
> |
cat >config.tmp.Makefile <<EOF |
7973 |
> |
include $cgal_makefile |
7974 |
> |
default: |
7975 |
> |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
7976 |
> |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
7977 |
> |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
7978 |
> |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7979 |
> |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
7980 |
> |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
7981 |
> |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
7982 |
> |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7983 |
> |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
7984 |
> |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
7985 |
> |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7986 |
> |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
7987 |
> |
EOF |
7988 |
|
|
7989 |
< |
ac_ext=c |
7990 |
< |
ac_cpp='$CPP $CPPFLAGS' |
7467 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7468 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7469 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7989 |
> |
make -s -f config.tmp.Makefile |
7990 |
> |
. config.tmp.cgalvariables |
7991 |
|
|
7992 |
< |
ac_save_LDFLAGS=$LDFLAGS |
7472 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
7992 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
7993 |
|
|
7994 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
7995 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
7996 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
7994 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
7995 |
> |
CGAL_INCLDIR="" |
7996 |
> |
fi |
7997 |
> |
|
7998 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
7999 |
> |
CGAL_LIBDIR="" |
8000 |
> |
fi |
8001 |
> |
|
8002 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
8003 |
> |
CGAL_RLIBDIR="" |
8004 |
> |
fi |
8005 |
> |
|
8006 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
8007 |
> |
LEDA_INCLDIR="" |
8008 |
> |
fi |
8009 |
> |
|
8010 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
8011 |
> |
LEDA_LIBDIR="" |
8012 |
> |
fi |
8013 |
> |
|
8014 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
8015 |
> |
LEDA_RLIBDIR="" |
8016 |
> |
fi |
8017 |
> |
|
8018 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
8019 |
> |
GMP_INCLDIR="" |
8020 |
> |
fi |
8021 |
> |
|
8022 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
8023 |
> |
GMP_LIBDIR="" |
8024 |
> |
fi |
8025 |
> |
|
8026 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
8027 |
> |
GMP_RLIBDIR="" |
8028 |
> |
fi |
8029 |
> |
|
8030 |
> |
echo "$as_me:$LINENO: result: CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&5 |
8031 |
> |
echo "${ECHO_T}CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&6 |
8032 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR= $CGAL_INCLDIR" >&5 |
8033 |
> |
echo "${ECHO_T}CGAL_INCLDIR= $CGAL_INCLDIR" >&6 |
8034 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&5 |
8035 |
> |
echo "${ECHO_T}CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&6 |
8036 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR= $CGAL_LIBDIR" >&5 |
8037 |
> |
echo "${ECHO_T}CGAL_LIBDIR= $CGAL_LIBDIR" >&6 |
8038 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&5 |
8039 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&6 |
8040 |
> |
echo "$as_me:$LINENO: result: LEDA_INCLDIR= $LEDA_INCLDIR" >&5 |
8041 |
> |
echo "${ECHO_T}LEDA_INCLDIR= $LEDA_INCLDIR" >&6 |
8042 |
> |
echo "$as_me:$LINENO: result: LEDA_LIBDIR= $LEDA_LIBDIR" >&5 |
8043 |
> |
echo "${ECHO_T}LEDA_LIBDIR= $LEDA_LIBDIR" >&6 |
8044 |
> |
echo "$as_me:$LINENO: result: GMP_INCLDIR= $GMP_INCLDIR" >&5 |
8045 |
> |
echo "${ECHO_T}GMP_INCLDIR= $GMP_INCLDIR" >&6 |
8046 |
> |
echo "$as_me:$LINENO: result: GMP_LIBDIR= $GMP_LIBDIR" >&5 |
8047 |
> |
echo "${ECHO_T}GMP_LIBDIR= $GMP_LIBDIR" >&6 |
8048 |
> |
|
8049 |
> |
ac_ext=cc |
8050 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
8051 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8052 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8053 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8054 |
> |
|
8055 |
> |
save_CXXFLAGS="$CXXFLAGS" |
8056 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
8057 |
> |
|
8058 |
> |
ac_ext=cc |
8059 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
8060 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8061 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8062 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8063 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
8064 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
8065 |
> |
if test -z "$CXXCPP"; then |
8066 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
8067 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8068 |
|
else |
8069 |
< |
ac_check_lib_save_LIBS=$LIBS |
8070 |
< |
LIBS="-lsprng $LIBS" |
8071 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8072 |
< |
#line $LINENO "configure" |
8069 |
> |
# Double quotes because CXXCPP needs to be expanded |
8070 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
8071 |
> |
do |
8072 |
> |
ac_preproc_ok=false |
8073 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
8074 |
> |
do |
8075 |
> |
# Use a header file that comes with gcc, so configuring glibc |
8076 |
> |
# with a fresh cross-compiler works. |
8077 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8078 |
> |
# <limits.h> exists even on freestanding compilers. |
8079 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8080 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
8081 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8082 |
|
/* confdefs.h. */ |
8083 |
|
_ACEOF |
8084 |
|
cat confdefs.h >>conftest.$ac_ext |
8085 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8086 |
|
/* end confdefs.h. */ |
8087 |
< |
|
8088 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
8089 |
< |
#ifdef __cplusplus |
8090 |
< |
extern "C" |
8087 |
> |
#ifdef __STDC__ |
8088 |
> |
# include <limits.h> |
8089 |
> |
#else |
8090 |
> |
# include <assert.h> |
8091 |
|
#endif |
8092 |
< |
/* 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 |
< |
} |
8092 |
> |
Syntax error |
8093 |
|
_ACEOF |
8094 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
8095 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7506 |
< |
(eval $ac_link) 2>&5 |
8094 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8095 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8096 |
|
ac_status=$? |
8097 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8098 |
+ |
rm -f conftest.er1 |
8099 |
+ |
cat conftest.err >&5 |
8100 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8101 |
< |
(exit $ac_status); } && |
8102 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8103 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8104 |
< |
(eval $ac_try) 2>&5 |
8105 |
< |
ac_status=$? |
8106 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8107 |
< |
(exit $ac_status); }; }; then |
7516 |
< |
ac_cv_lib_sprng_init_rng=yes |
8101 |
> |
(exit $ac_status); } >/dev/null; then |
8102 |
> |
if test -s conftest.err; then |
8103 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8104 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8105 |
> |
else |
8106 |
> |
ac_cpp_err= |
8107 |
> |
fi |
8108 |
|
else |
8109 |
+ |
ac_cpp_err=yes |
8110 |
+ |
fi |
8111 |
+ |
if test -z "$ac_cpp_err"; then |
8112 |
+ |
: |
8113 |
+ |
else |
8114 |
|
echo "$as_me: failed program was:" >&5 |
8115 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8116 |
|
|
8117 |
< |
ac_cv_lib_sprng_init_rng=no |
8117 |
> |
# Broken: fails on valid input. |
8118 |
> |
continue |
8119 |
|
fi |
8120 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8121 |
< |
LIBS=$ac_check_lib_save_LIBS |
8120 |
> |
rm -f conftest.err conftest.$ac_ext |
8121 |
> |
|
8122 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
8123 |
> |
# can be detected and how. |
8124 |
> |
cat >conftest.$ac_ext <<_ACEOF |
8125 |
> |
/* confdefs.h. */ |
8126 |
> |
_ACEOF |
8127 |
> |
cat confdefs.h >>conftest.$ac_ext |
8128 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
8129 |
> |
/* end confdefs.h. */ |
8130 |
> |
#include <ac_nonexistent.h> |
8131 |
> |
_ACEOF |
8132 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8133 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8134 |
> |
ac_status=$? |
8135 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
8136 |
> |
rm -f conftest.er1 |
8137 |
> |
cat conftest.err >&5 |
8138 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8139 |
> |
(exit $ac_status); } >/dev/null; then |
8140 |
> |
if test -s conftest.err; then |
8141 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8142 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8143 |
> |
else |
8144 |
> |
ac_cpp_err= |
8145 |
> |
fi |
8146 |
> |
else |
8147 |
> |
ac_cpp_err=yes |
8148 |
|
fi |
8149 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
8150 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
8151 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
7529 |
< |
SPRNG_LIB="-lsprng" |
8149 |
> |
if test -z "$ac_cpp_err"; then |
8150 |
> |
# Broken: success on invalid input. |
8151 |
> |
continue |
8152 |
|
else |
8153 |
+ |
echo "$as_me: failed program was:" >&5 |
8154 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8155 |
|
|
8156 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
8157 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
8158 |
< |
{ (exit 1); exit 1; }; } |
8159 |
< |
USE_SPRNG="no" |
8156 |
> |
# Passes both tests. |
8157 |
> |
ac_preproc_ok=: |
8158 |
> |
break |
8159 |
> |
fi |
8160 |
> |
rm -f conftest.err conftest.$ac_ext |
8161 |
|
|
8162 |
+ |
done |
8163 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8164 |
+ |
rm -f conftest.err conftest.$ac_ext |
8165 |
+ |
if $ac_preproc_ok; then |
8166 |
+ |
break |
8167 |
|
fi |
8168 |
|
|
8169 |
+ |
done |
8170 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
8171 |
|
|
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; }; } |
8172 |
|
fi |
8173 |
+ |
CXXCPP=$ac_cv_prog_CXXCPP |
8174 |
+ |
else |
8175 |
+ |
ac_cv_prog_CXXCPP=$CXXCPP |
8176 |
+ |
fi |
8177 |
+ |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
8178 |
+ |
echo "${ECHO_T}$CXXCPP" >&6 |
8179 |
+ |
ac_preproc_ok=false |
8180 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
8181 |
+ |
do |
8182 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
8183 |
+ |
# with a fresh cross-compiler works. |
8184 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8185 |
+ |
# <limits.h> exists even on freestanding compilers. |
8186 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8187 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
8188 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
8189 |
+ |
/* confdefs.h. */ |
8190 |
+ |
_ACEOF |
8191 |
+ |
cat confdefs.h >>conftest.$ac_ext |
8192 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
8193 |
+ |
/* end confdefs.h. */ |
8194 |
+ |
#ifdef __STDC__ |
8195 |
+ |
# include <limits.h> |
8196 |
+ |
#else |
8197 |
+ |
# include <assert.h> |
8198 |
+ |
#endif |
8199 |
+ |
Syntax error |
8200 |
+ |
_ACEOF |
8201 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8202 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8203 |
+ |
ac_status=$? |
8204 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8205 |
+ |
rm -f conftest.er1 |
8206 |
+ |
cat conftest.err >&5 |
8207 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8208 |
+ |
(exit $ac_status); } >/dev/null; then |
8209 |
+ |
if test -s conftest.err; then |
8210 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8211 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8212 |
+ |
else |
8213 |
+ |
ac_cpp_err= |
8214 |
+ |
fi |
8215 |
+ |
else |
8216 |
+ |
ac_cpp_err=yes |
8217 |
+ |
fi |
8218 |
+ |
if test -z "$ac_cpp_err"; then |
8219 |
+ |
: |
8220 |
+ |
else |
8221 |
+ |
echo "$as_me: failed program was:" >&5 |
8222 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8223 |
|
|
8224 |
+ |
# Broken: fails on valid input. |
8225 |
+ |
continue |
8226 |
+ |
fi |
8227 |
+ |
rm -f conftest.err conftest.$ac_ext |
8228 |
|
|
8229 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
8230 |
+ |
# can be detected and how. |
8231 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
8232 |
+ |
/* confdefs.h. */ |
8233 |
+ |
_ACEOF |
8234 |
+ |
cat confdefs.h >>conftest.$ac_ext |
8235 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
8236 |
+ |
/* end confdefs.h. */ |
8237 |
+ |
#include <ac_nonexistent.h> |
8238 |
+ |
_ACEOF |
8239 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8240 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8241 |
+ |
ac_status=$? |
8242 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8243 |
+ |
rm -f conftest.er1 |
8244 |
+ |
cat conftest.err >&5 |
8245 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8246 |
+ |
(exit $ac_status); } >/dev/null; then |
8247 |
+ |
if test -s conftest.err; then |
8248 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8249 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8250 |
+ |
else |
8251 |
+ |
ac_cpp_err= |
8252 |
+ |
fi |
8253 |
+ |
else |
8254 |
+ |
ac_cpp_err=yes |
8255 |
|
fi |
8256 |
+ |
if test -z "$ac_cpp_err"; then |
8257 |
+ |
# Broken: success on invalid input. |
8258 |
+ |
continue |
8259 |
+ |
else |
8260 |
+ |
echo "$as_me: failed program was:" >&5 |
8261 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
8262 |
|
|
8263 |
+ |
# Passes both tests. |
8264 |
+ |
ac_preproc_ok=: |
8265 |
+ |
break |
8266 |
+ |
fi |
8267 |
+ |
rm -f conftest.err conftest.$ac_ext |
8268 |
|
|
8269 |
< |
|
8270 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
8271 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
8272 |
< |
|
8273 |
< |
# Check whether --with-mkl or --without-mkl was given. |
8274 |
< |
if test "${with_mkl+set}" = set; then |
8275 |
< |
withval="$with_mkl" |
8276 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
8277 |
< |
echo "${ECHO_T}yes" >&6 |
8278 |
< |
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;} |
8269 |
> |
done |
8270 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8271 |
> |
rm -f conftest.err conftest.$ac_ext |
8272 |
> |
if $ac_preproc_ok; then |
8273 |
> |
: |
8274 |
> |
else |
8275 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8276 |
> |
See \`config.log' for more details." >&5 |
8277 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8278 |
> |
See \`config.log' for more details." >&2;} |
8279 |
|
{ (exit 1); exit 1; }; } |
8280 |
< |
else |
7571 |
< |
printf "MKL includes found in $mkldir/include\n"; |
7572 |
< |
fi |
8280 |
> |
fi |
8281 |
|
|
8282 |
+ |
ac_ext=cc |
8283 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
8284 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8285 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8286 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8287 |
|
|
8288 |
|
|
8289 |
< |
ac_ext=c |
8290 |
< |
ac_cpp='$CPP $CPPFLAGS' |
8291 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8292 |
< |
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 |
8289 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8290 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8291 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8292 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8293 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8294 |
|
fi |
8295 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
8296 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
8295 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8296 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8297 |
|
else |
8298 |
|
# Is the header compilable? |
8299 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
8300 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
8299 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
8300 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
8301 |
|
cat >conftest.$ac_ext <<_ACEOF |
7599 |
– |
#line $LINENO "configure" |
8302 |
|
/* confdefs.h. */ |
8303 |
|
_ACEOF |
8304 |
|
cat confdefs.h >>conftest.$ac_ext |
8305 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8306 |
|
/* end confdefs.h. */ |
8307 |
|
$ac_includes_default |
8308 |
< |
#include <mkl.h> |
8308 |
> |
#include <CGAL/Cartesian.h> |
8309 |
|
_ACEOF |
8310 |
|
rm -f conftest.$ac_objext |
8311 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8312 |
< |
(eval $ac_compile) 2>&5 |
8312 |
> |
(eval $ac_compile) 2>conftest.er1 |
8313 |
|
ac_status=$? |
8314 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8315 |
+ |
rm -f conftest.er1 |
8316 |
+ |
cat conftest.err >&5 |
8317 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8318 |
|
(exit $ac_status); } && |
8319 |
< |
{ ac_try='test -s conftest.$ac_objext' |
8319 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8320 |
> |
|| test ! -s conftest.err' |
8321 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8322 |
|
(eval $ac_try) 2>&5 |
8323 |
|
ac_status=$? |
8324 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8325 |
+ |
(exit $ac_status); }; } && |
8326 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
8327 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8328 |
+ |
(eval $ac_try) 2>&5 |
8329 |
+ |
ac_status=$? |
8330 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8331 |
|
(exit $ac_status); }; }; then |
8332 |
|
ac_header_compiler=yes |
8333 |
|
else |
8336 |
|
|
8337 |
|
ac_header_compiler=no |
8338 |
|
fi |
8339 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
8339 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8340 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8341 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8342 |
|
|
8343 |
|
# Is the header present? |
8344 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
8345 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
8344 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
8345 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
8346 |
|
cat >conftest.$ac_ext <<_ACEOF |
7635 |
– |
#line $LINENO "configure" |
8347 |
|
/* confdefs.h. */ |
8348 |
|
_ACEOF |
8349 |
|
cat confdefs.h >>conftest.$ac_ext |
8350 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8351 |
|
/* end confdefs.h. */ |
8352 |
< |
#include <mkl.h> |
8352 |
> |
#include <CGAL/Cartesian.h> |
8353 |
|
_ACEOF |
8354 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8355 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8360 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8361 |
|
(exit $ac_status); } >/dev/null; then |
8362 |
|
if test -s conftest.err; then |
8363 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
8363 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8364 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8365 |
|
else |
8366 |
|
ac_cpp_err= |
8367 |
|
fi |
8381 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8382 |
|
|
8383 |
|
# So? What about this header? |
8384 |
< |
case $ac_header_compiler:$ac_header_preproc in |
8385 |
< |
yes:no ) |
8386 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8387 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8388 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
8389 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
8390 |
< |
( |
7679 |
< |
cat <<\_ASBOX |
7680 |
< |
## ------------------------------------ ## |
7681 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7682 |
< |
## ------------------------------------ ## |
7683 |
< |
_ASBOX |
7684 |
< |
) | |
7685 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
8384 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8385 |
> |
yes:no: ) |
8386 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8387 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8388 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
8389 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
8390 |
> |
ac_header_preproc=yes |
8391 |
|
;; |
8392 |
< |
no:yes ) |
8393 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
8394 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
8395 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
8396 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
8397 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
8398 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
8392 |
> |
no:yes:* ) |
8393 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
8394 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
8395 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
8396 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
8397 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
8398 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
8399 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
8400 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8401 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
8402 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
8403 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
8404 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
8405 |
|
( |
8406 |
|
cat <<\_ASBOX |
8407 |
< |
## ------------------------------------ ## |
8408 |
< |
## Report this to bug-autoconf@gnu.org. ## |
8409 |
< |
## ------------------------------------ ## |
8407 |
> |
## ------------------------------ ## |
8408 |
> |
## Report this to gezelter@nd.edu ## |
8409 |
> |
## ------------------------------ ## |
8410 |
|
_ASBOX |
8411 |
|
) | |
8412 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8413 |
|
;; |
8414 |
|
esac |
8415 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
8416 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
8417 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
8415 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
8416 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
8417 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
8418 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8419 |
|
else |
8420 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
8420 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
8421 |
|
fi |
8422 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
8423 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
8422 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
8423 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
8424 |
|
|
8425 |
|
fi |
8426 |
< |
if test $ac_cv_header_mkl_h = yes; then |
8427 |
< |
|
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 |
8426 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
8427 |
> |
cgal=yes |
8428 |
|
else |
8429 |
< |
ac_check_lib_save_LIBS=$LIBS |
8430 |
< |
LIBS="-lmkl $LIBS" |
8429 |
> |
cgal=no |
8430 |
> |
fi |
8431 |
> |
|
8432 |
> |
|
8433 |
> |
CXXFLAGS="$save_CXXFLAGS" |
8434 |
> |
|
8435 |
> |
if test "x$cgal" = xyes; then |
8436 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
8437 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
8438 |
> |
LOCATION=${CGAL_INCLDIR} |
8439 |
> |
LOCATION=${LOCATION:-/usr/include} |
8440 |
> |
if test -f $LOCATION/CGAL/version.h; then |
8441 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
8442 |
> |
else |
8443 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
8444 |
> |
fi |
8445 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
8446 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
8447 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
8448 |
> |
else |
8449 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
8450 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
8451 |
> |
cgal=no |
8452 |
> |
fi |
8453 |
> |
fi |
8454 |
> |
|
8455 |
> |
if test "x$cgal" = xyes; then |
8456 |
> |
CGAL_LIBS="-lCGAL" |
8457 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
8458 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
8459 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
8460 |
> |
CGAL_USES_LEDA=yes |
8461 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8462 |
> |
echo "${ECHO_T}yes" >&6 |
8463 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
8464 |
> |
else |
8465 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8466 |
> |
echo "${ECHO_T}no" >&6 |
8467 |
> |
CGAL_USES_LEDA=no |
8468 |
> |
fi |
8469 |
> |
|
8470 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
8471 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
8472 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
8473 |
> |
CGAL_USES_GMP=yes |
8474 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8475 |
> |
echo "${ECHO_T}yes" >&6 |
8476 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
8477 |
> |
else |
8478 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8479 |
> |
echo "${ECHO_T}no" >&6 |
8480 |
> |
CGAL_USES_GMP=no |
8481 |
> |
fi |
8482 |
> |
|
8483 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
8484 |
> |
|
8485 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
8486 |
> |
|
8487 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_LEDA= $CGAL_USES_LEDA" >&5 |
8488 |
> |
echo "${ECHO_T}CGAL_USES_LEDA= $CGAL_USES_LEDA" >&6 |
8489 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_GMP = $CGAL_USES_GMP" >&5 |
8490 |
> |
echo "${ECHO_T}CGAL_USES_GMP = $CGAL_USES_GMP" >&6 |
8491 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR = $CGAL_INCLDIR" >&5 |
8492 |
> |
echo "${ECHO_T}CGAL_INCLDIR = $CGAL_INCLDIR" >&6 |
8493 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR = $CGAL_LIBDIR" >&5 |
8494 |
> |
echo "${ECHO_T}CGAL_LIBDIR = $CGAL_LIBDIR" >&6 |
8495 |
> |
echo "$as_me:$LINENO: result: CGAL_DEFINES = $CGAL_DEFINES" >&5 |
8496 |
> |
echo "${ECHO_T}CGAL_DEFINES = $CGAL_DEFINES" >&6 |
8497 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&5 |
8498 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&6 |
8499 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBS = $CGAL_LIBS" >&5 |
8500 |
> |
echo "${ECHO_T}CGAL_LIBS = $CGAL_LIBS" >&6 |
8501 |
> |
fi |
8502 |
> |
|
8503 |
> |
if test "x$cgal" = xyes; then |
8504 |
> |
save_LIBS="$LIBS" |
8505 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
8506 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
8507 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
8508 |
> |
fi |
8509 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
8510 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
8511 |
> |
# fi |
8512 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
8513 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
8514 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
8515 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
8516 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
8517 |
> |
LIBS="-lCGAL $LIBS" |
8518 |
|
cat >conftest.$ac_ext <<_ACEOF |
7725 |
– |
#line $LINENO "configure" |
8519 |
|
/* confdefs.h. */ |
8520 |
|
_ACEOF |
8521 |
|
cat confdefs.h >>conftest.$ac_ext |
8522 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8523 |
|
/* end confdefs.h. */ |
8524 |
< |
|
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 (); |
8524 |
> |
#include <CGAL/Cartesian.h> |
8525 |
|
int |
8526 |
|
main () |
8527 |
|
{ |
8528 |
< |
vslNewStream (); |
8528 |
> |
::CGAL::Cartesian<int>::Point_2 P |
8529 |
|
; |
8530 |
|
return 0; |
8531 |
|
} |
8532 |
|
_ACEOF |
8533 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8534 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8535 |
< |
(eval $ac_link) 2>&5 |
8535 |
> |
(eval $ac_link) 2>conftest.er1 |
8536 |
|
ac_status=$? |
8537 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8538 |
+ |
rm -f conftest.er1 |
8539 |
+ |
cat conftest.err >&5 |
8540 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8541 |
|
(exit $ac_status); } && |
8542 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8542 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
8543 |
> |
|| test ! -s conftest.err' |
8544 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8545 |
|
(eval $ac_try) 2>&5 |
8546 |
|
ac_status=$? |
8547 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8548 |
+ |
(exit $ac_status); }; } && |
8549 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
8550 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8551 |
+ |
(eval $ac_try) 2>&5 |
8552 |
+ |
ac_status=$? |
8553 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8554 |
|
(exit $ac_status); }; }; then |
8555 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
8555 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
8556 |
> |
echo "${ECHO_T}yes" >&6 |
8557 |
> |
cgal=yes |
8558 |
|
else |
8559 |
|
echo "$as_me: failed program was:" >&5 |
8560 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8561 |
|
|
8562 |
< |
ac_cv_lib_mkl_vslNewStream=no |
8562 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
8563 |
> |
echo "${ECHO_T}no" >&6 |
8564 |
> |
cgal=no |
8565 |
|
fi |
8566 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8567 |
< |
LIBS=$ac_check_lib_save_LIBS |
8568 |
< |
fi |
8569 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
8570 |
< |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
8571 |
< |
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 |
8566 |
> |
rm -f conftest.err conftest.$ac_objext \ |
8567 |
> |
conftest$ac_exeext conftest.$ac_ext |
8568 |
> |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
8569 |
> |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
8570 |
> |
LIBS="$save_LIBS" |
8571 |
> |
fi |
8572 |
|
|
8573 |
< |
|
7778 |
< |
else |
7779 |
< |
MKL_INC="-I${mkldir}/include" |
7780 |
< |
fi |
7781 |
< |
|
7782 |
< |
|
7783 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
7784 |
< |
LDFLAGS=$ac_save_LDFLAGS |
8573 |
> |
fi |
8574 |
|
ac_ext=c |
8575 |
|
ac_cpp='$CPP $CPPFLAGS' |
8576 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8578 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8579 |
|
|
8580 |
|
|
8581 |
< |
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 |
8581 |
> |
fi |
8582 |
|
|
8583 |
+ |
if test "x$cgal" = xyes; then |
8584 |
+ |
USE_CGAL=yes |
8585 |
|
|
8586 |
+ |
cat >>confdefs.h <<\_ACEOF |
8587 |
+ |
#define HAVE_CGAL 1 |
8588 |
+ |
_ACEOF |
8589 |
|
|
8590 |
|
|
8591 |
+ |
cat >>confdefs.h <<_ACEOF |
8592 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
8593 |
+ |
_ACEOF |
8594 |
|
|
8595 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
8596 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8597 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8598 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
8599 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
8600 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
8601 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
8602 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
8603 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
8604 |
+ |
fi |
8605 |
|
else |
8606 |
+ |
if test "x$cgal_makefile" != xno; then |
8607 |
+ |
echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5 |
8608 |
+ |
echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6 |
8609 |
+ |
fi |
8610 |
+ |
CGAL_INCLDIR= |
8611 |
+ |
CGAL_LIBDIR= |
8612 |
+ |
CGAL_RLIBDIR= |
8613 |
+ |
CGAL_DEFINES= |
8614 |
+ |
CGAL_CXXFLAGS= |
8615 |
+ |
CGAL_LIBS= |
8616 |
+ |
fi |
8617 |
|
|
7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
7805 |
– |
echo "${ECHO_T}no" >&6 |
8618 |
|
|
8619 |
< |
fi; |
8619 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
8620 |
> |
|
8621 |
> |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
8622 |
> |
|
8623 |
> |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
8624 |
> |
|
8625 |
|
|
8626 |
|
|
8627 |
|
|
8628 |
+ |
|
8629 |
+ |
|
8630 |
+ |
|
8631 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
8632 |
|
if test "${enable_doxygen+set}" = set; then |
8633 |
|
enableval="$enable_doxygen" |
8828 |
|
|
8829 |
|
ac_config_headers="$ac_config_headers src/config.h" |
8830 |
|
|
8831 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
8831 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
8832 |
|
|
8833 |
|
|
8834 |
|
cat >confcache <<\_ACEOF |
8859 |
|
# `set' does not quote correctly, so add quotes (double-quote |
8860 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
8861 |
|
sed -n \ |
8862 |
< |
"s/'/'\\\\''/g; |
8863 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8862 |
> |
"s/'/'\\\\''/g; |
8863 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8864 |
|
;; |
8865 |
|
*) |
8866 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
8867 |
|
sed -n \ |
8868 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8868 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8869 |
|
;; |
8870 |
|
esac; |
8871 |
|
} | |
8895 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
8896 |
|
# (actually we leave an empty line to preserve line numbers). |
8897 |
|
if test "x$srcdir" = x.; then |
8898 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8898 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8899 |
|
s/:*\$(srcdir):*/:/; |
8900 |
|
s/:*\${srcdir}:*/:/; |
8901 |
|
s/:*@srcdir@:*/:/; |
8902 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
8902 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
8903 |
|
s/:*$//; |
8904 |
< |
s/^[^=]*=[ ]*$//; |
8904 |
> |
s/^[^=]*=[ ]*$//; |
8905 |
|
}' |
8906 |
|
fi |
8907 |
|
|
8912 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8913 |
|
# 1. Remove the extension, and $U if already installed. |
8914 |
|
ac_i=`echo "$ac_i" | |
8915 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8915 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8916 |
|
# 2. Add them. |
8917 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
8918 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
8956 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
8957 |
|
set -o posix |
8958 |
|
fi |
8959 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
8960 |
|
|
8961 |
|
# Support unset when possible. |
8962 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
8962 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
8963 |
|
as_unset=unset |
8964 |
|
else |
8965 |
|
as_unset=false |
8978 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8979 |
|
LC_TELEPHONE LC_TIME |
8980 |
|
do |
8981 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8981 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8982 |
|
eval $as_var=C; export $as_var |
8983 |
|
else |
8984 |
|
$as_unset $as_var |
9157 |
|
if mkdir -p . 2>/dev/null; then |
9158 |
|
as_mkdir_p=: |
9159 |
|
else |
9160 |
+ |
test -d ./-p && rmdir ./-p |
9161 |
|
as_mkdir_p=false |
9162 |
|
fi |
9163 |
|
|
9164 |
|
as_executable_p="test -f" |
9165 |
|
|
9166 |
|
# Sed expression to map a string onto a valid CPP name. |
9167 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
9167 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9168 |
|
|
9169 |
|
# Sed expression to map a string onto a valid variable name. |
9170 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
9170 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9171 |
|
|
9172 |
|
|
9173 |
|
# IFS |
9194 |
|
cat >&5 <<_CSEOF |
9195 |
|
|
9196 |
|
This file was extended by OOPSE $as_me 2.0, which was |
9197 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
9197 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
9198 |
|
|
9199 |
|
CONFIG_FILES = $CONFIG_FILES |
9200 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
9238 |
|
-d, --debug don't remove temporary files |
9239 |
|
--recheck update $as_me by reconfiguring in the same conditions |
9240 |
|
--file=FILE[:TEMPLATE] |
9241 |
< |
instantiate the configuration file FILE |
9241 |
> |
instantiate the configuration file FILE |
9242 |
|
--header=FILE[:TEMPLATE] |
9243 |
< |
instantiate the configuration header FILE |
9243 |
> |
instantiate the configuration header FILE |
9244 |
|
|
9245 |
|
Configuration files: |
9246 |
|
$config_files |
9257 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
9258 |
|
ac_cs_version="\\ |
9259 |
|
OOPSE config.status 2.0 |
9260 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
9260 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
9261 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
9262 |
|
|
9263 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8442 |
< |
Free Software Foundation, Inc. |
9263 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
9264 |
|
This config.status script is free software; the Free Software Foundation |
9265 |
|
gives unlimited permission to copy, distribute and modify it." |
9266 |
|
srcdir=$srcdir |
9361 |
|
# Handling of arguments. |
9362 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
9363 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
9364 |
+ |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
9365 |
+ |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
9366 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
9367 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
9368 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
9499 |
|
s,@LEX@,$LEX,;t t |
9500 |
|
s,@LEXLIB@,$LEXLIB,;t t |
9501 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
9502 |
+ |
s,@PERLINTERP@,$PERLINTERP,;t t |
9503 |
+ |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
9504 |
|
s,@AR@,$AR,;t t |
9505 |
|
s,@PS@,$PS,;t t |
9506 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
9509 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
9510 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
9511 |
|
s,@USE_MPI@,$USE_MPI,;t t |
9512 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
9513 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
9514 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
9515 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
9516 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
9517 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
9518 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
9519 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
9512 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
9513 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
9514 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
9515 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
9516 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
9517 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
9518 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
9519 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
9520 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
9521 |
|
s,@DOT@,$DOT,;t t |
9522 |
|
s,@DOC@,$DOC,;t t |
9559 |
|
(echo ':t |
9560 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
9561 |
|
if test -z "$ac_sed_cmds"; then |
9562 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9562 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
9563 |
|
else |
9564 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9564 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
9565 |
|
fi |
9566 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
9567 |
|
ac_beg=$ac_end |
9579 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9580 |
|
case $ac_file in |
9581 |
|
- | *:- | *:-:* ) # input from stdin |
9582 |
< |
cat >$tmp/stdin |
9583 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9584 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9582 |
> |
cat >$tmp/stdin |
9583 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9584 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9585 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9586 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9586 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9587 |
|
* ) ac_file_in=$ac_file.in ;; |
9588 |
|
esac |
9589 |
|
|
9590 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
9591 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9592 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9593 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9594 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9595 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9596 |
< |
. : '\(.\)' 2>/dev/null || |
9593 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9594 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9595 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9596 |
> |
. : '\(.\)' 2>/dev/null || |
9597 |
|
echo X"$ac_file" | |
9598 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9599 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9609 |
|
as_dirs="$as_dir $as_dirs" |
9610 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9611 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9612 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9613 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9614 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9615 |
< |
. : '\(.\)' 2>/dev/null || |
9612 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9613 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9614 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9615 |
> |
. : '\(.\)' 2>/dev/null || |
9616 |
|
echo X"$as_dir" | |
9617 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9618 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9650 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9651 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9652 |
|
esac |
9653 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
9654 |
< |
# absolute. |
9655 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
9656 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
9657 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
9658 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
9653 |
> |
|
9654 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9655 |
> |
# the directories may not exist. |
9656 |
> |
case `pwd` in |
9657 |
> |
.) ac_abs_builddir="$ac_dir";; |
9658 |
> |
*) |
9659 |
> |
case "$ac_dir" in |
9660 |
> |
.) ac_abs_builddir=`pwd`;; |
9661 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
9662 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
9663 |
> |
esac;; |
9664 |
> |
esac |
9665 |
> |
case $ac_abs_builddir in |
9666 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9667 |
> |
*) |
9668 |
> |
case ${ac_top_builddir}. in |
9669 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9670 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9671 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9672 |
> |
esac;; |
9673 |
> |
esac |
9674 |
> |
case $ac_abs_builddir in |
9675 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
9676 |
> |
*) |
9677 |
> |
case $ac_srcdir in |
9678 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9679 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9680 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9681 |
> |
esac;; |
9682 |
> |
esac |
9683 |
> |
case $ac_abs_builddir in |
9684 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9685 |
> |
*) |
9686 |
> |
case $ac_top_srcdir in |
9687 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9688 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9689 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9690 |
> |
esac;; |
9691 |
> |
esac |
9692 |
|
|
9693 |
|
|
9694 |
|
case $INSTALL in |
9710 |
|
configure_input="$ac_file. " |
9711 |
|
fi |
9712 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
9713 |
< |
sed 's,.*/,,'` by configure." |
9713 |
> |
sed 's,.*/,,'` by configure." |
9714 |
|
|
9715 |
|
# First look for the input files in the build tree, otherwise in the |
9716 |
|
# src tree. |
9719 |
|
case $f in |
9720 |
|
-) echo $tmp/stdin ;; |
9721 |
|
[\\/$]*) |
9722 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9723 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9722 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9723 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9724 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9725 |
|
{ (exit 1); exit 1; }; } |
9726 |
< |
echo $f;; |
9726 |
> |
echo "$f";; |
9727 |
|
*) # Relative |
9728 |
< |
if test -f "$f"; then |
9729 |
< |
# Build tree |
9730 |
< |
echo $f |
9731 |
< |
elif test -f "$srcdir/$f"; then |
9732 |
< |
# Source tree |
9733 |
< |
echo $srcdir/$f |
9734 |
< |
else |
9735 |
< |
# /dev/null tree |
9736 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9728 |
> |
if test -f "$f"; then |
9729 |
> |
# Build tree |
9730 |
> |
echo "$f" |
9731 |
> |
elif test -f "$srcdir/$f"; then |
9732 |
> |
# Source tree |
9733 |
> |
echo "$srcdir/$f" |
9734 |
> |
else |
9735 |
> |
# /dev/null tree |
9736 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9737 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9738 |
|
{ (exit 1); exit 1; }; } |
9739 |
< |
fi;; |
9739 |
> |
fi;; |
9740 |
|
esac |
9741 |
|
done` || { (exit 1); exit 1; } |
9742 |
|
_ACEOF |
9766 |
|
rm -f $tmp/out |
9767 |
|
fi |
9768 |
|
|
9769 |
+ |
# Run the commands associated with the file. |
9770 |
+ |
case $ac_file in |
9771 |
+ |
make/Makefile ) chmod 0755 scripts/* ;; |
9772 |
+ |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
9773 |
+ |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
9774 |
+ |
scripts/filepp ) chmod 0755 scripts/* ;; |
9775 |
+ |
esac |
9776 |
|
done |
9777 |
|
_ACEOF |
9778 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
9785 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
9786 |
|
# |
9787 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
9788 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9789 |
< |
ac_dB='[ ].*$,\1#\2' |
9788 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
9789 |
> |
ac_dB='[ ].*$,\1#\2' |
9790 |
|
ac_dC=' ' |
9791 |
|
ac_dD=',;t' |
9792 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
9793 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9793 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
9794 |
|
ac_uB='$,\1#\2define\3' |
9795 |
|
ac_uC=' ' |
9796 |
|
ac_uD=',;t' |
9799 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
9800 |
|
case $ac_file in |
9801 |
|
- | *:- | *:-:* ) # input from stdin |
9802 |
< |
cat >$tmp/stdin |
9803 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9804 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9802 |
> |
cat >$tmp/stdin |
9803 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9804 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9805 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
9806 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9806 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
9807 |
|
* ) ac_file_in=$ac_file.in ;; |
9808 |
|
esac |
9809 |
|
|
9817 |
|
case $f in |
9818 |
|
-) echo $tmp/stdin ;; |
9819 |
|
[\\/$]*) |
9820 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
9821 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9820 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
9821 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9822 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9823 |
|
{ (exit 1); exit 1; }; } |
9824 |
< |
echo $f;; |
9824 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
9825 |
> |
echo "$f";; |
9826 |
|
*) # Relative |
9827 |
< |
if test -f "$f"; then |
9828 |
< |
# Build tree |
9829 |
< |
echo $f |
9830 |
< |
elif test -f "$srcdir/$f"; then |
9831 |
< |
# Source tree |
9832 |
< |
echo $srcdir/$f |
9833 |
< |
else |
9834 |
< |
# /dev/null tree |
9835 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9827 |
> |
if test -f "$f"; then |
9828 |
> |
# Build tree |
9829 |
> |
echo "$f" |
9830 |
> |
elif test -f "$srcdir/$f"; then |
9831 |
> |
# Source tree |
9832 |
> |
echo "$srcdir/$f" |
9833 |
> |
else |
9834 |
> |
# /dev/null tree |
9835 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9836 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9837 |
|
{ (exit 1); exit 1; }; } |
9838 |
< |
fi;; |
9838 |
> |
fi;; |
9839 |
|
esac |
9840 |
|
done` || { (exit 1); exit 1; } |
9841 |
|
# Remove the trailing spaces. |
9842 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9842 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9843 |
|
|
9844 |
|
_ACEOF |
9845 |
|
|
9862 |
|
s,[\\$`],\\&,g |
9863 |
|
t clear |
9864 |
|
: clear |
9865 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9865 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9866 |
|
t end |
9867 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9867 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9868 |
|
: end |
9869 |
|
_ACEOF |
9870 |
|
# If some macros were called several times there might be several times |
9878 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
9879 |
|
# on some systems where configure will not decide to define it. |
9880 |
|
cat >>conftest.undefs <<\_ACEOF |
9881 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9881 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9882 |
|
_ACEOF |
9883 |
|
|
9884 |
|
# Break up conftest.defines because some shells have a limit on the size |
9885 |
|
# of here documents, and old seds have small limits too (100 cmds). |
9886 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
9887 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9887 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9888 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
9889 |
|
echo ' :' >>$CONFIG_STATUS |
9890 |
|
rm -f conftest.tail |
9893 |
|
# Write a limited-size here document to $tmp/defines.sed. |
9894 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
9895 |
|
# Speed up: don't consider the non `#define' lines. |
9896 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9896 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9897 |
|
# Work around the forget-to-reset-the-flag bug. |
9898 |
|
echo 't clr' >>$CONFIG_STATUS |
9899 |
|
echo ': clr' >>$CONFIG_STATUS |
9920 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
9921 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
9922 |
|
# Speed up: don't consider the non `#undef' |
9923 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9923 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9924 |
|
# Work around the forget-to-reset-the-flag bug. |
9925 |
|
echo 't clr' >>$CONFIG_STATUS |
9926 |
|
echo ': clr' >>$CONFIG_STATUS |
9954 |
|
else |
9955 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9956 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9957 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9958 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9959 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9960 |
< |
. : '\(.\)' 2>/dev/null || |
9957 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9958 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9959 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9960 |
> |
. : '\(.\)' 2>/dev/null || |
9961 |
|
echo X"$ac_file" | |
9962 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9963 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9973 |
|
as_dirs="$as_dir $as_dirs" |
9974 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9975 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9976 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9977 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9978 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9979 |
< |
. : '\(.\)' 2>/dev/null || |
9976 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9977 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9978 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9979 |
> |
. : '\(.\)' 2>/dev/null || |
9980 |
|
echo X"$as_dir" | |
9981 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9982 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10021 |
|
# Make relative symlinks. |
10022 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
10023 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10024 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10025 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
10026 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
10027 |
< |
. : '\(.\)' 2>/dev/null || |
10024 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
10025 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
10026 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
10027 |
> |
. : '\(.\)' 2>/dev/null || |
10028 |
|
echo X"$ac_dest" | |
10029 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10030 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10040 |
|
as_dirs="$as_dir $as_dirs" |
10041 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
10042 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10043 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
10044 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
10045 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
10046 |
< |
. : '\(.\)' 2>/dev/null || |
10043 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
10044 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
10045 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
10046 |
> |
. : '\(.\)' 2>/dev/null || |
10047 |
|
echo X"$as_dir" | |
10048 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
10049 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
10081 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
10082 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
10083 |
|
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` |
10084 |
|
|
10085 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
10086 |
+ |
# the directories may not exist. |
10087 |
+ |
case `pwd` in |
10088 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
10089 |
+ |
*) |
10090 |
+ |
case "$ac_dest_dir" in |
10091 |
+ |
.) ac_abs_builddir=`pwd`;; |
10092 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
10093 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
10094 |
+ |
esac;; |
10095 |
+ |
esac |
10096 |
+ |
case $ac_abs_builddir in |
10097 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
10098 |
+ |
*) |
10099 |
+ |
case ${ac_top_builddir}. in |
10100 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
10101 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
10102 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
10103 |
+ |
esac;; |
10104 |
+ |
esac |
10105 |
+ |
case $ac_abs_builddir in |
10106 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
10107 |
+ |
*) |
10108 |
+ |
case $ac_srcdir in |
10109 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
10110 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
10111 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
10112 |
+ |
esac;; |
10113 |
+ |
esac |
10114 |
+ |
case $ac_abs_builddir in |
10115 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
10116 |
+ |
*) |
10117 |
+ |
case $ac_top_srcdir in |
10118 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
10119 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
10120 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
10121 |
+ |
esac;; |
10122 |
+ |
esac |
10123 |
|
|
10124 |
+ |
|
10125 |
|
case $srcdir in |
10126 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
10127 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |