1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 2.0. |
3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
< |
# Free Software Foundation, Inc. |
7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
8 |
|
# This configure script is free software; the Free Software Foundation |
9 |
|
# gives unlimited permission to copy, distribute and modify it. |
10 |
|
## --------------------- ## |
21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22 |
|
set -o posix |
23 |
|
fi |
24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
27 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
28 |
|
as_unset=unset |
29 |
|
else |
30 |
|
as_unset=false |
43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
|
LC_TELEPHONE LC_TIME |
45 |
|
do |
46 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
46 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
|
eval $as_var=C; export $as_var |
48 |
|
else |
49 |
|
$as_unset $as_var |
220 |
|
if mkdir -p . 2>/dev/null; then |
221 |
|
as_mkdir_p=: |
222 |
|
else |
223 |
+ |
test -d ./-p && rmdir ./-p |
224 |
|
as_mkdir_p=false |
225 |
|
fi |
226 |
|
|
227 |
|
as_executable_p="test -f" |
228 |
|
|
229 |
|
# Sed expression to map a string onto a valid CPP name. |
230 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 |
|
|
232 |
|
# Sed expression to map a string onto a valid variable name. |
233 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 |
|
|
235 |
|
|
236 |
|
# IFS |
312 |
|
# include <unistd.h> |
313 |
|
#endif" |
314 |
|
|
315 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI 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; } |
822 |
|
cat <<_ACEOF |
823 |
|
Installation directories: |
824 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
825 |
< |
[$ac_default_prefix] |
825 |
> |
[$ac_default_prefix] |
826 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
827 |
< |
[PREFIX] |
827 |
> |
[PREFIX] |
828 |
|
|
829 |
|
By default, \`make install' will install all the files in |
830 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
876 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
877 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
878 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
878 |
– |
--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 |
879 |
|
|
880 |
|
Some influential environment variables: |
881 |
|
CC C compiler command |
927 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
928 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
929 |
|
esac |
932 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
933 |
– |
# absolute. |
934 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
935 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
936 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
937 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
930 |
|
|
931 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
932 |
+ |
# the directories may not exist. |
933 |
+ |
case `pwd` in |
934 |
+ |
.) ac_abs_builddir="$ac_dir";; |
935 |
+ |
*) |
936 |
+ |
case "$ac_dir" in |
937 |
+ |
.) ac_abs_builddir=`pwd`;; |
938 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
939 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
940 |
+ |
esac;; |
941 |
+ |
esac |
942 |
+ |
case $ac_abs_builddir in |
943 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
944 |
+ |
*) |
945 |
+ |
case ${ac_top_builddir}. in |
946 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
947 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
948 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
949 |
+ |
esac;; |
950 |
+ |
esac |
951 |
+ |
case $ac_abs_builddir in |
952 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
953 |
+ |
*) |
954 |
+ |
case $ac_srcdir in |
955 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
956 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
957 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
958 |
+ |
esac;; |
959 |
+ |
esac |
960 |
+ |
case $ac_abs_builddir in |
961 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
962 |
+ |
*) |
963 |
+ |
case $ac_top_srcdir in |
964 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
965 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
966 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
967 |
+ |
esac;; |
968 |
+ |
esac |
969 |
+ |
|
970 |
|
cd $ac_dir |
971 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
972 |
|
if test -f $ac_srcdir/configure.gnu; then |
976 |
|
echo |
977 |
|
$SHELL $ac_srcdir/configure --help=recursive |
978 |
|
elif test -f $ac_srcdir/configure.ac || |
979 |
< |
test -f $ac_srcdir/configure.in; then |
979 |
> |
test -f $ac_srcdir/configure.in; then |
980 |
|
echo |
981 |
|
$ac_configure --help |
982 |
|
else |
990 |
|
if $ac_init_version; then |
991 |
|
cat <<\_ACEOF |
992 |
|
OOPSE configure 2.0 |
993 |
< |
generated by GNU Autoconf 2.57 |
993 |
> |
generated by GNU Autoconf 2.59 |
994 |
|
|
995 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
965 |
< |
Free Software Foundation, Inc. |
995 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
996 |
|
This configure script is free software; the Free Software Foundation |
997 |
|
gives unlimited permission to copy, distribute and modify it. |
998 |
|
_ACEOF |
1004 |
|
running configure, to aid debugging if configure makes a mistake. |
1005 |
|
|
1006 |
|
It was created by OOPSE $as_me 2.0, which was |
1007 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
1007 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1008 |
|
|
1009 |
|
$ $0 $@ |
1010 |
|
|
1081 |
|
2) |
1082 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1083 |
|
if test $ac_must_keep_next = true; then |
1084 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1084 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1085 |
|
else |
1086 |
< |
case $ac_arg in |
1087 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1088 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1089 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1090 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1091 |
< |
case "$ac_configure_args0 " in |
1092 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1093 |
< |
esac |
1094 |
< |
;; |
1095 |
< |
-* ) ac_must_keep_next=true ;; |
1096 |
< |
esac |
1086 |
> |
case $ac_arg in |
1087 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1088 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1089 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1090 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1091 |
> |
case "$ac_configure_args0 " in |
1092 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1093 |
> |
esac |
1094 |
> |
;; |
1095 |
> |
-* ) ac_must_keep_next=true ;; |
1096 |
> |
esac |
1097 |
|
fi |
1098 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1099 |
|
# Get rid of the leading space. |
1127 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1128 |
|
*ac_space=\ *) |
1129 |
|
sed -n \ |
1130 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1131 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1130 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1131 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1132 |
|
;; |
1133 |
|
*) |
1134 |
|
sed -n \ |
1135 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1135 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1136 |
|
;; |
1137 |
|
esac; |
1138 |
|
} |
1161 |
|
for ac_var in $ac_subst_files |
1162 |
|
do |
1163 |
|
eval ac_val=$`echo $ac_var` |
1164 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1164 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1165 |
|
done | sort |
1166 |
|
echo |
1167 |
|
fi |
1180 |
|
echo "$as_me: caught signal $ac_signal" |
1181 |
|
echo "$as_me: exit $exit_status" |
1182 |
|
} >&5 |
1183 |
< |
rm -f core core.* *.core && |
1183 |
> |
rm -f core *.core && |
1184 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1185 |
|
exit $exit_status |
1186 |
|
' 0 |
1260 |
|
# value. |
1261 |
|
ac_cache_corrupted=false |
1262 |
|
for ac_var in `(set) 2>&1 | |
1263 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1263 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1264 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1265 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1266 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1277 |
|
,);; |
1278 |
|
*) |
1279 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1280 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1280 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1281 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1282 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1282 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1283 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1284 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1284 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1285 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1286 |
< |
ac_cache_corrupted=: |
1286 |
> |
ac_cache_corrupted=: |
1287 |
|
fi;; |
1288 |
|
esac |
1289 |
|
# Pass precious variables to config.status. |
2080 |
|
(exit $ac_status); } |
2081 |
|
|
2082 |
|
cat >conftest.$ac_ext <<_ACEOF |
2053 |
– |
#line $LINENO "configure" |
2083 |
|
/* confdefs.h. */ |
2084 |
|
_ACEOF |
2085 |
|
cat confdefs.h >>conftest.$ac_ext |
2099 |
|
# Try to create an executable without -o first, disregard a.out. |
2100 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2101 |
|
# of exeext. |
2102 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2103 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2102 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2103 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2104 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2105 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2106 |
|
(eval $ac_link_default) 2>&5 |
2120 |
|
test -f "$ac_file" || continue |
2121 |
|
case $ac_file in |
2122 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2123 |
< |
;; |
2123 |
> |
;; |
2124 |
|
conftest.$ac_ext ) |
2125 |
< |
# This is the source file. |
2126 |
< |
;; |
2125 |
> |
# This is the source file. |
2126 |
> |
;; |
2127 |
|
[ab].out ) |
2128 |
< |
# We found the default executable, but exeext='' is most |
2129 |
< |
# certainly right. |
2130 |
< |
break;; |
2128 |
> |
# We found the default executable, but exeext='' is most |
2129 |
> |
# certainly right. |
2130 |
> |
break;; |
2131 |
|
*.* ) |
2132 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2133 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2134 |
< |
# but it would be cool to find out if it's true. Does anybody |
2135 |
< |
# maintain Libtool? --akim. |
2136 |
< |
export ac_cv_exeext |
2137 |
< |
break;; |
2132 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2133 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2134 |
> |
# but it would be cool to find out if it's true. Does anybody |
2135 |
> |
# maintain Libtool? --akim. |
2136 |
> |
export ac_cv_exeext |
2137 |
> |
break;; |
2138 |
|
* ) |
2139 |
< |
break;; |
2139 |
> |
break;; |
2140 |
|
esac |
2141 |
|
done |
2142 |
|
else |
2210 |
|
case $ac_file in |
2211 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2212 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2213 |
< |
export ac_cv_exeext |
2214 |
< |
break;; |
2213 |
> |
export ac_cv_exeext |
2214 |
> |
break;; |
2215 |
|
* ) break;; |
2216 |
|
esac |
2217 |
|
done |
2236 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2237 |
|
else |
2238 |
|
cat >conftest.$ac_ext <<_ACEOF |
2210 |
– |
#line $LINENO "configure" |
2239 |
|
/* confdefs.h. */ |
2240 |
|
_ACEOF |
2241 |
|
cat confdefs.h >>conftest.$ac_ext |
2286 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2287 |
|
else |
2288 |
|
cat >conftest.$ac_ext <<_ACEOF |
2261 |
– |
#line $LINENO "configure" |
2289 |
|
/* confdefs.h. */ |
2290 |
|
_ACEOF |
2291 |
|
cat confdefs.h >>conftest.$ac_ext |
2305 |
|
_ACEOF |
2306 |
|
rm -f conftest.$ac_objext |
2307 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2308 |
< |
(eval $ac_compile) 2>&5 |
2308 |
> |
(eval $ac_compile) 2>conftest.er1 |
2309 |
|
ac_status=$? |
2310 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2311 |
+ |
rm -f conftest.er1 |
2312 |
+ |
cat conftest.err >&5 |
2313 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2314 |
|
(exit $ac_status); } && |
2315 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2315 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2316 |
> |
|| test ! -s conftest.err' |
2317 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2318 |
> |
(eval $ac_try) 2>&5 |
2319 |
> |
ac_status=$? |
2320 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2321 |
> |
(exit $ac_status); }; } && |
2322 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2323 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2324 |
|
(eval $ac_try) 2>&5 |
2325 |
|
ac_status=$? |
2332 |
|
|
2333 |
|
ac_compiler_gnu=no |
2334 |
|
fi |
2335 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2335 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2336 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2337 |
|
|
2338 |
|
fi |
2348 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2349 |
|
else |
2350 |
|
cat >conftest.$ac_ext <<_ACEOF |
2314 |
– |
#line $LINENO "configure" |
2351 |
|
/* confdefs.h. */ |
2352 |
|
_ACEOF |
2353 |
|
cat confdefs.h >>conftest.$ac_ext |
2364 |
|
_ACEOF |
2365 |
|
rm -f conftest.$ac_objext |
2366 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2367 |
< |
(eval $ac_compile) 2>&5 |
2367 |
> |
(eval $ac_compile) 2>conftest.er1 |
2368 |
|
ac_status=$? |
2369 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2370 |
+ |
rm -f conftest.er1 |
2371 |
+ |
cat conftest.err >&5 |
2372 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2373 |
|
(exit $ac_status); } && |
2374 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2374 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2375 |
> |
|| test ! -s conftest.err' |
2376 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2377 |
|
(eval $ac_try) 2>&5 |
2378 |
|
ac_status=$? |
2379 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2380 |
+ |
(exit $ac_status); }; } && |
2381 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2382 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2383 |
+ |
(eval $ac_try) 2>&5 |
2384 |
+ |
ac_status=$? |
2385 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2386 |
|
(exit $ac_status); }; }; then |
2387 |
|
ac_cv_prog_cc_g=yes |
2388 |
|
else |
2391 |
|
|
2392 |
|
ac_cv_prog_cc_g=no |
2393 |
|
fi |
2394 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2394 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2395 |
|
fi |
2396 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2397 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2418 |
|
ac_cv_prog_cc_stdc=no |
2419 |
|
ac_save_CC=$CC |
2420 |
|
cat >conftest.$ac_ext <<_ACEOF |
2375 |
– |
#line $LINENO "configure" |
2421 |
|
/* confdefs.h. */ |
2422 |
|
_ACEOF |
2423 |
|
cat confdefs.h >>conftest.$ac_ext |
2445 |
|
va_end (v); |
2446 |
|
return s; |
2447 |
|
} |
2448 |
+ |
|
2449 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2450 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
2451 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
2452 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
2453 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2454 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
2455 |
+ |
that's true only with -std1. */ |
2456 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2457 |
+ |
|
2458 |
|
int test (int i, double x); |
2459 |
|
struct s1 {int (*f) (int a);}; |
2460 |
|
struct s2 {int (*f) (double a);}; |
2481 |
|
CC="$ac_save_CC $ac_arg" |
2482 |
|
rm -f conftest.$ac_objext |
2483 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2484 |
< |
(eval $ac_compile) 2>&5 |
2484 |
> |
(eval $ac_compile) 2>conftest.er1 |
2485 |
|
ac_status=$? |
2486 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2487 |
+ |
rm -f conftest.er1 |
2488 |
+ |
cat conftest.err >&5 |
2489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2490 |
|
(exit $ac_status); } && |
2491 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2491 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2492 |
> |
|| test ! -s conftest.err' |
2493 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2494 |
|
(eval $ac_try) 2>&5 |
2495 |
|
ac_status=$? |
2496 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2497 |
+ |
(exit $ac_status); }; } && |
2498 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2499 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2500 |
+ |
(eval $ac_try) 2>&5 |
2501 |
+ |
ac_status=$? |
2502 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2503 |
|
(exit $ac_status); }; }; then |
2504 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2505 |
|
break |
2508 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2509 |
|
|
2510 |
|
fi |
2511 |
< |
rm -f conftest.$ac_objext |
2511 |
> |
rm -f conftest.err conftest.$ac_objext |
2512 |
|
done |
2513 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2514 |
|
CC=$ac_save_CC |
2536 |
|
_ACEOF |
2537 |
|
rm -f conftest.$ac_objext |
2538 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2539 |
< |
(eval $ac_compile) 2>&5 |
2539 |
> |
(eval $ac_compile) 2>conftest.er1 |
2540 |
|
ac_status=$? |
2541 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2542 |
+ |
rm -f conftest.er1 |
2543 |
+ |
cat conftest.err >&5 |
2544 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2545 |
|
(exit $ac_status); } && |
2546 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2546 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2547 |
> |
|| test ! -s conftest.err' |
2548 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2549 |
|
(eval $ac_try) 2>&5 |
2550 |
|
ac_status=$? |
2551 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2552 |
+ |
(exit $ac_status); }; } && |
2553 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2554 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2555 |
+ |
(eval $ac_try) 2>&5 |
2556 |
+ |
ac_status=$? |
2557 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2558 |
|
(exit $ac_status); }; }; then |
2559 |
|
for ac_declaration in \ |
2560 |
< |
''\ |
2486 |
< |
'#include <stdlib.h>' \ |
2560 |
> |
'' \ |
2561 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2562 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2563 |
|
'extern "C" void exit (int) throw ();' \ |
2565 |
|
'void exit (int);' |
2566 |
|
do |
2567 |
|
cat >conftest.$ac_ext <<_ACEOF |
2494 |
– |
#line $LINENO "configure" |
2568 |
|
/* confdefs.h. */ |
2569 |
|
_ACEOF |
2570 |
|
cat confdefs.h >>conftest.$ac_ext |
2571 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2572 |
|
/* end confdefs.h. */ |
2500 |
– |
#include <stdlib.h> |
2573 |
|
$ac_declaration |
2574 |
+ |
#include <stdlib.h> |
2575 |
|
int |
2576 |
|
main () |
2577 |
|
{ |
2582 |
|
_ACEOF |
2583 |
|
rm -f conftest.$ac_objext |
2584 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2585 |
< |
(eval $ac_compile) 2>&5 |
2585 |
> |
(eval $ac_compile) 2>conftest.er1 |
2586 |
|
ac_status=$? |
2587 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2588 |
+ |
rm -f conftest.er1 |
2589 |
+ |
cat conftest.err >&5 |
2590 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2591 |
|
(exit $ac_status); } && |
2592 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2592 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2593 |
> |
|| test ! -s conftest.err' |
2594 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2595 |
|
(eval $ac_try) 2>&5 |
2596 |
|
ac_status=$? |
2597 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2598 |
+ |
(exit $ac_status); }; } && |
2599 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2600 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 |
+ |
(eval $ac_try) 2>&5 |
2602 |
+ |
ac_status=$? |
2603 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2604 |
|
(exit $ac_status); }; }; then |
2605 |
|
: |
2606 |
|
else |
2609 |
|
|
2610 |
|
continue |
2611 |
|
fi |
2612 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2612 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2613 |
|
cat >conftest.$ac_ext <<_ACEOF |
2531 |
– |
#line $LINENO "configure" |
2614 |
|
/* confdefs.h. */ |
2615 |
|
_ACEOF |
2616 |
|
cat confdefs.h >>conftest.$ac_ext |
2627 |
|
_ACEOF |
2628 |
|
rm -f conftest.$ac_objext |
2629 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2630 |
< |
(eval $ac_compile) 2>&5 |
2630 |
> |
(eval $ac_compile) 2>conftest.er1 |
2631 |
|
ac_status=$? |
2632 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2633 |
+ |
rm -f conftest.er1 |
2634 |
+ |
cat conftest.err >&5 |
2635 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2636 |
|
(exit $ac_status); } && |
2637 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2637 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2638 |
> |
|| test ! -s conftest.err' |
2639 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2640 |
|
(eval $ac_try) 2>&5 |
2641 |
|
ac_status=$? |
2642 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2643 |
+ |
(exit $ac_status); }; } && |
2644 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2645 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2646 |
+ |
(eval $ac_try) 2>&5 |
2647 |
+ |
ac_status=$? |
2648 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2649 |
|
(exit $ac_status); }; }; then |
2650 |
|
break |
2651 |
|
else |
2653 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2654 |
|
|
2655 |
|
fi |
2656 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2656 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2657 |
|
done |
2658 |
|
rm -f conftest* |
2659 |
|
if test -n "$ac_declaration"; then |
2667 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2668 |
|
|
2669 |
|
fi |
2670 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2670 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2671 |
|
ac_ext=c |
2672 |
|
ac_cpp='$CPP $CPPFLAGS' |
2673 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2794 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2795 |
|
else |
2796 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
– |
#line $LINENO "configure" |
2797 |
|
/* confdefs.h. */ |
2798 |
|
_ACEOF |
2799 |
|
cat confdefs.h >>conftest.$ac_ext |
2813 |
|
_ACEOF |
2814 |
|
rm -f conftest.$ac_objext |
2815 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2816 |
< |
(eval $ac_compile) 2>&5 |
2816 |
> |
(eval $ac_compile) 2>conftest.er1 |
2817 |
|
ac_status=$? |
2818 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2819 |
+ |
rm -f conftest.er1 |
2820 |
+ |
cat conftest.err >&5 |
2821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2822 |
|
(exit $ac_status); } && |
2823 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2823 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2824 |
> |
|| test ! -s conftest.err' |
2825 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2826 |
|
(eval $ac_try) 2>&5 |
2827 |
|
ac_status=$? |
2828 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2829 |
+ |
(exit $ac_status); }; } && |
2830 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2831 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2832 |
+ |
(eval $ac_try) 2>&5 |
2833 |
+ |
ac_status=$? |
2834 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2835 |
|
(exit $ac_status); }; }; then |
2836 |
|
ac_compiler_gnu=yes |
2837 |
|
else |
2840 |
|
|
2841 |
|
ac_compiler_gnu=no |
2842 |
|
fi |
2843 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2843 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2844 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2845 |
|
|
2846 |
|
fi |
2856 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2857 |
|
else |
2858 |
|
cat >conftest.$ac_ext <<_ACEOF |
2758 |
– |
#line $LINENO "configure" |
2859 |
|
/* confdefs.h. */ |
2860 |
|
_ACEOF |
2861 |
|
cat confdefs.h >>conftest.$ac_ext |
2872 |
|
_ACEOF |
2873 |
|
rm -f conftest.$ac_objext |
2874 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2875 |
< |
(eval $ac_compile) 2>&5 |
2875 |
> |
(eval $ac_compile) 2>conftest.er1 |
2876 |
|
ac_status=$? |
2877 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2878 |
+ |
rm -f conftest.er1 |
2879 |
+ |
cat conftest.err >&5 |
2880 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2881 |
|
(exit $ac_status); } && |
2882 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2882 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2883 |
> |
|| test ! -s conftest.err' |
2884 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2885 |
|
(eval $ac_try) 2>&5 |
2886 |
|
ac_status=$? |
2887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2888 |
+ |
(exit $ac_status); }; } && |
2889 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2890 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2891 |
+ |
(eval $ac_try) 2>&5 |
2892 |
+ |
ac_status=$? |
2893 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2894 |
|
(exit $ac_status); }; }; then |
2895 |
|
ac_cv_prog_cxx_g=yes |
2896 |
|
else |
2899 |
|
|
2900 |
|
ac_cv_prog_cxx_g=no |
2901 |
|
fi |
2902 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2902 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2903 |
|
fi |
2904 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2905 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2919 |
|
fi |
2920 |
|
fi |
2921 |
|
for ac_declaration in \ |
2922 |
< |
''\ |
2813 |
< |
'#include <stdlib.h>' \ |
2922 |
> |
'' \ |
2923 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2924 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2925 |
|
'extern "C" void exit (int) throw ();' \ |
2927 |
|
'void exit (int);' |
2928 |
|
do |
2929 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
– |
#line $LINENO "configure" |
2930 |
|
/* confdefs.h. */ |
2931 |
|
_ACEOF |
2932 |
|
cat confdefs.h >>conftest.$ac_ext |
2933 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2934 |
|
/* end confdefs.h. */ |
2827 |
– |
#include <stdlib.h> |
2935 |
|
$ac_declaration |
2936 |
+ |
#include <stdlib.h> |
2937 |
|
int |
2938 |
|
main () |
2939 |
|
{ |
2944 |
|
_ACEOF |
2945 |
|
rm -f conftest.$ac_objext |
2946 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2947 |
< |
(eval $ac_compile) 2>&5 |
2947 |
> |
(eval $ac_compile) 2>conftest.er1 |
2948 |
|
ac_status=$? |
2949 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2950 |
+ |
rm -f conftest.er1 |
2951 |
+ |
cat conftest.err >&5 |
2952 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2953 |
|
(exit $ac_status); } && |
2954 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2954 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2955 |
> |
|| test ! -s conftest.err' |
2956 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2957 |
|
(eval $ac_try) 2>&5 |
2958 |
|
ac_status=$? |
2959 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2960 |
+ |
(exit $ac_status); }; } && |
2961 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2962 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2963 |
+ |
(eval $ac_try) 2>&5 |
2964 |
+ |
ac_status=$? |
2965 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2966 |
|
(exit $ac_status); }; }; then |
2967 |
|
: |
2968 |
|
else |
2971 |
|
|
2972 |
|
continue |
2973 |
|
fi |
2974 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2974 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2975 |
|
cat >conftest.$ac_ext <<_ACEOF |
2858 |
– |
#line $LINENO "configure" |
2976 |
|
/* confdefs.h. */ |
2977 |
|
_ACEOF |
2978 |
|
cat confdefs.h >>conftest.$ac_ext |
2989 |
|
_ACEOF |
2990 |
|
rm -f conftest.$ac_objext |
2991 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2992 |
< |
(eval $ac_compile) 2>&5 |
2992 |
> |
(eval $ac_compile) 2>conftest.er1 |
2993 |
|
ac_status=$? |
2994 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2995 |
+ |
rm -f conftest.er1 |
2996 |
+ |
cat conftest.err >&5 |
2997 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2998 |
|
(exit $ac_status); } && |
2999 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2999 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3000 |
> |
|| test ! -s conftest.err' |
3001 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3002 |
|
(eval $ac_try) 2>&5 |
3003 |
|
ac_status=$? |
3004 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3005 |
+ |
(exit $ac_status); }; } && |
3006 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3007 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3008 |
+ |
(eval $ac_try) 2>&5 |
3009 |
+ |
ac_status=$? |
3010 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3011 |
|
(exit $ac_status); }; }; then |
3012 |
|
break |
3013 |
|
else |
3015 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3016 |
|
|
3017 |
|
fi |
3018 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3018 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3019 |
|
done |
3020 |
|
rm -f conftest* |
3021 |
|
if test -n "$ac_declaration"; then |
3200 |
|
_ACEOF |
3201 |
|
rm -f conftest.$ac_objext |
3202 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3203 |
< |
(eval $ac_compile) 2>&5 |
3203 |
> |
(eval $ac_compile) 2>conftest.er1 |
3204 |
|
ac_status=$? |
3205 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3206 |
+ |
rm -f conftest.er1 |
3207 |
+ |
cat conftest.err >&5 |
3208 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3209 |
|
(exit $ac_status); } && |
3210 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3210 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3211 |
> |
|| test ! -s conftest.err' |
3212 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3213 |
> |
(eval $ac_try) 2>&5 |
3214 |
> |
ac_status=$? |
3215 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3216 |
> |
(exit $ac_status); }; } && |
3217 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3218 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3219 |
|
(eval $ac_try) 2>&5 |
3220 |
|
ac_status=$? |
3227 |
|
|
3228 |
|
ac_compiler_gnu=no |
3229 |
|
fi |
3230 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3230 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3231 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3232 |
|
|
3233 |
|
fi |
3301 |
|
_ACEOF |
3302 |
|
rm -f conftest.$ac_objext |
3303 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3304 |
< |
(eval $ac_compile) 2>&5 |
3304 |
> |
(eval $ac_compile) 2>conftest.er1 |
3305 |
|
ac_status=$? |
3306 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3307 |
+ |
rm -f conftest.er1 |
3308 |
+ |
cat conftest.err >&5 |
3309 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3310 |
|
(exit $ac_status); } && |
3311 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3311 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3312 |
> |
|| test ! -s conftest.err' |
3313 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3314 |
|
(eval $ac_try) 2>&5 |
3315 |
|
ac_status=$? |
3316 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3317 |
+ |
(exit $ac_status); }; } && |
3318 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3319 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3320 |
+ |
(eval $ac_try) 2>&5 |
3321 |
+ |
ac_status=$? |
3322 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3323 |
|
(exit $ac_status); }; }; then |
3324 |
|
prepflagworks=1 |
3325 |
|
else |
3328 |
|
|
3329 |
|
prepflagworks=0 |
3330 |
|
fi |
3331 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3331 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3332 |
|
|
3333 |
|
F90FLAGS=$ac_save_F90FLAGS |
3334 |
|
ac_ext=$ac_save_ext |
3416 |
|
_ACEOF |
3417 |
|
rm -f conftest.$ac_objext |
3418 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3419 |
< |
(eval $ac_compile) 2>&5 |
3419 |
> |
(eval $ac_compile) 2>conftest.er1 |
3420 |
|
ac_status=$? |
3421 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3422 |
+ |
rm -f conftest.er1 |
3423 |
+ |
cat conftest.err >&5 |
3424 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3425 |
|
(exit $ac_status); } && |
3426 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3426 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3427 |
> |
|| test ! -s conftest.err' |
3428 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3429 |
|
(eval $ac_try) 2>&5 |
3430 |
|
ac_status=$? |
3431 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3432 |
+ |
(exit $ac_status); }; } && |
3433 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3434 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3435 |
+ |
(eval $ac_try) 2>&5 |
3436 |
+ |
ac_status=$? |
3437 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3438 |
|
(exit $ac_status); }; }; then |
3439 |
|
prepdefflagworks=1 |
3440 |
|
else |
3443 |
|
|
3444 |
|
prepdefflagworks=0 |
3445 |
|
fi |
3446 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3446 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3447 |
|
|
3448 |
|
F90FLAGS=$ac_save_F90FLAGS |
3449 |
|
ac_ext=$ac_save_ext |
3495 |
|
_ACEOF |
3496 |
|
rm -f conftest.$ac_objext |
3497 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3498 |
< |
(eval $ac_compile) 2>&5 |
3498 |
> |
(eval $ac_compile) 2>conftest.er1 |
3499 |
|
ac_status=$? |
3500 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3501 |
+ |
rm -f conftest.er1 |
3502 |
+ |
cat conftest.err >&5 |
3503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3504 |
|
(exit $ac_status); } && |
3505 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3505 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3506 |
> |
|| test ! -s conftest.err' |
3507 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3508 |
> |
(eval $ac_try) 2>&5 |
3509 |
> |
ac_status=$? |
3510 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3511 |
> |
(exit $ac_status); }; } && |
3512 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3513 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 |
|
(eval $ac_try) 2>&5 |
3515 |
|
ac_status=$? |
3539 |
|
ac_save_F90FLAGS=$F90FLAGS |
3540 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3541 |
|
|
3542 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
3542 |
> |
(eval echo $as_me:3542: \"$ac_link\") >&5 |
3543 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3544 |
|
echo "$ac_f90_v_output" >&5 |
3545 |
|
F90FLAGS=$ac_save_F90FLAGS |
3581 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3582 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3583 |
|
fi |
3584 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3584 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3585 |
|
|
3586 |
|
fi |
3587 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3616 |
|
ac_save_F90FLAGS=$F90FLAGS |
3617 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3618 |
|
|
3619 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
3619 |
> |
(eval echo $as_me:3619: \"$ac_link\") >&5 |
3620 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3621 |
|
echo "$ac_f90_v_output" >&5 |
3622 |
|
F90FLAGS=$ac_save_F90FLAGS |
3798 |
|
_ACEOF |
3799 |
|
rm -f conftest.$ac_objext |
3800 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3801 |
< |
(eval $ac_compile) 2>&5 |
3801 |
> |
(eval $ac_compile) 2>conftest.er1 |
3802 |
|
ac_status=$? |
3803 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3804 |
+ |
rm -f conftest.er1 |
3805 |
+ |
cat conftest.err >&5 |
3806 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3807 |
|
(exit $ac_status); } && |
3808 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3808 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3809 |
> |
|| test ! -s conftest.err' |
3810 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3811 |
> |
(eval $ac_try) 2>&5 |
3812 |
> |
ac_status=$? |
3813 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3814 |
> |
(exit $ac_status); }; } && |
3815 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3816 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3817 |
|
(eval $ac_try) 2>&5 |
3818 |
|
ac_status=$? |
3834 |
|
for ac_underscore in "" "_"; do |
3835 |
|
ac_func="$ac_foobar$ac_underscore" |
3836 |
|
cat >conftest.$ac_ext <<_ACEOF |
3660 |
– |
#line $LINENO "configure" |
3837 |
|
/* confdefs.h. */ |
3838 |
|
_ACEOF |
3839 |
|
cat confdefs.h >>conftest.$ac_ext |
3857 |
|
_ACEOF |
3858 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3859 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3860 |
< |
(eval $ac_link) 2>&5 |
3860 |
> |
(eval $ac_link) 2>conftest.er1 |
3861 |
|
ac_status=$? |
3862 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3863 |
+ |
rm -f conftest.er1 |
3864 |
+ |
cat conftest.err >&5 |
3865 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3866 |
|
(exit $ac_status); } && |
3867 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3867 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3868 |
> |
|| test ! -s conftest.err' |
3869 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3870 |
|
(eval $ac_try) 2>&5 |
3871 |
|
ac_status=$? |
3872 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3873 |
+ |
(exit $ac_status); }; } && |
3874 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
3875 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3876 |
+ |
(eval $ac_try) 2>&5 |
3877 |
+ |
ac_status=$? |
3878 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3879 |
|
(exit $ac_status); }; }; then |
3880 |
|
ac_success=yes; break 2 |
3881 |
|
else |
3883 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3884 |
|
|
3885 |
|
fi |
3886 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3886 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3887 |
> |
conftest$ac_exeext conftest.$ac_ext |
3888 |
|
done |
3889 |
|
done |
3890 |
|
|
3905 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3906 |
|
|
3907 |
|
cat >conftest.$ac_ext <<_ACEOF |
3721 |
– |
#line $LINENO "configure" |
3908 |
|
/* confdefs.h. */ |
3909 |
|
_ACEOF |
3910 |
|
cat confdefs.h >>conftest.$ac_ext |
3928 |
|
_ACEOF |
3929 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3930 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3931 |
< |
(eval $ac_link) 2>&5 |
3931 |
> |
(eval $ac_link) 2>conftest.er1 |
3932 |
|
ac_status=$? |
3933 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3934 |
+ |
rm -f conftest.er1 |
3935 |
+ |
cat conftest.err >&5 |
3936 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3937 |
|
(exit $ac_status); } && |
3938 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3938 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3939 |
> |
|| test ! -s conftest.err' |
3940 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3941 |
> |
(eval $ac_try) 2>&5 |
3942 |
> |
ac_status=$? |
3943 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3944 |
> |
(exit $ac_status); }; } && |
3945 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3946 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3947 |
|
(eval $ac_try) 2>&5 |
3948 |
|
ac_status=$? |
3954 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3955 |
|
|
3956 |
|
fi |
3957 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3957 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3958 |
> |
conftest$ac_exeext conftest.$ac_ext |
3959 |
|
done |
3960 |
|
|
3961 |
|
if test "$ac_success_extra" = "yes"; then |
3990 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3991 |
|
|
3992 |
|
fi |
3993 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3993 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3994 |
|
ac_ext=f90 |
3995 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3996 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4233 |
|
_ACEOF |
4234 |
|
rm -f conftest.$ac_objext |
4235 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4236 |
< |
(eval $ac_compile) 2>&5 |
4236 |
> |
(eval $ac_compile) 2>conftest.er1 |
4237 |
|
ac_status=$? |
4238 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4239 |
+ |
rm -f conftest.er1 |
4240 |
+ |
cat conftest.err >&5 |
4241 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4242 |
|
(exit $ac_status); } && |
4243 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4243 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
4244 |
> |
|| test ! -s conftest.err' |
4245 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4246 |
|
(eval $ac_try) 2>&5 |
4247 |
|
ac_status=$? |
4248 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4249 |
+ |
(exit $ac_status); }; } && |
4250 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4251 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4252 |
+ |
(eval $ac_try) 2>&5 |
4253 |
+ |
ac_status=$? |
4254 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4255 |
|
(exit $ac_status); }; }; then |
4256 |
|
ac_cv_f90_module_names= |
4257 |
|
ac_file_list=* |
4352 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4353 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4354 |
|
fi |
4355 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4355 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4356 |
|
cd .. |
4357 |
|
# cleanup |
4358 |
|
rm -rf conftest |
4482 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4483 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4484 |
|
cat >conftest.$ac_ext <<_ACEOF |
4278 |
– |
#line $LINENO "configure" |
4485 |
|
/* confdefs.h. */ |
4486 |
|
_ACEOF |
4487 |
|
cat confdefs.h >>conftest.$ac_ext |
4492 |
|
#else |
4493 |
|
# include <assert.h> |
4494 |
|
#endif |
4495 |
< |
Syntax error |
4495 |
> |
Syntax error |
4496 |
|
_ACEOF |
4497 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4498 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4504 |
|
(exit $ac_status); } >/dev/null; then |
4505 |
|
if test -s conftest.err; then |
4506 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4507 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4508 |
|
else |
4509 |
|
ac_cpp_err= |
4510 |
|
fi |
4525 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4526 |
|
# can be detected and how. |
4527 |
|
cat >conftest.$ac_ext <<_ACEOF |
4321 |
– |
#line $LINENO "configure" |
4528 |
|
/* confdefs.h. */ |
4529 |
|
_ACEOF |
4530 |
|
cat confdefs.h >>conftest.$ac_ext |
4542 |
|
(exit $ac_status); } >/dev/null; then |
4543 |
|
if test -s conftest.err; then |
4544 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4545 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4546 |
|
else |
4547 |
|
ac_cpp_err= |
4548 |
|
fi |
4589 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4590 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4591 |
|
cat >conftest.$ac_ext <<_ACEOF |
4385 |
– |
#line $LINENO "configure" |
4592 |
|
/* confdefs.h. */ |
4593 |
|
_ACEOF |
4594 |
|
cat confdefs.h >>conftest.$ac_ext |
4599 |
|
#else |
4600 |
|
# include <assert.h> |
4601 |
|
#endif |
4602 |
< |
Syntax error |
4602 |
> |
Syntax error |
4603 |
|
_ACEOF |
4604 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4605 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4611 |
|
(exit $ac_status); } >/dev/null; then |
4612 |
|
if test -s conftest.err; then |
4613 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4614 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4615 |
|
else |
4616 |
|
ac_cpp_err= |
4617 |
|
fi |
4632 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4633 |
|
# can be detected and how. |
4634 |
|
cat >conftest.$ac_ext <<_ACEOF |
4428 |
– |
#line $LINENO "configure" |
4635 |
|
/* confdefs.h. */ |
4636 |
|
_ACEOF |
4637 |
|
cat confdefs.h >>conftest.$ac_ext |
4649 |
|
(exit $ac_status); } >/dev/null; then |
4650 |
|
if test -s conftest.err; then |
4651 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4652 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4653 |
|
else |
4654 |
|
ac_cpp_err= |
4655 |
|
fi |
4710 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4711 |
|
else |
4712 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
– |
#line $LINENO "configure" |
4713 |
|
/* confdefs.h. */ |
4714 |
|
_ACEOF |
4715 |
|
cat confdefs.h >>conftest.$ac_ext |
4730 |
|
_ACEOF |
4731 |
|
rm -f conftest.$ac_objext |
4732 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4733 |
< |
(eval $ac_compile) 2>&5 |
4733 |
> |
(eval $ac_compile) 2>conftest.er1 |
4734 |
|
ac_status=$? |
4735 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4736 |
+ |
rm -f conftest.er1 |
4737 |
+ |
cat conftest.err >&5 |
4738 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4739 |
|
(exit $ac_status); } && |
4740 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4740 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4741 |
> |
|| test ! -s conftest.err' |
4742 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4743 |
|
(eval $ac_try) 2>&5 |
4744 |
|
ac_status=$? |
4745 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4746 |
+ |
(exit $ac_status); }; } && |
4747 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4748 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4749 |
+ |
(eval $ac_try) 2>&5 |
4750 |
+ |
ac_status=$? |
4751 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4752 |
|
(exit $ac_status); }; }; then |
4753 |
|
ac_cv_header_stdc=yes |
4754 |
|
else |
4757 |
|
|
4758 |
|
ac_cv_header_stdc=no |
4759 |
|
fi |
4760 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4760 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4761 |
|
|
4762 |
|
if test $ac_cv_header_stdc = yes; then |
4763 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4764 |
|
cat >conftest.$ac_ext <<_ACEOF |
4549 |
– |
#line $LINENO "configure" |
4765 |
|
/* confdefs.h. */ |
4766 |
|
_ACEOF |
4767 |
|
cat confdefs.h >>conftest.$ac_ext |
4783 |
|
if test $ac_cv_header_stdc = yes; then |
4784 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4785 |
|
cat >conftest.$ac_ext <<_ACEOF |
4571 |
– |
#line $LINENO "configure" |
4786 |
|
/* confdefs.h. */ |
4787 |
|
_ACEOF |
4788 |
|
cat confdefs.h >>conftest.$ac_ext |
4807 |
|
: |
4808 |
|
else |
4809 |
|
cat >conftest.$ac_ext <<_ACEOF |
4596 |
– |
#line $LINENO "configure" |
4810 |
|
/* confdefs.h. */ |
4811 |
|
_ACEOF |
4812 |
|
cat confdefs.h >>conftest.$ac_ext |
4818 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4819 |
|
#else |
4820 |
|
# define ISLOWER(c) \ |
4821 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4822 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4823 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4821 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4822 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4823 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4824 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4825 |
|
#endif |
4826 |
|
|
4831 |
|
int i; |
4832 |
|
for (i = 0; i < 256; i++) |
4833 |
|
if (XOR (islower (i), ISLOWER (i)) |
4834 |
< |
|| toupper (i) != TOUPPER (i)) |
4834 |
> |
|| toupper (i) != TOUPPER (i)) |
4835 |
|
exit(2); |
4836 |
|
exit (0); |
4837 |
|
} |
4856 |
|
( exit $ac_status ) |
4857 |
|
ac_cv_header_stdc=no |
4858 |
|
fi |
4859 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4859 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4860 |
|
fi |
4861 |
|
fi |
4862 |
|
fi |
4881 |
|
|
4882 |
|
|
4883 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4884 |
< |
inttypes.h stdint.h unistd.h |
4884 |
> |
inttypes.h stdint.h unistd.h |
4885 |
|
do |
4886 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4887 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4890 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4891 |
|
else |
4892 |
|
cat >conftest.$ac_ext <<_ACEOF |
4680 |
– |
#line $LINENO "configure" |
4893 |
|
/* confdefs.h. */ |
4894 |
|
_ACEOF |
4895 |
|
cat confdefs.h >>conftest.$ac_ext |
4901 |
|
_ACEOF |
4902 |
|
rm -f conftest.$ac_objext |
4903 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4904 |
< |
(eval $ac_compile) 2>&5 |
4904 |
> |
(eval $ac_compile) 2>conftest.er1 |
4905 |
|
ac_status=$? |
4906 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4907 |
+ |
rm -f conftest.er1 |
4908 |
+ |
cat conftest.err >&5 |
4909 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4910 |
|
(exit $ac_status); } && |
4911 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4911 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4912 |
> |
|| test ! -s conftest.err' |
4913 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4914 |
|
(eval $ac_try) 2>&5 |
4915 |
|
ac_status=$? |
4916 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4917 |
+ |
(exit $ac_status); }; } && |
4918 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4919 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4920 |
+ |
(eval $ac_try) 2>&5 |
4921 |
+ |
ac_status=$? |
4922 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4923 |
|
(exit $ac_status); }; }; then |
4924 |
|
eval "$as_ac_Header=yes" |
4925 |
|
else |
4928 |
|
|
4929 |
|
eval "$as_ac_Header=no" |
4930 |
|
fi |
4931 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4931 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4932 |
|
fi |
4933 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4934 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4967 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4968 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4969 |
|
cat >conftest.$ac_ext <<_ACEOF |
4748 |
– |
#line $LINENO "configure" |
4970 |
|
/* confdefs.h. */ |
4971 |
|
_ACEOF |
4972 |
|
cat confdefs.h >>conftest.$ac_ext |
4977 |
|
_ACEOF |
4978 |
|
rm -f conftest.$ac_objext |
4979 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4980 |
< |
(eval $ac_compile) 2>&5 |
4980 |
> |
(eval $ac_compile) 2>conftest.er1 |
4981 |
|
ac_status=$? |
4982 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4983 |
+ |
rm -f conftest.er1 |
4984 |
+ |
cat conftest.err >&5 |
4985 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4986 |
|
(exit $ac_status); } && |
4987 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4987 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4988 |
> |
|| test ! -s conftest.err' |
4989 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4990 |
|
(eval $ac_try) 2>&5 |
4991 |
|
ac_status=$? |
4992 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4993 |
+ |
(exit $ac_status); }; } && |
4994 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4995 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4996 |
+ |
(eval $ac_try) 2>&5 |
4997 |
+ |
ac_status=$? |
4998 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4999 |
|
(exit $ac_status); }; }; then |
5000 |
|
ac_header_compiler=yes |
5001 |
|
else |
5004 |
|
|
5005 |
|
ac_header_compiler=no |
5006 |
|
fi |
5007 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5007 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5008 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5009 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5010 |
|
|
5012 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5013 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5014 |
|
cat >conftest.$ac_ext <<_ACEOF |
4784 |
– |
#line $LINENO "configure" |
5015 |
|
/* confdefs.h. */ |
5016 |
|
_ACEOF |
5017 |
|
cat confdefs.h >>conftest.$ac_ext |
5029 |
|
(exit $ac_status); } >/dev/null; then |
5030 |
|
if test -s conftest.err; then |
5031 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5032 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5033 |
|
else |
5034 |
|
ac_cpp_err= |
5035 |
|
fi |
5049 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5050 |
|
|
5051 |
|
# So? What about this header? |
5052 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5053 |
< |
yes:no ) |
5052 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5053 |
> |
yes:no: ) |
5054 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5055 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5056 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5057 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5058 |
< |
( |
4828 |
< |
cat <<\_ASBOX |
4829 |
< |
## ------------------------------------ ## |
4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
< |
## ------------------------------------ ## |
4832 |
< |
_ASBOX |
4833 |
< |
) | |
4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5056 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5057 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5058 |
> |
ac_header_preproc=yes |
5059 |
|
;; |
5060 |
< |
no:yes ) |
5060 |
> |
no:yes:* ) |
5061 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5062 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5063 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5064 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5063 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5064 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5065 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5066 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5067 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5068 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5069 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5070 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5071 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5072 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5073 |
|
( |
5074 |
|
cat <<\_ASBOX |
5075 |
< |
## ------------------------------------ ## |
5076 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5077 |
< |
## ------------------------------------ ## |
5075 |
> |
## ------------------------------ ## |
5076 |
> |
## Report this to gezelter@nd.edu ## |
5077 |
> |
## ------------------------------ ## |
5078 |
|
_ASBOX |
5079 |
|
) | |
5080 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5085 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5086 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5087 |
|
else |
5088 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5088 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5089 |
|
fi |
5090 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5091 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5114 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5115 |
|
else |
5116 |
|
cat >conftest.$ac_ext <<_ACEOF |
4887 |
– |
#line $LINENO "configure" |
5117 |
|
/* confdefs.h. */ |
5118 |
|
_ACEOF |
5119 |
|
cat confdefs.h >>conftest.$ac_ext |
5120 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5121 |
|
/* end confdefs.h. */ |
5122 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5123 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5124 |
+ |
#define $ac_func innocuous_$ac_func |
5125 |
+ |
|
5126 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5127 |
|
which can conflict with char $ac_func (); below. |
5128 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5129 |
|
<limits.h> exists even on freestanding compilers. */ |
5130 |
+ |
|
5131 |
|
#ifdef __STDC__ |
5132 |
|
# include <limits.h> |
5133 |
|
#else |
5134 |
|
# include <assert.h> |
5135 |
|
#endif |
5136 |
+ |
|
5137 |
+ |
#undef $ac_func |
5138 |
+ |
|
5139 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5140 |
|
#ifdef __cplusplus |
5141 |
|
extern "C" |
5166 |
|
_ACEOF |
5167 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5168 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5169 |
< |
(eval $ac_link) 2>&5 |
5169 |
> |
(eval $ac_link) 2>conftest.er1 |
5170 |
|
ac_status=$? |
5171 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5172 |
+ |
rm -f conftest.er1 |
5173 |
+ |
cat conftest.err >&5 |
5174 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5175 |
|
(exit $ac_status); } && |
5176 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5176 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5177 |
> |
|| test ! -s conftest.err' |
5178 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5179 |
|
(eval $ac_try) 2>&5 |
5180 |
|
ac_status=$? |
5181 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5182 |
+ |
(exit $ac_status); }; } && |
5183 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5184 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5185 |
+ |
(eval $ac_try) 2>&5 |
5186 |
+ |
ac_status=$? |
5187 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5188 |
|
(exit $ac_status); }; }; then |
5189 |
|
eval "$as_ac_var=yes" |
5190 |
|
else |
5193 |
|
|
5194 |
|
eval "$as_ac_var=no" |
5195 |
|
fi |
5196 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5196 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5197 |
> |
conftest$ac_exeext conftest.$ac_ext |
5198 |
|
fi |
5199 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5200 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5211 |
|
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5212 |
|
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5213 |
|
cat >conftest.$ac_ext <<_ACEOF |
4966 |
– |
#line $LINENO "configure" |
5214 |
|
/* confdefs.h. */ |
5215 |
|
_ACEOF |
5216 |
|
cat confdefs.h >>conftest.$ac_ext |
5227 |
|
_ACEOF |
5228 |
|
rm -f conftest.$ac_objext |
5229 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5230 |
< |
(eval $ac_compile) 2>&5 |
5230 |
> |
(eval $ac_compile) 2>conftest.er1 |
5231 |
|
ac_status=$? |
5232 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5233 |
+ |
rm -f conftest.er1 |
5234 |
+ |
cat conftest.err >&5 |
5235 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5236 |
|
(exit $ac_status); } && |
5237 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5237 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5238 |
> |
|| test ! -s conftest.err' |
5239 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5240 |
|
(eval $ac_try) 2>&5 |
5241 |
|
ac_status=$? |
5242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5243 |
+ |
(exit $ac_status); }; } && |
5244 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5245 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5246 |
+ |
(eval $ac_try) 2>&5 |
5247 |
+ |
ac_status=$? |
5248 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5249 |
|
(exit $ac_status); }; }; then |
5250 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5251 |
|
echo "${ECHO_T}yes" >&6 |
5261 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5262 |
|
echo "${ECHO_T}no" >&6 |
5263 |
|
fi |
5264 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5264 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5265 |
|
|
5266 |
|
# clean out junk possibly left behind by a previous configuration |
5267 |
|
rm -f src/getopt.h |
5283 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5284 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5285 |
|
cat >conftest.$ac_ext <<_ACEOF |
5029 |
– |
#line $LINENO "configure" |
5286 |
|
/* confdefs.h. */ |
5287 |
|
_ACEOF |
5288 |
|
cat confdefs.h >>conftest.$ac_ext |
5293 |
|
_ACEOF |
5294 |
|
rm -f conftest.$ac_objext |
5295 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5296 |
< |
(eval $ac_compile) 2>&5 |
5296 |
> |
(eval $ac_compile) 2>conftest.er1 |
5297 |
|
ac_status=$? |
5298 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5299 |
+ |
rm -f conftest.er1 |
5300 |
+ |
cat conftest.err >&5 |
5301 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5302 |
|
(exit $ac_status); } && |
5303 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5303 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5304 |
> |
|| test ! -s conftest.err' |
5305 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5306 |
|
(eval $ac_try) 2>&5 |
5307 |
|
ac_status=$? |
5308 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5309 |
+ |
(exit $ac_status); }; } && |
5310 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5311 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5312 |
+ |
(eval $ac_try) 2>&5 |
5313 |
+ |
ac_status=$? |
5314 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5315 |
|
(exit $ac_status); }; }; then |
5316 |
|
ac_header_compiler=yes |
5317 |
|
else |
5320 |
|
|
5321 |
|
ac_header_compiler=no |
5322 |
|
fi |
5323 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5323 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5324 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5325 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5326 |
|
|
5328 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5329 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5330 |
|
cat >conftest.$ac_ext <<_ACEOF |
5065 |
– |
#line $LINENO "configure" |
5331 |
|
/* confdefs.h. */ |
5332 |
|
_ACEOF |
5333 |
|
cat confdefs.h >>conftest.$ac_ext |
5345 |
|
(exit $ac_status); } >/dev/null; then |
5346 |
|
if test -s conftest.err; then |
5347 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5348 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5349 |
|
else |
5350 |
|
ac_cpp_err= |
5351 |
|
fi |
5365 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5366 |
|
|
5367 |
|
# So? What about this header? |
5368 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5369 |
< |
yes:no ) |
5368 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5369 |
> |
yes:no: ) |
5370 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5371 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5372 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5373 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5374 |
< |
( |
5109 |
< |
cat <<\_ASBOX |
5110 |
< |
## ------------------------------------ ## |
5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5112 |
< |
## ------------------------------------ ## |
5113 |
< |
_ASBOX |
5114 |
< |
) | |
5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5372 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5373 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5374 |
> |
ac_header_preproc=yes |
5375 |
|
;; |
5376 |
< |
no:yes ) |
5376 |
> |
no:yes:* ) |
5377 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5378 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5379 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5380 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5379 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5380 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5381 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5382 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5383 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5384 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5385 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5386 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5387 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5388 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5389 |
|
( |
5390 |
|
cat <<\_ASBOX |
5391 |
< |
## ------------------------------------ ## |
5392 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5393 |
< |
## ------------------------------------ ## |
5391 |
> |
## ------------------------------ ## |
5392 |
> |
## Report this to gezelter@nd.edu ## |
5393 |
> |
## ------------------------------ ## |
5394 |
|
_ASBOX |
5395 |
|
) | |
5396 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5401 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5402 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5403 |
|
else |
5404 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5404 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5405 |
|
fi |
5406 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5407 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5426 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5427 |
|
else |
5428 |
|
cat >conftest.$ac_ext <<_ACEOF |
5164 |
– |
#line $LINENO "configure" |
5429 |
|
/* confdefs.h. */ |
5430 |
|
_ACEOF |
5431 |
|
cat confdefs.h >>conftest.$ac_ext |
5432 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5433 |
|
/* end confdefs.h. */ |
5434 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5435 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5436 |
+ |
#define $ac_func innocuous_$ac_func |
5437 |
+ |
|
5438 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5439 |
|
which can conflict with char $ac_func (); below. |
5440 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5441 |
|
<limits.h> exists even on freestanding compilers. */ |
5442 |
+ |
|
5443 |
|
#ifdef __STDC__ |
5444 |
|
# include <limits.h> |
5445 |
|
#else |
5446 |
|
# include <assert.h> |
5447 |
|
#endif |
5448 |
+ |
|
5449 |
+ |
#undef $ac_func |
5450 |
+ |
|
5451 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5452 |
|
#ifdef __cplusplus |
5453 |
|
extern "C" |
5478 |
|
_ACEOF |
5479 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5480 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5481 |
< |
(eval $ac_link) 2>&5 |
5481 |
> |
(eval $ac_link) 2>conftest.er1 |
5482 |
|
ac_status=$? |
5483 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5484 |
+ |
rm -f conftest.er1 |
5485 |
+ |
cat conftest.err >&5 |
5486 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5487 |
|
(exit $ac_status); } && |
5488 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5488 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5489 |
> |
|| test ! -s conftest.err' |
5490 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5491 |
|
(eval $ac_try) 2>&5 |
5492 |
|
ac_status=$? |
5493 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5494 |
+ |
(exit $ac_status); }; } && |
5495 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5496 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5497 |
+ |
(eval $ac_try) 2>&5 |
5498 |
+ |
ac_status=$? |
5499 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5500 |
|
(exit $ac_status); }; }; then |
5501 |
|
eval "$as_ac_var=yes" |
5502 |
|
else |
5505 |
|
|
5506 |
|
eval "$as_ac_var=no" |
5507 |
|
fi |
5508 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5508 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5509 |
> |
conftest$ac_exeext conftest.$ac_ext |
5510 |
|
fi |
5511 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5512 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5525 |
|
ac_check_lib_save_LIBS=$LIBS |
5526 |
|
LIBS="-lgnugetopt $LIBS" |
5527 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
– |
#line $LINENO "configure" |
5528 |
|
/* confdefs.h. */ |
5529 |
|
_ACEOF |
5530 |
|
cat confdefs.h >>conftest.$ac_ext |
5548 |
|
_ACEOF |
5549 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5550 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5551 |
< |
(eval $ac_link) 2>&5 |
5551 |
> |
(eval $ac_link) 2>conftest.er1 |
5552 |
|
ac_status=$? |
5553 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5554 |
+ |
rm -f conftest.er1 |
5555 |
+ |
cat conftest.err >&5 |
5556 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5557 |
|
(exit $ac_status); } && |
5558 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5558 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5559 |
> |
|| test ! -s conftest.err' |
5560 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5561 |
|
(eval $ac_try) 2>&5 |
5562 |
|
ac_status=$? |
5563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5564 |
+ |
(exit $ac_status); }; } && |
5565 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5566 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5567 |
+ |
(eval $ac_try) 2>&5 |
5568 |
+ |
ac_status=$? |
5569 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5570 |
|
(exit $ac_status); }; }; then |
5571 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
5572 |
|
else |
5575 |
|
|
5576 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
5577 |
|
fi |
5578 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5578 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5579 |
> |
conftest$ac_exeext conftest.$ac_ext |
5580 |
|
LIBS=$ac_check_lib_save_LIBS |
5581 |
|
fi |
5582 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5588 |
|
|
5589 |
|
else |
5590 |
|
# use the GNU replacement |
5591 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5592 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5591 |
> |
case $LIBOBJS in |
5592 |
> |
"getopt.$ac_objext" | \ |
5593 |
> |
*" getopt.$ac_objext" | \ |
5594 |
> |
"getopt.$ac_objext "* | \ |
5595 |
> |
*" getopt.$ac_objext "* ) ;; |
5596 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5597 |
> |
esac |
5598 |
> |
|
5599 |
> |
case $LIBOBJS in |
5600 |
> |
"getopt1.$ac_objext" | \ |
5601 |
> |
*" getopt1.$ac_objext" | \ |
5602 |
> |
"getopt1.$ac_objext "* | \ |
5603 |
> |
*" getopt1.$ac_objext "* ) ;; |
5604 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5605 |
> |
esac |
5606 |
> |
|
5607 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5608 |
|
|
5609 |
|
fi |
6652 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6653 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6654 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6655 |
+ |
# OS/2's system install, which has a completely different semantic |
6656 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6657 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6658 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6669 |
|
case $as_dir/ in |
6670 |
|
./ | .// | /cC/* | \ |
6671 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6672 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6673 |
|
/usr/ucb/* ) ;; |
6674 |
|
*) |
6675 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
6677 |
|
# by default. |
6678 |
|
for ac_prog in ginstall scoinst install; do |
6679 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6680 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6681 |
< |
if test $ac_prog = install && |
6682 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6683 |
< |
# AIX install. It has an incompatible calling convention. |
6684 |
< |
: |
6685 |
< |
elif test $ac_prog = install && |
6686 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6687 |
< |
# program-specific install script used by HP pwplus--don't use. |
6688 |
< |
: |
6689 |
< |
else |
6690 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6691 |
< |
break 3 |
6692 |
< |
fi |
6693 |
< |
fi |
6680 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6681 |
> |
if test $ac_prog = install && |
6682 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6683 |
> |
# AIX install. It has an incompatible calling convention. |
6684 |
> |
: |
6685 |
> |
elif test $ac_prog = install && |
6686 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6687 |
> |
# program-specific install script used by HP pwplus--don't use. |
6688 |
> |
: |
6689 |
> |
else |
6690 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6691 |
> |
break 3 |
6692 |
> |
fi |
6693 |
> |
fi |
6694 |
|
done |
6695 |
|
done |
6696 |
|
;; |
6733 |
|
|
6734 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6735 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6736 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6736 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6737 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6738 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6739 |
|
else |
6932 |
|
ac_check_lib_save_LIBS=$LIBS |
6933 |
|
LIBS="-lfl $LIBS" |
6934 |
|
cat >conftest.$ac_ext <<_ACEOF |
6626 |
– |
#line $LINENO "configure" |
6935 |
|
/* confdefs.h. */ |
6936 |
|
_ACEOF |
6937 |
|
cat confdefs.h >>conftest.$ac_ext |
6955 |
|
_ACEOF |
6956 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6957 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6958 |
< |
(eval $ac_link) 2>&5 |
6958 |
> |
(eval $ac_link) 2>conftest.er1 |
6959 |
|
ac_status=$? |
6960 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6961 |
+ |
rm -f conftest.er1 |
6962 |
+ |
cat conftest.err >&5 |
6963 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6964 |
|
(exit $ac_status); } && |
6965 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6965 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6966 |
> |
|| test ! -s conftest.err' |
6967 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6968 |
|
(eval $ac_try) 2>&5 |
6969 |
|
ac_status=$? |
6970 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6971 |
+ |
(exit $ac_status); }; } && |
6972 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
6973 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6974 |
+ |
(eval $ac_try) 2>&5 |
6975 |
+ |
ac_status=$? |
6976 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6977 |
|
(exit $ac_status); }; }; then |
6978 |
|
ac_cv_lib_fl_yywrap=yes |
6979 |
|
else |
6982 |
|
|
6983 |
|
ac_cv_lib_fl_yywrap=no |
6984 |
|
fi |
6985 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6985 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6986 |
> |
conftest$ac_exeext conftest.$ac_ext |
6987 |
|
LIBS=$ac_check_lib_save_LIBS |
6988 |
|
fi |
6989 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
6999 |
|
ac_check_lib_save_LIBS=$LIBS |
7000 |
|
LIBS="-ll $LIBS" |
7001 |
|
cat >conftest.$ac_ext <<_ACEOF |
6683 |
– |
#line $LINENO "configure" |
7002 |
|
/* confdefs.h. */ |
7003 |
|
_ACEOF |
7004 |
|
cat confdefs.h >>conftest.$ac_ext |
7022 |
|
_ACEOF |
7023 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7024 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7025 |
< |
(eval $ac_link) 2>&5 |
7025 |
> |
(eval $ac_link) 2>conftest.er1 |
7026 |
|
ac_status=$? |
7027 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7028 |
+ |
rm -f conftest.er1 |
7029 |
+ |
cat conftest.err >&5 |
7030 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 |
|
(exit $ac_status); } && |
7032 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7032 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7033 |
> |
|| test ! -s conftest.err' |
7034 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7035 |
|
(eval $ac_try) 2>&5 |
7036 |
|
ac_status=$? |
7037 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7038 |
+ |
(exit $ac_status); }; } && |
7039 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7040 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7041 |
+ |
(eval $ac_try) 2>&5 |
7042 |
+ |
ac_status=$? |
7043 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7044 |
|
(exit $ac_status); }; }; then |
7045 |
|
ac_cv_lib_l_yywrap=yes |
7046 |
|
else |
7049 |
|
|
7050 |
|
ac_cv_lib_l_yywrap=no |
7051 |
|
fi |
7052 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7052 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7053 |
> |
conftest$ac_exeext conftest.$ac_ext |
7054 |
|
LIBS=$ac_check_lib_save_LIBS |
7055 |
|
fi |
7056 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
7112 |
|
_ACEOF |
7113 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7114 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7115 |
< |
(eval $ac_link) 2>&5 |
7115 |
> |
(eval $ac_link) 2>conftest.er1 |
7116 |
|
ac_status=$? |
7117 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7118 |
+ |
rm -f conftest.er1 |
7119 |
+ |
cat conftest.err >&5 |
7120 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7121 |
|
(exit $ac_status); } && |
7122 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7122 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7123 |
> |
|| test ! -s conftest.err' |
7124 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7125 |
|
(eval $ac_try) 2>&5 |
7126 |
|
ac_status=$? |
7127 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7128 |
+ |
(exit $ac_status); }; } && |
7129 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7130 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7131 |
+ |
(eval $ac_try) 2>&5 |
7132 |
+ |
ac_status=$? |
7133 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7134 |
|
(exit $ac_status); }; }; then |
7135 |
|
ac_cv_prog_lex_yytext_pointer=yes |
7136 |
|
else |
7138 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7139 |
|
|
7140 |
|
fi |
7141 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7141 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7142 |
> |
conftest$ac_exeext conftest.$ac_ext |
7143 |
|
LIBS=$ac_save_LIBS |
7144 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
7145 |
|
|
7223 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7224 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7225 |
|
sed -n \ |
7226 |
< |
"s/'/'\\\\''/g; |
7227 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7226 |
> |
"s/'/'\\\\''/g; |
7227 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7228 |
|
;; |
7229 |
|
*) |
7230 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7231 |
|
sed -n \ |
7232 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7232 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7233 |
|
;; |
7234 |
|
esac; |
7235 |
|
} | |
7297 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7298 |
|
else |
7299 |
|
|
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 |
7300 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
7301 |
|
ac_cv_prog_ps_ax=yes |
7302 |
|
else |
7303 |
|
ac_cv_prog_ps_ax=no |
7304 |
|
fi |
7305 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
7306 |
< |
ac_cv_prog_ps_syntax=POSIX |
7305 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
7306 |
> |
ac_cv_prog_ps_ef=yes |
7307 |
> |
else |
7308 |
> |
ac_cv_prog_ps_ef=no |
7309 |
> |
fi |
7310 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
7311 |
> |
ac_cv_prog_ps_syntax=BSD |
7312 |
|
else |
7313 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
7314 |
< |
ac_cv_prog_ps_syntax=BSD |
7313 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
7314 |
> |
ac_cv_prog_ps_syntax=POSIX |
7315 |
|
else |
7316 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
7317 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
7323 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
7324 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
7325 |
|
|
7326 |
+ |
|
7327 |
|
cat >>confdefs.h <<_ACEOF |
7328 |
< |
#define PS $PS |
7328 |
> |
#define PSCOMMAND $PS |
7329 |
|
_ACEOF |
7330 |
|
|
7331 |
|
|
7332 |
< |
cat >>confdefs.h <<_ACEOF |
7333 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
7332 |
> |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
7333 |
> |
cat >>confdefs.h <<\_ACEOF |
7334 |
> |
#define PSTYPE_IS_BSD 1 |
7335 |
|
_ACEOF |
7336 |
|
|
7337 |
+ |
else |
7338 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
7339 |
+ |
cat >>confdefs.h <<\_ACEOF |
7340 |
+ |
#define PSTYPE_IS_POSIX 1 |
7341 |
+ |
_ACEOF |
7342 |
|
|
7343 |
+ |
else |
7344 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
7345 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
7346 |
+ |
{ (exit 1); exit 1; }; } |
7347 |
+ |
fi |
7348 |
+ |
fi |
7349 |
|
|
7350 |
|
|
7351 |
|
# Check whether --with-mpi or --without-mpi was given. |
7445 |
|
ac_check_lib_save_LIBS=$LIBS |
7446 |
|
LIBS="-lmpich $LIBS" |
7447 |
|
cat >conftest.$ac_ext <<_ACEOF |
7095 |
– |
#line $LINENO "configure" |
7448 |
|
/* confdefs.h. */ |
7449 |
|
_ACEOF |
7450 |
|
cat confdefs.h >>conftest.$ac_ext |
7468 |
|
_ACEOF |
7469 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7470 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7471 |
< |
(eval $ac_link) 2>&5 |
7471 |
> |
(eval $ac_link) 2>conftest.er1 |
7472 |
|
ac_status=$? |
7473 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7474 |
+ |
rm -f conftest.er1 |
7475 |
+ |
cat conftest.err >&5 |
7476 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7477 |
|
(exit $ac_status); } && |
7478 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7478 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7479 |
> |
|| test ! -s conftest.err' |
7480 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7481 |
|
(eval $ac_try) 2>&5 |
7482 |
|
ac_status=$? |
7483 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7484 |
+ |
(exit $ac_status); }; } && |
7485 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7486 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7487 |
+ |
(eval $ac_try) 2>&5 |
7488 |
+ |
ac_status=$? |
7489 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7490 |
|
(exit $ac_status); }; }; then |
7491 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7492 |
|
else |
7495 |
|
|
7496 |
|
ac_cv_lib_mpich_MPI_Init=no |
7497 |
|
fi |
7498 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7498 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7499 |
> |
conftest$ac_exeext conftest.$ac_ext |
7500 |
|
LIBS=$ac_check_lib_save_LIBS |
7501 |
|
fi |
7502 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7515 |
|
ac_check_lib_save_LIBS=$LIBS |
7516 |
|
LIBS="-lmpi $LIBS" |
7517 |
|
cat >conftest.$ac_ext <<_ACEOF |
7155 |
– |
#line $LINENO "configure" |
7518 |
|
/* confdefs.h. */ |
7519 |
|
_ACEOF |
7520 |
|
cat confdefs.h >>conftest.$ac_ext |
7538 |
|
_ACEOF |
7539 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7540 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7541 |
< |
(eval $ac_link) 2>&5 |
7541 |
> |
(eval $ac_link) 2>conftest.er1 |
7542 |
|
ac_status=$? |
7543 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7544 |
+ |
rm -f conftest.er1 |
7545 |
+ |
cat conftest.err >&5 |
7546 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7547 |
|
(exit $ac_status); } && |
7548 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7548 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7549 |
> |
|| test ! -s conftest.err' |
7550 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7551 |
|
(eval $ac_try) 2>&5 |
7552 |
|
ac_status=$? |
7553 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7554 |
+ |
(exit $ac_status); }; } && |
7555 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7556 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7557 |
+ |
(eval $ac_try) 2>&5 |
7558 |
+ |
ac_status=$? |
7559 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7560 |
|
(exit $ac_status); }; }; then |
7561 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7562 |
|
else |
7565 |
|
|
7566 |
|
ac_cv_lib_mpi_MPI_Init=no |
7567 |
|
fi |
7568 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7568 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7569 |
> |
conftest$ac_exeext conftest.$ac_ext |
7570 |
|
LIBS=$ac_check_lib_save_LIBS |
7571 |
|
fi |
7572 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7586 |
|
ac_check_lib_save_LIBS=$LIBS |
7587 |
|
LIBS="-lmpi "-llam" $LIBS" |
7588 |
|
cat >conftest.$ac_ext <<_ACEOF |
7216 |
– |
#line $LINENO "configure" |
7589 |
|
/* confdefs.h. */ |
7590 |
|
_ACEOF |
7591 |
|
cat confdefs.h >>conftest.$ac_ext |
7609 |
|
_ACEOF |
7610 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7611 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7612 |
< |
(eval $ac_link) 2>&5 |
7612 |
> |
(eval $ac_link) 2>conftest.er1 |
7613 |
|
ac_status=$? |
7614 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7615 |
+ |
rm -f conftest.er1 |
7616 |
+ |
cat conftest.err >&5 |
7617 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7618 |
|
(exit $ac_status); } && |
7619 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7619 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7620 |
> |
|| test ! -s conftest.err' |
7621 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7622 |
|
(eval $ac_try) 2>&5 |
7623 |
|
ac_status=$? |
7624 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7625 |
+ |
(exit $ac_status); }; } && |
7626 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7627 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7628 |
+ |
(eval $ac_try) 2>&5 |
7629 |
+ |
ac_status=$? |
7630 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7631 |
|
(exit $ac_status); }; }; then |
7632 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7633 |
|
else |
7636 |
|
|
7637 |
|
ac_cv_lib_mpi_MPI_Init=no |
7638 |
|
fi |
7639 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7639 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7640 |
> |
conftest$ac_exeext conftest.$ac_ext |
7641 |
|
LIBS=$ac_check_lib_save_LIBS |
7642 |
|
fi |
7643 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7657 |
|
ac_check_lib_save_LIBS=$LIBS |
7658 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
7659 |
|
cat >conftest.$ac_ext <<_ACEOF |
7277 |
– |
#line $LINENO "configure" |
7660 |
|
/* confdefs.h. */ |
7661 |
|
_ACEOF |
7662 |
|
cat confdefs.h >>conftest.$ac_ext |
7680 |
|
_ACEOF |
7681 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7682 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7683 |
< |
(eval $ac_link) 2>&5 |
7683 |
> |
(eval $ac_link) 2>conftest.er1 |
7684 |
|
ac_status=$? |
7685 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7686 |
+ |
rm -f conftest.er1 |
7687 |
+ |
cat conftest.err >&5 |
7688 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7689 |
|
(exit $ac_status); } && |
7690 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7690 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7691 |
> |
|| test ! -s conftest.err' |
7692 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7693 |
|
(eval $ac_try) 2>&5 |
7694 |
|
ac_status=$? |
7695 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7696 |
+ |
(exit $ac_status); }; } && |
7697 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7698 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7699 |
+ |
(eval $ac_try) 2>&5 |
7700 |
+ |
ac_status=$? |
7701 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7702 |
|
(exit $ac_status); }; }; then |
7703 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7704 |
|
else |
7707 |
|
|
7708 |
|
ac_cv_lib_mpich_MPI_Init=no |
7709 |
|
fi |
7710 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7710 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7711 |
> |
conftest$ac_exeext conftest.$ac_ext |
7712 |
|
LIBS=$ac_check_lib_save_LIBS |
7713 |
|
fi |
7714 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7729 |
|
ac_check_lib_save_LIBS=$LIBS |
7730 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7731 |
|
cat >conftest.$ac_ext <<_ACEOF |
7339 |
– |
#line $LINENO "configure" |
7732 |
|
/* confdefs.h. */ |
7733 |
|
_ACEOF |
7734 |
|
cat confdefs.h >>conftest.$ac_ext |
7752 |
|
_ACEOF |
7753 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7754 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7755 |
< |
(eval $ac_link) 2>&5 |
7755 |
> |
(eval $ac_link) 2>conftest.er1 |
7756 |
|
ac_status=$? |
7757 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7758 |
+ |
rm -f conftest.er1 |
7759 |
+ |
cat conftest.err >&5 |
7760 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 |
|
(exit $ac_status); } && |
7762 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7762 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7763 |
> |
|| test ! -s conftest.err' |
7764 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7765 |
|
(eval $ac_try) 2>&5 |
7766 |
|
ac_status=$? |
7767 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7768 |
+ |
(exit $ac_status); }; } && |
7769 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7770 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7771 |
+ |
(eval $ac_try) 2>&5 |
7772 |
+ |
ac_status=$? |
7773 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7774 |
|
(exit $ac_status); }; }; then |
7775 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7776 |
|
else |
7779 |
|
|
7780 |
|
ac_cv_lib_mpi_MPI_Init=no |
7781 |
|
fi |
7782 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7782 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7783 |
> |
conftest$ac_exeext conftest.$ac_ext |
7784 |
|
LIBS=$ac_check_lib_save_LIBS |
7785 |
|
fi |
7786 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7812 |
|
fi |
7813 |
|
echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
7814 |
|
echo "${ECHO_T}found $MPI_F90_LIB" >&6 |
7412 |
– |
|
7413 |
– |
|
7414 |
– |
fi |
7415 |
– |
|
7416 |
– |
|
7417 |
– |
|
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; |
7425 |
– |
|
7426 |
– |
case "x$with_sprng" in |
7427 |
– |
xyes | "x") USE_SPRNG=yes;; |
7428 |
– |
xno) USE_SPRNG=no ;; |
7429 |
– |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
7430 |
– |
esac |
7431 |
– |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
7432 |
– |
SPRNG="/usr/local" |
7433 |
– |
fi |
7434 |
– |
if test "$USE_SPRNG" = "yes"; then |
7435 |
– |
|
7436 |
– |
|
7437 |
– |
# Set variables... |
7438 |
– |
SPRNG_LIB_DIR="$SPRNG/lib" |
7439 |
– |
SPRNG_INC_DIR="$SPRNG/include" |
7440 |
– |
|
7441 |
– |
|
7442 |
– |
|
7443 |
– |
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 |
7462 |
– |
|
7463 |
– |
fi |
7464 |
– |
|
7465 |
– |
ac_ext=c |
7466 |
– |
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 |
7470 |
– |
|
7471 |
– |
ac_save_LDFLAGS=$LDFLAGS |
7472 |
– |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
7473 |
– |
|
7474 |
– |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
7475 |
– |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
7476 |
– |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
7477 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7478 |
– |
else |
7479 |
– |
ac_check_lib_save_LIBS=$LIBS |
7480 |
– |
LIBS="-lsprng $LIBS" |
7481 |
– |
cat >conftest.$ac_ext <<_ACEOF |
7482 |
– |
#line $LINENO "configure" |
7483 |
– |
/* confdefs.h. */ |
7484 |
– |
_ACEOF |
7485 |
– |
cat confdefs.h >>conftest.$ac_ext |
7486 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
7487 |
– |
/* end confdefs.h. */ |
7488 |
– |
|
7489 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
7490 |
– |
#ifdef __cplusplus |
7491 |
– |
extern "C" |
7492 |
– |
#endif |
7493 |
– |
/* We use char because int might match the return type of a gcc2 |
7494 |
– |
builtin and then its argument prototype would still apply. */ |
7495 |
– |
char init_rng (); |
7496 |
– |
int |
7497 |
– |
main () |
7498 |
– |
{ |
7499 |
– |
init_rng (); |
7500 |
– |
; |
7501 |
– |
return 0; |
7502 |
– |
} |
7503 |
– |
_ACEOF |
7504 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
7505 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7506 |
– |
(eval $ac_link) 2>&5 |
7507 |
– |
ac_status=$? |
7508 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7509 |
– |
(exit $ac_status); } && |
7510 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7511 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7512 |
– |
(eval $ac_try) 2>&5 |
7513 |
– |
ac_status=$? |
7514 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7515 |
– |
(exit $ac_status); }; }; then |
7516 |
– |
ac_cv_lib_sprng_init_rng=yes |
7517 |
– |
else |
7518 |
– |
echo "$as_me: failed program was:" >&5 |
7519 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
7520 |
– |
|
7521 |
– |
ac_cv_lib_sprng_init_rng=no |
7522 |
– |
fi |
7523 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7524 |
– |
LIBS=$ac_check_lib_save_LIBS |
7525 |
– |
fi |
7526 |
– |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
7527 |
– |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
7528 |
– |
if test $ac_cv_lib_sprng_init_rng = yes; then |
7529 |
– |
SPRNG_LIB="-lsprng" |
7530 |
– |
else |
7531 |
– |
|
7532 |
– |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
7533 |
– |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
7534 |
– |
{ (exit 1); exit 1; }; } |
7535 |
– |
USE_SPRNG="no" |
7536 |
– |
|
7537 |
– |
fi |
7538 |
– |
|
7539 |
– |
|
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; }; } |
7544 |
– |
fi |
7545 |
– |
|
7546 |
– |
|
7547 |
– |
fi |
7548 |
– |
|
7549 |
– |
|
7550 |
– |
|
7551 |
– |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
7552 |
– |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
7553 |
– |
|
7554 |
– |
# Check whether --with-mkl or --without-mkl was given. |
7555 |
– |
if test "${with_mkl+set}" = set; then |
7556 |
– |
withval="$with_mkl" |
7557 |
– |
echo "$as_me:$LINENO: result: yes" >&5 |
7558 |
– |
echo "${ECHO_T}yes" >&6 |
7559 |
– |
for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do |
7560 |
– |
mkldir="$dir" |
7561 |
– |
if test -f "$dir/include/mkl.h"; then |
7562 |
– |
found_mkl="yes"; |
7563 |
– |
break; |
7564 |
– |
fi |
7565 |
– |
done |
7566 |
– |
if test x_$found_mkl != x_yes; then |
7567 |
– |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
7568 |
– |
echo "$as_me: error: Cannot find MKL includes" >&2;} |
7569 |
– |
{ (exit 1); exit 1; }; } |
7570 |
– |
else |
7571 |
– |
printf "MKL includes found in $mkldir/include\n"; |
7572 |
– |
fi |
7573 |
– |
|
7574 |
– |
|
7575 |
– |
|
7576 |
– |
ac_ext=c |
7577 |
– |
ac_cpp='$CPP $CPPFLAGS' |
7578 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7579 |
– |
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 |
7590 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7591 |
– |
fi |
7592 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
7593 |
– |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
7594 |
– |
else |
7595 |
– |
# Is the header compilable? |
7596 |
– |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
7597 |
– |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
7598 |
– |
cat >conftest.$ac_ext <<_ACEOF |
7599 |
– |
#line $LINENO "configure" |
7600 |
– |
/* confdefs.h. */ |
7601 |
– |
_ACEOF |
7602 |
– |
cat confdefs.h >>conftest.$ac_ext |
7603 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
7604 |
– |
/* end confdefs.h. */ |
7605 |
– |
$ac_includes_default |
7606 |
– |
#include <mkl.h> |
7607 |
– |
_ACEOF |
7608 |
– |
rm -f conftest.$ac_objext |
7609 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7610 |
– |
(eval $ac_compile) 2>&5 |
7611 |
– |
ac_status=$? |
7612 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7613 |
– |
(exit $ac_status); } && |
7614 |
– |
{ ac_try='test -s conftest.$ac_objext' |
7615 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7616 |
– |
(eval $ac_try) 2>&5 |
7617 |
– |
ac_status=$? |
7618 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7619 |
– |
(exit $ac_status); }; }; then |
7620 |
– |
ac_header_compiler=yes |
7621 |
– |
else |
7622 |
– |
echo "$as_me: failed program was:" >&5 |
7623 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
7624 |
– |
|
7625 |
– |
ac_header_compiler=no |
7626 |
– |
fi |
7627 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
7628 |
– |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7629 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6 |
7630 |
– |
|
7631 |
– |
# Is the header present? |
7632 |
– |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
7633 |
– |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
7634 |
– |
cat >conftest.$ac_ext <<_ACEOF |
7635 |
– |
#line $LINENO "configure" |
7636 |
– |
/* confdefs.h. */ |
7637 |
– |
_ACEOF |
7638 |
– |
cat confdefs.h >>conftest.$ac_ext |
7639 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
7640 |
– |
/* end confdefs.h. */ |
7641 |
– |
#include <mkl.h> |
7642 |
– |
_ACEOF |
7643 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7644 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7645 |
– |
ac_status=$? |
7646 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7647 |
– |
rm -f conftest.er1 |
7648 |
– |
cat conftest.err >&5 |
7649 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7650 |
– |
(exit $ac_status); } >/dev/null; then |
7651 |
– |
if test -s conftest.err; then |
7652 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
7653 |
– |
else |
7654 |
– |
ac_cpp_err= |
7655 |
– |
fi |
7656 |
– |
else |
7657 |
– |
ac_cpp_err=yes |
7658 |
– |
fi |
7659 |
– |
if test -z "$ac_cpp_err"; then |
7660 |
– |
ac_header_preproc=yes |
7661 |
– |
else |
7662 |
– |
echo "$as_me: failed program was:" >&5 |
7663 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
7664 |
– |
|
7665 |
– |
ac_header_preproc=no |
7666 |
– |
fi |
7667 |
– |
rm -f conftest.err conftest.$ac_ext |
7668 |
– |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7669 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6 |
7670 |
– |
|
7671 |
– |
# So? What about this header? |
7672 |
– |
case $ac_header_compiler:$ac_header_preproc in |
7673 |
– |
yes:no ) |
7674 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7675 |
– |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7676 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7677 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
7678 |
– |
( |
7679 |
– |
cat <<\_ASBOX |
7680 |
– |
## ------------------------------------ ## |
7681 |
– |
## Report this to bug-autoconf@gnu.org. ## |
7682 |
– |
## ------------------------------------ ## |
7683 |
– |
_ASBOX |
7684 |
– |
) | |
7685 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
7686 |
– |
;; |
7687 |
– |
no:yes ) |
7688 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
7689 |
– |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
7690 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7691 |
– |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
7692 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7693 |
– |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
7694 |
– |
( |
7695 |
– |
cat <<\_ASBOX |
7696 |
– |
## ------------------------------------ ## |
7697 |
– |
## Report this to bug-autoconf@gnu.org. ## |
7698 |
– |
## ------------------------------------ ## |
7699 |
– |
_ASBOX |
7700 |
– |
) | |
7701 |
– |
sed "s/^/$as_me: WARNING: /" >&2 |
7702 |
– |
;; |
7703 |
– |
esac |
7704 |
– |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
7705 |
– |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
7706 |
– |
if test "${ac_cv_header_mkl_h+set}" = set; then |
7707 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7708 |
– |
else |
7709 |
– |
ac_cv_header_mkl_h=$ac_header_preproc |
7710 |
– |
fi |
7711 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
7712 |
– |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
7815 |
|
|
7714 |
– |
fi |
7715 |
– |
if test $ac_cv_header_mkl_h = yes; then |
7816 |
|
|
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 |
7721 |
– |
else |
7722 |
– |
ac_check_lib_save_LIBS=$LIBS |
7723 |
– |
LIBS="-lmkl $LIBS" |
7724 |
– |
cat >conftest.$ac_ext <<_ACEOF |
7725 |
– |
#line $LINENO "configure" |
7726 |
– |
/* confdefs.h. */ |
7727 |
– |
_ACEOF |
7728 |
– |
cat confdefs.h >>conftest.$ac_ext |
7729 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
7730 |
– |
/* end confdefs.h. */ |
7731 |
– |
|
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 (); |
7739 |
– |
int |
7740 |
– |
main () |
7741 |
– |
{ |
7742 |
– |
vslNewStream (); |
7743 |
– |
; |
7744 |
– |
return 0; |
7745 |
– |
} |
7746 |
– |
_ACEOF |
7747 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
7748 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7749 |
– |
(eval $ac_link) 2>&5 |
7750 |
– |
ac_status=$? |
7751 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7752 |
– |
(exit $ac_status); } && |
7753 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7754 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7755 |
– |
(eval $ac_try) 2>&5 |
7756 |
– |
ac_status=$? |
7757 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7758 |
– |
(exit $ac_status); }; }; then |
7759 |
– |
ac_cv_lib_mkl_vslNewStream=yes |
7760 |
– |
else |
7761 |
– |
echo "$as_me: failed program was:" >&5 |
7762 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
7763 |
– |
|
7764 |
– |
ac_cv_lib_mkl_vslNewStream=no |
7817 |
|
fi |
7766 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7767 |
– |
LIBS=$ac_check_lib_save_LIBS |
7768 |
– |
fi |
7769 |
– |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
7770 |
– |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
7771 |
– |
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
7772 |
– |
MKL_LIBDIR="${mkldir}/lib/32", |
7773 |
– |
MKL_LIB="-lmkl -lvml -lguide", |
7774 |
– |
HAVE_MKL="yes" |
7775 |
– |
fi |
7776 |
– |
|
7777 |
– |
|
7778 |
– |
else |
7779 |
– |
MKL_INC="-I${mkldir}/include" |
7780 |
– |
fi |
7781 |
– |
|
7782 |
– |
|
7783 |
– |
CPPFLAGS=$ac_save_CPPFLAGS |
7784 |
– |
LDFLAGS=$ac_save_LDFLAGS |
7785 |
– |
ac_ext=c |
7786 |
– |
ac_cpp='$CPP $CPPFLAGS' |
7787 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7788 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7789 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7790 |
– |
|
7791 |
– |
|
7792 |
– |
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 |
7818 |
|
|
7819 |
|
|
7799 |
– |
|
7800 |
– |
|
7801 |
– |
|
7802 |
– |
else |
7803 |
– |
|
7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
7805 |
– |
echo "${ECHO_T}no" >&6 |
7806 |
– |
|
7807 |
– |
fi; |
7820 |
|
|
7821 |
|
|
7822 |
|
|
8051 |
|
# `set' does not quote correctly, so add quotes (double-quote |
8052 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
8053 |
|
sed -n \ |
8054 |
< |
"s/'/'\\\\''/g; |
8055 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8054 |
> |
"s/'/'\\\\''/g; |
8055 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8056 |
|
;; |
8057 |
|
*) |
8058 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
8059 |
|
sed -n \ |
8060 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8060 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8061 |
|
;; |
8062 |
|
esac; |
8063 |
|
} | |
8087 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
8088 |
|
# (actually we leave an empty line to preserve line numbers). |
8089 |
|
if test "x$srcdir" = x.; then |
8090 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8090 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8091 |
|
s/:*\$(srcdir):*/:/; |
8092 |
|
s/:*\${srcdir}:*/:/; |
8093 |
|
s/:*@srcdir@:*/:/; |
8094 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
8094 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
8095 |
|
s/:*$//; |
8096 |
< |
s/^[^=]*=[ ]*$//; |
8096 |
> |
s/^[^=]*=[ ]*$//; |
8097 |
|
}' |
8098 |
|
fi |
8099 |
|
|
8104 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8105 |
|
# 1. Remove the extension, and $U if already installed. |
8106 |
|
ac_i=`echo "$ac_i" | |
8107 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8107 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8108 |
|
# 2. Add them. |
8109 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
8110 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
8148 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
8149 |
|
set -o posix |
8150 |
|
fi |
8151 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
8152 |
|
|
8153 |
|
# Support unset when possible. |
8154 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
8154 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
8155 |
|
as_unset=unset |
8156 |
|
else |
8157 |
|
as_unset=false |
8170 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8171 |
|
LC_TELEPHONE LC_TIME |
8172 |
|
do |
8173 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8173 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8174 |
|
eval $as_var=C; export $as_var |
8175 |
|
else |
8176 |
|
$as_unset $as_var |
8349 |
|
if mkdir -p . 2>/dev/null; then |
8350 |
|
as_mkdir_p=: |
8351 |
|
else |
8352 |
+ |
test -d ./-p && rmdir ./-p |
8353 |
|
as_mkdir_p=false |
8354 |
|
fi |
8355 |
|
|
8356 |
|
as_executable_p="test -f" |
8357 |
|
|
8358 |
|
# Sed expression to map a string onto a valid CPP name. |
8359 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
8359 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8360 |
|
|
8361 |
|
# Sed expression to map a string onto a valid variable name. |
8362 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
8362 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
8363 |
|
|
8364 |
|
|
8365 |
|
# IFS |
8386 |
|
cat >&5 <<_CSEOF |
8387 |
|
|
8388 |
|
This file was extended by OOPSE $as_me 2.0, which was |
8389 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
8389 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
8390 |
|
|
8391 |
|
CONFIG_FILES = $CONFIG_FILES |
8392 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
8430 |
|
-d, --debug don't remove temporary files |
8431 |
|
--recheck update $as_me by reconfiguring in the same conditions |
8432 |
|
--file=FILE[:TEMPLATE] |
8433 |
< |
instantiate the configuration file FILE |
8433 |
> |
instantiate the configuration file FILE |
8434 |
|
--header=FILE[:TEMPLATE] |
8435 |
< |
instantiate the configuration header FILE |
8435 |
> |
instantiate the configuration header FILE |
8436 |
|
|
8437 |
|
Configuration files: |
8438 |
|
$config_files |
8449 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
8450 |
|
ac_cs_version="\\ |
8451 |
|
OOPSE config.status 2.0 |
8452 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
8452 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
8453 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
8454 |
|
|
8455 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8442 |
< |
Free Software Foundation, Inc. |
8455 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
8456 |
|
This config.status script is free software; the Free Software Foundation |
8457 |
|
gives unlimited permission to copy, distribute and modify it." |
8458 |
|
srcdir=$srcdir |
8697 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
8698 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
8699 |
|
s,@USE_MPI@,$USE_MPI,;t t |
8687 |
– |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
8688 |
– |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
8689 |
– |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
8690 |
– |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
8691 |
– |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
8692 |
– |
s,@MKL_LIB@,$MKL_LIB,;t t |
8693 |
– |
s,@MKL_INC@,$MKL_INC,;t t |
8694 |
– |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
8700 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
8701 |
|
s,@DOT@,$DOT,;t t |
8702 |
|
s,@DOC@,$DOC,;t t |
8739 |
|
(echo ':t |
8740 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
8741 |
|
if test -z "$ac_sed_cmds"; then |
8742 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8742 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8743 |
|
else |
8744 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8744 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8745 |
|
fi |
8746 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
8747 |
|
ac_beg=$ac_end |
8759 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8760 |
|
case $ac_file in |
8761 |
|
- | *:- | *:-:* ) # input from stdin |
8762 |
< |
cat >$tmp/stdin |
8763 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8764 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8762 |
> |
cat >$tmp/stdin |
8763 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8764 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8765 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8766 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8766 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8767 |
|
* ) ac_file_in=$ac_file.in ;; |
8768 |
|
esac |
8769 |
|
|
8770 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
8771 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8772 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8773 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8774 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8775 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8776 |
< |
. : '\(.\)' 2>/dev/null || |
8773 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8774 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8775 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8776 |
> |
. : '\(.\)' 2>/dev/null || |
8777 |
|
echo X"$ac_file" | |
8778 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8779 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8789 |
|
as_dirs="$as_dir $as_dirs" |
8790 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8791 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8792 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8793 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8794 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8795 |
< |
. : '\(.\)' 2>/dev/null || |
8792 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8793 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8794 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8795 |
> |
. : '\(.\)' 2>/dev/null || |
8796 |
|
echo X"$as_dir" | |
8797 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8798 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8830 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8831 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8832 |
|
esac |
8828 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
8829 |
– |
# absolute. |
8830 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
8831 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
8832 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
8833 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
8833 |
|
|
8834 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8835 |
+ |
# the directories may not exist. |
8836 |
+ |
case `pwd` in |
8837 |
+ |
.) ac_abs_builddir="$ac_dir";; |
8838 |
+ |
*) |
8839 |
+ |
case "$ac_dir" in |
8840 |
+ |
.) ac_abs_builddir=`pwd`;; |
8841 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
8842 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
8843 |
+ |
esac;; |
8844 |
+ |
esac |
8845 |
+ |
case $ac_abs_builddir in |
8846 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8847 |
+ |
*) |
8848 |
+ |
case ${ac_top_builddir}. in |
8849 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8850 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8851 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8852 |
+ |
esac;; |
8853 |
+ |
esac |
8854 |
+ |
case $ac_abs_builddir in |
8855 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
8856 |
+ |
*) |
8857 |
+ |
case $ac_srcdir in |
8858 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8859 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8860 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8861 |
+ |
esac;; |
8862 |
+ |
esac |
8863 |
+ |
case $ac_abs_builddir in |
8864 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8865 |
+ |
*) |
8866 |
+ |
case $ac_top_srcdir in |
8867 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8868 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8869 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8870 |
+ |
esac;; |
8871 |
+ |
esac |
8872 |
|
|
8873 |
+ |
|
8874 |
|
case $INSTALL in |
8875 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
8876 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
8890 |
|
configure_input="$ac_file. " |
8891 |
|
fi |
8892 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
8893 |
< |
sed 's,.*/,,'` by configure." |
8893 |
> |
sed 's,.*/,,'` by configure." |
8894 |
|
|
8895 |
|
# First look for the input files in the build tree, otherwise in the |
8896 |
|
# src tree. |
8899 |
|
case $f in |
8900 |
|
-) echo $tmp/stdin ;; |
8901 |
|
[\\/$]*) |
8902 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8903 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8902 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8903 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8904 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8905 |
|
{ (exit 1); exit 1; }; } |
8906 |
< |
echo $f;; |
8906 |
> |
echo "$f";; |
8907 |
|
*) # Relative |
8908 |
< |
if test -f "$f"; then |
8909 |
< |
# Build tree |
8910 |
< |
echo $f |
8911 |
< |
elif test -f "$srcdir/$f"; then |
8912 |
< |
# Source tree |
8913 |
< |
echo $srcdir/$f |
8914 |
< |
else |
8915 |
< |
# /dev/null tree |
8916 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8908 |
> |
if test -f "$f"; then |
8909 |
> |
# Build tree |
8910 |
> |
echo "$f" |
8911 |
> |
elif test -f "$srcdir/$f"; then |
8912 |
> |
# Source tree |
8913 |
> |
echo "$srcdir/$f" |
8914 |
> |
else |
8915 |
> |
# /dev/null tree |
8916 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8917 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8918 |
|
{ (exit 1); exit 1; }; } |
8919 |
< |
fi;; |
8919 |
> |
fi;; |
8920 |
|
esac |
8921 |
|
done` || { (exit 1); exit 1; } |
8922 |
|
_ACEOF |
8958 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
8959 |
|
# |
8960 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
8961 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8962 |
< |
ac_dB='[ ].*$,\1#\2' |
8961 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8962 |
> |
ac_dB='[ ].*$,\1#\2' |
8963 |
|
ac_dC=' ' |
8964 |
|
ac_dD=',;t' |
8965 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
8966 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8966 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8967 |
|
ac_uB='$,\1#\2define\3' |
8968 |
|
ac_uC=' ' |
8969 |
|
ac_uD=',;t' |
8972 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8973 |
|
case $ac_file in |
8974 |
|
- | *:- | *:-:* ) # input from stdin |
8975 |
< |
cat >$tmp/stdin |
8976 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8977 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8975 |
> |
cat >$tmp/stdin |
8976 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8977 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8978 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8979 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8979 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8980 |
|
* ) ac_file_in=$ac_file.in ;; |
8981 |
|
esac |
8982 |
|
|
8990 |
|
case $f in |
8991 |
|
-) echo $tmp/stdin ;; |
8992 |
|
[\\/$]*) |
8993 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8994 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8993 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8994 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8995 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8996 |
|
{ (exit 1); exit 1; }; } |
8997 |
< |
echo $f;; |
8997 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
8998 |
> |
echo "$f";; |
8999 |
|
*) # Relative |
9000 |
< |
if test -f "$f"; then |
9001 |
< |
# Build tree |
9002 |
< |
echo $f |
9003 |
< |
elif test -f "$srcdir/$f"; then |
9004 |
< |
# Source tree |
9005 |
< |
echo $srcdir/$f |
9006 |
< |
else |
9007 |
< |
# /dev/null tree |
9008 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9000 |
> |
if test -f "$f"; then |
9001 |
> |
# Build tree |
9002 |
> |
echo "$f" |
9003 |
> |
elif test -f "$srcdir/$f"; then |
9004 |
> |
# Source tree |
9005 |
> |
echo "$srcdir/$f" |
9006 |
> |
else |
9007 |
> |
# /dev/null tree |
9008 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
9009 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
9010 |
|
{ (exit 1); exit 1; }; } |
9011 |
< |
fi;; |
9011 |
> |
fi;; |
9012 |
|
esac |
9013 |
|
done` || { (exit 1); exit 1; } |
9014 |
|
# Remove the trailing spaces. |
9015 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9015 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
9016 |
|
|
9017 |
|
_ACEOF |
9018 |
|
|
9035 |
|
s,[\\$`],\\&,g |
9036 |
|
t clear |
9037 |
|
: clear |
9038 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9038 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9039 |
|
t end |
9040 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9040 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9041 |
|
: end |
9042 |
|
_ACEOF |
9043 |
|
# If some macros were called several times there might be several times |
9051 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
9052 |
|
# on some systems where configure will not decide to define it. |
9053 |
|
cat >>conftest.undefs <<\_ACEOF |
9054 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9054 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9055 |
|
_ACEOF |
9056 |
|
|
9057 |
|
# Break up conftest.defines because some shells have a limit on the size |
9058 |
|
# of here documents, and old seds have small limits too (100 cmds). |
9059 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
9060 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9060 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9061 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
9062 |
|
echo ' :' >>$CONFIG_STATUS |
9063 |
|
rm -f conftest.tail |
9066 |
|
# Write a limited-size here document to $tmp/defines.sed. |
9067 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
9068 |
|
# Speed up: don't consider the non `#define' lines. |
9069 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9069 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9070 |
|
# Work around the forget-to-reset-the-flag bug. |
9071 |
|
echo 't clr' >>$CONFIG_STATUS |
9072 |
|
echo ': clr' >>$CONFIG_STATUS |
9093 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
9094 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
9095 |
|
# Speed up: don't consider the non `#undef' |
9096 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9096 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9097 |
|
# Work around the forget-to-reset-the-flag bug. |
9098 |
|
echo 't clr' >>$CONFIG_STATUS |
9099 |
|
echo ': clr' >>$CONFIG_STATUS |
9127 |
|
else |
9128 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9129 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9130 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9131 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9132 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9133 |
< |
. : '\(.\)' 2>/dev/null || |
9130 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9131 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9132 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9133 |
> |
. : '\(.\)' 2>/dev/null || |
9134 |
|
echo X"$ac_file" | |
9135 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9136 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9146 |
|
as_dirs="$as_dir $as_dirs" |
9147 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9148 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9149 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9150 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9151 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9152 |
< |
. : '\(.\)' 2>/dev/null || |
9149 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9150 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9151 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9152 |
> |
. : '\(.\)' 2>/dev/null || |
9153 |
|
echo X"$as_dir" | |
9154 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9155 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9194 |
|
# Make relative symlinks. |
9195 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
9196 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9197 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9198 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
9199 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
9200 |
< |
. : '\(.\)' 2>/dev/null || |
9197 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9198 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
9199 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
9200 |
> |
. : '\(.\)' 2>/dev/null || |
9201 |
|
echo X"$ac_dest" | |
9202 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9203 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9213 |
|
as_dirs="$as_dir $as_dirs" |
9214 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9215 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9216 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9217 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9218 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9219 |
< |
. : '\(.\)' 2>/dev/null || |
9216 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9217 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9218 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9219 |
> |
. : '\(.\)' 2>/dev/null || |
9220 |
|
echo X"$as_dir" | |
9221 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9222 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9254 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9255 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9256 |
|
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` |
9257 |
|
|
9258 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9259 |
+ |
# the directories may not exist. |
9260 |
+ |
case `pwd` in |
9261 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
9262 |
+ |
*) |
9263 |
+ |
case "$ac_dest_dir" in |
9264 |
+ |
.) ac_abs_builddir=`pwd`;; |
9265 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
9266 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
9267 |
+ |
esac;; |
9268 |
+ |
esac |
9269 |
+ |
case $ac_abs_builddir in |
9270 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9271 |
+ |
*) |
9272 |
+ |
case ${ac_top_builddir}. in |
9273 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9274 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9275 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9276 |
+ |
esac;; |
9277 |
+ |
esac |
9278 |
+ |
case $ac_abs_builddir in |
9279 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
9280 |
+ |
*) |
9281 |
+ |
case $ac_srcdir in |
9282 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9283 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9284 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9285 |
+ |
esac;; |
9286 |
+ |
esac |
9287 |
+ |
case $ac_abs_builddir in |
9288 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9289 |
+ |
*) |
9290 |
+ |
case $ac_top_srcdir in |
9291 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9292 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9293 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9294 |
+ |
esac;; |
9295 |
+ |
esac |
9296 |
|
|
9297 |
+ |
|
9298 |
|
case $srcdir in |
9299 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
9300 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |