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 |
272 |
|
PACKAGE_STRING='OOPSE 2.0' |
273 |
|
PACKAGE_BUGREPORT='gezelter@nd.edu' |
274 |
|
|
275 |
< |
ac_unique_file="src/applications/oopse.cpp" |
275 |
> |
ac_unique_file="src/applications/oopse/oopse.cpp" |
276 |
|
ac_default_prefix="/usr/local" |
277 |
|
# Factoring default headers for most tests. |
278 |
|
ac_includes_default="\ |
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 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 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 |
865 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
866 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
867 |
|
--enable-debug Compile OOPSE in debug mode |
868 |
+ |
--enable-doxygen enable documentation generation with doxygen (auto) |
869 |
+ |
--enable-dot use 'dot' to generate graphs in doxygen (auto) |
870 |
+ |
--enable-html-docs enable HTML generation with doxygen (yes) |
871 |
+ |
--enable-latex-docs enable LaTeX documentation generation with doxygen (no) |
872 |
|
--enable-oopse-home=DIR define oopse home dir PREFIX/oopse |
873 |
|
|
874 |
|
Optional Packages: |
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 |
< |
*) |
935 |
< |
case "$ac_dir" in |
936 |
< |
.) ac_abs_builddir=`pwd`;; |
937 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
938 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
939 |
< |
esac;; |
940 |
< |
esac |
941 |
< |
case $ac_abs_builddir in |
942 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
943 |
< |
*) |
944 |
< |
case ${ac_top_builddir}. in |
945 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
946 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
947 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
948 |
< |
esac;; |
949 |
< |
esac |
950 |
< |
case $ac_abs_builddir in |
951 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
952 |
< |
*) |
953 |
< |
case $ac_srcdir in |
954 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
955 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
956 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
957 |
< |
esac;; |
958 |
< |
esac |
959 |
< |
case $ac_abs_builddir in |
960 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
961 |
< |
*) |
962 |
< |
case $ac_top_srcdir in |
963 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
964 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
965 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
966 |
< |
esac;; |
967 |
< |
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 |
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 |
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 |
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. |
1785 |
|
# argument is not supplied, it defaults to NAME. |
1786 |
|
# AC_F95_FUNC |
1787 |
|
|
1788 |
+ |
# AC_F90_MODULE_NAMES |
1789 |
+ |
# ------------------- |
1790 |
+ |
# |
1791 |
+ |
# Figure out how the Fortran 90 compiler constructs module file names |
1792 |
+ |
# |
1793 |
+ |
# AC_F90_MODULE_NAMES |
1794 |
|
|
1795 |
|
|
1796 |
|
|
1845 |
|
|
1846 |
|
|
1847 |
|
|
1848 |
+ |
|
1849 |
+ |
|
1850 |
+ |
|
1851 |
+ |
|
1852 |
+ |
|
1853 |
|
# set program name |
1854 |
|
PROGNAME="oopse" |
1855 |
|
|
1929 |
|
|
1930 |
|
|
1931 |
|
|
1932 |
+ |
|
1933 |
+ |
|
1934 |
|
ac_ext=c |
1935 |
|
ac_cpp='$CPP $CPPFLAGS' |
1936 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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=$? |
2296 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2297 |
– |
rm -f conftest.er1 |
2298 |
– |
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" |
2302 |
< |
|| test ! -s conftest.err' |
2303 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2304 |
< |
(eval $ac_try) 2>&5 |
2305 |
< |
ac_status=$? |
2306 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2307 |
< |
(exit $ac_status); }; } && |
2308 |
< |
{ 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=$? |
2355 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2356 |
– |
rm -f conftest.er1 |
2357 |
– |
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" |
2361 |
< |
|| 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 |
2366 |
– |
(exit $ac_status); }; } && |
2367 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2368 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2369 |
– |
(eval $ac_try) 2>&5 |
2370 |
– |
ac_status=$? |
2371 |
– |
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 |
|
} |
2434 |
– |
|
2435 |
– |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2436 |
– |
function prototypes and stuff, but not '\xHH' hex character constants. |
2437 |
– |
These don't provoke an error unfortunately, instead are silently treated |
2438 |
– |
as 'x'. The following induces an error, until -std1 is added to get |
2439 |
– |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2440 |
– |
array size at least. It's necessary to write '\x00'==0 to get something |
2441 |
– |
that's true only with -std1. */ |
2442 |
– |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2443 |
– |
|
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=$? |
2472 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2473 |
– |
rm -f conftest.er1 |
2474 |
– |
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" |
2478 |
< |
|| 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 |
2483 |
– |
(exit $ac_status); }; } && |
2484 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2485 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2486 |
– |
(eval $ac_try) 2>&5 |
2487 |
– |
ac_status=$? |
2488 |
– |
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=$? |
2527 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2528 |
– |
rm -f conftest.er1 |
2529 |
– |
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" |
2533 |
< |
|| test ! -s conftest.err' |
2534 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2535 |
< |
(eval $ac_try) 2>&5 |
2536 |
< |
ac_status=$? |
2537 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2538 |
< |
(exit $ac_status); }; } && |
2539 |
< |
{ ac_try='test -s conftest.$ac_objext' |
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 |
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. */ |
2559 |
– |
$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=$? |
2573 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2574 |
– |
rm -f conftest.er1 |
2575 |
– |
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" |
2579 |
< |
|| test ! -s conftest.err' |
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=$? |
2520 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2584 |
– |
(exit $ac_status); }; } && |
2585 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2586 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2587 |
– |
(eval $ac_try) 2>&5 |
2588 |
– |
ac_status=$? |
2589 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2521 |
|
(exit $ac_status); }; }; then |
2522 |
|
: |
2523 |
|
else |
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=$? |
2618 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2619 |
– |
rm -f conftest.er1 |
2620 |
– |
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" |
2624 |
< |
|| 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 |
2629 |
– |
(exit $ac_status); }; } && |
2630 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2631 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2632 |
– |
(eval $ac_try) 2>&5 |
2633 |
– |
ac_status=$? |
2634 |
– |
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=$? |
2804 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2805 |
– |
rm -f conftest.er1 |
2806 |
– |
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" |
2810 |
< |
|| 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 |
2815 |
– |
(exit $ac_status); }; } && |
2816 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2817 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2818 |
– |
(eval $ac_try) 2>&5 |
2819 |
– |
ac_status=$? |
2820 |
– |
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=$? |
2863 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2864 |
– |
rm -f conftest.er1 |
2865 |
– |
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" |
2869 |
< |
|| 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 |
2874 |
– |
(exit $ac_status); }; } && |
2875 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2876 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2877 |
– |
(eval $ac_try) 2>&5 |
2878 |
– |
ac_status=$? |
2879 |
– |
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. */ |
2921 |
– |
$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=$? |
2935 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2936 |
– |
rm -f conftest.er1 |
2937 |
– |
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" |
2941 |
< |
|| test ! -s conftest.err' |
2942 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2943 |
< |
(eval $ac_try) 2>&5 |
2944 |
< |
ac_status=$? |
2945 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2946 |
< |
(exit $ac_status); }; } && |
2947 |
< |
{ ac_try='test -s conftest.$ac_objext' |
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=$? |
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=$? |
2980 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2981 |
– |
rm -f conftest.er1 |
2982 |
– |
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" |
2986 |
< |
|| 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 |
2991 |
– |
(exit $ac_status); }; } && |
2992 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2993 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2994 |
– |
(eval $ac_try) 2>&5 |
2995 |
– |
ac_status=$? |
2996 |
– |
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=$? |
3191 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3192 |
– |
rm -f conftest.er1 |
3193 |
– |
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" |
3197 |
< |
|| test ! -s conftest.err' |
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=$? |
3084 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3202 |
– |
(exit $ac_status); }; } && |
3203 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3204 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 |
– |
(eval $ac_try) 2>&5 |
3206 |
– |
ac_status=$? |
3207 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3085 |
|
(exit $ac_status); }; }; then |
3086 |
|
ac_compiler_gnu=yes |
3087 |
|
else |
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=$? |
3292 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3293 |
– |
rm -f conftest.er1 |
3294 |
– |
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" |
3298 |
< |
|| 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 |
3303 |
– |
(exit $ac_status); }; } && |
3304 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3305 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3306 |
– |
(eval $ac_try) 2>&5 |
3307 |
– |
ac_status=$? |
3308 |
– |
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=$? |
3407 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3408 |
– |
rm -f conftest.er1 |
3409 |
– |
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" |
3413 |
< |
|| test ! -s conftest.err' |
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=$? |
3280 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3418 |
– |
(exit $ac_status); }; } && |
3419 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3420 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3421 |
– |
(eval $ac_try) 2>&5 |
3422 |
– |
ac_status=$? |
3423 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3281 |
|
(exit $ac_status); }; }; then |
3282 |
|
prepdefflagworks=1 |
3283 |
|
else |
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=$? |
3486 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3487 |
– |
rm -f conftest.er1 |
3488 |
– |
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" |
3492 |
< |
|| test ! -s conftest.err' |
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=$? |
3349 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3497 |
– |
(exit $ac_status); }; } && |
3498 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3499 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3500 |
– |
(eval $ac_try) 2>&5 |
3501 |
– |
ac_status=$? |
3502 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3350 |
|
(exit $ac_status); }; }; then |
3351 |
|
ac_cv_prog_f90_v= |
3352 |
|
# Try some options frequently used verbose output |
3372 |
|
ac_save_F90FLAGS=$F90FLAGS |
3373 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3374 |
|
|
3375 |
< |
(eval echo $as_me:3528: \"$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:3605: \"$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=$? |
3789 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3790 |
– |
rm -f conftest.er1 |
3791 |
– |
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" |
3795 |
< |
|| 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 |
3800 |
– |
(exit $ac_status); }; } && |
3801 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3802 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3803 |
– |
(eval $ac_try) 2>&5 |
3804 |
– |
ac_status=$? |
3805 |
– |
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=$? |
3848 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3849 |
– |
rm -f conftest.er1 |
3850 |
– |
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" |
3854 |
< |
|| 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 |
3859 |
– |
(exit $ac_status); }; } && |
3860 |
– |
{ ac_try='test -s conftest$ac_exeext' |
3861 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3862 |
– |
(eval $ac_try) 2>&5 |
3863 |
– |
ac_status=$? |
3864 |
– |
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 \ |
3873 |
< |
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=$? |
3919 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3920 |
– |
rm -f conftest.er1 |
3921 |
– |
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" |
3925 |
< |
|| test ! -s conftest.err' |
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=$? |
3753 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3930 |
– |
(exit $ac_status); }; } && |
3931 |
– |
{ ac_try='test -s conftest$ac_exeext' |
3932 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3933 |
– |
(eval $ac_try) 2>&5 |
3934 |
– |
ac_status=$? |
3935 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3754 |
|
(exit $ac_status); }; }; then |
3755 |
|
ac_success_extra=yes; break |
3756 |
|
else |
3758 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3759 |
|
|
3760 |
|
fi |
3761 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3944 |
< |
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' |
4017 |
|
fi |
4018 |
|
|
4019 |
|
|
4020 |
+ |
echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
4021 |
+ |
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 |
4022 |
+ |
if test "${ac_cv_f90_module_names+set}" = set; then |
4023 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4024 |
+ |
else |
4025 |
+ |
ac_ext=f90 |
4026 |
+ |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4027 |
+ |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4028 |
+ |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4029 |
+ |
|
4030 |
+ |
# carry out the test in a new directory, so that we don't miss anything |
4031 |
+ |
mkdir conftest |
4032 |
+ |
cd conftest |
4033 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
4034 |
+ |
MODULE Bar |
4035 |
+ |
END MODULE Bar |
4036 |
+ |
_ACEOF |
4037 |
+ |
rm -f conftest.$ac_objext |
4038 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4039 |
+ |
(eval $ac_compile) 2>&5 |
4040 |
+ |
ac_status=$? |
4041 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4042 |
+ |
(exit $ac_status); } && |
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 |
4048 |
+ |
(exit $ac_status); }; }; then |
4049 |
+ |
ac_cv_f90_module_names= |
4050 |
+ |
ac_file_list=* |
4051 |
+ |
for ac_file in $ac_file_list; do |
4052 |
+ |
case $ac_file in |
4053 |
+ |
# don't care for original source and object files |
4054 |
+ |
conftest.$ac_ext | conftest.$ac_objext | conftest.err ) |
4055 |
+ |
: |
4056 |
+ |
;; |
4057 |
+ |
# look for new files derived from the file name |
4058 |
+ |
*conftest*) |
4059 |
+ |
ac_pat=`echo $ac_file | sed s/conftest/%FILE%/` |
4060 |
+ |
ac_exists=false |
4061 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
4062 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
4063 |
+ |
ac_exists=true |
4064 |
+ |
break |
4065 |
+ |
fi |
4066 |
+ |
done |
4067 |
+ |
|
4068 |
+ |
if test x"$ac_exists" = xtrue; then |
4069 |
+ |
: |
4070 |
+ |
else |
4071 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
4072 |
+ |
fi |
4073 |
+ |
|
4074 |
+ |
;; |
4075 |
+ |
# look for new files derived from the module name, |
4076 |
+ |
# with different case translation schemes |
4077 |
+ |
*Bar*) |
4078 |
+ |
ac_pat=`echo $ac_file | sed s/Bar/%Module%/` |
4079 |
+ |
ac_exists=false |
4080 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
4081 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
4082 |
+ |
ac_exists=true |
4083 |
+ |
break |
4084 |
+ |
fi |
4085 |
+ |
done |
4086 |
+ |
|
4087 |
+ |
if test x"$ac_exists" = xtrue; then |
4088 |
+ |
: |
4089 |
+ |
else |
4090 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
4091 |
+ |
fi |
4092 |
+ |
|
4093 |
+ |
;; |
4094 |
+ |
*bar*) |
4095 |
+ |
ac_pat=`echo $ac_file | sed s/bar/%module%/` |
4096 |
+ |
ac_exists=false |
4097 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
4098 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
4099 |
+ |
ac_exists=true |
4100 |
+ |
break |
4101 |
+ |
fi |
4102 |
+ |
done |
4103 |
+ |
|
4104 |
+ |
if test x"$ac_exists" = xtrue; then |
4105 |
+ |
: |
4106 |
+ |
else |
4107 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
4108 |
+ |
fi |
4109 |
+ |
|
4110 |
+ |
;; |
4111 |
+ |
*BAR*) |
4112 |
+ |
ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/` |
4113 |
+ |
ac_exists=false |
4114 |
+ |
for ac_i in $ac_cv_f90_module_names; do |
4115 |
+ |
if test x"$ac_pat" = x"$ac_i"; then |
4116 |
+ |
ac_exists=true |
4117 |
+ |
break |
4118 |
+ |
fi |
4119 |
+ |
done |
4120 |
+ |
|
4121 |
+ |
if test x"$ac_exists" = xtrue; then |
4122 |
+ |
: |
4123 |
+ |
else |
4124 |
+ |
ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" |
4125 |
+ |
fi |
4126 |
+ |
|
4127 |
+ |
;; |
4128 |
+ |
# Other files - we have no idea how they are generated |
4129 |
+ |
*) |
4130 |
+ |
{ echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 |
4131 |
+ |
echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} |
4132 |
+ |
;; |
4133 |
+ |
esac |
4134 |
+ |
done |
4135 |
+ |
if test "x$ac_cv_f90_module_names" = "x"; then |
4136 |
+ |
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4137 |
+ |
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4138 |
+ |
fi |
4139 |
+ |
|
4140 |
+ |
else |
4141 |
+ |
echo "$as_me: failed program was:" >&5 |
4142 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
4143 |
+ |
|
4144 |
+ |
ac_cv_f90_module_names= |
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.$ac_objext conftest.$ac_ext |
4149 |
+ |
cd .. |
4150 |
+ |
# cleanup |
4151 |
+ |
rm -rf conftest |
4152 |
+ |
ac_ext=f90 |
4153 |
+ |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4154 |
+ |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4155 |
+ |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
4156 |
+ |
|
4157 |
+ |
fi |
4158 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
4159 |
+ |
echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK |
4160 |
+ |
|
4161 |
+ |
# We now generate a shell script that will help us to figure out the correct |
4162 |
+ |
# module file names, using the value of ac_cv_f90_module_names |
4163 |
+ |
|
4164 |
+ |
echo "Generating shell script modnam" |
4165 |
+ |
|
4166 |
+ |
cat > scripts/modnam << EOF |
4167 |
+ |
#! /bin/sh |
4168 |
+ |
# This script is auto-generated by configure |
4169 |
+ |
# |
4170 |
+ |
usage="\\ |
4171 |
+ |
Usage: \$0 [FILES] |
4172 |
+ |
|
4173 |
+ |
[FILES] are Fortran 90 source files. |
4174 |
+ |
The output is a list of module file names that the Fortran 90 compiler |
4175 |
+ |
generates when compiling [FILES]." |
4176 |
+ |
|
4177 |
+ |
list= |
4178 |
+ |
empty= |
4179 |
+ |
|
4180 |
+ |
if test \$# -eq 0; then |
4181 |
+ |
echo "\$usage"; exit 0 |
4182 |
+ |
fi |
4183 |
+ |
|
4184 |
+ |
while test \$# != 0; do |
4185 |
+ |
|
4186 |
+ |
file=\$1 |
4187 |
+ |
shift |
4188 |
+ |
|
4189 |
+ |
# strip suffix |
4190 |
+ |
base=\`echo \$file | sed 's/[.][^.]*$//'\` |
4191 |
+ |
|
4192 |
+ |
test ! -f \$file && continue |
4193 |
+ |
|
4194 |
+ |
# Look for module definitions and transform them to upper / lower case |
4195 |
+ |
mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\` |
4196 |
+ |
upper=\`echo \$mods | tr a-z A-Z\` |
4197 |
+ |
lower=\`echo \$mods | tr A-Z a-z\` |
4198 |
+ |
|
4199 |
+ |
# Here, the patterns for generating module file names were inserted by configure |
4200 |
+ |
for trans in $ac_cv_f90_module_names; do |
4201 |
+ |
|
4202 |
+ |
pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\` |
4203 |
+ |
var=empty |
4204 |
+ |
case \$pat in |
4205 |
+ |
%MODULE%) |
4206 |
+ |
var=upper ;; |
4207 |
+ |
%Module%) |
4208 |
+ |
var=mods ;; |
4209 |
+ |
%module%) |
4210 |
+ |
var=lower ;; |
4211 |
+ |
%FILE%) |
4212 |
+ |
test -n "\$mods" && var=base ;; |
4213 |
+ |
esac |
4214 |
+ |
new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\` |
4215 |
+ |
list="\$list \$new" |
4216 |
+ |
done |
4217 |
+ |
done |
4218 |
+ |
|
4219 |
+ |
echo \$list |
4220 |
+ |
# end of configure-generated script |
4221 |
+ |
EOF |
4222 |
+ |
chmod 755 scripts/modnam |
4223 |
+ |
|
4224 |
+ |
pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'` |
4225 |
+ |
F90_MODULE_NAMES=empty |
4226 |
+ |
case $pat in |
4227 |
+ |
%MODULE%) |
4228 |
+ |
F90_MODULE_NAMES=UPPER ;; |
4229 |
+ |
%Module%) |
4230 |
+ |
F90_MODULE_NAMES=Mixed ;; |
4231 |
+ |
%module%) |
4232 |
+ |
F90_MODULE_NAMES=lower ;; |
4233 |
+ |
*) |
4234 |
+ |
F90_MODULE_NAMES=unknown ;; |
4235 |
+ |
esac |
4236 |
+ |
|
4237 |
|
ac_ext=c |
4238 |
|
ac_cpp='$CPP $CPPFLAGS' |
4239 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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 |
4266 |
– |
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 |
4304 |
– |
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 |
4373 |
– |
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 |
4411 |
– |
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=$? |
4494 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4495 |
– |
rm -f conftest.er1 |
4496 |
– |
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" |
4500 |
< |
|| 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 |
4505 |
– |
(exit $ac_status); }; } && |
4506 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4507 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4508 |
– |
(eval $ac_try) 2>&5 |
4509 |
– |
ac_status=$? |
4510 |
– |
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=$? |
4665 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4666 |
– |
rm -f conftest.er1 |
4667 |
– |
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" |
4671 |
< |
|| 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 |
4676 |
– |
(exit $ac_status); }; } && |
4677 |
– |
{ ac_try='test -s conftest.$ac_objext' |
4678 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4679 |
– |
(eval $ac_try) 2>&5 |
4680 |
– |
ac_status=$? |
4681 |
– |
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 |
|
|
4704 |
– |
# clean out junk possibly left behind by a previous configuration |
4705 |
– |
rm -f utils/getopt.h |
4706 |
– |
# 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" |
4742 |
< |
|| 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=$? |
5048 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5049 |
+ |
(exit $ac_status); }; }; then |
5050 |
|
ac_header_compiler=yes |
5051 |
|
else |
5052 |
|
echo "$as_me: failed program was:" >&5 |
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 |
4786 |
– |
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;} |
4819 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4820 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4821 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4822 |
< |
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;} |
4825 |
– |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4826 |
– |
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. */ |
4872 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4873 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4874 |
– |
#define $ac_func innocuous_$ac_func |
4875 |
– |
|
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. */ |
4880 |
– |
|
5174 |
|
#ifdef __STDC__ |
5175 |
|
# include <limits.h> |
5176 |
|
#else |
5177 |
|
# include <assert.h> |
5178 |
|
#endif |
4886 |
– |
|
4887 |
– |
#undef $ac_func |
4888 |
– |
|
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=$? |
4921 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4922 |
– |
rm -f conftest.er1 |
4923 |
– |
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" |
4927 |
< |
|| 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 |
4932 |
– |
(exit $ac_status); }; } && |
4933 |
– |
{ ac_try='test -s conftest$ac_exeext' |
4934 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4935 |
– |
(eval $ac_try) 2>&5 |
4936 |
– |
ac_status=$? |
4937 |
– |
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 \ |
4947 |
< |
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=$? |
4991 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4992 |
– |
rm -f conftest.er1 |
4993 |
– |
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" |
4997 |
< |
|| 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 |
5002 |
– |
(exit $ac_status); }; } && |
5003 |
– |
{ ac_try='test -s conftest$ac_exeext' |
5004 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5005 |
– |
(eval $ac_try) 2>&5 |
5006 |
– |
ac_status=$? |
5007 |
– |
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 \ |
5017 |
< |
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" | \ |
5032 |
< |
"getopt.$ac_objext "* | \ |
5033 |
< |
*" getopt.$ac_objext "* ) ;; |
5034 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
5035 |
< |
esac |
5036 |
< |
|
5037 |
< |
case $LIBOBJS in |
5038 |
< |
"getopt1.$ac_objext" | \ |
5039 |
< |
*" getopt1.$ac_objext" | \ |
5040 |
< |
"getopt1.$ac_objext "* | \ |
5041 |
< |
*" getopt1.$ac_objext "* ) ;; |
5042 |
< |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
5043 |
< |
esac |
5044 |
< |
|
5045 |
< |
ac_config_links="$ac_config_links utils/getopt.h: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 |
|
|
5391 |
|
fi;; |
5392 |
|
*darwin*) |
5393 |
|
if test "$CC" = xlc -o "$CC" = cc; then |
5394 |
< |
CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
5394 |
> |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
5395 |
|
fi;; |
5396 |
|
esac |
5397 |
|
|
5842 |
|
echo "*******************************************************" |
5843 |
|
fi;; |
5844 |
|
*darwin*) |
5845 |
< |
if test "$CXX" = xlc++; then |
5846 |
< |
CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
5845 |
> |
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
5846 |
> |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
5847 |
|
fi;; |
5848 |
|
esac |
5849 |
|
|
6255 |
|
fi;; |
6256 |
|
*darwin*) |
6257 |
|
if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then |
6258 |
< |
F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto" |
6258 |
> |
F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
6259 |
|
fi;; |
6260 |
|
esac |
6261 |
|
|
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" |
6093 |
– |
# 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/* | \ |
6110 |
– |
?:\\/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=$? |
6398 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6399 |
– |
rm -f conftest.er1 |
6400 |
– |
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" |
6404 |
< |
|| test ! -s conftest.err' |
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=$? |
6658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6409 |
– |
(exit $ac_status); }; } && |
6410 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6411 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6412 |
– |
(eval $ac_try) 2>&5 |
6413 |
– |
ac_status=$? |
6414 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6659 |
|
(exit $ac_status); }; }; then |
6660 |
|
ac_cv_lib_fl_yywrap=yes |
6661 |
|
else |
6664 |
|
|
6665 |
|
ac_cv_lib_fl_yywrap=no |
6666 |
|
fi |
6667 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6424 |
< |
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=$? |
6465 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6466 |
– |
rm -f conftest.er1 |
6467 |
– |
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" |
6471 |
< |
|| 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 |
6476 |
– |
(exit $ac_status); }; } && |
6477 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6478 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6479 |
– |
(eval $ac_try) 2>&5 |
6480 |
– |
ac_status=$? |
6481 |
– |
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 \ |
6491 |
< |
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=$? |
6555 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6556 |
– |
rm -f conftest.er1 |
6557 |
– |
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" |
6561 |
< |
|| 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 |
6566 |
– |
(exit $ac_status); }; } && |
6567 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6568 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6569 |
– |
(eval $ac_try) 2>&5 |
6570 |
– |
ac_status=$? |
6571 |
– |
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 \ |
6580 |
< |
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=$? |
6817 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6818 |
– |
rm -f conftest.er1 |
6819 |
– |
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" |
6823 |
< |
|| 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 |
6828 |
– |
(exit $ac_status); }; } && |
6829 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6830 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6831 |
– |
(eval $ac_try) 2>&5 |
6832 |
– |
ac_status=$? |
6833 |
– |
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 \ |
6843 |
< |
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=$? |
6887 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6888 |
– |
rm -f conftest.er1 |
6889 |
– |
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" |
6893 |
< |
|| 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 |
6898 |
– |
(exit $ac_status); }; } && |
6899 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6900 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6901 |
– |
(eval $ac_try) 2>&5 |
6902 |
– |
ac_status=$? |
6903 |
– |
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 \ |
6913 |
< |
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=$? |
6958 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6959 |
– |
rm -f conftest.er1 |
6960 |
– |
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" |
6964 |
< |
|| 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 |
6969 |
– |
(exit $ac_status); }; } && |
6970 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6971 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6972 |
– |
(eval $ac_try) 2>&5 |
6973 |
– |
ac_status=$? |
6974 |
– |
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 \ |
6984 |
< |
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 |
7264 |
|
fi |
7265 |
|
|
7266 |
|
fi |
7267 |
+ |
$as_unset ac_cv_lib_mpich_MPI_Init |
7268 |
+ |
if test x = x"$MPI_LIB"; then |
7269 |
+ |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
7270 |
+ |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
7271 |
+ |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
7272 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7273 |
+ |
else |
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 |
7281 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
7282 |
+ |
/* end confdefs.h. */ |
7283 |
|
|
7284 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7285 |
+ |
#ifdef __cplusplus |
7286 |
+ |
extern "C" |
7287 |
+ |
#endif |
7288 |
+ |
/* We use char because int might match the return type of a gcc2 |
7289 |
+ |
builtin and then its argument prototype would still apply. */ |
7290 |
+ |
char MPI_Init (); |
7291 |
+ |
int |
7292 |
+ |
main () |
7293 |
+ |
{ |
7294 |
+ |
MPI_Init (); |
7295 |
+ |
; |
7296 |
+ |
return 0; |
7297 |
+ |
} |
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>&5 |
7302 |
+ |
ac_status=$? |
7303 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7304 |
+ |
(exit $ac_status); } && |
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 |
7310 |
+ |
(exit $ac_status); }; }; then |
7311 |
+ |
ac_cv_lib_mpich_MPI_Init=yes |
7312 |
+ |
else |
7313 |
+ |
echo "$as_me: failed program was:" >&5 |
7314 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
7315 |
+ |
|
7316 |
+ |
ac_cv_lib_mpich_MPI_Init=no |
7317 |
+ |
fi |
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 |
7322 |
+ |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
7323 |
+ |
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
7324 |
+ |
MPI_LIB="-lmpich -lpmpich" |
7325 |
+ |
fi |
7326 |
+ |
|
7327 |
+ |
fi |
7328 |
+ |
|
7329 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
7330 |
|
if test x = x"$MPI_LIB"; then |
7331 |
|
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&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=$? |
7030 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7031 |
– |
rm -f conftest.er1 |
7032 |
– |
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" |
7036 |
< |
|| test ! -s conftest.err' |
7037 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7038 |
< |
(eval $ac_try) 2>&5 |
7039 |
< |
ac_status=$? |
7040 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7041 |
< |
(exit $ac_status); }; } && |
7042 |
< |
{ ac_try='test -s conftest$ac_exeext' |
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=$? |
7377 |
|
|
7378 |
|
ac_cv_lib_mpi_MPI_Init=no |
7379 |
|
fi |
7380 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7056 |
< |
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=$? |
7183 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7184 |
– |
rm -f conftest.er1 |
7185 |
– |
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" |
7189 |
< |
|| 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 |
7194 |
– |
(exit $ac_status); }; } && |
7195 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7196 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7197 |
– |
(eval $ac_try) 2>&5 |
7198 |
– |
ac_status=$? |
7199 |
– |
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 \ |
7209 |
< |
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=$? |
7297 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7298 |
– |
rm -f conftest.er1 |
7299 |
– |
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" |
7303 |
< |
|| test ! -s conftest.err' |
7304 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7305 |
< |
(eval $ac_try) 2>&5 |
7306 |
< |
ac_status=$? |
7307 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7308 |
< |
(exit $ac_status); }; } && |
7309 |
< |
{ 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 |
7347 |
– |
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;} |
7380 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5 |
7381 |
< |
echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;} |
7382 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&5 |
7383 |
< |
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;} |
7386 |
– |
{ echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5 |
7387 |
– |
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=$? |
7444 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7445 |
– |
rm -f conftest.er1 |
7446 |
– |
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" |
7450 |
< |
|| test ! -s conftest.err' |
7753 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7754 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7755 |
|
(eval $ac_try) 2>&5 |
7756 |
|
ac_status=$? |
7757 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7455 |
– |
(exit $ac_status); }; } && |
7456 |
– |
{ ac_try='test -s conftest$ac_exeext' |
7457 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7458 |
– |
(eval $ac_try) 2>&5 |
7459 |
– |
ac_status=$? |
7460 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7758 |
|
(exit $ac_status); }; }; then |
7759 |
|
ac_cv_lib_mkl_vslNewStream=yes |
7760 |
|
else |
7763 |
|
|
7764 |
|
ac_cv_lib_mkl_vslNewStream=no |
7765 |
|
fi |
7766 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7470 |
< |
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 |
7805 |
|
echo "${ECHO_T}no" >&6 |
7806 |
|
|
7807 |
|
fi; |
7808 |
+ |
|
7809 |
+ |
|
7810 |
+ |
|
7811 |
+ |
# Check whether --enable-doxygen or --disable-doxygen was given. |
7812 |
+ |
if test "${enable_doxygen+set}" = set; then |
7813 |
+ |
enableval="$enable_doxygen" |
7814 |
+ |
|
7815 |
+ |
fi; |
7816 |
+ |
# Check whether --enable-dot or --disable-dot was given. |
7817 |
+ |
if test "${enable_dot+set}" = set; then |
7818 |
+ |
enableval="$enable_dot" |
7819 |
+ |
|
7820 |
+ |
fi; |
7821 |
+ |
# Check whether --enable-html-docs or --disable-html-docs was given. |
7822 |
+ |
if test "${enable_html_docs+set}" = set; then |
7823 |
+ |
enableval="$enable_html_docs" |
7824 |
+ |
|
7825 |
+ |
else |
7826 |
+ |
enable_html_docs=yes |
7827 |
+ |
fi; |
7828 |
+ |
# Check whether --enable-latex-docs or --disable-latex-docs was given. |
7829 |
+ |
if test "${enable_latex_docs+set}" = set; then |
7830 |
+ |
enableval="$enable_latex_docs" |
7831 |
+ |
|
7832 |
+ |
else |
7833 |
+ |
enable_latex_docs=no |
7834 |
+ |
fi; |
7835 |
+ |
if test "x$enable_doxygen" = xno; then |
7836 |
+ |
enable_doc=no |
7837 |
+ |
else |
7838 |
+ |
# Extract the first word of "doxygen", so it can be a program name with args. |
7839 |
+ |
set dummy doxygen; ac_word=$2 |
7840 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7841 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7842 |
+ |
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
7843 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7844 |
+ |
else |
7845 |
+ |
case $DOXYGEN in |
7846 |
+ |
[\\/]* | ?:[\\/]*) |
7847 |
+ |
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. |
7848 |
+ |
;; |
7849 |
+ |
*) |
7850 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7851 |
+ |
for as_dir in $PATH |
7852 |
+ |
do |
7853 |
+ |
IFS=$as_save_IFS |
7854 |
+ |
test -z "$as_dir" && as_dir=. |
7855 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7856 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7857 |
+ |
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" |
7858 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7859 |
+ |
break 2 |
7860 |
+ |
fi |
7861 |
+ |
done |
7862 |
+ |
done |
7863 |
+ |
|
7864 |
+ |
;; |
7865 |
+ |
esac |
7866 |
+ |
fi |
7867 |
+ |
DOXYGEN=$ac_cv_path_DOXYGEN |
7868 |
+ |
|
7869 |
+ |
if test -n "$DOXYGEN"; then |
7870 |
+ |
echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
7871 |
+ |
echo "${ECHO_T}$DOXYGEN" >&6 |
7872 |
+ |
else |
7873 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
7874 |
+ |
echo "${ECHO_T}no" >&6 |
7875 |
+ |
fi |
7876 |
|
|
7877 |
+ |
if test "x$DOXYGEN" = x; then |
7878 |
+ |
if test "x$enable_doxygen" = xyes; then |
7879 |
+ |
{ { echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
7880 |
+ |
echo "$as_me: error: could not find doxygen" >&2;} |
7881 |
+ |
{ (exit 1); exit 1; }; } |
7882 |
+ |
fi |
7883 |
+ |
enable_doc=no |
7884 |
+ |
else |
7885 |
+ |
enable_doc=yes |
7886 |
+ |
# Extract the first word of "dot", so it can be a program name with args. |
7887 |
+ |
set dummy dot; ac_word=$2 |
7888 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7889 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7890 |
+ |
if test "${ac_cv_path_DOT+set}" = set; then |
7891 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7892 |
+ |
else |
7893 |
+ |
case $DOT in |
7894 |
+ |
[\\/]* | ?:[\\/]*) |
7895 |
+ |
ac_cv_path_DOT="$DOT" # Let the user override the test with a path. |
7896 |
+ |
;; |
7897 |
+ |
*) |
7898 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7899 |
+ |
for as_dir in $PATH |
7900 |
+ |
do |
7901 |
+ |
IFS=$as_save_IFS |
7902 |
+ |
test -z "$as_dir" && as_dir=. |
7903 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7904 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7905 |
+ |
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" |
7906 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7907 |
+ |
break 2 |
7908 |
+ |
fi |
7909 |
+ |
done |
7910 |
+ |
done |
7911 |
|
|
7912 |
+ |
;; |
7913 |
+ |
esac |
7914 |
+ |
fi |
7915 |
+ |
DOT=$ac_cv_path_DOT |
7916 |
|
|
7917 |
+ |
if test -n "$DOT"; then |
7918 |
+ |
echo "$as_me:$LINENO: result: $DOT" >&5 |
7919 |
+ |
echo "${ECHO_T}$DOT" >&6 |
7920 |
+ |
else |
7921 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
7922 |
+ |
echo "${ECHO_T}no" >&6 |
7923 |
+ |
fi |
7924 |
|
|
7925 |
+ |
fi |
7926 |
+ |
fi |
7927 |
|
|
7928 |
+ |
if test "x$enable_doc" = xyes; then |
7929 |
+ |
DOC=1 |
7930 |
+ |
else |
7931 |
+ |
DOC=0 |
7932 |
+ |
fi |
7933 |
+ |
|
7934 |
+ |
|
7935 |
+ |
if test x$DOT = x; then |
7936 |
+ |
if test "x$enable_dot" = xyes; then |
7937 |
+ |
{ { echo "$as_me:$LINENO: error: could not find dot" >&5 |
7938 |
+ |
echo "$as_me: error: could not find dot" >&2;} |
7939 |
+ |
{ (exit 1); exit 1; }; } |
7940 |
+ |
fi |
7941 |
+ |
enable_dot=no |
7942 |
+ |
else |
7943 |
+ |
enable_dot=yes |
7944 |
+ |
fi |
7945 |
+ |
|
7946 |
+ |
|
7947 |
+ |
|
7948 |
+ |
|
7949 |
+ |
|
7950 |
+ |
|
7951 |
+ |
|
7952 |
|
OBJEXT=".$OBJEXT" |
7953 |
|
|
7954 |
|
OOPSE=oopse |
8005 |
|
|
8006 |
|
|
8007 |
|
|
8008 |
+ |
|
8009 |
|
ac_config_headers="$ac_config_headers src/config.h" |
8010 |
|
|
8011 |
< |
ac_config_files="$ac_config_files make/Make.conf" |
8011 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
8012 |
|
|
8013 |
|
|
8014 |
|
cat >confcache <<\_ACEOF |
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 |
7703 |
– |
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 |
7904 |
– |
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 |
8538 |
|
do |
8539 |
|
case "$ac_config_target" in |
8540 |
|
# Handling of arguments. |
8541 |
< |
"make/Make.conf" ) CONFIG_FILES="$CONFIG_FILES make/Make.conf" ;; |
8542 |
< |
"utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;; |
8541 |
> |
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
8542 |
> |
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
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;} |
8661 |
|
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
8662 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
8663 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
8664 |
+ |
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
8665 |
|
s,@CPP@,$CPP,;t t |
8666 |
|
s,@EGREP@,$EGREP,;t t |
8667 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
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 |
8692 |
|
s,@MKL_LIB@,$MKL_LIB,;t t |
8693 |
|
s,@MKL_INC@,$MKL_INC,;t t |
8694 |
|
s,@HAVE_MKL@,$HAVE_MKL,;t t |
8695 |
+ |
s,@DOXYGEN@,$DOXYGEN,;t t |
8696 |
+ |
s,@DOT@,$DOT,;t t |
8697 |
+ |
s,@DOC@,$DOC,;t t |
8698 |
+ |
s,@enable_dot@,$enable_dot,;t t |
8699 |
+ |
s,@enable_html_docs@,$enable_html_docs,;t t |
8700 |
+ |
s,@enable_latex_docs@,$enable_latex_docs,;t t |
8701 |
|
s,@BATEXT@,$BATEXT,;t t |
8702 |
|
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
8703 |
|
s,@OOPSE@,$OOPSE,;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 |
< |
*) |
8390 |
< |
case "$ac_dir" in |
8391 |
< |
.) ac_abs_builddir=`pwd`;; |
8392 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
8393 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
8394 |
< |
esac;; |
8395 |
< |
esac |
8396 |
< |
case $ac_abs_builddir in |
8397 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8398 |
< |
*) |
8399 |
< |
case ${ac_top_builddir}. in |
8400 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8401 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8402 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8403 |
< |
esac;; |
8404 |
< |
esac |
8405 |
< |
case $ac_abs_builddir in |
8406 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
8407 |
< |
*) |
8408 |
< |
case $ac_srcdir in |
8409 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8410 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8411 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8412 |
< |
esac;; |
8413 |
< |
esac |
8414 |
< |
case $ac_abs_builddir in |
8415 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8416 |
< |
*) |
8417 |
< |
case $ac_top_srcdir in |
8418 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8419 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8420 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8421 |
< |
esac;; |
8422 |
< |
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. |
8549 |
< |
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 |
|
|
8809 |
– |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8810 |
– |
# the directories may not exist. |
8811 |
– |
case `pwd` in |
8812 |
– |
.) ac_abs_builddir="$ac_dest_dir";; |
8813 |
– |
*) |
8814 |
– |
case "$ac_dest_dir" in |
8815 |
– |
.) ac_abs_builddir=`pwd`;; |
8816 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
8817 |
– |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
8818 |
– |
esac;; |
8819 |
– |
esac |
8820 |
– |
case $ac_abs_builddir in |
8821 |
– |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8822 |
– |
*) |
8823 |
– |
case ${ac_top_builddir}. in |
8824 |
– |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8825 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8826 |
– |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8827 |
– |
esac;; |
8828 |
– |
esac |
8829 |
– |
case $ac_abs_builddir in |
8830 |
– |
.) ac_abs_srcdir=$ac_srcdir;; |
8831 |
– |
*) |
8832 |
– |
case $ac_srcdir in |
8833 |
– |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8834 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8835 |
– |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8836 |
– |
esac;; |
8837 |
– |
esac |
8838 |
– |
case $ac_abs_builddir in |
8839 |
– |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8840 |
– |
*) |
8841 |
– |
case $ac_top_srcdir in |
8842 |
– |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8843 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8844 |
– |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8845 |
– |
esac;; |
8846 |
– |
esac |
9225 |
|
|
8848 |
– |
|
9226 |
|
case $srcdir in |
9227 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
9228 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |