1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. |
3 |
> |
# Generated by GNU Autoconf 2.57 for OOPSE 2.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright (C) 2003 Free Software Foundation, Inc. |
7 |
> |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
> |
# Free Software Foundation, Inc. |
9 |
|
# This configure script is free software; the Free Software Foundation |
10 |
|
# gives unlimited permission to copy, distribute and modify it. |
11 |
|
## --------------------- ## |
22 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 |
|
set -o posix |
24 |
|
fi |
24 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
< |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
27 |
> |
if (FOO=FOO; unset FOO) >/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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
46 |
> |
if (set +x; test -n "`(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 |
223 |
|
as_mkdir_p=false |
224 |
|
fi |
225 |
|
|
226 |
|
as_executable_p="test -f" |
227 |
|
|
228 |
|
# Sed expression to map a string onto a valid CPP name. |
229 |
< |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
> |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
|
|
231 |
|
# Sed expression to map a string onto a valid variable name. |
232 |
< |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
> |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
|
|
234 |
|
|
235 |
|
# IFS |
311 |
|
# include <unistd.h> |
312 |
|
#endif" |
313 |
|
|
314 |
< |
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 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' |
314 |
> |
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_files='' |
316 |
|
|
317 |
|
# Initialize some variables set by options. |
670 |
|
|
671 |
|
# Be sure to have absolute paths. |
672 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
673 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
673 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
674 |
|
do |
675 |
|
eval ac_val=$`echo $ac_var` |
676 |
|
case $ac_val in |
710 |
|
# Try the directory containing this script, then its parent. |
711 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
712 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
713 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
714 |
< |
X"$0" : 'X\(//\)$' \| \ |
715 |
< |
X"$0" : 'X\(/\)' \| \ |
716 |
< |
. : '\(.\)' 2>/dev/null || |
713 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
714 |
> |
X"$0" : 'X\(//\)$' \| \ |
715 |
> |
X"$0" : 'X\(/\)' \| \ |
716 |
> |
. : '\(.\)' 2>/dev/null || |
717 |
|
echo X"$0" | |
718 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
719 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
821 |
|
cat <<_ACEOF |
822 |
|
Installation directories: |
823 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
824 |
< |
[$ac_default_prefix] |
824 |
> |
[$ac_default_prefix] |
825 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
826 |
< |
[PREFIX] |
826 |
> |
[PREFIX] |
827 |
|
|
828 |
|
By default, \`make install' will install all the files in |
829 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
929 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
930 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
931 |
|
esac |
932 |
< |
|
933 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
934 |
< |
# the directories may not exist. |
935 |
< |
case `pwd` in |
936 |
< |
.) ac_abs_builddir="$ac_dir";; |
937 |
< |
*) |
939 |
< |
case "$ac_dir" in |
940 |
< |
.) ac_abs_builddir=`pwd`;; |
941 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
942 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
943 |
< |
esac;; |
944 |
< |
esac |
945 |
< |
case $ac_abs_builddir in |
946 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
947 |
< |
*) |
948 |
< |
case ${ac_top_builddir}. in |
949 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
950 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
951 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
952 |
< |
esac;; |
953 |
< |
esac |
954 |
< |
case $ac_abs_builddir in |
955 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
956 |
< |
*) |
957 |
< |
case $ac_srcdir in |
958 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
959 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
960 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
961 |
< |
esac;; |
962 |
< |
esac |
963 |
< |
case $ac_abs_builddir in |
964 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
965 |
< |
*) |
966 |
< |
case $ac_top_srcdir in |
967 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
968 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
969 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
970 |
< |
esac;; |
971 |
< |
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` |
938 |
|
|
939 |
|
cd $ac_dir |
940 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
945 |
|
echo |
946 |
|
$SHELL $ac_srcdir/configure --help=recursive |
947 |
|
elif test -f $ac_srcdir/configure.ac || |
948 |
< |
test -f $ac_srcdir/configure.in; then |
948 |
> |
test -f $ac_srcdir/configure.in; then |
949 |
|
echo |
950 |
|
$ac_configure --help |
951 |
|
else |
959 |
|
if $ac_init_version; then |
960 |
|
cat <<\_ACEOF |
961 |
|
OOPSE configure 2.0 |
962 |
< |
generated by GNU Autoconf 2.59 |
962 |
> |
generated by GNU Autoconf 2.57 |
963 |
|
|
964 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
964 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
965 |
> |
Free Software Foundation, Inc. |
966 |
|
This configure script is free software; the Free Software Foundation |
967 |
|
gives unlimited permission to copy, distribute and modify it. |
968 |
|
_ACEOF |
974 |
|
running configure, to aid debugging if configure makes a mistake. |
975 |
|
|
976 |
|
It was created by OOPSE $as_me 2.0, which was |
977 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
977 |
> |
generated by GNU Autoconf 2.57. Invocation command line was |
978 |
|
|
979 |
|
$ $0 $@ |
980 |
|
|
1051 |
|
2) |
1052 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1053 |
|
if test $ac_must_keep_next = true; then |
1054 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1054 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1055 |
|
else |
1056 |
< |
case $ac_arg in |
1057 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1058 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1059 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1060 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1061 |
< |
case "$ac_configure_args0 " in |
1062 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1063 |
< |
esac |
1064 |
< |
;; |
1065 |
< |
-* ) ac_must_keep_next=true ;; |
1066 |
< |
esac |
1056 |
> |
case $ac_arg in |
1057 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1058 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1059 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1060 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1061 |
> |
case "$ac_configure_args0 " in |
1062 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1063 |
> |
esac |
1064 |
> |
;; |
1065 |
> |
-* ) ac_must_keep_next=true ;; |
1066 |
> |
esac |
1067 |
|
fi |
1068 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1069 |
|
# Get rid of the leading space. |
1097 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1098 |
|
*ac_space=\ *) |
1099 |
|
sed -n \ |
1100 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1101 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1100 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1101 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1102 |
|
;; |
1103 |
|
*) |
1104 |
|
sed -n \ |
1105 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1105 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1106 |
|
;; |
1107 |
|
esac; |
1108 |
|
} |
1131 |
|
for ac_var in $ac_subst_files |
1132 |
|
do |
1133 |
|
eval ac_val=$`echo $ac_var` |
1134 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1134 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1135 |
|
done | sort |
1136 |
|
echo |
1137 |
|
fi |
1150 |
|
echo "$as_me: caught signal $ac_signal" |
1151 |
|
echo "$as_me: exit $exit_status" |
1152 |
|
} >&5 |
1153 |
< |
rm -f core *.core && |
1153 |
> |
rm -f core core.* *.core && |
1154 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1155 |
|
exit $exit_status |
1156 |
|
' 0 |
1230 |
|
# value. |
1231 |
|
ac_cache_corrupted=false |
1232 |
|
for ac_var in `(set) 2>&1 | |
1233 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1233 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1234 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1235 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1236 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1247 |
|
,);; |
1248 |
|
*) |
1249 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1250 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1251 |
< |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1252 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1250 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1251 |
> |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1252 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1253 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1254 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1254 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1255 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1256 |
< |
ac_cache_corrupted=: |
1256 |
> |
ac_cache_corrupted=: |
1257 |
|
fi;; |
1258 |
|
esac |
1259 |
|
# Pass precious variables to config.status. |
2050 |
|
(exit $ac_status); } |
2051 |
|
|
2052 |
|
cat >conftest.$ac_ext <<_ACEOF |
2053 |
+ |
#line $LINENO "configure" |
2054 |
|
/* confdefs.h. */ |
2055 |
|
_ACEOF |
2056 |
|
cat confdefs.h >>conftest.$ac_ext |
2070 |
|
# Try to create an executable without -o first, disregard a.out. |
2071 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2072 |
|
# of exeext. |
2073 |
< |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2074 |
< |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2073 |
> |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2074 |
> |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2075 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2076 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2077 |
|
(eval $ac_link_default) 2>&5 |
2091 |
|
test -f "$ac_file" || continue |
2092 |
|
case $ac_file in |
2093 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2094 |
< |
;; |
2094 |
> |
;; |
2095 |
|
conftest.$ac_ext ) |
2096 |
< |
# This is the source file. |
2097 |
< |
;; |
2096 |
> |
# This is the source file. |
2097 |
> |
;; |
2098 |
|
[ab].out ) |
2099 |
< |
# We found the default executable, but exeext='' is most |
2100 |
< |
# certainly right. |
2101 |
< |
break;; |
2099 |
> |
# We found the default executable, but exeext='' is most |
2100 |
> |
# certainly right. |
2101 |
> |
break;; |
2102 |
|
*.* ) |
2103 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2104 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2105 |
< |
# but it would be cool to find out if it's true. Does anybody |
2106 |
< |
# maintain Libtool? --akim. |
2107 |
< |
export ac_cv_exeext |
2108 |
< |
break;; |
2103 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2104 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2105 |
> |
# but it would be cool to find out if it's true. Does anybody |
2106 |
> |
# maintain Libtool? --akim. |
2107 |
> |
export ac_cv_exeext |
2108 |
> |
break;; |
2109 |
|
* ) |
2110 |
< |
break;; |
2110 |
> |
break;; |
2111 |
|
esac |
2112 |
|
done |
2113 |
|
else |
2181 |
|
case $ac_file in |
2182 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2183 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2184 |
< |
export ac_cv_exeext |
2185 |
< |
break;; |
2184 |
> |
export ac_cv_exeext |
2185 |
> |
break;; |
2186 |
|
* ) break;; |
2187 |
|
esac |
2188 |
|
done |
2207 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2208 |
|
else |
2209 |
|
cat >conftest.$ac_ext <<_ACEOF |
2210 |
+ |
#line $LINENO "configure" |
2211 |
|
/* confdefs.h. */ |
2212 |
|
_ACEOF |
2213 |
|
cat confdefs.h >>conftest.$ac_ext |
2258 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2259 |
|
else |
2260 |
|
cat >conftest.$ac_ext <<_ACEOF |
2261 |
+ |
#line $LINENO "configure" |
2262 |
|
/* confdefs.h. */ |
2263 |
|
_ACEOF |
2264 |
|
cat confdefs.h >>conftest.$ac_ext |
2278 |
|
_ACEOF |
2279 |
|
rm -f conftest.$ac_objext |
2280 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2281 |
< |
(eval $ac_compile) 2>conftest.er1 |
2281 |
> |
(eval $ac_compile) 2>&5 |
2282 |
|
ac_status=$? |
2313 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2314 |
– |
rm -f conftest.er1 |
2315 |
– |
cat conftest.err >&5 |
2283 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2284 |
|
(exit $ac_status); } && |
2285 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2319 |
< |
|| test ! -s conftest.err' |
2320 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2321 |
< |
(eval $ac_try) 2>&5 |
2322 |
< |
ac_status=$? |
2323 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2324 |
< |
(exit $ac_status); }; } && |
2325 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2285 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2286 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2287 |
|
(eval $ac_try) 2>&5 |
2288 |
|
ac_status=$? |
2295 |
|
|
2296 |
|
ac_compiler_gnu=no |
2297 |
|
fi |
2298 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2298 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2299 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2300 |
|
|
2301 |
|
fi |
2311 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2312 |
|
else |
2313 |
|
cat >conftest.$ac_ext <<_ACEOF |
2314 |
+ |
#line $LINENO "configure" |
2315 |
|
/* confdefs.h. */ |
2316 |
|
_ACEOF |
2317 |
|
cat confdefs.h >>conftest.$ac_ext |
2328 |
|
_ACEOF |
2329 |
|
rm -f conftest.$ac_objext |
2330 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2331 |
< |
(eval $ac_compile) 2>conftest.er1 |
2331 |
> |
(eval $ac_compile) 2>&5 |
2332 |
|
ac_status=$? |
2372 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2373 |
– |
rm -f conftest.er1 |
2374 |
– |
cat conftest.err >&5 |
2333 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2334 |
|
(exit $ac_status); } && |
2335 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2378 |
< |
|| test ! -s conftest.err' |
2335 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2336 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2337 |
|
(eval $ac_try) 2>&5 |
2338 |
|
ac_status=$? |
2339 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2383 |
– |
(exit $ac_status); }; } && |
2384 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2385 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2386 |
– |
(eval $ac_try) 2>&5 |
2387 |
– |
ac_status=$? |
2388 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2340 |
|
(exit $ac_status); }; }; then |
2341 |
|
ac_cv_prog_cc_g=yes |
2342 |
|
else |
2345 |
|
|
2346 |
|
ac_cv_prog_cc_g=no |
2347 |
|
fi |
2348 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2348 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2349 |
|
fi |
2350 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2351 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2372 |
|
ac_cv_prog_cc_stdc=no |
2373 |
|
ac_save_CC=$CC |
2374 |
|
cat >conftest.$ac_ext <<_ACEOF |
2375 |
+ |
#line $LINENO "configure" |
2376 |
|
/* confdefs.h. */ |
2377 |
|
_ACEOF |
2378 |
|
cat confdefs.h >>conftest.$ac_ext |
2400 |
|
va_end (v); |
2401 |
|
return s; |
2402 |
|
} |
2451 |
– |
|
2452 |
– |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2453 |
– |
function prototypes and stuff, but not '\xHH' hex character constants. |
2454 |
– |
These don't provoke an error unfortunately, instead are silently treated |
2455 |
– |
as 'x'. The following induces an error, until -std1 is added to get |
2456 |
– |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2457 |
– |
array size at least. It's necessary to write '\x00'==0 to get something |
2458 |
– |
that's true only with -std1. */ |
2459 |
– |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2460 |
– |
|
2403 |
|
int test (int i, double x); |
2404 |
|
struct s1 {int (*f) (int a);}; |
2405 |
|
struct s2 {int (*f) (double a);}; |
2426 |
|
CC="$ac_save_CC $ac_arg" |
2427 |
|
rm -f conftest.$ac_objext |
2428 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2429 |
< |
(eval $ac_compile) 2>conftest.er1 |
2429 |
> |
(eval $ac_compile) 2>&5 |
2430 |
|
ac_status=$? |
2489 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2490 |
– |
rm -f conftest.er1 |
2491 |
– |
cat conftest.err >&5 |
2431 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2432 |
|
(exit $ac_status); } && |
2433 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2495 |
< |
|| test ! -s conftest.err' |
2433 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2434 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2435 |
|
(eval $ac_try) 2>&5 |
2436 |
|
ac_status=$? |
2437 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2500 |
– |
(exit $ac_status); }; } && |
2501 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2502 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2503 |
– |
(eval $ac_try) 2>&5 |
2504 |
– |
ac_status=$? |
2505 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2438 |
|
(exit $ac_status); }; }; then |
2439 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2440 |
|
break |
2443 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2444 |
|
|
2445 |
|
fi |
2446 |
< |
rm -f conftest.err conftest.$ac_objext |
2446 |
> |
rm -f conftest.$ac_objext |
2447 |
|
done |
2448 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2449 |
|
CC=$ac_save_CC |
2471 |
|
_ACEOF |
2472 |
|
rm -f conftest.$ac_objext |
2473 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2474 |
< |
(eval $ac_compile) 2>conftest.er1 |
2474 |
> |
(eval $ac_compile) 2>&5 |
2475 |
|
ac_status=$? |
2544 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2545 |
– |
rm -f conftest.er1 |
2546 |
– |
cat conftest.err >&5 |
2476 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2477 |
|
(exit $ac_status); } && |
2478 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2550 |
< |
|| test ! -s conftest.err' |
2478 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2479 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2480 |
|
(eval $ac_try) 2>&5 |
2481 |
|
ac_status=$? |
2482 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2555 |
– |
(exit $ac_status); }; } && |
2556 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2557 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2558 |
– |
(eval $ac_try) 2>&5 |
2559 |
– |
ac_status=$? |
2560 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2483 |
|
(exit $ac_status); }; }; then |
2484 |
|
for ac_declaration in \ |
2485 |
< |
'' \ |
2485 |
> |
''\ |
2486 |
> |
'#include <stdlib.h>' \ |
2487 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2488 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2489 |
|
'extern "C" void exit (int) throw ();' \ |
2491 |
|
'void exit (int);' |
2492 |
|
do |
2493 |
|
cat >conftest.$ac_ext <<_ACEOF |
2494 |
+ |
#line $LINENO "configure" |
2495 |
|
/* confdefs.h. */ |
2496 |
|
_ACEOF |
2497 |
|
cat confdefs.h >>conftest.$ac_ext |
2498 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2499 |
|
/* end confdefs.h. */ |
2576 |
– |
$ac_declaration |
2500 |
|
#include <stdlib.h> |
2501 |
+ |
$ac_declaration |
2502 |
|
int |
2503 |
|
main () |
2504 |
|
{ |
2509 |
|
_ACEOF |
2510 |
|
rm -f conftest.$ac_objext |
2511 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2512 |
< |
(eval $ac_compile) 2>conftest.er1 |
2512 |
> |
(eval $ac_compile) 2>&5 |
2513 |
|
ac_status=$? |
2590 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2591 |
– |
rm -f conftest.er1 |
2592 |
– |
cat conftest.err >&5 |
2514 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2515 |
|
(exit $ac_status); } && |
2516 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2596 |
< |
|| test ! -s conftest.err' |
2597 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2598 |
< |
(eval $ac_try) 2>&5 |
2599 |
< |
ac_status=$? |
2600 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2601 |
< |
(exit $ac_status); }; } && |
2602 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2516 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2517 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2518 |
|
(eval $ac_try) 2>&5 |
2519 |
|
ac_status=$? |
2526 |
|
|
2527 |
|
continue |
2528 |
|
fi |
2529 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2529 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2530 |
|
cat >conftest.$ac_ext <<_ACEOF |
2531 |
+ |
#line $LINENO "configure" |
2532 |
|
/* confdefs.h. */ |
2533 |
|
_ACEOF |
2534 |
|
cat confdefs.h >>conftest.$ac_ext |
2545 |
|
_ACEOF |
2546 |
|
rm -f conftest.$ac_objext |
2547 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2548 |
< |
(eval $ac_compile) 2>conftest.er1 |
2548 |
> |
(eval $ac_compile) 2>&5 |
2549 |
|
ac_status=$? |
2635 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2636 |
– |
rm -f conftest.er1 |
2637 |
– |
cat conftest.err >&5 |
2550 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2551 |
|
(exit $ac_status); } && |
2552 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2641 |
< |
|| test ! -s conftest.err' |
2552 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2553 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2554 |
|
(eval $ac_try) 2>&5 |
2555 |
|
ac_status=$? |
2556 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2646 |
– |
(exit $ac_status); }; } && |
2647 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2648 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2649 |
– |
(eval $ac_try) 2>&5 |
2650 |
– |
ac_status=$? |
2651 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2557 |
|
(exit $ac_status); }; }; then |
2558 |
|
break |
2559 |
|
else |
2561 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2562 |
|
|
2563 |
|
fi |
2564 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2564 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2565 |
|
done |
2566 |
|
rm -f conftest* |
2567 |
|
if test -n "$ac_declaration"; then |
2575 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2576 |
|
|
2577 |
|
fi |
2578 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2578 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2579 |
|
ac_ext=c |
2580 |
|
ac_cpp='$CPP $CPPFLAGS' |
2581 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2702 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2703 |
|
else |
2704 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
+ |
#line $LINENO "configure" |
2706 |
|
/* confdefs.h. */ |
2707 |
|
_ACEOF |
2708 |
|
cat confdefs.h >>conftest.$ac_ext |
2722 |
|
_ACEOF |
2723 |
|
rm -f conftest.$ac_objext |
2724 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2725 |
< |
(eval $ac_compile) 2>conftest.er1 |
2725 |
> |
(eval $ac_compile) 2>&5 |
2726 |
|
ac_status=$? |
2821 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2822 |
– |
rm -f conftest.er1 |
2823 |
– |
cat conftest.err >&5 |
2727 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2728 |
|
(exit $ac_status); } && |
2729 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2827 |
< |
|| test ! -s conftest.err' |
2729 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2730 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2731 |
|
(eval $ac_try) 2>&5 |
2732 |
|
ac_status=$? |
2733 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2832 |
– |
(exit $ac_status); }; } && |
2833 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2834 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2835 |
– |
(eval $ac_try) 2>&5 |
2836 |
– |
ac_status=$? |
2837 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2734 |
|
(exit $ac_status); }; }; then |
2735 |
|
ac_compiler_gnu=yes |
2736 |
|
else |
2739 |
|
|
2740 |
|
ac_compiler_gnu=no |
2741 |
|
fi |
2742 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2742 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2743 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2744 |
|
|
2745 |
|
fi |
2755 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2756 |
|
else |
2757 |
|
cat >conftest.$ac_ext <<_ACEOF |
2758 |
+ |
#line $LINENO "configure" |
2759 |
|
/* confdefs.h. */ |
2760 |
|
_ACEOF |
2761 |
|
cat confdefs.h >>conftest.$ac_ext |
2772 |
|
_ACEOF |
2773 |
|
rm -f conftest.$ac_objext |
2774 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2775 |
< |
(eval $ac_compile) 2>conftest.er1 |
2775 |
> |
(eval $ac_compile) 2>&5 |
2776 |
|
ac_status=$? |
2880 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2881 |
– |
rm -f conftest.er1 |
2882 |
– |
cat conftest.err >&5 |
2777 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2778 |
|
(exit $ac_status); } && |
2779 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2886 |
< |
|| test ! -s conftest.err' |
2779 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2780 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2781 |
|
(eval $ac_try) 2>&5 |
2782 |
|
ac_status=$? |
2783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2891 |
– |
(exit $ac_status); }; } && |
2892 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2893 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2894 |
– |
(eval $ac_try) 2>&5 |
2895 |
– |
ac_status=$? |
2896 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2784 |
|
(exit $ac_status); }; }; then |
2785 |
|
ac_cv_prog_cxx_g=yes |
2786 |
|
else |
2789 |
|
|
2790 |
|
ac_cv_prog_cxx_g=no |
2791 |
|
fi |
2792 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2792 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2793 |
|
fi |
2794 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2795 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2809 |
|
fi |
2810 |
|
fi |
2811 |
|
for ac_declaration in \ |
2812 |
< |
'' \ |
2812 |
> |
''\ |
2813 |
> |
'#include <stdlib.h>' \ |
2814 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2815 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2816 |
|
'extern "C" void exit (int) throw ();' \ |
2818 |
|
'void exit (int);' |
2819 |
|
do |
2820 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
+ |
#line $LINENO "configure" |
2822 |
|
/* confdefs.h. */ |
2823 |
|
_ACEOF |
2824 |
|
cat confdefs.h >>conftest.$ac_ext |
2825 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2826 |
|
/* end confdefs.h. */ |
2938 |
– |
$ac_declaration |
2827 |
|
#include <stdlib.h> |
2828 |
+ |
$ac_declaration |
2829 |
|
int |
2830 |
|
main () |
2831 |
|
{ |
2836 |
|
_ACEOF |
2837 |
|
rm -f conftest.$ac_objext |
2838 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2839 |
< |
(eval $ac_compile) 2>conftest.er1 |
2839 |
> |
(eval $ac_compile) 2>&5 |
2840 |
|
ac_status=$? |
2952 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2953 |
– |
rm -f conftest.er1 |
2954 |
– |
cat conftest.err >&5 |
2841 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2842 |
|
(exit $ac_status); } && |
2843 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2958 |
< |
|| test ! -s conftest.err' |
2843 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2844 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2845 |
|
(eval $ac_try) 2>&5 |
2846 |
|
ac_status=$? |
2847 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2963 |
– |
(exit $ac_status); }; } && |
2964 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2965 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2966 |
– |
(eval $ac_try) 2>&5 |
2967 |
– |
ac_status=$? |
2968 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2848 |
|
(exit $ac_status); }; }; then |
2849 |
|
: |
2850 |
|
else |
2853 |
|
|
2854 |
|
continue |
2855 |
|
fi |
2856 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2856 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2857 |
|
cat >conftest.$ac_ext <<_ACEOF |
2858 |
+ |
#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>conftest.er1 |
2875 |
> |
(eval $ac_compile) 2>&5 |
2876 |
|
ac_status=$? |
2997 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2998 |
– |
rm -f conftest.er1 |
2999 |
– |
cat conftest.err >&5 |
2877 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2878 |
|
(exit $ac_status); } && |
2879 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3003 |
< |
|| test ! -s conftest.err' |
2879 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2880 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2881 |
|
(eval $ac_try) 2>&5 |
2882 |
|
ac_status=$? |
2883 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3008 |
– |
(exit $ac_status); }; } && |
3009 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3010 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3011 |
– |
(eval $ac_try) 2>&5 |
3012 |
– |
ac_status=$? |
3013 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2884 |
|
(exit $ac_status); }; }; then |
2885 |
|
break |
2886 |
|
else |
2888 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2889 |
|
|
2890 |
|
fi |
2891 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2891 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2892 |
|
done |
2893 |
|
rm -f conftest* |
2894 |
|
if test -n "$ac_declaration"; then |
3073 |
|
_ACEOF |
3074 |
|
rm -f conftest.$ac_objext |
3075 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3076 |
< |
(eval $ac_compile) 2>conftest.er1 |
3076 |
> |
(eval $ac_compile) 2>&5 |
3077 |
|
ac_status=$? |
3208 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3209 |
– |
rm -f conftest.er1 |
3210 |
– |
cat conftest.err >&5 |
3078 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3079 |
|
(exit $ac_status); } && |
3080 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3214 |
< |
|| test ! -s conftest.err' |
3215 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3216 |
< |
(eval $ac_try) 2>&5 |
3217 |
< |
ac_status=$? |
3218 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3219 |
< |
(exit $ac_status); }; } && |
3220 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3080 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3081 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3082 |
|
(eval $ac_try) 2>&5 |
3083 |
|
ac_status=$? |
3090 |
|
|
3091 |
|
ac_compiler_gnu=no |
3092 |
|
fi |
3093 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3093 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3094 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3095 |
|
|
3096 |
|
fi |
3164 |
|
_ACEOF |
3165 |
|
rm -f conftest.$ac_objext |
3166 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3167 |
< |
(eval $ac_compile) 2>conftest.er1 |
3167 |
> |
(eval $ac_compile) 2>&5 |
3168 |
|
ac_status=$? |
3309 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3310 |
– |
rm -f conftest.er1 |
3311 |
– |
cat conftest.err >&5 |
3169 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3170 |
|
(exit $ac_status); } && |
3171 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3315 |
< |
|| test ! -s conftest.err' |
3171 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3172 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3173 |
|
(eval $ac_try) 2>&5 |
3174 |
|
ac_status=$? |
3175 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3320 |
– |
(exit $ac_status); }; } && |
3321 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3322 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3323 |
– |
(eval $ac_try) 2>&5 |
3324 |
– |
ac_status=$? |
3325 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3176 |
|
(exit $ac_status); }; }; then |
3177 |
|
prepflagworks=1 |
3178 |
|
else |
3181 |
|
|
3182 |
|
prepflagworks=0 |
3183 |
|
fi |
3184 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3184 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3185 |
|
|
3186 |
|
F90FLAGS=$ac_save_F90FLAGS |
3187 |
|
ac_ext=$ac_save_ext |
3269 |
|
_ACEOF |
3270 |
|
rm -f conftest.$ac_objext |
3271 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3272 |
< |
(eval $ac_compile) 2>conftest.er1 |
3272 |
> |
(eval $ac_compile) 2>&5 |
3273 |
|
ac_status=$? |
3424 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3425 |
– |
rm -f conftest.er1 |
3426 |
– |
cat conftest.err >&5 |
3274 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3275 |
|
(exit $ac_status); } && |
3276 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3430 |
< |
|| test ! -s conftest.err' |
3431 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3432 |
< |
(eval $ac_try) 2>&5 |
3433 |
< |
ac_status=$? |
3434 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3435 |
< |
(exit $ac_status); }; } && |
3436 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3276 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3277 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3278 |
|
(eval $ac_try) 2>&5 |
3279 |
|
ac_status=$? |
3286 |
|
|
3287 |
|
prepdefflagworks=0 |
3288 |
|
fi |
3289 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3289 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3290 |
|
|
3291 |
|
F90FLAGS=$ac_save_F90FLAGS |
3292 |
|
ac_ext=$ac_save_ext |
3338 |
|
_ACEOF |
3339 |
|
rm -f conftest.$ac_objext |
3340 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3341 |
< |
(eval $ac_compile) 2>conftest.er1 |
3341 |
> |
(eval $ac_compile) 2>&5 |
3342 |
|
ac_status=$? |
3503 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3504 |
– |
rm -f conftest.er1 |
3505 |
– |
cat conftest.err >&5 |
3343 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3344 |
|
(exit $ac_status); } && |
3345 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3509 |
< |
|| test ! -s conftest.err' |
3510 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3511 |
< |
(eval $ac_try) 2>&5 |
3512 |
< |
ac_status=$? |
3513 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3514 |
< |
(exit $ac_status); }; } && |
3515 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3345 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3346 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3347 |
|
(eval $ac_try) 2>&5 |
3348 |
|
ac_status=$? |
3372 |
|
ac_save_F90FLAGS=$F90FLAGS |
3373 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3374 |
|
|
3375 |
< |
(eval echo $as_me:3545: \"$ac_link\") >&5 |
3375 |
> |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
3376 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3377 |
|
echo "$ac_f90_v_output" >&5 |
3378 |
|
F90FLAGS=$ac_save_F90FLAGS |
3414 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3415 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3416 |
|
fi |
3417 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3417 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3418 |
|
|
3419 |
|
fi |
3420 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3449 |
|
ac_save_F90FLAGS=$F90FLAGS |
3450 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3451 |
|
|
3452 |
< |
(eval echo $as_me:3622: \"$ac_link\") >&5 |
3452 |
> |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
3453 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3454 |
|
echo "$ac_f90_v_output" >&5 |
3455 |
|
F90FLAGS=$ac_save_F90FLAGS |
3631 |
|
_ACEOF |
3632 |
|
rm -f conftest.$ac_objext |
3633 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3634 |
< |
(eval $ac_compile) 2>conftest.er1 |
3634 |
> |
(eval $ac_compile) 2>&5 |
3635 |
|
ac_status=$? |
3806 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3807 |
– |
rm -f conftest.er1 |
3808 |
– |
cat conftest.err >&5 |
3636 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3637 |
|
(exit $ac_status); } && |
3638 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3812 |
< |
|| test ! -s conftest.err' |
3638 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3639 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3640 |
|
(eval $ac_try) 2>&5 |
3641 |
|
ac_status=$? |
3642 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3817 |
– |
(exit $ac_status); }; } && |
3818 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3819 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3820 |
– |
(eval $ac_try) 2>&5 |
3821 |
– |
ac_status=$? |
3822 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3643 |
|
(exit $ac_status); }; }; then |
3644 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
3645 |
|
|
3657 |
|
for ac_underscore in "" "_"; do |
3658 |
|
ac_func="$ac_foobar$ac_underscore" |
3659 |
|
cat >conftest.$ac_ext <<_ACEOF |
3660 |
+ |
#line $LINENO "configure" |
3661 |
|
/* confdefs.h. */ |
3662 |
|
_ACEOF |
3663 |
|
cat confdefs.h >>conftest.$ac_ext |
3681 |
|
_ACEOF |
3682 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3683 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3684 |
< |
(eval $ac_link) 2>conftest.er1 |
3684 |
> |
(eval $ac_link) 2>&5 |
3685 |
|
ac_status=$? |
3865 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3866 |
– |
rm -f conftest.er1 |
3867 |
– |
cat conftest.err >&5 |
3686 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3687 |
|
(exit $ac_status); } && |
3688 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3871 |
< |
|| test ! -s conftest.err' |
3688 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3689 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3690 |
|
(eval $ac_try) 2>&5 |
3691 |
|
ac_status=$? |
3692 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3876 |
– |
(exit $ac_status); }; } && |
3877 |
– |
{ ac_try='test -s conftest$ac_exeext' |
3878 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3879 |
– |
(eval $ac_try) 2>&5 |
3880 |
– |
ac_status=$? |
3881 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3693 |
|
(exit $ac_status); }; }; then |
3694 |
|
ac_success=yes; break 2 |
3695 |
|
else |
3697 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3698 |
|
|
3699 |
|
fi |
3700 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3890 |
< |
conftest$ac_exeext conftest.$ac_ext |
3700 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3701 |
|
done |
3702 |
|
done |
3703 |
|
|
3718 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3719 |
|
|
3720 |
|
cat >conftest.$ac_ext <<_ACEOF |
3721 |
+ |
#line $LINENO "configure" |
3722 |
|
/* confdefs.h. */ |
3723 |
|
_ACEOF |
3724 |
|
cat confdefs.h >>conftest.$ac_ext |
3742 |
|
_ACEOF |
3743 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3744 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3745 |
< |
(eval $ac_link) 2>conftest.er1 |
3745 |
> |
(eval $ac_link) 2>&5 |
3746 |
|
ac_status=$? |
3936 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3937 |
– |
rm -f conftest.er1 |
3938 |
– |
cat conftest.err >&5 |
3747 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3748 |
|
(exit $ac_status); } && |
3749 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3942 |
< |
|| test ! -s conftest.err' |
3943 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3944 |
< |
(eval $ac_try) 2>&5 |
3945 |
< |
ac_status=$? |
3946 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3947 |
< |
(exit $ac_status); }; } && |
3948 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3749 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3750 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3751 |
|
(eval $ac_try) 2>&5 |
3752 |
|
ac_status=$? |
3758 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3759 |
|
|
3760 |
|
fi |
3761 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3961 |
< |
conftest$ac_exeext conftest.$ac_ext |
3761 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3762 |
|
done |
3763 |
|
|
3764 |
|
if test "$ac_success_extra" = "yes"; then |
3793 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3794 |
|
|
3795 |
|
fi |
3796 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3796 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3797 |
|
ac_ext=f90 |
3798 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3799 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4036 |
|
_ACEOF |
4037 |
|
rm -f conftest.$ac_objext |
4038 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4039 |
< |
(eval $ac_compile) 2>conftest.er1 |
4039 |
> |
(eval $ac_compile) 2>&5 |
4040 |
|
ac_status=$? |
4241 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4242 |
– |
rm -f conftest.er1 |
4243 |
– |
cat conftest.err >&5 |
4041 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4042 |
|
(exit $ac_status); } && |
4043 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
4247 |
< |
|| test ! -s conftest.err' |
4043 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4044 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4045 |
|
(eval $ac_try) 2>&5 |
4046 |
|
ac_status=$? |
4047 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4252 |
– |
(exit $ac_status); }; } && |
4253 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4254 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4255 |
– |
(eval $ac_try) 2>&5 |
4256 |
– |
ac_status=$? |
4257 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4048 |
|
(exit $ac_status); }; }; then |
4049 |
|
ac_cv_f90_module_names= |
4050 |
|
ac_file_list=* |
4145 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4146 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4147 |
|
fi |
4148 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4148 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4149 |
|
cd .. |
4150 |
|
# cleanup |
4151 |
|
rm -rf conftest |
4275 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4276 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4277 |
|
cat >conftest.$ac_ext <<_ACEOF |
4278 |
+ |
#line $LINENO "configure" |
4279 |
|
/* confdefs.h. */ |
4280 |
|
_ACEOF |
4281 |
|
cat confdefs.h >>conftest.$ac_ext |
4286 |
|
#else |
4287 |
|
# include <assert.h> |
4288 |
|
#endif |
4289 |
< |
Syntax error |
4289 |
> |
Syntax error |
4290 |
|
_ACEOF |
4291 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4292 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4298 |
|
(exit $ac_status); } >/dev/null; then |
4299 |
|
if test -s conftest.err; then |
4300 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4510 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4301 |
|
else |
4302 |
|
ac_cpp_err= |
4303 |
|
fi |
4318 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4319 |
|
# can be detected and how. |
4320 |
|
cat >conftest.$ac_ext <<_ACEOF |
4321 |
+ |
#line $LINENO "configure" |
4322 |
|
/* confdefs.h. */ |
4323 |
|
_ACEOF |
4324 |
|
cat confdefs.h >>conftest.$ac_ext |
4336 |
|
(exit $ac_status); } >/dev/null; then |
4337 |
|
if test -s conftest.err; then |
4338 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4548 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4339 |
|
else |
4340 |
|
ac_cpp_err= |
4341 |
|
fi |
4382 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4383 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4384 |
|
cat >conftest.$ac_ext <<_ACEOF |
4385 |
+ |
#line $LINENO "configure" |
4386 |
|
/* confdefs.h. */ |
4387 |
|
_ACEOF |
4388 |
|
cat confdefs.h >>conftest.$ac_ext |
4393 |
|
#else |
4394 |
|
# include <assert.h> |
4395 |
|
#endif |
4396 |
< |
Syntax error |
4396 |
> |
Syntax error |
4397 |
|
_ACEOF |
4398 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4399 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4405 |
|
(exit $ac_status); } >/dev/null; then |
4406 |
|
if test -s conftest.err; then |
4407 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4617 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4408 |
|
else |
4409 |
|
ac_cpp_err= |
4410 |
|
fi |
4425 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4426 |
|
# can be detected and how. |
4427 |
|
cat >conftest.$ac_ext <<_ACEOF |
4428 |
+ |
#line $LINENO "configure" |
4429 |
|
/* confdefs.h. */ |
4430 |
|
_ACEOF |
4431 |
|
cat confdefs.h >>conftest.$ac_ext |
4443 |
|
(exit $ac_status); } >/dev/null; then |
4444 |
|
if test -s conftest.err; then |
4445 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4655 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4446 |
|
else |
4447 |
|
ac_cpp_err= |
4448 |
|
fi |
4503 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4504 |
|
else |
4505 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
+ |
#line $LINENO "configure" |
4507 |
|
/* confdefs.h. */ |
4508 |
|
_ACEOF |
4509 |
|
cat confdefs.h >>conftest.$ac_ext |
4524 |
|
_ACEOF |
4525 |
|
rm -f conftest.$ac_objext |
4526 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4527 |
< |
(eval $ac_compile) 2>conftest.er1 |
4527 |
> |
(eval $ac_compile) 2>&5 |
4528 |
|
ac_status=$? |
4738 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4739 |
– |
rm -f conftest.er1 |
4740 |
– |
cat conftest.err >&5 |
4529 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4530 |
|
(exit $ac_status); } && |
4531 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4744 |
< |
|| test ! -s conftest.err' |
4531 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4532 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4533 |
|
(eval $ac_try) 2>&5 |
4534 |
|
ac_status=$? |
4535 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4749 |
– |
(exit $ac_status); }; } && |
4750 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4751 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4752 |
– |
(eval $ac_try) 2>&5 |
4753 |
– |
ac_status=$? |
4754 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4536 |
|
(exit $ac_status); }; }; then |
4537 |
|
ac_cv_header_stdc=yes |
4538 |
|
else |
4541 |
|
|
4542 |
|
ac_cv_header_stdc=no |
4543 |
|
fi |
4544 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4544 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4545 |
|
|
4546 |
|
if test $ac_cv_header_stdc = yes; then |
4547 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4548 |
|
cat >conftest.$ac_ext <<_ACEOF |
4549 |
+ |
#line $LINENO "configure" |
4550 |
|
/* confdefs.h. */ |
4551 |
|
_ACEOF |
4552 |
|
cat confdefs.h >>conftest.$ac_ext |
4568 |
|
if test $ac_cv_header_stdc = yes; then |
4569 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4570 |
|
cat >conftest.$ac_ext <<_ACEOF |
4571 |
+ |
#line $LINENO "configure" |
4572 |
|
/* confdefs.h. */ |
4573 |
|
_ACEOF |
4574 |
|
cat confdefs.h >>conftest.$ac_ext |
4593 |
|
: |
4594 |
|
else |
4595 |
|
cat >conftest.$ac_ext <<_ACEOF |
4596 |
+ |
#line $LINENO "configure" |
4597 |
|
/* confdefs.h. */ |
4598 |
|
_ACEOF |
4599 |
|
cat confdefs.h >>conftest.$ac_ext |
4605 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4606 |
|
#else |
4607 |
|
# define ISLOWER(c) \ |
4608 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4609 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4610 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4608 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4609 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4610 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4611 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4612 |
|
#endif |
4613 |
|
|
4618 |
|
int i; |
4619 |
|
for (i = 0; i < 256; i++) |
4620 |
|
if (XOR (islower (i), ISLOWER (i)) |
4621 |
< |
|| toupper (i) != TOUPPER (i)) |
4621 |
> |
|| toupper (i) != TOUPPER (i)) |
4622 |
|
exit(2); |
4623 |
|
exit (0); |
4624 |
|
} |
4643 |
|
( exit $ac_status ) |
4644 |
|
ac_cv_header_stdc=no |
4645 |
|
fi |
4646 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4646 |
> |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4647 |
|
fi |
4648 |
|
fi |
4649 |
|
fi |
4668 |
|
|
4669 |
|
|
4670 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4671 |
< |
inttypes.h stdint.h unistd.h |
4671 |
> |
inttypes.h stdint.h unistd.h |
4672 |
|
do |
4673 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4674 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4677 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4678 |
|
else |
4679 |
|
cat >conftest.$ac_ext <<_ACEOF |
4680 |
+ |
#line $LINENO "configure" |
4681 |
|
/* confdefs.h. */ |
4682 |
|
_ACEOF |
4683 |
|
cat confdefs.h >>conftest.$ac_ext |
4689 |
|
_ACEOF |
4690 |
|
rm -f conftest.$ac_objext |
4691 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4692 |
< |
(eval $ac_compile) 2>conftest.er1 |
4692 |
> |
(eval $ac_compile) 2>&5 |
4693 |
|
ac_status=$? |
4909 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4910 |
– |
rm -f conftest.er1 |
4911 |
– |
cat conftest.err >&5 |
4694 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4695 |
|
(exit $ac_status); } && |
4696 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4915 |
< |
|| test ! -s conftest.err' |
4696 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4697 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4698 |
|
(eval $ac_try) 2>&5 |
4699 |
|
ac_status=$? |
4700 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4920 |
– |
(exit $ac_status); }; } && |
4921 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4922 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4923 |
– |
(eval $ac_try) 2>&5 |
4924 |
– |
ac_status=$? |
4925 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4701 |
|
(exit $ac_status); }; }; then |
4702 |
|
eval "$as_ac_Header=yes" |
4703 |
|
else |
4706 |
|
|
4707 |
|
eval "$as_ac_Header=no" |
4708 |
|
fi |
4709 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4709 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4710 |
|
fi |
4711 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4712 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4720 |
|
done |
4721 |
|
|
4722 |
|
|
4948 |
– |
# clean out junk possibly left behind by a previous configuration |
4949 |
– |
rm -f src/utils/getopt.h |
4950 |
– |
# Check for getopt_long support |
4723 |
|
|
4724 |
< |
for ac_header in getopt.h |
4724 |
> |
|
4725 |
> |
|
4726 |
> |
|
4727 |
> |
|
4728 |
> |
|
4729 |
> |
|
4730 |
> |
|
4731 |
> |
|
4732 |
> |
for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h |
4733 |
|
do |
4734 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4735 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4745 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4746 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4747 |
|
cat >conftest.$ac_ext <<_ACEOF |
4748 |
+ |
#line $LINENO "configure" |
4749 |
|
/* confdefs.h. */ |
4750 |
|
_ACEOF |
4751 |
|
cat confdefs.h >>conftest.$ac_ext |
4756 |
|
_ACEOF |
4757 |
|
rm -f conftest.$ac_objext |
4758 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4759 |
< |
(eval $ac_compile) 2>conftest.er1 |
4759 |
> |
(eval $ac_compile) 2>&5 |
4760 |
> |
ac_status=$? |
4761 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4762 |
> |
(exit $ac_status); } && |
4763 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4764 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4765 |
> |
(eval $ac_try) 2>&5 |
4766 |
> |
ac_status=$? |
4767 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4768 |
> |
(exit $ac_status); }; }; then |
4769 |
> |
ac_header_compiler=yes |
4770 |
> |
else |
4771 |
> |
echo "$as_me: failed program was:" >&5 |
4772 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4773 |
> |
|
4774 |
> |
ac_header_compiler=no |
4775 |
> |
fi |
4776 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4777 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4778 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4779 |
> |
|
4780 |
> |
# Is the header present? |
4781 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4782 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4783 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4784 |
> |
#line $LINENO "configure" |
4785 |
> |
/* confdefs.h. */ |
4786 |
> |
_ACEOF |
4787 |
> |
cat confdefs.h >>conftest.$ac_ext |
4788 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4789 |
> |
/* end confdefs.h. */ |
4790 |
> |
#include <$ac_header> |
4791 |
> |
_ACEOF |
4792 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4793 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4794 |
|
ac_status=$? |
4795 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4796 |
|
rm -f conftest.er1 |
4797 |
|
cat conftest.err >&5 |
4798 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4799 |
+ |
(exit $ac_status); } >/dev/null; then |
4800 |
+ |
if test -s conftest.err; then |
4801 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
4802 |
+ |
else |
4803 |
+ |
ac_cpp_err= |
4804 |
+ |
fi |
4805 |
+ |
else |
4806 |
+ |
ac_cpp_err=yes |
4807 |
+ |
fi |
4808 |
+ |
if test -z "$ac_cpp_err"; then |
4809 |
+ |
ac_header_preproc=yes |
4810 |
+ |
else |
4811 |
+ |
echo "$as_me: failed program was:" >&5 |
4812 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
4813 |
+ |
|
4814 |
+ |
ac_header_preproc=no |
4815 |
+ |
fi |
4816 |
+ |
rm -f conftest.err conftest.$ac_ext |
4817 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4818 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4819 |
+ |
|
4820 |
+ |
# So? What about this header? |
4821 |
+ |
case $ac_header_compiler:$ac_header_preproc in |
4822 |
+ |
yes:no ) |
4823 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4824 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4825 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4826 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4827 |
+ |
( |
4828 |
+ |
cat <<\_ASBOX |
4829 |
+ |
## ------------------------------------ ## |
4830 |
+ |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
+ |
## ------------------------------------ ## |
4832 |
+ |
_ASBOX |
4833 |
+ |
) | |
4834 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
4835 |
+ |
;; |
4836 |
+ |
no:yes ) |
4837 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4838 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4839 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4840 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4841 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4842 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4843 |
+ |
( |
4844 |
+ |
cat <<\_ASBOX |
4845 |
+ |
## ------------------------------------ ## |
4846 |
+ |
## Report this to bug-autoconf@gnu.org. ## |
4847 |
+ |
## ------------------------------------ ## |
4848 |
+ |
_ASBOX |
4849 |
+ |
) | |
4850 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
4851 |
+ |
;; |
4852 |
+ |
esac |
4853 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4854 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4855 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4856 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4857 |
+ |
else |
4858 |
+ |
eval "$as_ac_Header=$ac_header_preproc" |
4859 |
+ |
fi |
4860 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4861 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4862 |
+ |
|
4863 |
+ |
fi |
4864 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4865 |
+ |
cat >>confdefs.h <<_ACEOF |
4866 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4867 |
+ |
_ACEOF |
4868 |
+ |
|
4869 |
+ |
fi |
4870 |
+ |
|
4871 |
+ |
done |
4872 |
+ |
|
4873 |
+ |
|
4874 |
+ |
|
4875 |
+ |
|
4876 |
+ |
|
4877 |
+ |
|
4878 |
+ |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
4879 |
+ |
do |
4880 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4881 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4882 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4883 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4884 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4885 |
+ |
else |
4886 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
4887 |
+ |
#line $LINENO "configure" |
4888 |
+ |
/* confdefs.h. */ |
4889 |
+ |
_ACEOF |
4890 |
+ |
cat confdefs.h >>conftest.$ac_ext |
4891 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
4892 |
+ |
/* end confdefs.h. */ |
4893 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
4894 |
+ |
which can conflict with char $ac_func (); below. |
4895 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4896 |
+ |
<limits.h> exists even on freestanding compilers. */ |
4897 |
+ |
#ifdef __STDC__ |
4898 |
+ |
# include <limits.h> |
4899 |
+ |
#else |
4900 |
+ |
# include <assert.h> |
4901 |
+ |
#endif |
4902 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4903 |
+ |
#ifdef __cplusplus |
4904 |
+ |
extern "C" |
4905 |
+ |
{ |
4906 |
+ |
#endif |
4907 |
+ |
/* We use char because int might match the return type of a gcc2 |
4908 |
+ |
builtin and then its argument prototype would still apply. */ |
4909 |
+ |
char $ac_func (); |
4910 |
+ |
/* The GNU C library defines this for functions which it implements |
4911 |
+ |
to always fail with ENOSYS. Some functions are actually named |
4912 |
+ |
something starting with __ and the normal name is an alias. */ |
4913 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4914 |
+ |
choke me |
4915 |
+ |
#else |
4916 |
+ |
char (*f) () = $ac_func; |
4917 |
+ |
#endif |
4918 |
+ |
#ifdef __cplusplus |
4919 |
+ |
} |
4920 |
+ |
#endif |
4921 |
+ |
|
4922 |
+ |
int |
4923 |
+ |
main () |
4924 |
+ |
{ |
4925 |
+ |
return f != $ac_func; |
4926 |
+ |
; |
4927 |
+ |
return 0; |
4928 |
+ |
} |
4929 |
+ |
_ACEOF |
4930 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
4931 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4932 |
+ |
(eval $ac_link) 2>&5 |
4933 |
+ |
ac_status=$? |
4934 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4935 |
|
(exit $ac_status); } && |
4936 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4986 |
< |
|| test ! -s conftest.err' |
4936 |
> |
{ ac_try='test -s conftest$ac_exeext' |
4937 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4938 |
|
(eval $ac_try) 2>&5 |
4939 |
|
ac_status=$? |
4940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4941 |
< |
(exit $ac_status); }; } && |
4942 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4941 |
> |
(exit $ac_status); }; }; then |
4942 |
> |
eval "$as_ac_var=yes" |
4943 |
> |
else |
4944 |
> |
echo "$as_me: failed program was:" >&5 |
4945 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
4946 |
> |
|
4947 |
> |
eval "$as_ac_var=no" |
4948 |
> |
fi |
4949 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4950 |
> |
fi |
4951 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4952 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4953 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
4954 |
> |
cat >>confdefs.h <<_ACEOF |
4955 |
> |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4956 |
> |
_ACEOF |
4957 |
> |
|
4958 |
> |
fi |
4959 |
> |
done |
4960 |
> |
|
4961 |
> |
# special check for _system_configuration because AIX <4.3.2 do not |
4962 |
> |
# contain the `physmem' member. |
4963 |
> |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
4964 |
> |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
4965 |
> |
cat >conftest.$ac_ext <<_ACEOF |
4966 |
> |
#line $LINENO "configure" |
4967 |
> |
/* confdefs.h. */ |
4968 |
> |
_ACEOF |
4969 |
> |
cat confdefs.h >>conftest.$ac_ext |
4970 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
4971 |
> |
/* end confdefs.h. */ |
4972 |
> |
#include <sys/systemcfg.h> |
4973 |
> |
int |
4974 |
> |
main () |
4975 |
> |
{ |
4976 |
> |
double x = _system_configuration.physmem; |
4977 |
> |
; |
4978 |
> |
return 0; |
4979 |
> |
} |
4980 |
> |
_ACEOF |
4981 |
> |
rm -f conftest.$ac_objext |
4982 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4983 |
> |
(eval $ac_compile) 2>&5 |
4984 |
> |
ac_status=$? |
4985 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4986 |
> |
(exit $ac_status); } && |
4987 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4988 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4989 |
> |
(eval $ac_try) 2>&5 |
4990 |
> |
ac_status=$? |
4991 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4992 |
> |
(exit $ac_status); }; }; then |
4993 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
4994 |
> |
echo "${ECHO_T}yes" >&6 |
4995 |
> |
|
4996 |
> |
cat >>confdefs.h <<\_ACEOF |
4997 |
> |
#define HAVE__SYSTEM_CONFIGURATION 1 |
4998 |
> |
_ACEOF |
4999 |
> |
|
5000 |
> |
else |
5001 |
> |
echo "$as_me: failed program was:" >&5 |
5002 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5003 |
> |
|
5004 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
5005 |
> |
echo "${ECHO_T}no" >&6 |
5006 |
> |
fi |
5007 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
5008 |
> |
|
5009 |
> |
# clean out junk possibly left behind by a previous configuration |
5010 |
> |
rm -f src/getopt.h |
5011 |
> |
# Check for getopt_long support |
5012 |
> |
|
5013 |
> |
for ac_header in getopt.h |
5014 |
> |
do |
5015 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5016 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5017 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5018 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5019 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5020 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5021 |
> |
fi |
5022 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5023 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5024 |
> |
else |
5025 |
> |
# Is the header compilable? |
5026 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5027 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5028 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5029 |
> |
#line $LINENO "configure" |
5030 |
> |
/* confdefs.h. */ |
5031 |
> |
_ACEOF |
5032 |
> |
cat confdefs.h >>conftest.$ac_ext |
5033 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5034 |
> |
/* end confdefs.h. */ |
5035 |
> |
$ac_includes_default |
5036 |
> |
#include <$ac_header> |
5037 |
> |
_ACEOF |
5038 |
> |
rm -f conftest.$ac_objext |
5039 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5040 |
> |
(eval $ac_compile) 2>&5 |
5041 |
> |
ac_status=$? |
5042 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5043 |
> |
(exit $ac_status); } && |
5044 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5045 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5046 |
|
(eval $ac_try) 2>&5 |
5047 |
|
ac_status=$? |
5054 |
|
|
5055 |
|
ac_header_compiler=no |
5056 |
|
fi |
5057 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5057 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
5058 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5059 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5060 |
|
|
5062 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5063 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5064 |
|
cat >conftest.$ac_ext <<_ACEOF |
5065 |
+ |
#line $LINENO "configure" |
5066 |
|
/* confdefs.h. */ |
5067 |
|
_ACEOF |
5068 |
|
cat confdefs.h >>conftest.$ac_ext |
5080 |
|
(exit $ac_status); } >/dev/null; then |
5081 |
|
if test -s conftest.err; then |
5082 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5030 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5083 |
|
else |
5084 |
|
ac_cpp_err= |
5085 |
|
fi |
5099 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5100 |
|
|
5101 |
|
# So? What about this header? |
5102 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5103 |
< |
yes:no: ) |
5102 |
> |
case $ac_header_compiler:$ac_header_preproc in |
5103 |
> |
yes:no ) |
5104 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5105 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5106 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5107 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5108 |
< |
ac_header_preproc=yes |
5106 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5107 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5108 |
> |
( |
5109 |
> |
cat <<\_ASBOX |
5110 |
> |
## ------------------------------------ ## |
5111 |
> |
## Report this to bug-autoconf@gnu.org. ## |
5112 |
> |
## ------------------------------------ ## |
5113 |
> |
_ASBOX |
5114 |
> |
) | |
5115 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
5116 |
|
;; |
5117 |
< |
no:yes:* ) |
5117 |
> |
no:yes ) |
5118 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5119 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5120 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5121 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5063 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5064 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5065 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5066 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5120 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5121 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5122 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5123 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5069 |
– |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5070 |
– |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5124 |
|
( |
5125 |
|
cat <<\_ASBOX |
5126 |
< |
## ------------------------------ ## |
5127 |
< |
## Report this to gezelter@nd.edu ## |
5128 |
< |
## ------------------------------ ## |
5126 |
> |
## ------------------------------------ ## |
5127 |
> |
## Report this to bug-autoconf@gnu.org. ## |
5128 |
> |
## ------------------------------------ ## |
5129 |
|
_ASBOX |
5130 |
|
) | |
5131 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5136 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5137 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5138 |
|
else |
5139 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
5139 |
> |
eval "$as_ac_Header=$ac_header_preproc" |
5140 |
|
fi |
5141 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5142 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5161 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5162 |
|
else |
5163 |
|
cat >conftest.$ac_ext <<_ACEOF |
5164 |
+ |
#line $LINENO "configure" |
5165 |
|
/* confdefs.h. */ |
5166 |
|
_ACEOF |
5167 |
|
cat confdefs.h >>conftest.$ac_ext |
5168 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5169 |
|
/* end confdefs.h. */ |
5116 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5117 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5118 |
– |
#define $ac_func innocuous_$ac_func |
5119 |
– |
|
5170 |
|
/* System header to define __stub macros and hopefully few prototypes, |
5171 |
|
which can conflict with char $ac_func (); below. |
5172 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5173 |
|
<limits.h> exists even on freestanding compilers. */ |
5124 |
– |
|
5174 |
|
#ifdef __STDC__ |
5175 |
|
# include <limits.h> |
5176 |
|
#else |
5177 |
|
# include <assert.h> |
5178 |
|
#endif |
5130 |
– |
|
5131 |
– |
#undef $ac_func |
5132 |
– |
|
5179 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5180 |
|
#ifdef __cplusplus |
5181 |
|
extern "C" |
5206 |
|
_ACEOF |
5207 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5208 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5209 |
< |
(eval $ac_link) 2>conftest.er1 |
5209 |
> |
(eval $ac_link) 2>&5 |
5210 |
|
ac_status=$? |
5165 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
5166 |
– |
rm -f conftest.er1 |
5167 |
– |
cat conftest.err >&5 |
5211 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5212 |
|
(exit $ac_status); } && |
5213 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5171 |
< |
|| test ! -s conftest.err' |
5213 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5214 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5215 |
|
(eval $ac_try) 2>&5 |
5216 |
|
ac_status=$? |
5217 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5176 |
– |
(exit $ac_status); }; } && |
5177 |
– |
{ ac_try='test -s conftest$ac_exeext' |
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 |
5218 |
|
(exit $ac_status); }; }; then |
5219 |
|
eval "$as_ac_var=yes" |
5220 |
|
else |
5223 |
|
|
5224 |
|
eval "$as_ac_var=no" |
5225 |
|
fi |
5226 |
< |
rm -f conftest.err conftest.$ac_objext \ |
5191 |
< |
conftest$ac_exeext conftest.$ac_ext |
5226 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5227 |
|
fi |
5228 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5229 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5242 |
|
ac_check_lib_save_LIBS=$LIBS |
5243 |
|
LIBS="-lgnugetopt $LIBS" |
5244 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
+ |
#line $LINENO "configure" |
5246 |
|
/* confdefs.h. */ |
5247 |
|
_ACEOF |
5248 |
|
cat confdefs.h >>conftest.$ac_ext |
5266 |
|
_ACEOF |
5267 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5268 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5269 |
< |
(eval $ac_link) 2>conftest.er1 |
5269 |
> |
(eval $ac_link) 2>&5 |
5270 |
|
ac_status=$? |
5235 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
5236 |
– |
rm -f conftest.er1 |
5237 |
– |
cat conftest.err >&5 |
5271 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5272 |
|
(exit $ac_status); } && |
5273 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5241 |
< |
|| test ! -s conftest.err' |
5273 |
> |
{ ac_try='test -s conftest$ac_exeext' |
5274 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5275 |
|
(eval $ac_try) 2>&5 |
5276 |
|
ac_status=$? |
5277 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5246 |
– |
(exit $ac_status); }; } && |
5247 |
– |
{ ac_try='test -s conftest$ac_exeext' |
5248 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5249 |
– |
(eval $ac_try) 2>&5 |
5250 |
– |
ac_status=$? |
5251 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5278 |
|
(exit $ac_status); }; }; then |
5279 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
5280 |
|
else |
5283 |
|
|
5284 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
5285 |
|
fi |
5286 |
< |
rm -f conftest.err conftest.$ac_objext \ |
5261 |
< |
conftest$ac_exeext conftest.$ac_ext |
5286 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5287 |
|
LIBS=$ac_check_lib_save_LIBS |
5288 |
|
fi |
5289 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5295 |
|
|
5296 |
|
else |
5297 |
|
# use the GNU replacement |
5298 |
< |
case $LIBOBJS in |
5299 |
< |
"getopt.$ac_objext" | \ |
5300 |
< |
*" getopt.$ac_objext" | \ |
5276 |
< |
"getopt.$ac_objext "* | \ |
5277 |
< |
*" getopt.$ac_objext "* ) ;; |
5278 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5279 |
< |
esac |
5280 |
< |
|
5281 |
< |
case $LIBOBJS in |
5282 |
< |
"getopt1.$ac_objext" | \ |
5283 |
< |
*" getopt1.$ac_objext" | \ |
5284 |
< |
"getopt1.$ac_objext "* | \ |
5285 |
< |
*" getopt1.$ac_objext "* ) ;; |
5286 |
< |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5287 |
< |
esac |
5288 |
< |
|
5289 |
< |
ac_config_links="$ac_config_links src/utils/getopt.h:src/utils/gnugetopt.h" |
5298 |
> |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5299 |
> |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5300 |
> |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
5301 |
|
|
5302 |
|
fi |
5303 |
|
|
5842 |
|
echo "*******************************************************" |
5843 |
|
fi;; |
5844 |
|
*darwin*) |
5845 |
< |
if test "$CXX" = xlc++; then |
5845 |
> |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
5846 |
|
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
5847 |
|
fi;; |
5848 |
|
esac |
6345 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6346 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6347 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6337 |
– |
# OS/2's system install, which has a completely different semantic |
6348 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6349 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6350 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6361 |
|
case $as_dir/ in |
6362 |
|
./ | .// | /cC/* | \ |
6363 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6354 |
– |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6364 |
|
/usr/ucb/* ) ;; |
6365 |
|
*) |
6366 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
6368 |
|
# by default. |
6369 |
|
for ac_prog in ginstall scoinst install; do |
6370 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6371 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6372 |
< |
if test $ac_prog = install && |
6373 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6374 |
< |
# AIX install. It has an incompatible calling convention. |
6375 |
< |
: |
6376 |
< |
elif test $ac_prog = install && |
6377 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6378 |
< |
# program-specific install script used by HP pwplus--don't use. |
6379 |
< |
: |
6380 |
< |
else |
6381 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6382 |
< |
break 3 |
6383 |
< |
fi |
6384 |
< |
fi |
6371 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6372 |
> |
if test $ac_prog = install && |
6373 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6374 |
> |
# AIX install. It has an incompatible calling convention. |
6375 |
> |
: |
6376 |
> |
elif test $ac_prog = install && |
6377 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6378 |
> |
# program-specific install script used by HP pwplus--don't use. |
6379 |
> |
: |
6380 |
> |
else |
6381 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6382 |
> |
break 3 |
6383 |
> |
fi |
6384 |
> |
fi |
6385 |
|
done |
6386 |
|
done |
6387 |
|
;; |
6424 |
|
|
6425 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6426 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6427 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6427 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6428 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6429 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6430 |
|
else |
6623 |
|
ac_check_lib_save_LIBS=$LIBS |
6624 |
|
LIBS="-lfl $LIBS" |
6625 |
|
cat >conftest.$ac_ext <<_ACEOF |
6626 |
+ |
#line $LINENO "configure" |
6627 |
|
/* confdefs.h. */ |
6628 |
|
_ACEOF |
6629 |
|
cat confdefs.h >>conftest.$ac_ext |
6647 |
|
_ACEOF |
6648 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6649 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6650 |
< |
(eval $ac_link) 2>conftest.er1 |
6650 |
> |
(eval $ac_link) 2>&5 |
6651 |
|
ac_status=$? |
6642 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6643 |
– |
rm -f conftest.er1 |
6644 |
– |
cat conftest.err >&5 |
6652 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6653 |
|
(exit $ac_status); } && |
6654 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6648 |
< |
|| test ! -s conftest.err' |
6649 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6650 |
< |
(eval $ac_try) 2>&5 |
6651 |
< |
ac_status=$? |
6652 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6653 |
< |
(exit $ac_status); }; } && |
6654 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6654 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6655 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6656 |
|
(eval $ac_try) 2>&5 |
6657 |
|
ac_status=$? |
6664 |
|
|
6665 |
|
ac_cv_lib_fl_yywrap=no |
6666 |
|
fi |
6667 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6668 |
< |
conftest$ac_exeext conftest.$ac_ext |
6667 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6668 |
|
LIBS=$ac_check_lib_save_LIBS |
6669 |
|
fi |
6670 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
6680 |
|
ac_check_lib_save_LIBS=$LIBS |
6681 |
|
LIBS="-ll $LIBS" |
6682 |
|
cat >conftest.$ac_ext <<_ACEOF |
6683 |
+ |
#line $LINENO "configure" |
6684 |
|
/* confdefs.h. */ |
6685 |
|
_ACEOF |
6686 |
|
cat confdefs.h >>conftest.$ac_ext |
6704 |
|
_ACEOF |
6705 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6706 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6707 |
< |
(eval $ac_link) 2>conftest.er1 |
6707 |
> |
(eval $ac_link) 2>&5 |
6708 |
|
ac_status=$? |
6709 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6710 |
– |
rm -f conftest.er1 |
6711 |
– |
cat conftest.err >&5 |
6709 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6710 |
|
(exit $ac_status); } && |
6711 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6715 |
< |
|| test ! -s conftest.err' |
6711 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6712 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6713 |
|
(eval $ac_try) 2>&5 |
6714 |
|
ac_status=$? |
6715 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6720 |
– |
(exit $ac_status); }; } && |
6721 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6722 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6723 |
– |
(eval $ac_try) 2>&5 |
6724 |
– |
ac_status=$? |
6725 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6716 |
|
(exit $ac_status); }; }; then |
6717 |
|
ac_cv_lib_l_yywrap=yes |
6718 |
|
else |
6721 |
|
|
6722 |
|
ac_cv_lib_l_yywrap=no |
6723 |
|
fi |
6724 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6735 |
< |
conftest$ac_exeext conftest.$ac_ext |
6724 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6725 |
|
LIBS=$ac_check_lib_save_LIBS |
6726 |
|
fi |
6727 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
6783 |
|
_ACEOF |
6784 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6785 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6786 |
< |
(eval $ac_link) 2>conftest.er1 |
6786 |
> |
(eval $ac_link) 2>&5 |
6787 |
|
ac_status=$? |
6799 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6800 |
– |
rm -f conftest.er1 |
6801 |
– |
cat conftest.err >&5 |
6788 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6789 |
|
(exit $ac_status); } && |
6790 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6805 |
< |
|| test ! -s conftest.err' |
6790 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6791 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6792 |
|
(eval $ac_try) 2>&5 |
6793 |
|
ac_status=$? |
6794 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6810 |
– |
(exit $ac_status); }; } && |
6811 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6812 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6813 |
– |
(eval $ac_try) 2>&5 |
6814 |
– |
ac_status=$? |
6815 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6795 |
|
(exit $ac_status); }; }; then |
6796 |
|
ac_cv_prog_lex_yytext_pointer=yes |
6797 |
|
else |
6799 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6800 |
|
|
6801 |
|
fi |
6802 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6824 |
< |
conftest$ac_exeext conftest.$ac_ext |
6802 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6803 |
|
LIBS=$ac_save_LIBS |
6804 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
6805 |
|
|
6883 |
|
# `set' does not quote correctly, so add quotes (double-quote |
6884 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
6885 |
|
sed -n \ |
6886 |
< |
"s/'/'\\\\''/g; |
6887 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6886 |
> |
"s/'/'\\\\''/g; |
6887 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6888 |
|
;; |
6889 |
|
*) |
6890 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
6891 |
|
sed -n \ |
6892 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6892 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6893 |
|
;; |
6894 |
|
esac; |
6895 |
|
} | |
6910 |
|
fi |
6911 |
|
rm -f confcache |
6912 |
|
exit 1 |
6913 |
+ |
fi |
6914 |
+ |
|
6915 |
+ |
# Extract the first word of "ps", so it can be a program name with args. |
6916 |
+ |
set dummy ps; ac_word=$2 |
6917 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6918 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6919 |
+ |
if test "${ac_cv_path_PS+set}" = set; then |
6920 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6921 |
+ |
else |
6922 |
+ |
case $PS in |
6923 |
+ |
[\\/]* | ?:[\\/]*) |
6924 |
+ |
ac_cv_path_PS="$PS" # Let the user override the test with a path. |
6925 |
+ |
;; |
6926 |
+ |
*) |
6927 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6928 |
+ |
for as_dir in $PATH |
6929 |
+ |
do |
6930 |
+ |
IFS=$as_save_IFS |
6931 |
+ |
test -z "$as_dir" && as_dir=. |
6932 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6933 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6934 |
+ |
ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" |
6935 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6936 |
+ |
break 2 |
6937 |
+ |
fi |
6938 |
+ |
done |
6939 |
+ |
done |
6940 |
+ |
|
6941 |
+ |
;; |
6942 |
+ |
esac |
6943 |
+ |
fi |
6944 |
+ |
PS=$ac_cv_path_PS |
6945 |
+ |
|
6946 |
+ |
if test -n "$PS"; then |
6947 |
+ |
echo "$as_me:$LINENO: result: $PS" >&5 |
6948 |
+ |
echo "${ECHO_T}$PS" >&6 |
6949 |
+ |
else |
6950 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
6951 |
+ |
echo "${ECHO_T}no" >&6 |
6952 |
+ |
fi |
6953 |
+ |
|
6954 |
+ |
echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
6955 |
+ |
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 |
6956 |
+ |
if test "${ac_cv_prog_ps_syntax+set}" = set; then |
6957 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6958 |
+ |
else |
6959 |
+ |
|
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 |
6965 |
+ |
if $PS ax -o rss > /dev/null 2>&1; then |
6966 |
+ |
ac_cv_prog_ps_ax=yes |
6967 |
+ |
else |
6968 |
+ |
ac_cv_prog_ps_ax=no |
6969 |
+ |
fi |
6970 |
+ |
if test "$ac_cv_prog_ps_ef" = yes; then |
6971 |
+ |
ac_cv_prog_ps_syntax=POSIX |
6972 |
+ |
else |
6973 |
+ |
if test "$ac_cv_prog_ps_ax" = yes; then |
6974 |
+ |
ac_cv_prog_ps_syntax=BSD |
6975 |
+ |
else |
6976 |
+ |
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
6977 |
+ |
echo "$as_me: error: Could not determine ps syntax" >&2;} |
6978 |
+ |
{ (exit 1); exit 1; }; } |
6979 |
+ |
fi |
6980 |
+ |
fi |
6981 |
+ |
|
6982 |
|
fi |
6983 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
6984 |
+ |
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
6985 |
|
|
6986 |
+ |
cat >>confdefs.h <<_ACEOF |
6987 |
+ |
#define PS $PS |
6988 |
+ |
_ACEOF |
6989 |
|
|
6990 |
|
|
6991 |
+ |
cat >>confdefs.h <<_ACEOF |
6992 |
+ |
#define PSTYPE $ac_cv_prog_ps_syntax |
6993 |
+ |
_ACEOF |
6994 |
+ |
|
6995 |
+ |
|
6996 |
+ |
|
6997 |
+ |
|
6998 |
|
# Check whether --with-mpi or --without-mpi was given. |
6999 |
|
if test "${with_mpi+set}" = set; then |
7000 |
|
withval="$with_mpi" |
7092 |
|
ac_check_lib_save_LIBS=$LIBS |
7093 |
|
LIBS="-lmpich $LIBS" |
7094 |
|
cat >conftest.$ac_ext <<_ACEOF |
7095 |
+ |
#line $LINENO "configure" |
7096 |
|
/* confdefs.h. */ |
7097 |
|
_ACEOF |
7098 |
|
cat confdefs.h >>conftest.$ac_ext |
7116 |
|
_ACEOF |
7117 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7118 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7119 |
< |
(eval $ac_link) 2>conftest.er1 |
7119 |
> |
(eval $ac_link) 2>&5 |
7120 |
|
ac_status=$? |
7061 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7062 |
– |
rm -f conftest.er1 |
7063 |
– |
cat conftest.err >&5 |
7121 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7122 |
|
(exit $ac_status); } && |
7123 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7067 |
< |
|| test ! -s conftest.err' |
7123 |
> |
{ ac_try='test -s conftest$ac_exeext' |
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 |
7072 |
– |
(exit $ac_status); }; } && |
7073 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7074 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7075 |
– |
(eval $ac_try) 2>&5 |
7076 |
– |
ac_status=$? |
7077 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7128 |
|
(exit $ac_status); }; }; then |
7129 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7130 |
|
else |
7133 |
|
|
7134 |
|
ac_cv_lib_mpich_MPI_Init=no |
7135 |
|
fi |
7136 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7087 |
< |
conftest$ac_exeext conftest.$ac_ext |
7136 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7137 |
|
LIBS=$ac_check_lib_save_LIBS |
7138 |
|
fi |
7139 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7152 |
|
ac_check_lib_save_LIBS=$LIBS |
7153 |
|
LIBS="-lmpi $LIBS" |
7154 |
|
cat >conftest.$ac_ext <<_ACEOF |
7155 |
+ |
#line $LINENO "configure" |
7156 |
|
/* confdefs.h. */ |
7157 |
|
_ACEOF |
7158 |
|
cat confdefs.h >>conftest.$ac_ext |
7176 |
|
_ACEOF |
7177 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7178 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7179 |
< |
(eval $ac_link) 2>conftest.er1 |
7179 |
> |
(eval $ac_link) 2>&5 |
7180 |
|
ac_status=$? |
7131 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7132 |
– |
rm -f conftest.er1 |
7133 |
– |
cat conftest.err >&5 |
7181 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7182 |
|
(exit $ac_status); } && |
7183 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7137 |
< |
|| test ! -s conftest.err' |
7183 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7184 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7185 |
|
(eval $ac_try) 2>&5 |
7186 |
|
ac_status=$? |
7187 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7142 |
– |
(exit $ac_status); }; } && |
7143 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7144 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7145 |
– |
(eval $ac_try) 2>&5 |
7146 |
– |
ac_status=$? |
7147 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7188 |
|
(exit $ac_status); }; }; then |
7189 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7190 |
|
else |
7193 |
|
|
7194 |
|
ac_cv_lib_mpi_MPI_Init=no |
7195 |
|
fi |
7196 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7157 |
< |
conftest$ac_exeext conftest.$ac_ext |
7196 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7197 |
|
LIBS=$ac_check_lib_save_LIBS |
7198 |
|
fi |
7199 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7213 |
|
ac_check_lib_save_LIBS=$LIBS |
7214 |
|
LIBS="-lmpi "-llam" $LIBS" |
7215 |
|
cat >conftest.$ac_ext <<_ACEOF |
7216 |
+ |
#line $LINENO "configure" |
7217 |
|
/* confdefs.h. */ |
7218 |
|
_ACEOF |
7219 |
|
cat confdefs.h >>conftest.$ac_ext |
7237 |
|
_ACEOF |
7238 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7239 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7240 |
< |
(eval $ac_link) 2>conftest.er1 |
7240 |
> |
(eval $ac_link) 2>&5 |
7241 |
|
ac_status=$? |
7202 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7203 |
– |
rm -f conftest.er1 |
7204 |
– |
cat conftest.err >&5 |
7242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7243 |
|
(exit $ac_status); } && |
7244 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7208 |
< |
|| test ! -s conftest.err' |
7244 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7245 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7246 |
|
(eval $ac_try) 2>&5 |
7247 |
|
ac_status=$? |
7248 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7213 |
– |
(exit $ac_status); }; } && |
7214 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7215 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7216 |
– |
(eval $ac_try) 2>&5 |
7217 |
– |
ac_status=$? |
7218 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7249 |
|
(exit $ac_status); }; }; then |
7250 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7251 |
|
else |
7254 |
|
|
7255 |
|
ac_cv_lib_mpi_MPI_Init=no |
7256 |
|
fi |
7257 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7228 |
< |
conftest$ac_exeext conftest.$ac_ext |
7257 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7258 |
|
LIBS=$ac_check_lib_save_LIBS |
7259 |
|
fi |
7260 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7274 |
|
ac_check_lib_save_LIBS=$LIBS |
7275 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
7276 |
|
cat >conftest.$ac_ext <<_ACEOF |
7277 |
+ |
#line $LINENO "configure" |
7278 |
|
/* confdefs.h. */ |
7279 |
|
_ACEOF |
7280 |
|
cat confdefs.h >>conftest.$ac_ext |
7298 |
|
_ACEOF |
7299 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7300 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7301 |
< |
(eval $ac_link) 2>conftest.er1 |
7301 |
> |
(eval $ac_link) 2>&5 |
7302 |
|
ac_status=$? |
7273 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7274 |
– |
rm -f conftest.er1 |
7275 |
– |
cat conftest.err >&5 |
7303 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7304 |
|
(exit $ac_status); } && |
7305 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7279 |
< |
|| test ! -s conftest.err' |
7305 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7306 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7307 |
|
(eval $ac_try) 2>&5 |
7308 |
|
ac_status=$? |
7309 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7284 |
– |
(exit $ac_status); }; } && |
7285 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7286 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7287 |
– |
(eval $ac_try) 2>&5 |
7288 |
– |
ac_status=$? |
7289 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7310 |
|
(exit $ac_status); }; }; then |
7311 |
|
ac_cv_lib_mpich_MPI_Init=yes |
7312 |
|
else |
7315 |
|
|
7316 |
|
ac_cv_lib_mpich_MPI_Init=no |
7317 |
|
fi |
7318 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7299 |
< |
conftest$ac_exeext conftest.$ac_ext |
7318 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7319 |
|
LIBS=$ac_check_lib_save_LIBS |
7320 |
|
fi |
7321 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
7336 |
|
ac_check_lib_save_LIBS=$LIBS |
7337 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7338 |
|
cat >conftest.$ac_ext <<_ACEOF |
7339 |
+ |
#line $LINENO "configure" |
7340 |
|
/* confdefs.h. */ |
7341 |
|
_ACEOF |
7342 |
|
cat confdefs.h >>conftest.$ac_ext |
7360 |
|
_ACEOF |
7361 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7362 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7363 |
< |
(eval $ac_link) 2>conftest.er1 |
7363 |
> |
(eval $ac_link) 2>&5 |
7364 |
|
ac_status=$? |
7345 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7346 |
– |
rm -f conftest.er1 |
7347 |
– |
cat conftest.err >&5 |
7365 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7366 |
|
(exit $ac_status); } && |
7367 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7351 |
< |
|| test ! -s conftest.err' |
7367 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7368 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7369 |
|
(eval $ac_try) 2>&5 |
7370 |
|
ac_status=$? |
7371 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7356 |
– |
(exit $ac_status); }; } && |
7357 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7358 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7359 |
– |
(eval $ac_try) 2>&5 |
7360 |
– |
ac_status=$? |
7361 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7372 |
|
(exit $ac_status); }; }; then |
7373 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7374 |
|
else |
7377 |
|
|
7378 |
|
ac_cv_lib_mpi_MPI_Init=no |
7379 |
|
fi |
7380 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7371 |
< |
conftest$ac_exeext conftest.$ac_ext |
7380 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7381 |
|
LIBS=$ac_check_lib_save_LIBS |
7382 |
|
fi |
7383 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
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 |
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>conftest.er1 |
7506 |
> |
(eval $ac_link) 2>&5 |
7507 |
|
ac_status=$? |
7498 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7499 |
– |
rm -f conftest.er1 |
7500 |
– |
cat conftest.err >&5 |
7508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7509 |
|
(exit $ac_status); } && |
7510 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7504 |
< |
|| test ! -s conftest.err' |
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 |
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 |
7520 |
|
|
7521 |
|
ac_cv_lib_sprng_init_rng=no |
7522 |
|
fi |
7523 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7524 |
< |
conftest$ac_exeext conftest.$ac_ext |
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 |
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 |
7607 |
|
_ACEOF |
7608 |
|
rm -f conftest.$ac_objext |
7609 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7610 |
< |
(eval $ac_compile) 2>conftest.er1 |
7610 |
> |
(eval $ac_compile) 2>&5 |
7611 |
|
ac_status=$? |
7612 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7613 |
– |
rm -f conftest.er1 |
7614 |
– |
cat conftest.err >&5 |
7612 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7613 |
|
(exit $ac_status); } && |
7614 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7618 |
< |
|| test ! -s conftest.err' |
7619 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7620 |
< |
(eval $ac_try) 2>&5 |
7621 |
< |
ac_status=$? |
7622 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7623 |
< |
(exit $ac_status); }; } && |
7624 |
< |
{ ac_try='test -s conftest.$ac_objext' |
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=$? |
7624 |
|
|
7625 |
|
ac_header_compiler=no |
7626 |
|
fi |
7627 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
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 |
|
|
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 |
7650 |
|
(exit $ac_status); } >/dev/null; then |
7651 |
|
if test -s conftest.err; then |
7652 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7662 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7653 |
|
else |
7654 |
|
ac_cpp_err= |
7655 |
|
fi |
7669 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7670 |
|
|
7671 |
|
# So? What about this header? |
7672 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7673 |
< |
yes:no: ) |
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 compiler's result" >&5 |
7677 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;} |
7678 |
< |
ac_header_preproc=yes |
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:* ) |
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;} |
7695 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5 |
7696 |
< |
echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;} |
7697 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&5 |
7698 |
< |
echo "$as_me: WARNING: mkl.h: section \"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;} |
7701 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5 |
7702 |
– |
echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;} |
7694 |
|
( |
7695 |
|
cat <<\_ASBOX |
7696 |
< |
## ------------------------------ ## |
7697 |
< |
## Report this to gezelter@nd.edu ## |
7698 |
< |
## ------------------------------ ## |
7696 |
> |
## ------------------------------------ ## |
7697 |
> |
## Report this to bug-autoconf@gnu.org. ## |
7698 |
> |
## ------------------------------------ ## |
7699 |
|
_ASBOX |
7700 |
|
) | |
7701 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
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 |
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>conftest.er1 |
7749 |
> |
(eval $ac_link) 2>&5 |
7750 |
|
ac_status=$? |
7759 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7760 |
– |
rm -f conftest.er1 |
7761 |
– |
cat conftest.err >&5 |
7751 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7752 |
|
(exit $ac_status); } && |
7753 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7765 |
< |
|| test ! -s conftest.err' |
7766 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7767 |
< |
(eval $ac_try) 2>&5 |
7768 |
< |
ac_status=$? |
7769 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7770 |
< |
(exit $ac_status); }; } && |
7771 |
< |
{ ac_try='test -s conftest$ac_exeext' |
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=$? |
7763 |
|
|
7764 |
|
ac_cv_lib_mkl_vslNewStream=no |
7765 |
|
fi |
7766 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7785 |
< |
conftest$ac_exeext conftest.$ac_ext |
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 |
8039 |
|
# `set' does not quote correctly, so add quotes (double-quote |
8040 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
8041 |
|
sed -n \ |
8042 |
< |
"s/'/'\\\\''/g; |
8043 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8042 |
> |
"s/'/'\\\\''/g; |
8043 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8044 |
|
;; |
8045 |
|
*) |
8046 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
8047 |
|
sed -n \ |
8048 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8048 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
8049 |
|
;; |
8050 |
|
esac; |
8051 |
|
} | |
8075 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
8076 |
|
# (actually we leave an empty line to preserve line numbers). |
8077 |
|
if test "x$srcdir" = x.; then |
8078 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8078 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
8079 |
|
s/:*\$(srcdir):*/:/; |
8080 |
|
s/:*\${srcdir}:*/:/; |
8081 |
|
s/:*@srcdir@:*/:/; |
8082 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
8082 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
8083 |
|
s/:*$//; |
8084 |
< |
s/^[^=]*=[ ]*$//; |
8084 |
> |
s/^[^=]*=[ ]*$//; |
8085 |
|
}' |
8086 |
|
fi |
8087 |
|
|
8092 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8093 |
|
# 1. Remove the extension, and $U if already installed. |
8094 |
|
ac_i=`echo "$ac_i" | |
8095 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8095 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
8096 |
|
# 2. Add them. |
8097 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
8098 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
8136 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
8137 |
|
set -o posix |
8138 |
|
fi |
8158 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
8139 |
|
|
8140 |
|
# Support unset when possible. |
8141 |
< |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
8141 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
8142 |
|
as_unset=unset |
8143 |
|
else |
8144 |
|
as_unset=false |
8157 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8158 |
|
LC_TELEPHONE LC_TIME |
8159 |
|
do |
8160 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8160 |
> |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8161 |
|
eval $as_var=C; export $as_var |
8162 |
|
else |
8163 |
|
$as_unset $as_var |
8336 |
|
if mkdir -p . 2>/dev/null; then |
8337 |
|
as_mkdir_p=: |
8338 |
|
else |
8359 |
– |
test -d ./-p && rmdir ./-p |
8339 |
|
as_mkdir_p=false |
8340 |
|
fi |
8341 |
|
|
8342 |
|
as_executable_p="test -f" |
8343 |
|
|
8344 |
|
# Sed expression to map a string onto a valid CPP name. |
8345 |
< |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
8345 |
> |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
8346 |
|
|
8347 |
|
# Sed expression to map a string onto a valid variable name. |
8348 |
< |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
8348 |
> |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
8349 |
|
|
8350 |
|
|
8351 |
|
# IFS |
8372 |
|
cat >&5 <<_CSEOF |
8373 |
|
|
8374 |
|
This file was extended by OOPSE $as_me 2.0, which was |
8375 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
8375 |
> |
generated by GNU Autoconf 2.57. Invocation command line was |
8376 |
|
|
8377 |
|
CONFIG_FILES = $CONFIG_FILES |
8378 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
8416 |
|
-d, --debug don't remove temporary files |
8417 |
|
--recheck update $as_me by reconfiguring in the same conditions |
8418 |
|
--file=FILE[:TEMPLATE] |
8419 |
< |
instantiate the configuration file FILE |
8419 |
> |
instantiate the configuration file FILE |
8420 |
|
--header=FILE[:TEMPLATE] |
8421 |
< |
instantiate the configuration header FILE |
8421 |
> |
instantiate the configuration header FILE |
8422 |
|
|
8423 |
|
Configuration files: |
8424 |
|
$config_files |
8435 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
8436 |
|
ac_cs_version="\\ |
8437 |
|
OOPSE config.status 2.0 |
8438 |
< |
configured by $0, generated by GNU Autoconf 2.59, |
8438 |
> |
configured by $0, generated by GNU Autoconf 2.57, |
8439 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
8440 |
|
|
8441 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
8441 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8442 |
> |
Free Software Foundation, Inc. |
8443 |
|
This config.status script is free software; the Free Software Foundation |
8444 |
|
gives unlimited permission to copy, distribute and modify it." |
8445 |
|
srcdir=$srcdir |
8540 |
|
# Handling of arguments. |
8541 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
8542 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
8543 |
< |
"src/utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/utils/getopt.h:src/utils/gnugetopt.h" ;; |
8543 |
> |
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
8544 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
8545 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
8546 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
8677 |
|
s,@LEXLIB@,$LEXLIB,;t t |
8678 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
8679 |
|
s,@AR@,$AR,;t t |
8680 |
+ |
s,@PS@,$PS,;t t |
8681 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
8682 |
|
s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t |
8683 |
|
s,@MPI_F90_INC@,$MPI_F90_INC,;t t |
8734 |
|
(echo ':t |
8735 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
8736 |
|
if test -z "$ac_sed_cmds"; then |
8737 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8737 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8738 |
|
else |
8739 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8739 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8740 |
|
fi |
8741 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
8742 |
|
ac_beg=$ac_end |
8754 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8755 |
|
case $ac_file in |
8756 |
|
- | *:- | *:-:* ) # input from stdin |
8757 |
< |
cat >$tmp/stdin |
8758 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8759 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8757 |
> |
cat >$tmp/stdin |
8758 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8759 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8760 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8761 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8761 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8762 |
|
* ) ac_file_in=$ac_file.in ;; |
8763 |
|
esac |
8764 |
|
|
8765 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
8766 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8767 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8768 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8769 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8770 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8771 |
< |
. : '\(.\)' 2>/dev/null || |
8768 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8769 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8770 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8771 |
> |
. : '\(.\)' 2>/dev/null || |
8772 |
|
echo X"$ac_file" | |
8773 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8774 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8784 |
|
as_dirs="$as_dir $as_dirs" |
8785 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8786 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8787 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8788 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8789 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8790 |
< |
. : '\(.\)' 2>/dev/null || |
8787 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8788 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8789 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8790 |
> |
. : '\(.\)' 2>/dev/null || |
8791 |
|
echo X"$as_dir" | |
8792 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8793 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8825 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8826 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8827 |
|
esac |
8828 |
< |
|
8829 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8830 |
< |
# the directories may not exist. |
8831 |
< |
case `pwd` in |
8832 |
< |
.) ac_abs_builddir="$ac_dir";; |
8833 |
< |
*) |
8853 |
< |
case "$ac_dir" in |
8854 |
< |
.) ac_abs_builddir=`pwd`;; |
8855 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
8856 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
8857 |
< |
esac;; |
8858 |
< |
esac |
8859 |
< |
case $ac_abs_builddir in |
8860 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8861 |
< |
*) |
8862 |
< |
case ${ac_top_builddir}. in |
8863 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8864 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8865 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8866 |
< |
esac;; |
8867 |
< |
esac |
8868 |
< |
case $ac_abs_builddir in |
8869 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
8870 |
< |
*) |
8871 |
< |
case $ac_srcdir in |
8872 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8873 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8874 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8875 |
< |
esac;; |
8876 |
< |
esac |
8877 |
< |
case $ac_abs_builddir in |
8878 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8879 |
< |
*) |
8880 |
< |
case $ac_top_srcdir in |
8881 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8882 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8883 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8884 |
< |
esac;; |
8885 |
< |
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` |
8834 |
|
|
8835 |
|
|
8836 |
|
case $INSTALL in |
8852 |
|
configure_input="$ac_file. " |
8853 |
|
fi |
8854 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
8855 |
< |
sed 's,.*/,,'` by configure." |
8855 |
> |
sed 's,.*/,,'` by configure." |
8856 |
|
|
8857 |
|
# First look for the input files in the build tree, otherwise in the |
8858 |
|
# src tree. |
8861 |
|
case $f in |
8862 |
|
-) echo $tmp/stdin ;; |
8863 |
|
[\\/$]*) |
8864 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8865 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8864 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8865 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8866 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8867 |
|
{ (exit 1); exit 1; }; } |
8868 |
< |
echo "$f";; |
8868 |
> |
echo $f;; |
8869 |
|
*) # Relative |
8870 |
< |
if test -f "$f"; then |
8871 |
< |
# Build tree |
8872 |
< |
echo "$f" |
8873 |
< |
elif test -f "$srcdir/$f"; then |
8874 |
< |
# Source tree |
8875 |
< |
echo "$srcdir/$f" |
8876 |
< |
else |
8877 |
< |
# /dev/null tree |
8878 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8870 |
> |
if test -f "$f"; then |
8871 |
> |
# Build tree |
8872 |
> |
echo $f |
8873 |
> |
elif test -f "$srcdir/$f"; then |
8874 |
> |
# Source tree |
8875 |
> |
echo $srcdir/$f |
8876 |
> |
else |
8877 |
> |
# /dev/null tree |
8878 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8879 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8880 |
|
{ (exit 1); exit 1; }; } |
8881 |
< |
fi;; |
8881 |
> |
fi;; |
8882 |
|
esac |
8883 |
|
done` || { (exit 1); exit 1; } |
8884 |
|
_ACEOF |
8920 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
8921 |
|
# |
8922 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
8923 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8924 |
< |
ac_dB='[ ].*$,\1#\2' |
8923 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8924 |
> |
ac_dB='[ ].*$,\1#\2' |
8925 |
|
ac_dC=' ' |
8926 |
|
ac_dD=',;t' |
8927 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
8928 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8928 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8929 |
|
ac_uB='$,\1#\2define\3' |
8930 |
|
ac_uC=' ' |
8931 |
|
ac_uD=',;t' |
8934 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8935 |
|
case $ac_file in |
8936 |
|
- | *:- | *:-:* ) # input from stdin |
8937 |
< |
cat >$tmp/stdin |
8938 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8939 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8937 |
> |
cat >$tmp/stdin |
8938 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8939 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8940 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8941 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8941 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8942 |
|
* ) ac_file_in=$ac_file.in ;; |
8943 |
|
esac |
8944 |
|
|
8952 |
|
case $f in |
8953 |
|
-) echo $tmp/stdin ;; |
8954 |
|
[\\/$]*) |
8955 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8956 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8955 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8956 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8957 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8958 |
|
{ (exit 1); exit 1; }; } |
8959 |
< |
# Do quote $f, to prevent DOS paths from being IFS'd. |
9012 |
< |
echo "$f";; |
8959 |
> |
echo $f;; |
8960 |
|
*) # Relative |
8961 |
< |
if test -f "$f"; then |
8962 |
< |
# Build tree |
8963 |
< |
echo "$f" |
8964 |
< |
elif test -f "$srcdir/$f"; then |
8965 |
< |
# Source tree |
8966 |
< |
echo "$srcdir/$f" |
8967 |
< |
else |
8968 |
< |
# /dev/null tree |
8969 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8961 |
> |
if test -f "$f"; then |
8962 |
> |
# Build tree |
8963 |
> |
echo $f |
8964 |
> |
elif test -f "$srcdir/$f"; then |
8965 |
> |
# Source tree |
8966 |
> |
echo $srcdir/$f |
8967 |
> |
else |
8968 |
> |
# /dev/null tree |
8969 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8970 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8971 |
|
{ (exit 1); exit 1; }; } |
8972 |
< |
fi;; |
8972 |
> |
fi;; |
8973 |
|
esac |
8974 |
|
done` || { (exit 1); exit 1; } |
8975 |
|
# Remove the trailing spaces. |
8976 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8976 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8977 |
|
|
8978 |
|
_ACEOF |
8979 |
|
|
8996 |
|
s,[\\$`],\\&,g |
8997 |
|
t clear |
8998 |
|
: clear |
8999 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
8999 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
9000 |
|
t end |
9001 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9001 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
9002 |
|
: end |
9003 |
|
_ACEOF |
9004 |
|
# If some macros were called several times there might be several times |
9012 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
9013 |
|
# on some systems where configure will not decide to define it. |
9014 |
|
cat >>conftest.undefs <<\_ACEOF |
9015 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9015 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
9016 |
|
_ACEOF |
9017 |
|
|
9018 |
|
# Break up conftest.defines because some shells have a limit on the size |
9019 |
|
# of here documents, and old seds have small limits too (100 cmds). |
9020 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
9021 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9021 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
9022 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
9023 |
|
echo ' :' >>$CONFIG_STATUS |
9024 |
|
rm -f conftest.tail |
9027 |
|
# Write a limited-size here document to $tmp/defines.sed. |
9028 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
9029 |
|
# Speed up: don't consider the non `#define' lines. |
9030 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9030 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
9031 |
|
# Work around the forget-to-reset-the-flag bug. |
9032 |
|
echo 't clr' >>$CONFIG_STATUS |
9033 |
|
echo ': clr' >>$CONFIG_STATUS |
9054 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
9055 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
9056 |
|
# Speed up: don't consider the non `#undef' |
9057 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9057 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
9058 |
|
# Work around the forget-to-reset-the-flag bug. |
9059 |
|
echo 't clr' >>$CONFIG_STATUS |
9060 |
|
echo ': clr' >>$CONFIG_STATUS |
9088 |
|
else |
9089 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
9090 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9091 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9092 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
9093 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
9094 |
< |
. : '\(.\)' 2>/dev/null || |
9091 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
9092 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
9093 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
9094 |
> |
. : '\(.\)' 2>/dev/null || |
9095 |
|
echo X"$ac_file" | |
9096 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9097 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9107 |
|
as_dirs="$as_dir $as_dirs" |
9108 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9109 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9110 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9111 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9112 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9113 |
< |
. : '\(.\)' 2>/dev/null || |
9110 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9111 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9112 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9113 |
> |
. : '\(.\)' 2>/dev/null || |
9114 |
|
echo X"$as_dir" | |
9115 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9116 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9155 |
|
# Make relative symlinks. |
9156 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
9157 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9158 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9159 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
9160 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
9161 |
< |
. : '\(.\)' 2>/dev/null || |
9158 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
9159 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
9160 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
9161 |
> |
. : '\(.\)' 2>/dev/null || |
9162 |
|
echo X"$ac_dest" | |
9163 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9164 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9174 |
|
as_dirs="$as_dir $as_dirs" |
9175 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
9176 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9177 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9178 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
9179 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
9180 |
< |
. : '\(.\)' 2>/dev/null || |
9177 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
9178 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
9179 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
9180 |
> |
. : '\(.\)' 2>/dev/null || |
9181 |
|
echo X"$as_dir" | |
9182 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
9183 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
9215 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
9216 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
9217 |
|
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` |
9224 |
|
|
9272 |
– |
# Do not use `cd foo && pwd` to compute absolute paths, because |
9273 |
– |
# the directories may not exist. |
9274 |
– |
case `pwd` in |
9275 |
– |
.) ac_abs_builddir="$ac_dest_dir";; |
9276 |
– |
*) |
9277 |
– |
case "$ac_dest_dir" in |
9278 |
– |
.) ac_abs_builddir=`pwd`;; |
9279 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
9280 |
– |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
9281 |
– |
esac;; |
9282 |
– |
esac |
9283 |
– |
case $ac_abs_builddir in |
9284 |
– |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
9285 |
– |
*) |
9286 |
– |
case ${ac_top_builddir}. in |
9287 |
– |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
9288 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
9289 |
– |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
9290 |
– |
esac;; |
9291 |
– |
esac |
9292 |
– |
case $ac_abs_builddir in |
9293 |
– |
.) ac_abs_srcdir=$ac_srcdir;; |
9294 |
– |
*) |
9295 |
– |
case $ac_srcdir in |
9296 |
– |
.) ac_abs_srcdir=$ac_abs_builddir;; |
9297 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
9298 |
– |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
9299 |
– |
esac;; |
9300 |
– |
esac |
9301 |
– |
case $ac_abs_builddir in |
9302 |
– |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
9303 |
– |
*) |
9304 |
– |
case $ac_top_srcdir in |
9305 |
– |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
9306 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
9307 |
– |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
9308 |
– |
esac;; |
9309 |
– |
esac |
9225 |
|
|
9311 |
– |
|
9226 |
|
case $srcdir in |
9227 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
9228 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |