1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 1.0. |
3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 1.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
< |
# Free Software Foundation, Inc. |
7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
8 |
|
# This configure script is free software; the Free Software Foundation |
9 |
|
# gives unlimited permission to copy, distribute and modify it. |
10 |
|
## --------------------- ## |
21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22 |
|
set -o posix |
23 |
|
fi |
24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
27 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
28 |
|
as_unset=unset |
29 |
|
else |
30 |
|
as_unset=false |
43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
|
LC_TELEPHONE LC_TIME |
45 |
|
do |
46 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
46 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
|
eval $as_var=C; export $as_var |
48 |
|
else |
49 |
|
$as_unset $as_var |
220 |
|
if mkdir -p . 2>/dev/null; then |
221 |
|
as_mkdir_p=: |
222 |
|
else |
223 |
+ |
test -d ./-p && rmdir ./-p |
224 |
|
as_mkdir_p=false |
225 |
|
fi |
226 |
|
|
227 |
|
as_executable_p="test -f" |
228 |
|
|
229 |
|
# Sed expression to map a string onto a valid CPP name. |
230 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 |
|
|
232 |
|
# Sed expression to map a string onto a valid variable name. |
233 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 |
|
|
235 |
|
|
236 |
|
# IFS |
312 |
|
# include <unistd.h> |
313 |
|
#endif" |
314 |
|
|
315 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC OTHERLIBS 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' |
315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC 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' |
316 |
|
ac_subst_files='' |
317 |
|
|
318 |
|
# Initialize some variables set by options. |
671 |
|
|
672 |
|
# Be sure to have absolute paths. |
673 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
674 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
674 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
675 |
|
do |
676 |
|
eval ac_val=$`echo $ac_var` |
677 |
|
case $ac_val in |
711 |
|
# Try the directory containing this script, then its parent. |
712 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
713 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
714 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
715 |
< |
X"$0" : 'X\(//\)$' \| \ |
716 |
< |
X"$0" : 'X\(/\)' \| \ |
717 |
< |
. : '\(.\)' 2>/dev/null || |
714 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
715 |
> |
X"$0" : 'X\(//\)$' \| \ |
716 |
> |
X"$0" : 'X\(/\)' \| \ |
717 |
> |
. : '\(.\)' 2>/dev/null || |
718 |
|
echo X"$0" | |
719 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
720 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
822 |
|
cat <<_ACEOF |
823 |
|
Installation directories: |
824 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
825 |
< |
[$ac_default_prefix] |
825 |
> |
[$ac_default_prefix] |
826 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
827 |
< |
[PREFIX] |
827 |
> |
[PREFIX] |
828 |
|
|
829 |
|
By default, \`make install' will install all the files in |
830 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
926 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
927 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
928 |
|
esac |
928 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
929 |
– |
# absolute. |
930 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
931 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
932 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
933 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
929 |
|
|
930 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
931 |
+ |
# the directories may not exist. |
932 |
+ |
case `pwd` in |
933 |
+ |
.) ac_abs_builddir="$ac_dir";; |
934 |
+ |
*) |
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 |
968 |
+ |
|
969 |
|
cd $ac_dir |
970 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
971 |
|
if test -f $ac_srcdir/configure.gnu; then |
975 |
|
echo |
976 |
|
$SHELL $ac_srcdir/configure --help=recursive |
977 |
|
elif test -f $ac_srcdir/configure.ac || |
978 |
< |
test -f $ac_srcdir/configure.in; then |
978 |
> |
test -f $ac_srcdir/configure.in; then |
979 |
|
echo |
980 |
|
$ac_configure --help |
981 |
|
else |
989 |
|
if $ac_init_version; then |
990 |
|
cat <<\_ACEOF |
991 |
|
OOPSE configure 1.0 |
992 |
< |
generated by GNU Autoconf 2.57 |
992 |
> |
generated by GNU Autoconf 2.59 |
993 |
|
|
994 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
961 |
< |
Free Software Foundation, Inc. |
994 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
995 |
|
This configure script is free software; the Free Software Foundation |
996 |
|
gives unlimited permission to copy, distribute and modify it. |
997 |
|
_ACEOF |
1003 |
|
running configure, to aid debugging if configure makes a mistake. |
1004 |
|
|
1005 |
|
It was created by OOPSE $as_me 1.0, which was |
1006 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
1006 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1007 |
|
|
1008 |
|
$ $0 $@ |
1009 |
|
|
1080 |
|
2) |
1081 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1082 |
|
if test $ac_must_keep_next = true; then |
1083 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1083 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1084 |
|
else |
1085 |
< |
case $ac_arg in |
1086 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1087 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1088 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1089 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1090 |
< |
case "$ac_configure_args0 " in |
1091 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1092 |
< |
esac |
1093 |
< |
;; |
1094 |
< |
-* ) ac_must_keep_next=true ;; |
1095 |
< |
esac |
1085 |
> |
case $ac_arg in |
1086 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1087 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1088 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1089 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1090 |
> |
case "$ac_configure_args0 " in |
1091 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1092 |
> |
esac |
1093 |
> |
;; |
1094 |
> |
-* ) ac_must_keep_next=true ;; |
1095 |
> |
esac |
1096 |
|
fi |
1097 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1098 |
|
# Get rid of the leading space. |
1126 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1127 |
|
*ac_space=\ *) |
1128 |
|
sed -n \ |
1129 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1130 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1129 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1130 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1131 |
|
;; |
1132 |
|
*) |
1133 |
|
sed -n \ |
1134 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1134 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1135 |
|
;; |
1136 |
|
esac; |
1137 |
|
} |
1160 |
|
for ac_var in $ac_subst_files |
1161 |
|
do |
1162 |
|
eval ac_val=$`echo $ac_var` |
1163 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1163 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1164 |
|
done | sort |
1165 |
|
echo |
1166 |
|
fi |
1179 |
|
echo "$as_me: caught signal $ac_signal" |
1180 |
|
echo "$as_me: exit $exit_status" |
1181 |
|
} >&5 |
1182 |
< |
rm -f core core.* *.core && |
1182 |
> |
rm -f core *.core && |
1183 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1184 |
|
exit $exit_status |
1185 |
|
' 0 |
1259 |
|
# value. |
1260 |
|
ac_cache_corrupted=false |
1261 |
|
for ac_var in `(set) 2>&1 | |
1262 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1262 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1263 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1264 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1265 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1276 |
|
,);; |
1277 |
|
*) |
1278 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1279 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1279 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1280 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1281 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1281 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1282 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1283 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1283 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1284 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1285 |
< |
ac_cache_corrupted=: |
1285 |
> |
ac_cache_corrupted=: |
1286 |
|
fi;; |
1287 |
|
esac |
1288 |
|
# Pass precious variables to config.status. |
2066 |
|
(exit $ac_status); } |
2067 |
|
|
2068 |
|
cat >conftest.$ac_ext <<_ACEOF |
2036 |
– |
#line $LINENO "configure" |
2069 |
|
/* confdefs.h. */ |
2070 |
|
_ACEOF |
2071 |
|
cat confdefs.h >>conftest.$ac_ext |
2085 |
|
# Try to create an executable without -o first, disregard a.out. |
2086 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2087 |
|
# of exeext. |
2088 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2089 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2088 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2089 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2090 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2091 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2092 |
|
(eval $ac_link_default) 2>&5 |
2106 |
|
test -f "$ac_file" || continue |
2107 |
|
case $ac_file in |
2108 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2109 |
< |
;; |
2109 |
> |
;; |
2110 |
|
conftest.$ac_ext ) |
2111 |
< |
# This is the source file. |
2112 |
< |
;; |
2111 |
> |
# This is the source file. |
2112 |
> |
;; |
2113 |
|
[ab].out ) |
2114 |
< |
# We found the default executable, but exeext='' is most |
2115 |
< |
# certainly right. |
2116 |
< |
break;; |
2114 |
> |
# We found the default executable, but exeext='' is most |
2115 |
> |
# certainly right. |
2116 |
> |
break;; |
2117 |
|
*.* ) |
2118 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2119 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2120 |
< |
# but it would be cool to find out if it's true. Does anybody |
2121 |
< |
# maintain Libtool? --akim. |
2122 |
< |
export ac_cv_exeext |
2123 |
< |
break;; |
2118 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2119 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2120 |
> |
# but it would be cool to find out if it's true. Does anybody |
2121 |
> |
# maintain Libtool? --akim. |
2122 |
> |
export ac_cv_exeext |
2123 |
> |
break;; |
2124 |
|
* ) |
2125 |
< |
break;; |
2125 |
> |
break;; |
2126 |
|
esac |
2127 |
|
done |
2128 |
|
else |
2196 |
|
case $ac_file in |
2197 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2198 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2199 |
< |
export ac_cv_exeext |
2200 |
< |
break;; |
2199 |
> |
export ac_cv_exeext |
2200 |
> |
break;; |
2201 |
|
* ) break;; |
2202 |
|
esac |
2203 |
|
done |
2222 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2223 |
|
else |
2224 |
|
cat >conftest.$ac_ext <<_ACEOF |
2193 |
– |
#line $LINENO "configure" |
2225 |
|
/* confdefs.h. */ |
2226 |
|
_ACEOF |
2227 |
|
cat confdefs.h >>conftest.$ac_ext |
2272 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2273 |
|
else |
2274 |
|
cat >conftest.$ac_ext <<_ACEOF |
2244 |
– |
#line $LINENO "configure" |
2275 |
|
/* confdefs.h. */ |
2276 |
|
_ACEOF |
2277 |
|
cat confdefs.h >>conftest.$ac_ext |
2291 |
|
_ACEOF |
2292 |
|
rm -f conftest.$ac_objext |
2293 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2294 |
< |
(eval $ac_compile) 2>&5 |
2294 |
> |
(eval $ac_compile) 2>conftest.er1 |
2295 |
|
ac_status=$? |
2296 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2297 |
+ |
rm -f conftest.er1 |
2298 |
+ |
cat conftest.err >&5 |
2299 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2300 |
|
(exit $ac_status); } && |
2301 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2301 |
> |
{ 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' |
2309 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2310 |
+ |
(eval $ac_try) 2>&5 |
2311 |
+ |
ac_status=$? |
2312 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2313 |
|
(exit $ac_status); }; }; then |
2314 |
|
ac_compiler_gnu=yes |
2315 |
|
else |
2318 |
|
|
2319 |
|
ac_compiler_gnu=no |
2320 |
|
fi |
2321 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2321 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2322 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2323 |
|
|
2324 |
|
fi |
2334 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2335 |
|
else |
2336 |
|
cat >conftest.$ac_ext <<_ACEOF |
2297 |
– |
#line $LINENO "configure" |
2337 |
|
/* confdefs.h. */ |
2338 |
|
_ACEOF |
2339 |
|
cat confdefs.h >>conftest.$ac_ext |
2350 |
|
_ACEOF |
2351 |
|
rm -f conftest.$ac_objext |
2352 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2353 |
< |
(eval $ac_compile) 2>&5 |
2353 |
> |
(eval $ac_compile) 2>conftest.er1 |
2354 |
|
ac_status=$? |
2355 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2356 |
+ |
rm -f conftest.er1 |
2357 |
+ |
cat conftest.err >&5 |
2358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2359 |
|
(exit $ac_status); } && |
2360 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2360 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2361 |
> |
|| test ! -s conftest.err' |
2362 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2363 |
|
(eval $ac_try) 2>&5 |
2364 |
|
ac_status=$? |
2365 |
|
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 |
2372 |
|
(exit $ac_status); }; }; then |
2373 |
|
ac_cv_prog_cc_g=yes |
2374 |
|
else |
2377 |
|
|
2378 |
|
ac_cv_prog_cc_g=no |
2379 |
|
fi |
2380 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2380 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2381 |
|
fi |
2382 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2383 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2404 |
|
ac_cv_prog_cc_stdc=no |
2405 |
|
ac_save_CC=$CC |
2406 |
|
cat >conftest.$ac_ext <<_ACEOF |
2358 |
– |
#line $LINENO "configure" |
2407 |
|
/* confdefs.h. */ |
2408 |
|
_ACEOF |
2409 |
|
cat confdefs.h >>conftest.$ac_ext |
2431 |
|
va_end (v); |
2432 |
|
return s; |
2433 |
|
} |
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 |
+ |
|
2444 |
|
int test (int i, double x); |
2445 |
|
struct s1 {int (*f) (int a);}; |
2446 |
|
struct s2 {int (*f) (double a);}; |
2467 |
|
CC="$ac_save_CC $ac_arg" |
2468 |
|
rm -f conftest.$ac_objext |
2469 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2470 |
< |
(eval $ac_compile) 2>&5 |
2470 |
> |
(eval $ac_compile) 2>conftest.er1 |
2471 |
|
ac_status=$? |
2472 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2473 |
+ |
rm -f conftest.er1 |
2474 |
+ |
cat conftest.err >&5 |
2475 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2476 |
|
(exit $ac_status); } && |
2477 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2477 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2478 |
> |
|| test ! -s conftest.err' |
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); }; } && |
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 |
2489 |
|
(exit $ac_status); }; }; then |
2490 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2491 |
|
break |
2494 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2495 |
|
|
2496 |
|
fi |
2497 |
< |
rm -f conftest.$ac_objext |
2497 |
> |
rm -f conftest.err conftest.$ac_objext |
2498 |
|
done |
2499 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2500 |
|
CC=$ac_save_CC |
2522 |
|
_ACEOF |
2523 |
|
rm -f conftest.$ac_objext |
2524 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2525 |
< |
(eval $ac_compile) 2>&5 |
2525 |
> |
(eval $ac_compile) 2>conftest.er1 |
2526 |
|
ac_status=$? |
2527 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2528 |
+ |
rm -f conftest.er1 |
2529 |
+ |
cat conftest.err >&5 |
2530 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2531 |
|
(exit $ac_status); } && |
2532 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2532 |
> |
{ 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' |
2540 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2541 |
+ |
(eval $ac_try) 2>&5 |
2542 |
+ |
ac_status=$? |
2543 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2544 |
|
(exit $ac_status); }; }; then |
2545 |
|
for ac_declaration in \ |
2546 |
< |
''\ |
2469 |
< |
'#include <stdlib.h>' \ |
2546 |
> |
'' \ |
2547 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2548 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2549 |
|
'extern "C" void exit (int) throw ();' \ |
2551 |
|
'void exit (int);' |
2552 |
|
do |
2553 |
|
cat >conftest.$ac_ext <<_ACEOF |
2477 |
– |
#line $LINENO "configure" |
2554 |
|
/* confdefs.h. */ |
2555 |
|
_ACEOF |
2556 |
|
cat confdefs.h >>conftest.$ac_ext |
2557 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2558 |
|
/* end confdefs.h. */ |
2483 |
– |
#include <stdlib.h> |
2559 |
|
$ac_declaration |
2560 |
+ |
#include <stdlib.h> |
2561 |
|
int |
2562 |
|
main () |
2563 |
|
{ |
2568 |
|
_ACEOF |
2569 |
|
rm -f conftest.$ac_objext |
2570 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2571 |
< |
(eval $ac_compile) 2>&5 |
2571 |
> |
(eval $ac_compile) 2>conftest.er1 |
2572 |
|
ac_status=$? |
2573 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2574 |
+ |
rm -f conftest.er1 |
2575 |
+ |
cat conftest.err >&5 |
2576 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2577 |
|
(exit $ac_status); } && |
2578 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2578 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2579 |
> |
|| test ! -s conftest.err' |
2580 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2581 |
|
(eval $ac_try) 2>&5 |
2582 |
|
ac_status=$? |
2583 |
|
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 |
2590 |
|
(exit $ac_status); }; }; then |
2591 |
|
: |
2592 |
|
else |
2595 |
|
|
2596 |
|
continue |
2597 |
|
fi |
2598 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2598 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2599 |
|
cat >conftest.$ac_ext <<_ACEOF |
2514 |
– |
#line $LINENO "configure" |
2600 |
|
/* confdefs.h. */ |
2601 |
|
_ACEOF |
2602 |
|
cat confdefs.h >>conftest.$ac_ext |
2613 |
|
_ACEOF |
2614 |
|
rm -f conftest.$ac_objext |
2615 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2616 |
< |
(eval $ac_compile) 2>&5 |
2616 |
> |
(eval $ac_compile) 2>conftest.er1 |
2617 |
|
ac_status=$? |
2618 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2619 |
+ |
rm -f conftest.er1 |
2620 |
+ |
cat conftest.err >&5 |
2621 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2622 |
|
(exit $ac_status); } && |
2623 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2623 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2624 |
> |
|| test ! -s conftest.err' |
2625 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2626 |
|
(eval $ac_try) 2>&5 |
2627 |
|
ac_status=$? |
2628 |
|
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 |
2635 |
|
(exit $ac_status); }; }; then |
2636 |
|
break |
2637 |
|
else |
2639 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2640 |
|
|
2641 |
|
fi |
2642 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2642 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2643 |
|
done |
2644 |
|
rm -f conftest* |
2645 |
|
if test -n "$ac_declaration"; then |
2653 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2654 |
|
|
2655 |
|
fi |
2656 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2656 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2657 |
|
ac_ext=c |
2658 |
|
ac_cpp='$CPP $CPPFLAGS' |
2659 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2780 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2781 |
|
else |
2782 |
|
cat >conftest.$ac_ext <<_ACEOF |
2688 |
– |
#line $LINENO "configure" |
2783 |
|
/* confdefs.h. */ |
2784 |
|
_ACEOF |
2785 |
|
cat confdefs.h >>conftest.$ac_ext |
2799 |
|
_ACEOF |
2800 |
|
rm -f conftest.$ac_objext |
2801 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2802 |
< |
(eval $ac_compile) 2>&5 |
2802 |
> |
(eval $ac_compile) 2>conftest.er1 |
2803 |
|
ac_status=$? |
2804 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2805 |
+ |
rm -f conftest.er1 |
2806 |
+ |
cat conftest.err >&5 |
2807 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2808 |
|
(exit $ac_status); } && |
2809 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2809 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2810 |
> |
|| test ! -s conftest.err' |
2811 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2812 |
|
(eval $ac_try) 2>&5 |
2813 |
|
ac_status=$? |
2814 |
|
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 |
2821 |
|
(exit $ac_status); }; }; then |
2822 |
|
ac_compiler_gnu=yes |
2823 |
|
else |
2826 |
|
|
2827 |
|
ac_compiler_gnu=no |
2828 |
|
fi |
2829 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2829 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2830 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2831 |
|
|
2832 |
|
fi |
2842 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2843 |
|
else |
2844 |
|
cat >conftest.$ac_ext <<_ACEOF |
2741 |
– |
#line $LINENO "configure" |
2845 |
|
/* confdefs.h. */ |
2846 |
|
_ACEOF |
2847 |
|
cat confdefs.h >>conftest.$ac_ext |
2858 |
|
_ACEOF |
2859 |
|
rm -f conftest.$ac_objext |
2860 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2861 |
< |
(eval $ac_compile) 2>&5 |
2861 |
> |
(eval $ac_compile) 2>conftest.er1 |
2862 |
|
ac_status=$? |
2863 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2864 |
+ |
rm -f conftest.er1 |
2865 |
+ |
cat conftest.err >&5 |
2866 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2867 |
|
(exit $ac_status); } && |
2868 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2868 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2869 |
> |
|| test ! -s conftest.err' |
2870 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2871 |
|
(eval $ac_try) 2>&5 |
2872 |
|
ac_status=$? |
2873 |
|
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 |
2880 |
|
(exit $ac_status); }; }; then |
2881 |
|
ac_cv_prog_cxx_g=yes |
2882 |
|
else |
2885 |
|
|
2886 |
|
ac_cv_prog_cxx_g=no |
2887 |
|
fi |
2888 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2888 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2889 |
|
fi |
2890 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2891 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2905 |
|
fi |
2906 |
|
fi |
2907 |
|
for ac_declaration in \ |
2908 |
< |
''\ |
2796 |
< |
'#include <stdlib.h>' \ |
2908 |
> |
'' \ |
2909 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2910 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2911 |
|
'extern "C" void exit (int) throw ();' \ |
2913 |
|
'void exit (int);' |
2914 |
|
do |
2915 |
|
cat >conftest.$ac_ext <<_ACEOF |
2804 |
– |
#line $LINENO "configure" |
2916 |
|
/* confdefs.h. */ |
2917 |
|
_ACEOF |
2918 |
|
cat confdefs.h >>conftest.$ac_ext |
2919 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2920 |
|
/* end confdefs.h. */ |
2810 |
– |
#include <stdlib.h> |
2921 |
|
$ac_declaration |
2922 |
+ |
#include <stdlib.h> |
2923 |
|
int |
2924 |
|
main () |
2925 |
|
{ |
2930 |
|
_ACEOF |
2931 |
|
rm -f conftest.$ac_objext |
2932 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2933 |
< |
(eval $ac_compile) 2>&5 |
2933 |
> |
(eval $ac_compile) 2>conftest.er1 |
2934 |
|
ac_status=$? |
2935 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2936 |
+ |
rm -f conftest.er1 |
2937 |
+ |
cat conftest.err >&5 |
2938 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2939 |
|
(exit $ac_status); } && |
2940 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2940 |
> |
{ 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' |
2948 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2949 |
+ |
(eval $ac_try) 2>&5 |
2950 |
+ |
ac_status=$? |
2951 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2952 |
|
(exit $ac_status); }; }; then |
2953 |
|
: |
2954 |
|
else |
2957 |
|
|
2958 |
|
continue |
2959 |
|
fi |
2960 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2960 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2961 |
|
cat >conftest.$ac_ext <<_ACEOF |
2841 |
– |
#line $LINENO "configure" |
2962 |
|
/* confdefs.h. */ |
2963 |
|
_ACEOF |
2964 |
|
cat confdefs.h >>conftest.$ac_ext |
2975 |
|
_ACEOF |
2976 |
|
rm -f conftest.$ac_objext |
2977 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2978 |
< |
(eval $ac_compile) 2>&5 |
2978 |
> |
(eval $ac_compile) 2>conftest.er1 |
2979 |
|
ac_status=$? |
2980 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2981 |
+ |
rm -f conftest.er1 |
2982 |
+ |
cat conftest.err >&5 |
2983 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2984 |
|
(exit $ac_status); } && |
2985 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2985 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2986 |
> |
|| test ! -s conftest.err' |
2987 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2988 |
> |
(eval $ac_try) 2>&5 |
2989 |
> |
ac_status=$? |
2990 |
> |
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=$? |
3001 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3002 |
|
|
3003 |
|
fi |
3004 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3004 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3005 |
|
done |
3006 |
|
rm -f conftest* |
3007 |
|
if test -n "$ac_declaration"; then |
3186 |
|
_ACEOF |
3187 |
|
rm -f conftest.$ac_objext |
3188 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3189 |
< |
(eval $ac_compile) 2>&5 |
3189 |
> |
(eval $ac_compile) 2>conftest.er1 |
3190 |
|
ac_status=$? |
3191 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3192 |
+ |
rm -f conftest.er1 |
3193 |
+ |
cat conftest.err >&5 |
3194 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3195 |
|
(exit $ac_status); } && |
3196 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3196 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3197 |
> |
|| test ! -s conftest.err' |
3198 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3199 |
> |
(eval $ac_try) 2>&5 |
3200 |
> |
ac_status=$? |
3201 |
> |
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=$? |
3213 |
|
|
3214 |
|
ac_compiler_gnu=no |
3215 |
|
fi |
3216 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3216 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3217 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3218 |
|
|
3219 |
|
fi |
3287 |
|
_ACEOF |
3288 |
|
rm -f conftest.$ac_objext |
3289 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3290 |
< |
(eval $ac_compile) 2>&5 |
3290 |
> |
(eval $ac_compile) 2>conftest.er1 |
3291 |
|
ac_status=$? |
3292 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3293 |
+ |
rm -f conftest.er1 |
3294 |
+ |
cat conftest.err >&5 |
3295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3296 |
|
(exit $ac_status); } && |
3297 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3297 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3298 |
> |
|| test ! -s conftest.err' |
3299 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3300 |
|
(eval $ac_try) 2>&5 |
3301 |
|
ac_status=$? |
3302 |
|
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 |
3309 |
|
(exit $ac_status); }; }; then |
3310 |
|
prepflagworks=1 |
3311 |
|
else |
3314 |
|
|
3315 |
|
prepflagworks=0 |
3316 |
|
fi |
3317 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3317 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3318 |
|
|
3319 |
|
F90FLAGS=$ac_save_F90FLAGS |
3320 |
|
ac_ext=$ac_save_ext |
3402 |
|
_ACEOF |
3403 |
|
rm -f conftest.$ac_objext |
3404 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3405 |
< |
(eval $ac_compile) 2>&5 |
3405 |
> |
(eval $ac_compile) 2>conftest.er1 |
3406 |
|
ac_status=$? |
3407 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3408 |
+ |
rm -f conftest.er1 |
3409 |
+ |
cat conftest.err >&5 |
3410 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3411 |
|
(exit $ac_status); } && |
3412 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3412 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3413 |
> |
|| test ! -s conftest.err' |
3414 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3415 |
> |
(eval $ac_try) 2>&5 |
3416 |
> |
ac_status=$? |
3417 |
> |
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=$? |
3429 |
|
|
3430 |
|
prepdefflagworks=0 |
3431 |
|
fi |
3432 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3432 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3433 |
|
|
3434 |
|
F90FLAGS=$ac_save_F90FLAGS |
3435 |
|
ac_ext=$ac_save_ext |
3481 |
|
_ACEOF |
3482 |
|
rm -f conftest.$ac_objext |
3483 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3484 |
< |
(eval $ac_compile) 2>&5 |
3484 |
> |
(eval $ac_compile) 2>conftest.er1 |
3485 |
|
ac_status=$? |
3486 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3487 |
+ |
rm -f conftest.er1 |
3488 |
+ |
cat conftest.err >&5 |
3489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3490 |
|
(exit $ac_status); } && |
3491 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3491 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3492 |
> |
|| test ! -s conftest.err' |
3493 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3494 |
|
(eval $ac_try) 2>&5 |
3495 |
|
ac_status=$? |
3496 |
|
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 |
3503 |
|
(exit $ac_status); }; }; then |
3504 |
|
ac_cv_prog_f90_v= |
3505 |
|
# Try some options frequently used verbose output |
3525 |
|
ac_save_F90FLAGS=$F90FLAGS |
3526 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3527 |
|
|
3528 |
< |
(eval echo $as_me:3358: \"$ac_link\") >&5 |
3528 |
> |
(eval echo $as_me:3528: \"$ac_link\") >&5 |
3529 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3530 |
|
echo "$ac_f90_v_output" >&5 |
3531 |
|
F90FLAGS=$ac_save_F90FLAGS |
3567 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3568 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3569 |
|
fi |
3570 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3570 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3571 |
|
|
3572 |
|
fi |
3573 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3602 |
|
ac_save_F90FLAGS=$F90FLAGS |
3603 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3604 |
|
|
3605 |
< |
(eval echo $as_me:3435: \"$ac_link\") >&5 |
3605 |
> |
(eval echo $as_me:3605: \"$ac_link\") >&5 |
3606 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3607 |
|
echo "$ac_f90_v_output" >&5 |
3608 |
|
F90FLAGS=$ac_save_F90FLAGS |
3784 |
|
_ACEOF |
3785 |
|
rm -f conftest.$ac_objext |
3786 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3787 |
< |
(eval $ac_compile) 2>&5 |
3787 |
> |
(eval $ac_compile) 2>conftest.er1 |
3788 |
|
ac_status=$? |
3789 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3790 |
+ |
rm -f conftest.er1 |
3791 |
+ |
cat conftest.err >&5 |
3792 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3793 |
|
(exit $ac_status); } && |
3794 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3794 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3795 |
> |
|| test ! -s conftest.err' |
3796 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3797 |
|
(eval $ac_try) 2>&5 |
3798 |
|
ac_status=$? |
3799 |
|
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 |
3806 |
|
(exit $ac_status); }; }; then |
3807 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
3808 |
|
|
3820 |
|
for ac_underscore in "" "_"; do |
3821 |
|
ac_func="$ac_foobar$ac_underscore" |
3822 |
|
cat >conftest.$ac_ext <<_ACEOF |
3643 |
– |
#line $LINENO "configure" |
3823 |
|
/* confdefs.h. */ |
3824 |
|
_ACEOF |
3825 |
|
cat confdefs.h >>conftest.$ac_ext |
3843 |
|
_ACEOF |
3844 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3845 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3846 |
< |
(eval $ac_link) 2>&5 |
3846 |
> |
(eval $ac_link) 2>conftest.er1 |
3847 |
|
ac_status=$? |
3848 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3849 |
+ |
rm -f conftest.er1 |
3850 |
+ |
cat conftest.err >&5 |
3851 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3852 |
|
(exit $ac_status); } && |
3853 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3853 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3854 |
> |
|| test ! -s conftest.err' |
3855 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3856 |
|
(eval $ac_try) 2>&5 |
3857 |
|
ac_status=$? |
3858 |
|
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 |
3865 |
|
(exit $ac_status); }; }; then |
3866 |
|
ac_success=yes; break 2 |
3867 |
|
else |
3869 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3870 |
|
|
3871 |
|
fi |
3872 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3872 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3873 |
> |
conftest$ac_exeext conftest.$ac_ext |
3874 |
|
done |
3875 |
|
done |
3876 |
|
|
3891 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3892 |
|
|
3893 |
|
cat >conftest.$ac_ext <<_ACEOF |
3704 |
– |
#line $LINENO "configure" |
3894 |
|
/* confdefs.h. */ |
3895 |
|
_ACEOF |
3896 |
|
cat confdefs.h >>conftest.$ac_ext |
3914 |
|
_ACEOF |
3915 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3916 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3917 |
< |
(eval $ac_link) 2>&5 |
3917 |
> |
(eval $ac_link) 2>conftest.er1 |
3918 |
|
ac_status=$? |
3919 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3920 |
+ |
rm -f conftest.er1 |
3921 |
+ |
cat conftest.err >&5 |
3922 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3923 |
|
(exit $ac_status); } && |
3924 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3924 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3925 |
> |
|| test ! -s conftest.err' |
3926 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3927 |
|
(eval $ac_try) 2>&5 |
3928 |
|
ac_status=$? |
3929 |
|
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 |
3936 |
|
(exit $ac_status); }; }; then |
3937 |
|
ac_success_extra=yes; break |
3938 |
|
else |
3940 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3941 |
|
|
3942 |
|
fi |
3943 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3943 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3944 |
> |
conftest$ac_exeext conftest.$ac_ext |
3945 |
|
done |
3946 |
|
|
3947 |
|
if test "$ac_success_extra" = "yes"; then |
3976 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3977 |
|
|
3978 |
|
fi |
3979 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3979 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3980 |
|
ac_ext=f90 |
3981 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3982 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4212 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4213 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4214 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4015 |
– |
|
4016 |
– |
|
4017 |
– |
for ac_func in getopt_long |
4018 |
– |
do |
4019 |
– |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4020 |
– |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4021 |
– |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4022 |
– |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4023 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4024 |
– |
else |
4025 |
– |
cat >conftest.$ac_ext <<_ACEOF |
4026 |
– |
#line $LINENO "configure" |
4027 |
– |
/* confdefs.h. */ |
4028 |
– |
_ACEOF |
4029 |
– |
cat confdefs.h >>conftest.$ac_ext |
4030 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
4031 |
– |
/* end confdefs.h. */ |
4032 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
4033 |
– |
which can conflict with char $ac_func (); below. |
4034 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4035 |
– |
<limits.h> exists even on freestanding compilers. */ |
4036 |
– |
#ifdef __STDC__ |
4037 |
– |
# include <limits.h> |
4038 |
– |
#else |
4039 |
– |
# include <assert.h> |
4040 |
– |
#endif |
4041 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
4042 |
– |
#ifdef __cplusplus |
4043 |
– |
extern "C" |
4044 |
– |
{ |
4045 |
– |
#endif |
4046 |
– |
/* We use char because int might match the return type of a gcc2 |
4047 |
– |
builtin and then its argument prototype would still apply. */ |
4048 |
– |
char $ac_func (); |
4049 |
– |
/* The GNU C library defines this for functions which it implements |
4050 |
– |
to always fail with ENOSYS. Some functions are actually named |
4051 |
– |
something starting with __ and the normal name is an alias. */ |
4052 |
– |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4053 |
– |
choke me |
4054 |
– |
#else |
4055 |
– |
char (*f) () = $ac_func; |
4056 |
– |
#endif |
4057 |
– |
#ifdef __cplusplus |
4058 |
– |
} |
4059 |
– |
#endif |
4060 |
– |
|
4061 |
– |
int |
4062 |
– |
main () |
4063 |
– |
{ |
4064 |
– |
return f != $ac_func; |
4065 |
– |
; |
4066 |
– |
return 0; |
4067 |
– |
} |
4068 |
– |
_ACEOF |
4069 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
4070 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4071 |
– |
(eval $ac_link) 2>&5 |
4072 |
– |
ac_status=$? |
4073 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4074 |
– |
(exit $ac_status); } && |
4075 |
– |
{ ac_try='test -s conftest$ac_exeext' |
4076 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4077 |
– |
(eval $ac_try) 2>&5 |
4078 |
– |
ac_status=$? |
4079 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4080 |
– |
(exit $ac_status); }; }; then |
4081 |
– |
eval "$as_ac_var=yes" |
4082 |
– |
else |
4083 |
– |
echo "$as_me: failed program was:" >&5 |
4084 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
4215 |
|
|
4086 |
– |
eval "$as_ac_var=no" |
4087 |
– |
fi |
4088 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4089 |
– |
fi |
4090 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4091 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4092 |
– |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
4093 |
– |
cat >>confdefs.h <<_ACEOF |
4094 |
– |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4095 |
– |
_ACEOF |
4096 |
– |
|
4097 |
– |
else |
4098 |
– |
echo "$as_me:$LINENO: checking for getopt_long in -liberty" >&5 |
4099 |
– |
echo $ECHO_N "checking for getopt_long in -liberty... $ECHO_C" >&6 |
4100 |
– |
if test "${ac_cv_lib_iberty_getopt_long+set}" = set; then |
4101 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4102 |
– |
else |
4103 |
– |
ac_check_lib_save_LIBS=$LIBS |
4104 |
– |
LIBS="-liberty $LIBS" |
4105 |
– |
cat >conftest.$ac_ext <<_ACEOF |
4106 |
– |
#line $LINENO "configure" |
4107 |
– |
/* confdefs.h. */ |
4108 |
– |
_ACEOF |
4109 |
– |
cat confdefs.h >>conftest.$ac_ext |
4110 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
4111 |
– |
/* end confdefs.h. */ |
4112 |
– |
|
4113 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
4114 |
– |
#ifdef __cplusplus |
4115 |
– |
extern "C" |
4116 |
– |
#endif |
4117 |
– |
/* We use char because int might match the return type of a gcc2 |
4118 |
– |
builtin and then its argument prototype would still apply. */ |
4119 |
– |
char getopt_long (); |
4120 |
– |
int |
4121 |
– |
main () |
4122 |
– |
{ |
4123 |
– |
getopt_long (); |
4124 |
– |
; |
4125 |
– |
return 0; |
4126 |
– |
} |
4127 |
– |
_ACEOF |
4128 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
4129 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4130 |
– |
(eval $ac_link) 2>&5 |
4131 |
– |
ac_status=$? |
4132 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4133 |
– |
(exit $ac_status); } && |
4134 |
– |
{ ac_try='test -s conftest$ac_exeext' |
4135 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4136 |
– |
(eval $ac_try) 2>&5 |
4137 |
– |
ac_status=$? |
4138 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4139 |
– |
(exit $ac_status); }; }; then |
4140 |
– |
ac_cv_lib_iberty_getopt_long=yes |
4141 |
– |
else |
4142 |
– |
echo "$as_me: failed program was:" >&5 |
4143 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
4144 |
– |
|
4145 |
– |
ac_cv_lib_iberty_getopt_long=no |
4146 |
– |
fi |
4147 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4148 |
– |
LIBS=$ac_check_lib_save_LIBS |
4149 |
– |
fi |
4150 |
– |
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_getopt_long" >&5 |
4151 |
– |
echo "${ECHO_T}$ac_cv_lib_iberty_getopt_long" >&6 |
4152 |
– |
if test $ac_cv_lib_iberty_getopt_long = yes; then |
4153 |
– |
OTHERLIBS="$OTHERLIBS -liberty" |
4154 |
– |
fi |
4155 |
– |
|
4156 |
– |
fi |
4157 |
– |
done |
4158 |
– |
|
4159 |
– |
|
4216 |
|
ac_ext=c |
4217 |
|
ac_cpp='$CPP $CPPFLAGS' |
4218 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4241 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4242 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4243 |
|
cat >conftest.$ac_ext <<_ACEOF |
4188 |
– |
#line $LINENO "configure" |
4244 |
|
/* confdefs.h. */ |
4245 |
|
_ACEOF |
4246 |
|
cat confdefs.h >>conftest.$ac_ext |
4251 |
|
#else |
4252 |
|
# include <assert.h> |
4253 |
|
#endif |
4254 |
< |
Syntax error |
4254 |
> |
Syntax error |
4255 |
|
_ACEOF |
4256 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4257 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4263 |
|
(exit $ac_status); } >/dev/null; then |
4264 |
|
if test -s conftest.err; then |
4265 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4266 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4267 |
|
else |
4268 |
|
ac_cpp_err= |
4269 |
|
fi |
4284 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4285 |
|
# can be detected and how. |
4286 |
|
cat >conftest.$ac_ext <<_ACEOF |
4231 |
– |
#line $LINENO "configure" |
4287 |
|
/* confdefs.h. */ |
4288 |
|
_ACEOF |
4289 |
|
cat confdefs.h >>conftest.$ac_ext |
4301 |
|
(exit $ac_status); } >/dev/null; then |
4302 |
|
if test -s conftest.err; then |
4303 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4304 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4305 |
|
else |
4306 |
|
ac_cpp_err= |
4307 |
|
fi |
4348 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4349 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4350 |
|
cat >conftest.$ac_ext <<_ACEOF |
4295 |
– |
#line $LINENO "configure" |
4351 |
|
/* confdefs.h. */ |
4352 |
|
_ACEOF |
4353 |
|
cat confdefs.h >>conftest.$ac_ext |
4358 |
|
#else |
4359 |
|
# include <assert.h> |
4360 |
|
#endif |
4361 |
< |
Syntax error |
4361 |
> |
Syntax error |
4362 |
|
_ACEOF |
4363 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4364 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4370 |
|
(exit $ac_status); } >/dev/null; then |
4371 |
|
if test -s conftest.err; then |
4372 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4373 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4374 |
|
else |
4375 |
|
ac_cpp_err= |
4376 |
|
fi |
4391 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4392 |
|
# can be detected and how. |
4393 |
|
cat >conftest.$ac_ext <<_ACEOF |
4338 |
– |
#line $LINENO "configure" |
4394 |
|
/* confdefs.h. */ |
4395 |
|
_ACEOF |
4396 |
|
cat confdefs.h >>conftest.$ac_ext |
4408 |
|
(exit $ac_status); } >/dev/null; then |
4409 |
|
if test -s conftest.err; then |
4410 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4411 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4412 |
|
else |
4413 |
|
ac_cpp_err= |
4414 |
|
fi |
4469 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4470 |
|
else |
4471 |
|
cat >conftest.$ac_ext <<_ACEOF |
4416 |
– |
#line $LINENO "configure" |
4472 |
|
/* confdefs.h. */ |
4473 |
|
_ACEOF |
4474 |
|
cat confdefs.h >>conftest.$ac_ext |
4489 |
|
_ACEOF |
4490 |
|
rm -f conftest.$ac_objext |
4491 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4492 |
< |
(eval $ac_compile) 2>&5 |
4492 |
> |
(eval $ac_compile) 2>conftest.er1 |
4493 |
|
ac_status=$? |
4494 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4495 |
+ |
rm -f conftest.er1 |
4496 |
+ |
cat conftest.err >&5 |
4497 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4498 |
|
(exit $ac_status); } && |
4499 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4499 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4500 |
> |
|| test ! -s conftest.err' |
4501 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4502 |
|
(eval $ac_try) 2>&5 |
4503 |
|
ac_status=$? |
4504 |
|
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 |
4511 |
|
(exit $ac_status); }; }; then |
4512 |
|
ac_cv_header_stdc=yes |
4513 |
|
else |
4516 |
|
|
4517 |
|
ac_cv_header_stdc=no |
4518 |
|
fi |
4519 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4519 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4520 |
|
|
4521 |
|
if test $ac_cv_header_stdc = yes; then |
4522 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4523 |
|
cat >conftest.$ac_ext <<_ACEOF |
4459 |
– |
#line $LINENO "configure" |
4524 |
|
/* confdefs.h. */ |
4525 |
|
_ACEOF |
4526 |
|
cat confdefs.h >>conftest.$ac_ext |
4542 |
|
if test $ac_cv_header_stdc = yes; then |
4543 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4544 |
|
cat >conftest.$ac_ext <<_ACEOF |
4481 |
– |
#line $LINENO "configure" |
4545 |
|
/* confdefs.h. */ |
4546 |
|
_ACEOF |
4547 |
|
cat confdefs.h >>conftest.$ac_ext |
4566 |
|
: |
4567 |
|
else |
4568 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
– |
#line $LINENO "configure" |
4569 |
|
/* confdefs.h. */ |
4570 |
|
_ACEOF |
4571 |
|
cat confdefs.h >>conftest.$ac_ext |
4577 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4578 |
|
#else |
4579 |
|
# define ISLOWER(c) \ |
4580 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4581 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4582 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4580 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4581 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4582 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4583 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4584 |
|
#endif |
4585 |
|
|
4590 |
|
int i; |
4591 |
|
for (i = 0; i < 256; i++) |
4592 |
|
if (XOR (islower (i), ISLOWER (i)) |
4593 |
< |
|| toupper (i) != TOUPPER (i)) |
4593 |
> |
|| toupper (i) != TOUPPER (i)) |
4594 |
|
exit(2); |
4595 |
|
exit (0); |
4596 |
|
} |
4615 |
|
( exit $ac_status ) |
4616 |
|
ac_cv_header_stdc=no |
4617 |
|
fi |
4618 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4618 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4619 |
|
fi |
4620 |
|
fi |
4621 |
|
fi |
4640 |
|
|
4641 |
|
|
4642 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4643 |
< |
inttypes.h stdint.h unistd.h |
4643 |
> |
inttypes.h stdint.h unistd.h |
4644 |
|
do |
4645 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4646 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4649 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4650 |
|
else |
4651 |
|
cat >conftest.$ac_ext <<_ACEOF |
4590 |
– |
#line $LINENO "configure" |
4652 |
|
/* confdefs.h. */ |
4653 |
|
_ACEOF |
4654 |
|
cat confdefs.h >>conftest.$ac_ext |
4660 |
|
_ACEOF |
4661 |
|
rm -f conftest.$ac_objext |
4662 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4663 |
< |
(eval $ac_compile) 2>&5 |
4663 |
> |
(eval $ac_compile) 2>conftest.er1 |
4664 |
|
ac_status=$? |
4665 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4666 |
+ |
rm -f conftest.er1 |
4667 |
+ |
cat conftest.err >&5 |
4668 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4669 |
|
(exit $ac_status); } && |
4670 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4670 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4671 |
> |
|| test ! -s conftest.err' |
4672 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4673 |
|
(eval $ac_try) 2>&5 |
4674 |
|
ac_status=$? |
4675 |
|
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 |
4682 |
|
(exit $ac_status); }; }; then |
4683 |
|
eval "$as_ac_Header=yes" |
4684 |
|
else |
4687 |
|
|
4688 |
|
eval "$as_ac_Header=no" |
4689 |
|
fi |
4690 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4690 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4691 |
|
fi |
4692 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4693 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4702 |
|
|
4703 |
|
|
4704 |
|
# clean out junk possibly left behind by a previous configuration |
4705 |
< |
rm -f third-party/getopt.h |
4705 |
> |
rm -f utils/getopt.h |
4706 |
|
# Check for getopt_long support |
4707 |
|
|
4708 |
|
for ac_header in getopt.h |
4721 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4722 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4723 |
|
cat >conftest.$ac_ext <<_ACEOF |
4653 |
– |
#line $LINENO "configure" |
4724 |
|
/* confdefs.h. */ |
4725 |
|
_ACEOF |
4726 |
|
cat confdefs.h >>conftest.$ac_ext |
4731 |
|
_ACEOF |
4732 |
|
rm -f conftest.$ac_objext |
4733 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4734 |
< |
(eval $ac_compile) 2>&5 |
4734 |
> |
(eval $ac_compile) 2>conftest.er1 |
4735 |
|
ac_status=$? |
4736 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4737 |
+ |
rm -f conftest.er1 |
4738 |
+ |
cat conftest.err >&5 |
4739 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4740 |
|
(exit $ac_status); } && |
4741 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4741 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4742 |
> |
|| test ! -s conftest.err' |
4743 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4744 |
|
(eval $ac_try) 2>&5 |
4745 |
|
ac_status=$? |
4746 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4747 |
+ |
(exit $ac_status); }; } && |
4748 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4749 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4750 |
+ |
(eval $ac_try) 2>&5 |
4751 |
+ |
ac_status=$? |
4752 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4753 |
|
(exit $ac_status); }; }; then |
4754 |
|
ac_header_compiler=yes |
4755 |
|
else |
4758 |
|
|
4759 |
|
ac_header_compiler=no |
4760 |
|
fi |
4761 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4761 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4762 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4763 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
4764 |
|
|
4766 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4767 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4768 |
|
cat >conftest.$ac_ext <<_ACEOF |
4689 |
– |
#line $LINENO "configure" |
4769 |
|
/* confdefs.h. */ |
4770 |
|
_ACEOF |
4771 |
|
cat confdefs.h >>conftest.$ac_ext |
4783 |
|
(exit $ac_status); } >/dev/null; then |
4784 |
|
if test -s conftest.err; then |
4785 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4786 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4787 |
|
else |
4788 |
|
ac_cpp_err= |
4789 |
|
fi |
4803 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
4804 |
|
|
4805 |
|
# So? What about this header? |
4806 |
< |
case $ac_header_compiler:$ac_header_preproc in |
4807 |
< |
yes:no ) |
4806 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4807 |
> |
yes:no: ) |
4808 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4809 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4810 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4811 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4812 |
< |
( |
4733 |
< |
cat <<\_ASBOX |
4734 |
< |
## ------------------------------------ ## |
4735 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4736 |
< |
## ------------------------------------ ## |
4737 |
< |
_ASBOX |
4738 |
< |
) | |
4739 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
4810 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4811 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4812 |
> |
ac_header_preproc=yes |
4813 |
|
;; |
4814 |
< |
no:yes ) |
4814 |
> |
no:yes:* ) |
4815 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4816 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4817 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4818 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4817 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4818 |
> |
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;} |
4823 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4824 |
|
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;} |
4827 |
|
( |
4828 |
|
cat <<\_ASBOX |
4829 |
< |
## ------------------------------------ ## |
4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
< |
## ------------------------------------ ## |
4829 |
> |
## ------------------------------ ## |
4830 |
> |
## Report this to gezelter@nd.edu ## |
4831 |
> |
## ------------------------------ ## |
4832 |
|
_ASBOX |
4833 |
|
) | |
4834 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
4839 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4840 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4841 |
|
else |
4842 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
4842 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
4843 |
|
fi |
4844 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4845 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4864 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4865 |
|
else |
4866 |
|
cat >conftest.$ac_ext <<_ACEOF |
4788 |
– |
#line $LINENO "configure" |
4867 |
|
/* confdefs.h. */ |
4868 |
|
_ACEOF |
4869 |
|
cat confdefs.h >>conftest.$ac_ext |
4870 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4871 |
|
/* 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 |
+ |
|
4876 |
|
/* System header to define __stub macros and hopefully few prototypes, |
4877 |
|
which can conflict with char $ac_func (); below. |
4878 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4879 |
|
<limits.h> exists even on freestanding compilers. */ |
4880 |
+ |
|
4881 |
|
#ifdef __STDC__ |
4882 |
|
# include <limits.h> |
4883 |
|
#else |
4884 |
|
# include <assert.h> |
4885 |
|
#endif |
4886 |
+ |
|
4887 |
+ |
#undef $ac_func |
4888 |
+ |
|
4889 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4890 |
|
#ifdef __cplusplus |
4891 |
|
extern "C" |
4916 |
|
_ACEOF |
4917 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4918 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4919 |
< |
(eval $ac_link) 2>&5 |
4919 |
> |
(eval $ac_link) 2>conftest.er1 |
4920 |
|
ac_status=$? |
4921 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4922 |
+ |
rm -f conftest.er1 |
4923 |
+ |
cat conftest.err >&5 |
4924 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4925 |
|
(exit $ac_status); } && |
4926 |
< |
{ ac_try='test -s conftest$ac_exeext' |
4926 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4927 |
> |
|| test ! -s conftest.err' |
4928 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4929 |
|
(eval $ac_try) 2>&5 |
4930 |
|
ac_status=$? |
4931 |
|
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 |
4938 |
|
(exit $ac_status); }; }; then |
4939 |
|
eval "$as_ac_var=yes" |
4940 |
|
else |
4943 |
|
|
4944 |
|
eval "$as_ac_var=no" |
4945 |
|
fi |
4946 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4946 |
> |
rm -f conftest.err conftest.$ac_objext \ |
4947 |
> |
conftest$ac_exeext conftest.$ac_ext |
4948 |
|
fi |
4949 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4950 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4963 |
|
ac_check_lib_save_LIBS=$LIBS |
4964 |
|
LIBS="-lgnugetopt $LIBS" |
4965 |
|
cat >conftest.$ac_ext <<_ACEOF |
4869 |
– |
#line $LINENO "configure" |
4966 |
|
/* confdefs.h. */ |
4967 |
|
_ACEOF |
4968 |
|
cat confdefs.h >>conftest.$ac_ext |
4986 |
|
_ACEOF |
4987 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4988 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4989 |
< |
(eval $ac_link) 2>&5 |
4989 |
> |
(eval $ac_link) 2>conftest.er1 |
4990 |
|
ac_status=$? |
4991 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4992 |
+ |
rm -f conftest.er1 |
4993 |
+ |
cat conftest.err >&5 |
4994 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4995 |
|
(exit $ac_status); } && |
4996 |
< |
{ ac_try='test -s conftest$ac_exeext' |
4996 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4997 |
> |
|| test ! -s conftest.err' |
4998 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4999 |
> |
(eval $ac_try) 2>&5 |
5000 |
> |
ac_status=$? |
5001 |
> |
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=$? |
5013 |
|
|
5014 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
5015 |
|
fi |
5016 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5016 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5017 |
> |
conftest$ac_exeext conftest.$ac_ext |
5018 |
|
LIBS=$ac_check_lib_save_LIBS |
5019 |
|
fi |
5020 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
5026 |
|
|
5027 |
|
else |
5028 |
|
# use the GNU replacement |
5029 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
5030 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
5031 |
< |
ac_config_links="$ac_config_links third-party/getopt.h:third-party/gnugetopt.h" |
5029 |
> |
case $LIBOBJS in |
5030 |
> |
"getopt.$ac_objext" | \ |
5031 |
> |
*" 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" |
5046 |
+ |
|
5047 |
|
fi |
5048 |
|
|
5049 |
|
fi |
6090 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
6091 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
6092 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6093 |
+ |
# OS/2's system install, which has a completely different semantic |
6094 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
6095 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
6096 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
6107 |
|
case $as_dir/ in |
6108 |
|
./ | .// | /cC/* | \ |
6109 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6110 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
6111 |
|
/usr/ucb/* ) ;; |
6112 |
|
*) |
6113 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
6115 |
|
# by default. |
6116 |
|
for ac_prog in ginstall scoinst install; do |
6117 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6118 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6119 |
< |
if test $ac_prog = install && |
6120 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6121 |
< |
# AIX install. It has an incompatible calling convention. |
6122 |
< |
: |
6123 |
< |
elif test $ac_prog = install && |
6124 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6125 |
< |
# program-specific install script used by HP pwplus--don't use. |
6126 |
< |
: |
6127 |
< |
else |
6128 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6129 |
< |
break 3 |
6130 |
< |
fi |
6131 |
< |
fi |
6118 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
6119 |
> |
if test $ac_prog = install && |
6120 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6121 |
> |
# AIX install. It has an incompatible calling convention. |
6122 |
> |
: |
6123 |
> |
elif test $ac_prog = install && |
6124 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6125 |
> |
# program-specific install script used by HP pwplus--don't use. |
6126 |
> |
: |
6127 |
> |
else |
6128 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6129 |
> |
break 3 |
6130 |
> |
fi |
6131 |
> |
fi |
6132 |
|
done |
6133 |
|
done |
6134 |
|
;; |
6171 |
|
|
6172 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6173 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6174 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6174 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6175 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6176 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6177 |
|
else |
6370 |
|
ac_check_lib_save_LIBS=$LIBS |
6371 |
|
LIBS="-lfl $LIBS" |
6372 |
|
cat >conftest.$ac_ext <<_ACEOF |
6250 |
– |
#line $LINENO "configure" |
6373 |
|
/* confdefs.h. */ |
6374 |
|
_ACEOF |
6375 |
|
cat confdefs.h >>conftest.$ac_ext |
6393 |
|
_ACEOF |
6394 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6395 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6396 |
< |
(eval $ac_link) 2>&5 |
6396 |
> |
(eval $ac_link) 2>conftest.er1 |
6397 |
|
ac_status=$? |
6398 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6399 |
+ |
rm -f conftest.er1 |
6400 |
+ |
cat conftest.err >&5 |
6401 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6402 |
|
(exit $ac_status); } && |
6403 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6403 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6404 |
> |
|| test ! -s conftest.err' |
6405 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6406 |
|
(eval $ac_try) 2>&5 |
6407 |
|
ac_status=$? |
6408 |
|
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 |
6415 |
|
(exit $ac_status); }; }; then |
6416 |
|
ac_cv_lib_fl_yywrap=yes |
6417 |
|
else |
6420 |
|
|
6421 |
|
ac_cv_lib_fl_yywrap=no |
6422 |
|
fi |
6423 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6423 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6424 |
> |
conftest$ac_exeext conftest.$ac_ext |
6425 |
|
LIBS=$ac_check_lib_save_LIBS |
6426 |
|
fi |
6427 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
6437 |
|
ac_check_lib_save_LIBS=$LIBS |
6438 |
|
LIBS="-ll $LIBS" |
6439 |
|
cat >conftest.$ac_ext <<_ACEOF |
6307 |
– |
#line $LINENO "configure" |
6440 |
|
/* confdefs.h. */ |
6441 |
|
_ACEOF |
6442 |
|
cat confdefs.h >>conftest.$ac_ext |
6460 |
|
_ACEOF |
6461 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6462 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6463 |
< |
(eval $ac_link) 2>&5 |
6463 |
> |
(eval $ac_link) 2>conftest.er1 |
6464 |
|
ac_status=$? |
6465 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6466 |
+ |
rm -f conftest.er1 |
6467 |
+ |
cat conftest.err >&5 |
6468 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6469 |
|
(exit $ac_status); } && |
6470 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6470 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6471 |
> |
|| test ! -s conftest.err' |
6472 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6473 |
|
(eval $ac_try) 2>&5 |
6474 |
|
ac_status=$? |
6475 |
|
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 |
6482 |
|
(exit $ac_status); }; }; then |
6483 |
|
ac_cv_lib_l_yywrap=yes |
6484 |
|
else |
6487 |
|
|
6488 |
|
ac_cv_lib_l_yywrap=no |
6489 |
|
fi |
6490 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6490 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6491 |
> |
conftest$ac_exeext conftest.$ac_ext |
6492 |
|
LIBS=$ac_check_lib_save_LIBS |
6493 |
|
fi |
6494 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
6550 |
|
_ACEOF |
6551 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6552 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6553 |
< |
(eval $ac_link) 2>&5 |
6553 |
> |
(eval $ac_link) 2>conftest.er1 |
6554 |
|
ac_status=$? |
6555 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6556 |
+ |
rm -f conftest.er1 |
6557 |
+ |
cat conftest.err >&5 |
6558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6559 |
|
(exit $ac_status); } && |
6560 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6560 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6561 |
> |
|| test ! -s conftest.err' |
6562 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6563 |
|
(eval $ac_try) 2>&5 |
6564 |
|
ac_status=$? |
6565 |
|
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 |
6572 |
|
(exit $ac_status); }; }; then |
6573 |
|
ac_cv_prog_lex_yytext_pointer=yes |
6574 |
|
else |
6576 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6577 |
|
|
6578 |
|
fi |
6579 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6579 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6580 |
> |
conftest$ac_exeext conftest.$ac_ext |
6581 |
|
LIBS=$ac_save_LIBS |
6582 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
6583 |
|
|
6661 |
|
# `set' does not quote correctly, so add quotes (double-quote |
6662 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
6663 |
|
sed -n \ |
6664 |
< |
"s/'/'\\\\''/g; |
6665 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6664 |
> |
"s/'/'\\\\''/g; |
6665 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6666 |
|
;; |
6667 |
|
*) |
6668 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
6669 |
|
sed -n \ |
6670 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6670 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6671 |
|
;; |
6672 |
|
esac; |
6673 |
|
} | |
6789 |
|
ac_check_lib_save_LIBS=$LIBS |
6790 |
|
LIBS="-lmpi $LIBS" |
6791 |
|
cat >conftest.$ac_ext <<_ACEOF |
6638 |
– |
#line $LINENO "configure" |
6792 |
|
/* confdefs.h. */ |
6793 |
|
_ACEOF |
6794 |
|
cat confdefs.h >>conftest.$ac_ext |
6812 |
|
_ACEOF |
6813 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6814 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6815 |
< |
(eval $ac_link) 2>&5 |
6815 |
> |
(eval $ac_link) 2>conftest.er1 |
6816 |
|
ac_status=$? |
6817 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6818 |
+ |
rm -f conftest.er1 |
6819 |
+ |
cat conftest.err >&5 |
6820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6821 |
|
(exit $ac_status); } && |
6822 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6822 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6823 |
> |
|| test ! -s conftest.err' |
6824 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6825 |
|
(eval $ac_try) 2>&5 |
6826 |
|
ac_status=$? |
6827 |
|
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 |
6834 |
|
(exit $ac_status); }; }; then |
6835 |
|
ac_cv_lib_mpi_MPI_Init=yes |
6836 |
|
else |
6839 |
|
|
6840 |
|
ac_cv_lib_mpi_MPI_Init=no |
6841 |
|
fi |
6842 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6842 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6843 |
> |
conftest$ac_exeext conftest.$ac_ext |
6844 |
|
LIBS=$ac_check_lib_save_LIBS |
6845 |
|
fi |
6846 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
6859 |
|
ac_check_lib_save_LIBS=$LIBS |
6860 |
|
LIBS="-lmpich $LIBS" |
6861 |
|
cat >conftest.$ac_ext <<_ACEOF |
6698 |
– |
#line $LINENO "configure" |
6862 |
|
/* confdefs.h. */ |
6863 |
|
_ACEOF |
6864 |
|
cat confdefs.h >>conftest.$ac_ext |
6882 |
|
_ACEOF |
6883 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6884 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6885 |
< |
(eval $ac_link) 2>&5 |
6885 |
> |
(eval $ac_link) 2>conftest.er1 |
6886 |
|
ac_status=$? |
6887 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6888 |
+ |
rm -f conftest.er1 |
6889 |
+ |
cat conftest.err >&5 |
6890 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6891 |
|
(exit $ac_status); } && |
6892 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6892 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6893 |
> |
|| test ! -s conftest.err' |
6894 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6895 |
|
(eval $ac_try) 2>&5 |
6896 |
|
ac_status=$? |
6897 |
|
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 |
6904 |
|
(exit $ac_status); }; }; then |
6905 |
|
ac_cv_lib_mpich_MPI_Init=yes |
6906 |
|
else |
6909 |
|
|
6910 |
|
ac_cv_lib_mpich_MPI_Init=no |
6911 |
|
fi |
6912 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6912 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6913 |
> |
conftest$ac_exeext conftest.$ac_ext |
6914 |
|
LIBS=$ac_check_lib_save_LIBS |
6915 |
|
fi |
6916 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
6930 |
|
ac_check_lib_save_LIBS=$LIBS |
6931 |
|
LIBS="-lmpi "-llam" $LIBS" |
6932 |
|
cat >conftest.$ac_ext <<_ACEOF |
6759 |
– |
#line $LINENO "configure" |
6933 |
|
/* confdefs.h. */ |
6934 |
|
_ACEOF |
6935 |
|
cat confdefs.h >>conftest.$ac_ext |
6953 |
|
_ACEOF |
6954 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6955 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6956 |
< |
(eval $ac_link) 2>&5 |
6956 |
> |
(eval $ac_link) 2>conftest.er1 |
6957 |
|
ac_status=$? |
6958 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6959 |
+ |
rm -f conftest.er1 |
6960 |
+ |
cat conftest.err >&5 |
6961 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6962 |
|
(exit $ac_status); } && |
6963 |
< |
{ ac_try='test -s conftest$ac_exeext' |
6963 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6964 |
> |
|| test ! -s conftest.err' |
6965 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6966 |
> |
(eval $ac_try) 2>&5 |
6967 |
> |
ac_status=$? |
6968 |
> |
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=$? |
6980 |
|
|
6981 |
|
ac_cv_lib_mpi_MPI_Init=no |
6982 |
|
fi |
6983 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6983 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6984 |
> |
conftest$ac_exeext conftest.$ac_ext |
6985 |
|
LIBS=$ac_check_lib_save_LIBS |
6986 |
|
fi |
6987 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7002 |
|
ac_check_lib_save_LIBS=$LIBS |
7003 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
7004 |
|
cat >conftest.$ac_ext <<_ACEOF |
6821 |
– |
#line $LINENO "configure" |
7005 |
|
/* confdefs.h. */ |
7006 |
|
_ACEOF |
7007 |
|
cat confdefs.h >>conftest.$ac_ext |
7025 |
|
_ACEOF |
7026 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7027 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7028 |
< |
(eval $ac_link) 2>&5 |
7028 |
> |
(eval $ac_link) 2>conftest.er1 |
7029 |
|
ac_status=$? |
7030 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7031 |
+ |
rm -f conftest.er1 |
7032 |
+ |
cat conftest.err >&5 |
7033 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7034 |
|
(exit $ac_status); } && |
7035 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7035 |
> |
{ 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' |
7043 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7044 |
+ |
(eval $ac_try) 2>&5 |
7045 |
+ |
ac_status=$? |
7046 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7047 |
|
(exit $ac_status); }; }; then |
7048 |
|
ac_cv_lib_mpi_MPI_Init=yes |
7049 |
|
else |
7052 |
|
|
7053 |
|
ac_cv_lib_mpi_MPI_Init=no |
7054 |
|
fi |
7055 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7055 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7056 |
> |
conftest$ac_exeext conftest.$ac_ext |
7057 |
|
LIBS=$ac_check_lib_save_LIBS |
7058 |
|
fi |
7059 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
7155 |
|
ac_check_lib_save_LIBS=$LIBS |
7156 |
|
LIBS="-lsprng $LIBS" |
7157 |
|
cat >conftest.$ac_ext <<_ACEOF |
6964 |
– |
#line $LINENO "configure" |
7158 |
|
/* confdefs.h. */ |
7159 |
|
_ACEOF |
7160 |
|
cat confdefs.h >>conftest.$ac_ext |
7178 |
|
_ACEOF |
7179 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7180 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7181 |
< |
(eval $ac_link) 2>&5 |
7181 |
> |
(eval $ac_link) 2>conftest.er1 |
7182 |
|
ac_status=$? |
7183 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7184 |
+ |
rm -f conftest.er1 |
7185 |
+ |
cat conftest.err >&5 |
7186 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7187 |
|
(exit $ac_status); } && |
7188 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7188 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7189 |
> |
|| test ! -s conftest.err' |
7190 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7191 |
|
(eval $ac_try) 2>&5 |
7192 |
|
ac_status=$? |
7193 |
|
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 |
7200 |
|
(exit $ac_status); }; }; then |
7201 |
|
ac_cv_lib_sprng_init_rng=yes |
7202 |
|
else |
7205 |
|
|
7206 |
|
ac_cv_lib_sprng_init_rng=no |
7207 |
|
fi |
7208 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7208 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7209 |
> |
conftest$ac_exeext conftest.$ac_ext |
7210 |
|
LIBS=$ac_check_lib_save_LIBS |
7211 |
|
fi |
7212 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
7282 |
|
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
7283 |
|
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
7284 |
|
cat >conftest.$ac_ext <<_ACEOF |
7081 |
– |
#line $LINENO "configure" |
7285 |
|
/* confdefs.h. */ |
7286 |
|
_ACEOF |
7287 |
|
cat confdefs.h >>conftest.$ac_ext |
7292 |
|
_ACEOF |
7293 |
|
rm -f conftest.$ac_objext |
7294 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7295 |
< |
(eval $ac_compile) 2>&5 |
7295 |
> |
(eval $ac_compile) 2>conftest.er1 |
7296 |
|
ac_status=$? |
7297 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7298 |
+ |
rm -f conftest.er1 |
7299 |
+ |
cat conftest.err >&5 |
7300 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7301 |
|
(exit $ac_status); } && |
7302 |
< |
{ ac_try='test -s conftest.$ac_objext' |
7302 |
> |
{ 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' |
7310 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7311 |
+ |
(eval $ac_try) 2>&5 |
7312 |
+ |
ac_status=$? |
7313 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7314 |
|
(exit $ac_status); }; }; then |
7315 |
|
ac_header_compiler=yes |
7316 |
|
else |
7319 |
|
|
7320 |
|
ac_header_compiler=no |
7321 |
|
fi |
7322 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
7322 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7323 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7324 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7325 |
|
|
7327 |
|
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
7328 |
|
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
7329 |
|
cat >conftest.$ac_ext <<_ACEOF |
7117 |
– |
#line $LINENO "configure" |
7330 |
|
/* confdefs.h. */ |
7331 |
|
_ACEOF |
7332 |
|
cat confdefs.h >>conftest.$ac_ext |
7344 |
|
(exit $ac_status); } >/dev/null; then |
7345 |
|
if test -s conftest.err; then |
7346 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7347 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7348 |
|
else |
7349 |
|
ac_cpp_err= |
7350 |
|
fi |
7364 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7365 |
|
|
7366 |
|
# So? What about this header? |
7367 |
< |
case $ac_header_compiler:$ac_header_preproc in |
7368 |
< |
yes:no ) |
7367 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7368 |
> |
yes:no: ) |
7369 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7370 |
|
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7371 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7372 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
7373 |
< |
( |
7161 |
< |
cat <<\_ASBOX |
7162 |
< |
## ------------------------------------ ## |
7163 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7164 |
< |
## ------------------------------------ ## |
7165 |
< |
_ASBOX |
7166 |
< |
) | |
7167 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
7371 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5 |
7372 |
> |
echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;} |
7373 |
> |
ac_header_preproc=yes |
7374 |
|
;; |
7375 |
< |
no:yes ) |
7375 |
> |
no:yes:* ) |
7376 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
7377 |
|
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
7378 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7379 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
7378 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7379 |
> |
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;} |
7384 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7385 |
|
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;} |
7388 |
|
( |
7389 |
|
cat <<\_ASBOX |
7390 |
< |
## ------------------------------------ ## |
7391 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7392 |
< |
## ------------------------------------ ## |
7390 |
> |
## ------------------------------ ## |
7391 |
> |
## Report this to gezelter@nd.edu ## |
7392 |
> |
## ------------------------------ ## |
7393 |
|
_ASBOX |
7394 |
|
) | |
7395 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7416 |
|
ac_check_lib_save_LIBS=$LIBS |
7417 |
|
LIBS="-lmkl $LIBS" |
7418 |
|
cat >conftest.$ac_ext <<_ACEOF |
7207 |
– |
#line $LINENO "configure" |
7419 |
|
/* confdefs.h. */ |
7420 |
|
_ACEOF |
7421 |
|
cat confdefs.h >>conftest.$ac_ext |
7439 |
|
_ACEOF |
7440 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7441 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7442 |
< |
(eval $ac_link) 2>&5 |
7442 |
> |
(eval $ac_link) 2>conftest.er1 |
7443 |
|
ac_status=$? |
7444 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7445 |
+ |
rm -f conftest.er1 |
7446 |
+ |
cat conftest.err >&5 |
7447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7448 |
|
(exit $ac_status); } && |
7449 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7449 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7450 |
> |
|| test ! -s conftest.err' |
7451 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7452 |
|
(eval $ac_try) 2>&5 |
7453 |
|
ac_status=$? |
7454 |
|
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 |
7461 |
|
(exit $ac_status); }; }; then |
7462 |
|
ac_cv_lib_mkl_vslNewStream=yes |
7463 |
|
else |
7466 |
|
|
7467 |
|
ac_cv_lib_mkl_vslNewStream=no |
7468 |
|
fi |
7469 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7469 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7470 |
> |
conftest$ac_exeext conftest.$ac_ext |
7471 |
|
LIBS=$ac_check_lib_save_LIBS |
7472 |
|
fi |
7473 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
7605 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7606 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7607 |
|
sed -n \ |
7608 |
< |
"s/'/'\\\\''/g; |
7609 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7608 |
> |
"s/'/'\\\\''/g; |
7609 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7610 |
|
;; |
7611 |
|
*) |
7612 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7613 |
|
sed -n \ |
7614 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7614 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7615 |
|
;; |
7616 |
|
esac; |
7617 |
|
} | |
7641 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
7642 |
|
# (actually we leave an empty line to preserve line numbers). |
7643 |
|
if test "x$srcdir" = x.; then |
7644 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7644 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7645 |
|
s/:*\$(srcdir):*/:/; |
7646 |
|
s/:*\${srcdir}:*/:/; |
7647 |
|
s/:*@srcdir@:*/:/; |
7648 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
7648 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
7649 |
|
s/:*$//; |
7650 |
< |
s/^[^=]*=[ ]*$//; |
7650 |
> |
s/^[^=]*=[ ]*$//; |
7651 |
|
}' |
7652 |
|
fi |
7653 |
|
|
7658 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7659 |
|
# 1. Remove the extension, and $U if already installed. |
7660 |
|
ac_i=`echo "$ac_i" | |
7661 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7661 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7662 |
|
# 2. Add them. |
7663 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
7664 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
7702 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
7703 |
|
set -o posix |
7704 |
|
fi |
7705 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
7706 |
|
|
7707 |
|
# Support unset when possible. |
7708 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
7708 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
7709 |
|
as_unset=unset |
7710 |
|
else |
7711 |
|
as_unset=false |
7724 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
7725 |
|
LC_TELEPHONE LC_TIME |
7726 |
|
do |
7727 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7727 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7728 |
|
eval $as_var=C; export $as_var |
7729 |
|
else |
7730 |
|
$as_unset $as_var |
7903 |
|
if mkdir -p . 2>/dev/null; then |
7904 |
|
as_mkdir_p=: |
7905 |
|
else |
7906 |
+ |
test -d ./-p && rmdir ./-p |
7907 |
|
as_mkdir_p=false |
7908 |
|
fi |
7909 |
|
|
7910 |
|
as_executable_p="test -f" |
7911 |
|
|
7912 |
|
# Sed expression to map a string onto a valid CPP name. |
7913 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
7913 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
7914 |
|
|
7915 |
|
# Sed expression to map a string onto a valid variable name. |
7916 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
7916 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
7917 |
|
|
7918 |
|
|
7919 |
|
# IFS |
7940 |
|
cat >&5 <<_CSEOF |
7941 |
|
|
7942 |
|
This file was extended by OOPSE $as_me 1.0, which was |
7943 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
7943 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
7944 |
|
|
7945 |
|
CONFIG_FILES = $CONFIG_FILES |
7946 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
7984 |
|
-d, --debug don't remove temporary files |
7985 |
|
--recheck update $as_me by reconfiguring in the same conditions |
7986 |
|
--file=FILE[:TEMPLATE] |
7987 |
< |
instantiate the configuration file FILE |
7987 |
> |
instantiate the configuration file FILE |
7988 |
|
--header=FILE[:TEMPLATE] |
7989 |
< |
instantiate the configuration header FILE |
7989 |
> |
instantiate the configuration header FILE |
7990 |
|
|
7991 |
|
Configuration files: |
7992 |
|
$config_files |
8003 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
8004 |
|
ac_cs_version="\\ |
8005 |
|
OOPSE config.status 1.0 |
8006 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
8006 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
8007 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
8008 |
|
|
8009 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
7786 |
< |
Free Software Foundation, Inc. |
8009 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
8010 |
|
This config.status script is free software; the Free Software Foundation |
8011 |
|
gives unlimited permission to copy, distribute and modify it." |
8012 |
|
srcdir=$srcdir |
8126 |
|
"samples/water/ssd/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssd/Makefile" ;; |
8127 |
|
"samples/water/ssde/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssde/Makefile" ;; |
8128 |
|
"samples/water/tip4p/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip4p/Makefile" ;; |
8129 |
< |
"third-party/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS third-party/getopt.h:third-party/gnugetopt.h" ;; |
8129 |
> |
"utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;; |
8130 |
|
"libBASS/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libBASS/config.h" ;; |
8131 |
|
"libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
8132 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
8248 |
|
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
8249 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
8250 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
8028 |
– |
s,@OTHERLIBS@,$OTHERLIBS,;t t |
8251 |
|
s,@CPP@,$CPP,;t t |
8252 |
|
s,@EGREP@,$EGREP,;t t |
8253 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
8313 |
|
(echo ':t |
8314 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
8315 |
|
if test -z "$ac_sed_cmds"; then |
8316 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8316 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8317 |
|
else |
8318 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8318 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8319 |
|
fi |
8320 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
8321 |
|
ac_beg=$ac_end |
8333 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8334 |
|
case $ac_file in |
8335 |
|
- | *:- | *:-:* ) # input from stdin |
8336 |
< |
cat >$tmp/stdin |
8337 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8338 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8336 |
> |
cat >$tmp/stdin |
8337 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8338 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8339 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8340 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8340 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8341 |
|
* ) ac_file_in=$ac_file.in ;; |
8342 |
|
esac |
8343 |
|
|
8344 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
8345 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8346 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8347 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8348 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8349 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8350 |
< |
. : '\(.\)' 2>/dev/null || |
8347 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8348 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8349 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8350 |
> |
. : '\(.\)' 2>/dev/null || |
8351 |
|
echo X"$ac_file" | |
8352 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8353 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8363 |
|
as_dirs="$as_dir $as_dirs" |
8364 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8365 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8366 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8367 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8368 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8369 |
< |
. : '\(.\)' 2>/dev/null || |
8366 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8367 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8368 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8369 |
> |
. : '\(.\)' 2>/dev/null || |
8370 |
|
echo X"$as_dir" | |
8371 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8372 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8404 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8405 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8406 |
|
esac |
8185 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
8186 |
– |
# absolute. |
8187 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
8188 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
8189 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
8190 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
8407 |
|
|
8408 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8409 |
+ |
# the directories may not exist. |
8410 |
+ |
case `pwd` in |
8411 |
+ |
.) ac_abs_builddir="$ac_dir";; |
8412 |
+ |
*) |
8413 |
+ |
case "$ac_dir" in |
8414 |
+ |
.) ac_abs_builddir=`pwd`;; |
8415 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
8416 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
8417 |
+ |
esac;; |
8418 |
+ |
esac |
8419 |
+ |
case $ac_abs_builddir in |
8420 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8421 |
+ |
*) |
8422 |
+ |
case ${ac_top_builddir}. in |
8423 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8424 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8425 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8426 |
+ |
esac;; |
8427 |
+ |
esac |
8428 |
+ |
case $ac_abs_builddir in |
8429 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
8430 |
+ |
*) |
8431 |
+ |
case $ac_srcdir in |
8432 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8433 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8434 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8435 |
+ |
esac;; |
8436 |
+ |
esac |
8437 |
+ |
case $ac_abs_builddir in |
8438 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8439 |
+ |
*) |
8440 |
+ |
case $ac_top_srcdir in |
8441 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8442 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8443 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8444 |
+ |
esac;; |
8445 |
+ |
esac |
8446 |
|
|
8447 |
+ |
|
8448 |
|
case $INSTALL in |
8449 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
8450 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
8464 |
|
configure_input="$ac_file. " |
8465 |
|
fi |
8466 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
8467 |
< |
sed 's,.*/,,'` by configure." |
8467 |
> |
sed 's,.*/,,'` by configure." |
8468 |
|
|
8469 |
|
# First look for the input files in the build tree, otherwise in the |
8470 |
|
# src tree. |
8473 |
|
case $f in |
8474 |
|
-) echo $tmp/stdin ;; |
8475 |
|
[\\/$]*) |
8476 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8477 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8476 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8477 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8478 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8479 |
|
{ (exit 1); exit 1; }; } |
8480 |
< |
echo $f;; |
8480 |
> |
echo "$f";; |
8481 |
|
*) # Relative |
8482 |
< |
if test -f "$f"; then |
8483 |
< |
# Build tree |
8484 |
< |
echo $f |
8485 |
< |
elif test -f "$srcdir/$f"; then |
8486 |
< |
# Source tree |
8487 |
< |
echo $srcdir/$f |
8488 |
< |
else |
8489 |
< |
# /dev/null tree |
8490 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8482 |
> |
if test -f "$f"; then |
8483 |
> |
# Build tree |
8484 |
> |
echo "$f" |
8485 |
> |
elif test -f "$srcdir/$f"; then |
8486 |
> |
# Source tree |
8487 |
> |
echo "$srcdir/$f" |
8488 |
> |
else |
8489 |
> |
# /dev/null tree |
8490 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8491 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8492 |
|
{ (exit 1); exit 1; }; } |
8493 |
< |
fi;; |
8493 |
> |
fi;; |
8494 |
|
esac |
8495 |
|
done` || { (exit 1); exit 1; } |
8496 |
|
_ACEOF |
8532 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
8533 |
|
# |
8534 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
8535 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8536 |
< |
ac_dB='[ ].*$,\1#\2' |
8535 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8536 |
> |
ac_dB='[ ].*$,\1#\2' |
8537 |
|
ac_dC=' ' |
8538 |
|
ac_dD=',;t' |
8539 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
8540 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8540 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8541 |
|
ac_uB='$,\1#\2define\3' |
8542 |
|
ac_uC=' ' |
8543 |
|
ac_uD=',;t' |
8546 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8547 |
|
case $ac_file in |
8548 |
|
- | *:- | *:-:* ) # input from stdin |
8549 |
< |
cat >$tmp/stdin |
8550 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8551 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8549 |
> |
cat >$tmp/stdin |
8550 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8551 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8552 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8553 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8553 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8554 |
|
* ) ac_file_in=$ac_file.in ;; |
8555 |
|
esac |
8556 |
|
|
8564 |
|
case $f in |
8565 |
|
-) echo $tmp/stdin ;; |
8566 |
|
[\\/$]*) |
8567 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8568 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8567 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8568 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8569 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8570 |
|
{ (exit 1); exit 1; }; } |
8571 |
< |
echo $f;; |
8571 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
8572 |
> |
echo "$f";; |
8573 |
|
*) # Relative |
8574 |
< |
if test -f "$f"; then |
8575 |
< |
# Build tree |
8576 |
< |
echo $f |
8577 |
< |
elif test -f "$srcdir/$f"; then |
8578 |
< |
# Source tree |
8579 |
< |
echo $srcdir/$f |
8580 |
< |
else |
8581 |
< |
# /dev/null tree |
8582 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8574 |
> |
if test -f "$f"; then |
8575 |
> |
# Build tree |
8576 |
> |
echo "$f" |
8577 |
> |
elif test -f "$srcdir/$f"; then |
8578 |
> |
# Source tree |
8579 |
> |
echo "$srcdir/$f" |
8580 |
> |
else |
8581 |
> |
# /dev/null tree |
8582 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8583 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8584 |
|
{ (exit 1); exit 1; }; } |
8585 |
< |
fi;; |
8585 |
> |
fi;; |
8586 |
|
esac |
8587 |
|
done` || { (exit 1); exit 1; } |
8588 |
|
# Remove the trailing spaces. |
8589 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8589 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8590 |
|
|
8591 |
|
_ACEOF |
8592 |
|
|
8609 |
|
s,[\\$`],\\&,g |
8610 |
|
t clear |
8611 |
|
: clear |
8612 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
8612 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
8613 |
|
t end |
8614 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
8614 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
8615 |
|
: end |
8616 |
|
_ACEOF |
8617 |
|
# If some macros were called several times there might be several times |
8625 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
8626 |
|
# on some systems where configure will not decide to define it. |
8627 |
|
cat >>conftest.undefs <<\_ACEOF |
8628 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
8628 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
8629 |
|
_ACEOF |
8630 |
|
|
8631 |
|
# Break up conftest.defines because some shells have a limit on the size |
8632 |
|
# of here documents, and old seds have small limits too (100 cmds). |
8633 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
8634 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
8634 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
8635 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
8636 |
|
echo ' :' >>$CONFIG_STATUS |
8637 |
|
rm -f conftest.tail |
8640 |
|
# Write a limited-size here document to $tmp/defines.sed. |
8641 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
8642 |
|
# Speed up: don't consider the non `#define' lines. |
8643 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
8643 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
8644 |
|
# Work around the forget-to-reset-the-flag bug. |
8645 |
|
echo 't clr' >>$CONFIG_STATUS |
8646 |
|
echo ': clr' >>$CONFIG_STATUS |
8667 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
8668 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
8669 |
|
# Speed up: don't consider the non `#undef' |
8670 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
8670 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
8671 |
|
# Work around the forget-to-reset-the-flag bug. |
8672 |
|
echo 't clr' >>$CONFIG_STATUS |
8673 |
|
echo ': clr' >>$CONFIG_STATUS |
8701 |
|
else |
8702 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8703 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8704 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8705 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8706 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8707 |
< |
. : '\(.\)' 2>/dev/null || |
8704 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8705 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8706 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8707 |
> |
. : '\(.\)' 2>/dev/null || |
8708 |
|
echo X"$ac_file" | |
8709 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8710 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8720 |
|
as_dirs="$as_dir $as_dirs" |
8721 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8722 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8723 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8724 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8725 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8726 |
< |
. : '\(.\)' 2>/dev/null || |
8723 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8724 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8725 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8726 |
> |
. : '\(.\)' 2>/dev/null || |
8727 |
|
echo X"$as_dir" | |
8728 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8729 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8768 |
|
# Make relative symlinks. |
8769 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
8770 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8771 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
8772 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
8773 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
8774 |
< |
. : '\(.\)' 2>/dev/null || |
8771 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
8772 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
8773 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
8774 |
> |
. : '\(.\)' 2>/dev/null || |
8775 |
|
echo X"$ac_dest" | |
8776 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8777 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8787 |
|
as_dirs="$as_dir $as_dirs" |
8788 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8789 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8790 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8791 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8792 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8793 |
< |
. : '\(.\)' 2>/dev/null || |
8790 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8791 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8792 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8793 |
> |
. : '\(.\)' 2>/dev/null || |
8794 |
|
echo X"$as_dir" | |
8795 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8796 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8828 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8829 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8830 |
|
esac |
8575 |
– |
# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be |
8576 |
– |
# absolute. |
8577 |
– |
ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` |
8578 |
– |
ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` |
8579 |
– |
ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` |
8580 |
– |
ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` |
8831 |
|
|
8832 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
8833 |
+ |
# the directories may not exist. |
8834 |
+ |
case `pwd` in |
8835 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
8836 |
+ |
*) |
8837 |
+ |
case "$ac_dest_dir" in |
8838 |
+ |
.) ac_abs_builddir=`pwd`;; |
8839 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
8840 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
8841 |
+ |
esac;; |
8842 |
+ |
esac |
8843 |
+ |
case $ac_abs_builddir in |
8844 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
8845 |
+ |
*) |
8846 |
+ |
case ${ac_top_builddir}. in |
8847 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
8848 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
8849 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
8850 |
+ |
esac;; |
8851 |
+ |
esac |
8852 |
+ |
case $ac_abs_builddir in |
8853 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
8854 |
+ |
*) |
8855 |
+ |
case $ac_srcdir in |
8856 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
8857 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
8858 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
8859 |
+ |
esac;; |
8860 |
+ |
esac |
8861 |
+ |
case $ac_abs_builddir in |
8862 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
8863 |
+ |
*) |
8864 |
+ |
case $ac_top_srcdir in |
8865 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
8866 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
8867 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
8868 |
+ |
esac;; |
8869 |
+ |
esac |
8870 |
|
|
8871 |
+ |
|
8872 |
|
case $srcdir in |
8873 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
8874 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |