1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.59 for OOPSE 1.0. |
3 |
> |
# Generated by GNU Autoconf 2.57 for OOPSE 1.0. |
4 |
|
# |
5 |
|
# Report bugs to <gezelter@nd.edu>. |
6 |
|
# |
7 |
< |
# Copyright (C) 2003 Free Software Foundation, Inc. |
7 |
> |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
> |
# Free Software Foundation, Inc. |
9 |
|
# This configure script is free software; the Free Software Foundation |
10 |
|
# gives unlimited permission to copy, distribute and modify it. |
11 |
|
## --------------------- ## |
22 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 |
|
set -o posix |
24 |
|
fi |
24 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
< |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
27 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
28 |
|
as_unset=unset |
29 |
|
else |
30 |
|
as_unset=false |
43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
|
LC_TELEPHONE LC_TIME |
45 |
|
do |
46 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
46 |
> |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
|
eval $as_var=C; export $as_var |
48 |
|
else |
49 |
|
$as_unset $as_var |
220 |
|
if mkdir -p . 2>/dev/null; then |
221 |
|
as_mkdir_p=: |
222 |
|
else |
223 |
– |
test -d ./-p && rmdir ./-p |
223 |
|
as_mkdir_p=false |
224 |
|
fi |
225 |
|
|
226 |
|
as_executable_p="test -f" |
227 |
|
|
228 |
|
# Sed expression to map a string onto a valid CPP name. |
229 |
< |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 |
> |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
|
|
231 |
|
# Sed expression to map a string onto a valid variable name. |
232 |
< |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 |
> |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
|
|
234 |
|
|
235 |
|
# IFS |
311 |
|
# include <unistd.h> |
312 |
|
#endif" |
313 |
|
|
314 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
314 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC 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_files='' |
316 |
|
|
317 |
|
# Initialize some variables set by options. |
670 |
|
|
671 |
|
# Be sure to have absolute paths. |
672 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
673 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
673 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
674 |
|
do |
675 |
|
eval ac_val=$`echo $ac_var` |
676 |
|
case $ac_val in |
710 |
|
# Try the directory containing this script, then its parent. |
711 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
712 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
713 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
714 |
< |
X"$0" : 'X\(//\)$' \| \ |
715 |
< |
X"$0" : 'X\(/\)' \| \ |
716 |
< |
. : '\(.\)' 2>/dev/null || |
713 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
714 |
> |
X"$0" : 'X\(//\)$' \| \ |
715 |
> |
X"$0" : 'X\(/\)' \| \ |
716 |
> |
. : '\(.\)' 2>/dev/null || |
717 |
|
echo X"$0" | |
718 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
719 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
821 |
|
cat <<_ACEOF |
822 |
|
Installation directories: |
823 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
824 |
< |
[$ac_default_prefix] |
824 |
> |
[$ac_default_prefix] |
825 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
826 |
< |
[PREFIX] |
826 |
> |
[PREFIX] |
827 |
|
|
828 |
|
By default, \`make install' will install all the files in |
829 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
925 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
926 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
927 |
|
esac |
928 |
< |
|
929 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
930 |
< |
# the directories may not exist. |
931 |
< |
case `pwd` in |
932 |
< |
.) ac_abs_builddir="$ac_dir";; |
933 |
< |
*) |
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 |
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` |
934 |
|
|
935 |
|
cd $ac_dir |
936 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
941 |
|
echo |
942 |
|
$SHELL $ac_srcdir/configure --help=recursive |
943 |
|
elif test -f $ac_srcdir/configure.ac || |
944 |
< |
test -f $ac_srcdir/configure.in; then |
944 |
> |
test -f $ac_srcdir/configure.in; then |
945 |
|
echo |
946 |
|
$ac_configure --help |
947 |
|
else |
955 |
|
if $ac_init_version; then |
956 |
|
cat <<\_ACEOF |
957 |
|
OOPSE configure 1.0 |
958 |
< |
generated by GNU Autoconf 2.59 |
958 |
> |
generated by GNU Autoconf 2.57 |
959 |
|
|
960 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
960 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
961 |
> |
Free Software Foundation, Inc. |
962 |
|
This configure script is free software; the Free Software Foundation |
963 |
|
gives unlimited permission to copy, distribute and modify it. |
964 |
|
_ACEOF |
970 |
|
running configure, to aid debugging if configure makes a mistake. |
971 |
|
|
972 |
|
It was created by OOPSE $as_me 1.0, which was |
973 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
973 |
> |
generated by GNU Autoconf 2.57. Invocation command line was |
974 |
|
|
975 |
|
$ $0 $@ |
976 |
|
|
1047 |
|
2) |
1048 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1049 |
|
if test $ac_must_keep_next = true; then |
1050 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1050 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1051 |
|
else |
1052 |
< |
case $ac_arg in |
1053 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1054 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1055 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1056 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1057 |
< |
case "$ac_configure_args0 " in |
1058 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1059 |
< |
esac |
1060 |
< |
;; |
1061 |
< |
-* ) ac_must_keep_next=true ;; |
1062 |
< |
esac |
1052 |
> |
case $ac_arg in |
1053 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1054 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1055 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1056 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1057 |
> |
case "$ac_configure_args0 " in |
1058 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1059 |
> |
esac |
1060 |
> |
;; |
1061 |
> |
-* ) ac_must_keep_next=true ;; |
1062 |
> |
esac |
1063 |
|
fi |
1064 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1065 |
|
# Get rid of the leading space. |
1093 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1094 |
|
*ac_space=\ *) |
1095 |
|
sed -n \ |
1096 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1097 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1096 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1097 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1098 |
|
;; |
1099 |
|
*) |
1100 |
|
sed -n \ |
1101 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1101 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1102 |
|
;; |
1103 |
|
esac; |
1104 |
|
} |
1127 |
|
for ac_var in $ac_subst_files |
1128 |
|
do |
1129 |
|
eval ac_val=$`echo $ac_var` |
1130 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1130 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1131 |
|
done | sort |
1132 |
|
echo |
1133 |
|
fi |
1146 |
|
echo "$as_me: caught signal $ac_signal" |
1147 |
|
echo "$as_me: exit $exit_status" |
1148 |
|
} >&5 |
1149 |
< |
rm -f core *.core && |
1149 |
> |
rm -f core core.* *.core && |
1150 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1151 |
|
exit $exit_status |
1152 |
|
' 0 |
1226 |
|
# value. |
1227 |
|
ac_cache_corrupted=false |
1228 |
|
for ac_var in `(set) 2>&1 | |
1229 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1229 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1230 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1231 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1232 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1243 |
|
,);; |
1244 |
|
*) |
1245 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1246 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1246 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1247 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1248 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1248 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1249 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1250 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1250 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1251 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1252 |
< |
ac_cache_corrupted=: |
1252 |
> |
ac_cache_corrupted=: |
1253 |
|
fi;; |
1254 |
|
esac |
1255 |
|
# Pass precious variables to config.status. |
2033 |
|
(exit $ac_status); } |
2034 |
|
|
2035 |
|
cat >conftest.$ac_ext <<_ACEOF |
2036 |
+ |
#line $LINENO "configure" |
2037 |
|
/* confdefs.h. */ |
2038 |
|
_ACEOF |
2039 |
|
cat confdefs.h >>conftest.$ac_ext |
2053 |
|
# Try to create an executable without -o first, disregard a.out. |
2054 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2055 |
|
# of exeext. |
2056 |
< |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2057 |
< |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2056 |
> |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2057 |
> |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2058 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2059 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2060 |
|
(eval $ac_link_default) 2>&5 |
2074 |
|
test -f "$ac_file" || continue |
2075 |
|
case $ac_file in |
2076 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2077 |
< |
;; |
2077 |
> |
;; |
2078 |
|
conftest.$ac_ext ) |
2079 |
< |
# This is the source file. |
2080 |
< |
;; |
2079 |
> |
# This is the source file. |
2080 |
> |
;; |
2081 |
|
[ab].out ) |
2082 |
< |
# We found the default executable, but exeext='' is most |
2083 |
< |
# certainly right. |
2084 |
< |
break;; |
2082 |
> |
# We found the default executable, but exeext='' is most |
2083 |
> |
# certainly right. |
2084 |
> |
break;; |
2085 |
|
*.* ) |
2086 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2087 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2088 |
< |
# but it would be cool to find out if it's true. Does anybody |
2089 |
< |
# maintain Libtool? --akim. |
2090 |
< |
export ac_cv_exeext |
2091 |
< |
break;; |
2086 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2087 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2088 |
> |
# but it would be cool to find out if it's true. Does anybody |
2089 |
> |
# maintain Libtool? --akim. |
2090 |
> |
export ac_cv_exeext |
2091 |
> |
break;; |
2092 |
|
* ) |
2093 |
< |
break;; |
2093 |
> |
break;; |
2094 |
|
esac |
2095 |
|
done |
2096 |
|
else |
2164 |
|
case $ac_file in |
2165 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2166 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2167 |
< |
export ac_cv_exeext |
2168 |
< |
break;; |
2167 |
> |
export ac_cv_exeext |
2168 |
> |
break;; |
2169 |
|
* ) break;; |
2170 |
|
esac |
2171 |
|
done |
2190 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2191 |
|
else |
2192 |
|
cat >conftest.$ac_ext <<_ACEOF |
2193 |
+ |
#line $LINENO "configure" |
2194 |
|
/* confdefs.h. */ |
2195 |
|
_ACEOF |
2196 |
|
cat confdefs.h >>conftest.$ac_ext |
2241 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2242 |
|
else |
2243 |
|
cat >conftest.$ac_ext <<_ACEOF |
2244 |
+ |
#line $LINENO "configure" |
2245 |
|
/* confdefs.h. */ |
2246 |
|
_ACEOF |
2247 |
|
cat confdefs.h >>conftest.$ac_ext |
2261 |
|
_ACEOF |
2262 |
|
rm -f conftest.$ac_objext |
2263 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2264 |
< |
(eval $ac_compile) 2>conftest.er1 |
2264 |
> |
(eval $ac_compile) 2>&5 |
2265 |
|
ac_status=$? |
2296 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2297 |
– |
rm -f conftest.er1 |
2298 |
– |
cat conftest.err >&5 |
2266 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2267 |
|
(exit $ac_status); } && |
2268 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2302 |
< |
|| test ! -s conftest.err' |
2268 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2269 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2270 |
|
(eval $ac_try) 2>&5 |
2271 |
|
ac_status=$? |
2272 |
|
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 |
2273 |
|
(exit $ac_status); }; }; then |
2274 |
|
ac_compiler_gnu=yes |
2275 |
|
else |
2278 |
|
|
2279 |
|
ac_compiler_gnu=no |
2280 |
|
fi |
2281 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2281 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2282 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2283 |
|
|
2284 |
|
fi |
2294 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2295 |
|
else |
2296 |
|
cat >conftest.$ac_ext <<_ACEOF |
2297 |
+ |
#line $LINENO "configure" |
2298 |
|
/* confdefs.h. */ |
2299 |
|
_ACEOF |
2300 |
|
cat confdefs.h >>conftest.$ac_ext |
2311 |
|
_ACEOF |
2312 |
|
rm -f conftest.$ac_objext |
2313 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2314 |
< |
(eval $ac_compile) 2>conftest.er1 |
2314 |
> |
(eval $ac_compile) 2>&5 |
2315 |
|
ac_status=$? |
2355 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2356 |
– |
rm -f conftest.er1 |
2357 |
– |
cat conftest.err >&5 |
2316 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2317 |
|
(exit $ac_status); } && |
2318 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2361 |
< |
|| test ! -s conftest.err' |
2318 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2319 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2320 |
|
(eval $ac_try) 2>&5 |
2321 |
|
ac_status=$? |
2322 |
|
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 |
2323 |
|
(exit $ac_status); }; }; then |
2324 |
|
ac_cv_prog_cc_g=yes |
2325 |
|
else |
2328 |
|
|
2329 |
|
ac_cv_prog_cc_g=no |
2330 |
|
fi |
2331 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2331 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2332 |
|
fi |
2333 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2334 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2355 |
|
ac_cv_prog_cc_stdc=no |
2356 |
|
ac_save_CC=$CC |
2357 |
|
cat >conftest.$ac_ext <<_ACEOF |
2358 |
+ |
#line $LINENO "configure" |
2359 |
|
/* confdefs.h. */ |
2360 |
|
_ACEOF |
2361 |
|
cat confdefs.h >>conftest.$ac_ext |
2383 |
|
va_end (v); |
2384 |
|
return s; |
2385 |
|
} |
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 |
– |
|
2386 |
|
int test (int i, double x); |
2387 |
|
struct s1 {int (*f) (int a);}; |
2388 |
|
struct s2 {int (*f) (double a);}; |
2409 |
|
CC="$ac_save_CC $ac_arg" |
2410 |
|
rm -f conftest.$ac_objext |
2411 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2412 |
< |
(eval $ac_compile) 2>conftest.er1 |
2412 |
> |
(eval $ac_compile) 2>&5 |
2413 |
|
ac_status=$? |
2472 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2473 |
– |
rm -f conftest.er1 |
2474 |
– |
cat conftest.err >&5 |
2414 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2415 |
|
(exit $ac_status); } && |
2416 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2478 |
< |
|| test ! -s conftest.err' |
2416 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2417 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2418 |
|
(eval $ac_try) 2>&5 |
2419 |
|
ac_status=$? |
2420 |
|
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 |
2421 |
|
(exit $ac_status); }; }; then |
2422 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2423 |
|
break |
2426 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2427 |
|
|
2428 |
|
fi |
2429 |
< |
rm -f conftest.err conftest.$ac_objext |
2429 |
> |
rm -f conftest.$ac_objext |
2430 |
|
done |
2431 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2432 |
|
CC=$ac_save_CC |
2454 |
|
_ACEOF |
2455 |
|
rm -f conftest.$ac_objext |
2456 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2457 |
< |
(eval $ac_compile) 2>conftest.er1 |
2457 |
> |
(eval $ac_compile) 2>&5 |
2458 |
|
ac_status=$? |
2527 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2528 |
– |
rm -f conftest.er1 |
2529 |
– |
cat conftest.err >&5 |
2459 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2460 |
|
(exit $ac_status); } && |
2461 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2533 |
< |
|| test ! -s conftest.err' |
2461 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2462 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2463 |
|
(eval $ac_try) 2>&5 |
2464 |
|
ac_status=$? |
2465 |
|
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 |
2466 |
|
(exit $ac_status); }; }; then |
2467 |
|
for ac_declaration in \ |
2468 |
< |
'' \ |
2468 |
> |
''\ |
2469 |
> |
'#include <stdlib.h>' \ |
2470 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2471 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2472 |
|
'extern "C" void exit (int) throw ();' \ |
2474 |
|
'void exit (int);' |
2475 |
|
do |
2476 |
|
cat >conftest.$ac_ext <<_ACEOF |
2477 |
+ |
#line $LINENO "configure" |
2478 |
|
/* confdefs.h. */ |
2479 |
|
_ACEOF |
2480 |
|
cat confdefs.h >>conftest.$ac_ext |
2481 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2482 |
|
/* end confdefs.h. */ |
2559 |
– |
$ac_declaration |
2483 |
|
#include <stdlib.h> |
2484 |
+ |
$ac_declaration |
2485 |
|
int |
2486 |
|
main () |
2487 |
|
{ |
2492 |
|
_ACEOF |
2493 |
|
rm -f conftest.$ac_objext |
2494 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2495 |
< |
(eval $ac_compile) 2>conftest.er1 |
2495 |
> |
(eval $ac_compile) 2>&5 |
2496 |
|
ac_status=$? |
2573 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2574 |
– |
rm -f conftest.er1 |
2575 |
– |
cat conftest.err >&5 |
2497 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2498 |
|
(exit $ac_status); } && |
2499 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2579 |
< |
|| test ! -s conftest.err' |
2499 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2500 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2501 |
|
(eval $ac_try) 2>&5 |
2502 |
|
ac_status=$? |
2503 |
|
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 |
2504 |
|
(exit $ac_status); }; }; then |
2505 |
|
: |
2506 |
|
else |
2509 |
|
|
2510 |
|
continue |
2511 |
|
fi |
2512 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2512 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2513 |
|
cat >conftest.$ac_ext <<_ACEOF |
2514 |
+ |
#line $LINENO "configure" |
2515 |
|
/* confdefs.h. */ |
2516 |
|
_ACEOF |
2517 |
|
cat confdefs.h >>conftest.$ac_ext |
2528 |
|
_ACEOF |
2529 |
|
rm -f conftest.$ac_objext |
2530 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2531 |
< |
(eval $ac_compile) 2>conftest.er1 |
2531 |
> |
(eval $ac_compile) 2>&5 |
2532 |
|
ac_status=$? |
2618 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2619 |
– |
rm -f conftest.er1 |
2620 |
– |
cat conftest.err >&5 |
2533 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2534 |
|
(exit $ac_status); } && |
2535 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
2624 |
< |
|| test ! -s conftest.err' |
2535 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2536 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2537 |
|
(eval $ac_try) 2>&5 |
2538 |
|
ac_status=$? |
2539 |
|
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 |
2540 |
|
(exit $ac_status); }; }; then |
2541 |
|
break |
2542 |
|
else |
2544 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2545 |
|
|
2546 |
|
fi |
2547 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2547 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2548 |
|
done |
2549 |
|
rm -f conftest* |
2550 |
|
if test -n "$ac_declaration"; then |
2558 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2559 |
|
|
2560 |
|
fi |
2561 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2561 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2562 |
|
ac_ext=c |
2563 |
|
ac_cpp='$CPP $CPPFLAGS' |
2564 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2685 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2686 |
|
else |
2687 |
|
cat >conftest.$ac_ext <<_ACEOF |
2688 |
+ |
#line $LINENO "configure" |
2689 |
|
/* confdefs.h. */ |
2690 |
|
_ACEOF |
2691 |
|
cat confdefs.h >>conftest.$ac_ext |
2705 |
|
_ACEOF |
2706 |
|
rm -f conftest.$ac_objext |
2707 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2708 |
< |
(eval $ac_compile) 2>conftest.er1 |
2708 |
> |
(eval $ac_compile) 2>&5 |
2709 |
|
ac_status=$? |
2804 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2805 |
– |
rm -f conftest.er1 |
2806 |
– |
cat conftest.err >&5 |
2710 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2711 |
|
(exit $ac_status); } && |
2712 |
< |
{ 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' |
2712 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2713 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2714 |
|
(eval $ac_try) 2>&5 |
2715 |
|
ac_status=$? |
2722 |
|
|
2723 |
|
ac_compiler_gnu=no |
2724 |
|
fi |
2725 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2725 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2726 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2727 |
|
|
2728 |
|
fi |
2738 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2739 |
|
else |
2740 |
|
cat >conftest.$ac_ext <<_ACEOF |
2741 |
+ |
#line $LINENO "configure" |
2742 |
|
/* confdefs.h. */ |
2743 |
|
_ACEOF |
2744 |
|
cat confdefs.h >>conftest.$ac_ext |
2755 |
|
_ACEOF |
2756 |
|
rm -f conftest.$ac_objext |
2757 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2758 |
< |
(eval $ac_compile) 2>conftest.er1 |
2758 |
> |
(eval $ac_compile) 2>&5 |
2759 |
|
ac_status=$? |
2863 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2864 |
– |
rm -f conftest.er1 |
2865 |
– |
cat conftest.err >&5 |
2760 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2761 |
|
(exit $ac_status); } && |
2762 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2869 |
< |
|| test ! -s conftest.err' |
2762 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2763 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2764 |
|
(eval $ac_try) 2>&5 |
2765 |
|
ac_status=$? |
2766 |
|
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 |
2767 |
|
(exit $ac_status); }; }; then |
2768 |
|
ac_cv_prog_cxx_g=yes |
2769 |
|
else |
2772 |
|
|
2773 |
|
ac_cv_prog_cxx_g=no |
2774 |
|
fi |
2775 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2775 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2776 |
|
fi |
2777 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2778 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2792 |
|
fi |
2793 |
|
fi |
2794 |
|
for ac_declaration in \ |
2795 |
< |
'' \ |
2795 |
> |
''\ |
2796 |
> |
'#include <stdlib.h>' \ |
2797 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2798 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2799 |
|
'extern "C" void exit (int) throw ();' \ |
2801 |
|
'void exit (int);' |
2802 |
|
do |
2803 |
|
cat >conftest.$ac_ext <<_ACEOF |
2804 |
+ |
#line $LINENO "configure" |
2805 |
|
/* confdefs.h. */ |
2806 |
|
_ACEOF |
2807 |
|
cat confdefs.h >>conftest.$ac_ext |
2808 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2809 |
|
/* end confdefs.h. */ |
2921 |
– |
$ac_declaration |
2810 |
|
#include <stdlib.h> |
2811 |
+ |
$ac_declaration |
2812 |
|
int |
2813 |
|
main () |
2814 |
|
{ |
2819 |
|
_ACEOF |
2820 |
|
rm -f conftest.$ac_objext |
2821 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2822 |
< |
(eval $ac_compile) 2>conftest.er1 |
2822 |
> |
(eval $ac_compile) 2>&5 |
2823 |
|
ac_status=$? |
2935 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2936 |
– |
rm -f conftest.er1 |
2937 |
– |
cat conftest.err >&5 |
2824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2825 |
|
(exit $ac_status); } && |
2826 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2941 |
< |
|| test ! -s conftest.err' |
2826 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2827 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2828 |
|
(eval $ac_try) 2>&5 |
2829 |
|
ac_status=$? |
2830 |
|
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 |
2831 |
|
(exit $ac_status); }; }; then |
2832 |
|
: |
2833 |
|
else |
2836 |
|
|
2837 |
|
continue |
2838 |
|
fi |
2839 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2839 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2840 |
|
cat >conftest.$ac_ext <<_ACEOF |
2841 |
+ |
#line $LINENO "configure" |
2842 |
|
/* confdefs.h. */ |
2843 |
|
_ACEOF |
2844 |
|
cat confdefs.h >>conftest.$ac_ext |
2855 |
|
_ACEOF |
2856 |
|
rm -f conftest.$ac_objext |
2857 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2858 |
< |
(eval $ac_compile) 2>conftest.er1 |
2858 |
> |
(eval $ac_compile) 2>&5 |
2859 |
|
ac_status=$? |
2980 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
2981 |
– |
rm -f conftest.er1 |
2982 |
– |
cat conftest.err >&5 |
2860 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2861 |
|
(exit $ac_status); } && |
2862 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2986 |
< |
|| test ! -s conftest.err' |
2862 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2863 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2864 |
|
(eval $ac_try) 2>&5 |
2865 |
|
ac_status=$? |
2866 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2991 |
– |
(exit $ac_status); }; } && |
2992 |
– |
{ ac_try='test -s conftest.$ac_objext' |
2993 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2994 |
– |
(eval $ac_try) 2>&5 |
2995 |
– |
ac_status=$? |
2996 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2867 |
|
(exit $ac_status); }; }; then |
2868 |
|
break |
2869 |
|
else |
2871 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2872 |
|
|
2873 |
|
fi |
2874 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2874 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
2875 |
|
done |
2876 |
|
rm -f conftest* |
2877 |
|
if test -n "$ac_declaration"; then |
3056 |
|
_ACEOF |
3057 |
|
rm -f conftest.$ac_objext |
3058 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3059 |
< |
(eval $ac_compile) 2>conftest.er1 |
3059 |
> |
(eval $ac_compile) 2>&5 |
3060 |
|
ac_status=$? |
3191 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3192 |
– |
rm -f conftest.er1 |
3193 |
– |
cat conftest.err >&5 |
3061 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3062 |
|
(exit $ac_status); } && |
3063 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3197 |
< |
|| test ! -s conftest.err' |
3063 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3064 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3065 |
|
(eval $ac_try) 2>&5 |
3066 |
|
ac_status=$? |
3067 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3202 |
– |
(exit $ac_status); }; } && |
3203 |
– |
{ ac_try='test -s conftest.$ac_objext' |
3204 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 |
– |
(eval $ac_try) 2>&5 |
3206 |
– |
ac_status=$? |
3207 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3068 |
|
(exit $ac_status); }; }; then |
3069 |
|
ac_compiler_gnu=yes |
3070 |
|
else |
3073 |
|
|
3074 |
|
ac_compiler_gnu=no |
3075 |
|
fi |
3076 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3076 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3077 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3078 |
|
|
3079 |
|
fi |
3147 |
|
_ACEOF |
3148 |
|
rm -f conftest.$ac_objext |
3149 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3150 |
< |
(eval $ac_compile) 2>conftest.er1 |
3150 |
> |
(eval $ac_compile) 2>&5 |
3151 |
|
ac_status=$? |
3292 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3293 |
– |
rm -f conftest.er1 |
3294 |
– |
cat conftest.err >&5 |
3152 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3153 |
|
(exit $ac_status); } && |
3154 |
< |
{ 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' |
3154 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3155 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3156 |
|
(eval $ac_try) 2>&5 |
3157 |
|
ac_status=$? |
3164 |
|
|
3165 |
|
prepflagworks=0 |
3166 |
|
fi |
3167 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3167 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3168 |
|
|
3169 |
|
F90FLAGS=$ac_save_F90FLAGS |
3170 |
|
ac_ext=$ac_save_ext |
3252 |
|
_ACEOF |
3253 |
|
rm -f conftest.$ac_objext |
3254 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3255 |
< |
(eval $ac_compile) 2>conftest.er1 |
3255 |
> |
(eval $ac_compile) 2>&5 |
3256 |
|
ac_status=$? |
3407 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3408 |
– |
rm -f conftest.er1 |
3409 |
– |
cat conftest.err >&5 |
3257 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3258 |
|
(exit $ac_status); } && |
3259 |
< |
{ 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' |
3259 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3260 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3261 |
|
(eval $ac_try) 2>&5 |
3262 |
|
ac_status=$? |
3269 |
|
|
3270 |
|
prepdefflagworks=0 |
3271 |
|
fi |
3272 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3272 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3273 |
|
|
3274 |
|
F90FLAGS=$ac_save_F90FLAGS |
3275 |
|
ac_ext=$ac_save_ext |
3321 |
|
_ACEOF |
3322 |
|
rm -f conftest.$ac_objext |
3323 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3324 |
< |
(eval $ac_compile) 2>conftest.er1 |
3324 |
> |
(eval $ac_compile) 2>&5 |
3325 |
|
ac_status=$? |
3486 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3487 |
– |
rm -f conftest.er1 |
3488 |
– |
cat conftest.err >&5 |
3326 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3327 |
|
(exit $ac_status); } && |
3328 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" |
3492 |
< |
|| test ! -s conftest.err' |
3328 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3329 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3330 |
|
(eval $ac_try) 2>&5 |
3331 |
|
ac_status=$? |
3332 |
|
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 |
3333 |
|
(exit $ac_status); }; }; then |
3334 |
|
ac_cv_prog_f90_v= |
3335 |
|
# Try some options frequently used verbose output |
3355 |
|
ac_save_F90FLAGS=$F90FLAGS |
3356 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3357 |
|
|
3358 |
< |
(eval echo $as_me:3528: \"$ac_link\") >&5 |
3358 |
> |
(eval echo $as_me:3358: \"$ac_link\") >&5 |
3359 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3360 |
|
echo "$ac_f90_v_output" >&5 |
3361 |
|
F90FLAGS=$ac_save_F90FLAGS |
3397 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3398 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3399 |
|
fi |
3400 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3400 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3401 |
|
|
3402 |
|
fi |
3403 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3432 |
|
ac_save_F90FLAGS=$F90FLAGS |
3433 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3434 |
|
|
3435 |
< |
(eval echo $as_me:3605: \"$ac_link\") >&5 |
3435 |
> |
(eval echo $as_me:3435: \"$ac_link\") >&5 |
3436 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3437 |
|
echo "$ac_f90_v_output" >&5 |
3438 |
|
F90FLAGS=$ac_save_F90FLAGS |
3614 |
|
_ACEOF |
3615 |
|
rm -f conftest.$ac_objext |
3616 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3617 |
< |
(eval $ac_compile) 2>conftest.er1 |
3617 |
> |
(eval $ac_compile) 2>&5 |
3618 |
|
ac_status=$? |
3789 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3790 |
– |
rm -f conftest.er1 |
3791 |
– |
cat conftest.err >&5 |
3619 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3620 |
|
(exit $ac_status); } && |
3621 |
< |
{ 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' |
3621 |
> |
{ ac_try='test -s conftest.$ac_objext' |
3622 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3623 |
|
(eval $ac_try) 2>&5 |
3624 |
|
ac_status=$? |
3640 |
|
for ac_underscore in "" "_"; do |
3641 |
|
ac_func="$ac_foobar$ac_underscore" |
3642 |
|
cat >conftest.$ac_ext <<_ACEOF |
3643 |
+ |
#line $LINENO "configure" |
3644 |
|
/* confdefs.h. */ |
3645 |
|
_ACEOF |
3646 |
|
cat confdefs.h >>conftest.$ac_ext |
3664 |
|
_ACEOF |
3665 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3666 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3667 |
< |
(eval $ac_link) 2>conftest.er1 |
3667 |
> |
(eval $ac_link) 2>&5 |
3668 |
|
ac_status=$? |
3848 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3849 |
– |
rm -f conftest.er1 |
3850 |
– |
cat conftest.err >&5 |
3669 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3670 |
|
(exit $ac_status); } && |
3671 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3854 |
< |
|| test ! -s conftest.err' |
3671 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3672 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3673 |
|
(eval $ac_try) 2>&5 |
3674 |
|
ac_status=$? |
3675 |
|
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 |
3676 |
|
(exit $ac_status); }; }; then |
3677 |
|
ac_success=yes; break 2 |
3678 |
|
else |
3680 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3681 |
|
|
3682 |
|
fi |
3683 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3873 |
< |
conftest$ac_exeext conftest.$ac_ext |
3683 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3684 |
|
done |
3685 |
|
done |
3686 |
|
|
3701 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3702 |
|
|
3703 |
|
cat >conftest.$ac_ext <<_ACEOF |
3704 |
+ |
#line $LINENO "configure" |
3705 |
|
/* confdefs.h. */ |
3706 |
|
_ACEOF |
3707 |
|
cat confdefs.h >>conftest.$ac_ext |
3725 |
|
_ACEOF |
3726 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3727 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3728 |
< |
(eval $ac_link) 2>conftest.er1 |
3728 |
> |
(eval $ac_link) 2>&5 |
3729 |
|
ac_status=$? |
3919 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
3920 |
– |
rm -f conftest.er1 |
3921 |
– |
cat conftest.err >&5 |
3730 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3731 |
|
(exit $ac_status); } && |
3732 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
3925 |
< |
|| test ! -s conftest.err' |
3732 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3733 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3734 |
|
(eval $ac_try) 2>&5 |
3735 |
|
ac_status=$? |
3736 |
|
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 |
3737 |
|
(exit $ac_status); }; }; then |
3738 |
|
ac_success_extra=yes; break |
3739 |
|
else |
3741 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3742 |
|
|
3743 |
|
fi |
3744 |
< |
rm -f conftest.err conftest.$ac_objext \ |
3944 |
< |
conftest$ac_exeext conftest.$ac_ext |
3744 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3745 |
|
done |
3746 |
|
|
3747 |
|
if test "$ac_success_extra" = "yes"; then |
3776 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3777 |
|
|
3778 |
|
fi |
3779 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3779 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
3780 |
|
ac_ext=f90 |
3781 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
3782 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4013 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4014 |
|
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 |
4085 |
+ |
|
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 |
+ |
|
4160 |
|
ac_ext=c |
4161 |
|
ac_cpp='$CPP $CPPFLAGS' |
4162 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4185 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4186 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4187 |
|
cat >conftest.$ac_ext <<_ACEOF |
4188 |
+ |
#line $LINENO "configure" |
4189 |
|
/* confdefs.h. */ |
4190 |
|
_ACEOF |
4191 |
|
cat confdefs.h >>conftest.$ac_ext |
4196 |
|
#else |
4197 |
|
# include <assert.h> |
4198 |
|
#endif |
4199 |
< |
Syntax error |
4199 |
> |
Syntax error |
4200 |
|
_ACEOF |
4201 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4202 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4208 |
|
(exit $ac_status); } >/dev/null; then |
4209 |
|
if test -s conftest.err; then |
4210 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4266 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4211 |
|
else |
4212 |
|
ac_cpp_err= |
4213 |
|
fi |
4228 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4229 |
|
# can be detected and how. |
4230 |
|
cat >conftest.$ac_ext <<_ACEOF |
4231 |
+ |
#line $LINENO "configure" |
4232 |
|
/* confdefs.h. */ |
4233 |
|
_ACEOF |
4234 |
|
cat confdefs.h >>conftest.$ac_ext |
4246 |
|
(exit $ac_status); } >/dev/null; then |
4247 |
|
if test -s conftest.err; then |
4248 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4304 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4249 |
|
else |
4250 |
|
ac_cpp_err= |
4251 |
|
fi |
4292 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4293 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4294 |
|
cat >conftest.$ac_ext <<_ACEOF |
4295 |
+ |
#line $LINENO "configure" |
4296 |
|
/* confdefs.h. */ |
4297 |
|
_ACEOF |
4298 |
|
cat confdefs.h >>conftest.$ac_ext |
4303 |
|
#else |
4304 |
|
# include <assert.h> |
4305 |
|
#endif |
4306 |
< |
Syntax error |
4306 |
> |
Syntax error |
4307 |
|
_ACEOF |
4308 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4309 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4315 |
|
(exit $ac_status); } >/dev/null; then |
4316 |
|
if test -s conftest.err; then |
4317 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4373 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4318 |
|
else |
4319 |
|
ac_cpp_err= |
4320 |
|
fi |
4335 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4336 |
|
# can be detected and how. |
4337 |
|
cat >conftest.$ac_ext <<_ACEOF |
4338 |
+ |
#line $LINENO "configure" |
4339 |
|
/* confdefs.h. */ |
4340 |
|
_ACEOF |
4341 |
|
cat confdefs.h >>conftest.$ac_ext |
4353 |
|
(exit $ac_status); } >/dev/null; then |
4354 |
|
if test -s conftest.err; then |
4355 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4411 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4356 |
|
else |
4357 |
|
ac_cpp_err= |
4358 |
|
fi |
4413 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4414 |
|
else |
4415 |
|
cat >conftest.$ac_ext <<_ACEOF |
4416 |
+ |
#line $LINENO "configure" |
4417 |
|
/* confdefs.h. */ |
4418 |
|
_ACEOF |
4419 |
|
cat confdefs.h >>conftest.$ac_ext |
4434 |
|
_ACEOF |
4435 |
|
rm -f conftest.$ac_objext |
4436 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4437 |
< |
(eval $ac_compile) 2>conftest.er1 |
4437 |
> |
(eval $ac_compile) 2>&5 |
4438 |
|
ac_status=$? |
4494 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4495 |
– |
rm -f conftest.er1 |
4496 |
– |
cat conftest.err >&5 |
4439 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4440 |
|
(exit $ac_status); } && |
4441 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4500 |
< |
|| test ! -s conftest.err' |
4441 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4442 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4443 |
|
(eval $ac_try) 2>&5 |
4444 |
|
ac_status=$? |
4445 |
|
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 |
4446 |
|
(exit $ac_status); }; }; then |
4447 |
|
ac_cv_header_stdc=yes |
4448 |
|
else |
4451 |
|
|
4452 |
|
ac_cv_header_stdc=no |
4453 |
|
fi |
4454 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4454 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4455 |
|
|
4456 |
|
if test $ac_cv_header_stdc = yes; then |
4457 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4458 |
|
cat >conftest.$ac_ext <<_ACEOF |
4459 |
+ |
#line $LINENO "configure" |
4460 |
|
/* confdefs.h. */ |
4461 |
|
_ACEOF |
4462 |
|
cat confdefs.h >>conftest.$ac_ext |
4478 |
|
if test $ac_cv_header_stdc = yes; then |
4479 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4480 |
|
cat >conftest.$ac_ext <<_ACEOF |
4481 |
+ |
#line $LINENO "configure" |
4482 |
|
/* confdefs.h. */ |
4483 |
|
_ACEOF |
4484 |
|
cat confdefs.h >>conftest.$ac_ext |
4503 |
|
: |
4504 |
|
else |
4505 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
+ |
#line $LINENO "configure" |
4507 |
|
/* confdefs.h. */ |
4508 |
|
_ACEOF |
4509 |
|
cat confdefs.h >>conftest.$ac_ext |
4515 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4516 |
|
#else |
4517 |
|
# define ISLOWER(c) \ |
4518 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4519 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4520 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4518 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4519 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4520 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4521 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4522 |
|
#endif |
4523 |
|
|
4528 |
|
int i; |
4529 |
|
for (i = 0; i < 256; i++) |
4530 |
|
if (XOR (islower (i), ISLOWER (i)) |
4531 |
< |
|| toupper (i) != TOUPPER (i)) |
4531 |
> |
|| toupper (i) != TOUPPER (i)) |
4532 |
|
exit(2); |
4533 |
|
exit (0); |
4534 |
|
} |
4553 |
|
( exit $ac_status ) |
4554 |
|
ac_cv_header_stdc=no |
4555 |
|
fi |
4556 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4556 |
> |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4557 |
|
fi |
4558 |
|
fi |
4559 |
|
fi |
4578 |
|
|
4579 |
|
|
4580 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4581 |
< |
inttypes.h stdint.h unistd.h |
4581 |
> |
inttypes.h stdint.h unistd.h |
4582 |
|
do |
4583 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4584 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4587 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4588 |
|
else |
4589 |
|
cat >conftest.$ac_ext <<_ACEOF |
4590 |
+ |
#line $LINENO "configure" |
4591 |
|
/* confdefs.h. */ |
4592 |
|
_ACEOF |
4593 |
|
cat confdefs.h >>conftest.$ac_ext |
4599 |
|
_ACEOF |
4600 |
|
rm -f conftest.$ac_objext |
4601 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4602 |
< |
(eval $ac_compile) 2>conftest.er1 |
4602 |
> |
(eval $ac_compile) 2>&5 |
4603 |
|
ac_status=$? |
4665 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4666 |
– |
rm -f conftest.er1 |
4667 |
– |
cat conftest.err >&5 |
4604 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4605 |
|
(exit $ac_status); } && |
4606 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4671 |
< |
|| test ! -s conftest.err' |
4606 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4607 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4608 |
|
(eval $ac_try) 2>&5 |
4609 |
|
ac_status=$? |
4610 |
|
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 |
4611 |
|
(exit $ac_status); }; }; then |
4612 |
|
eval "$as_ac_Header=yes" |
4613 |
|
else |
4616 |
|
|
4617 |
|
eval "$as_ac_Header=no" |
4618 |
|
fi |
4619 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4619 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4620 |
|
fi |
4621 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4622 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4650 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4651 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4652 |
|
cat >conftest.$ac_ext <<_ACEOF |
4653 |
+ |
#line $LINENO "configure" |
4654 |
|
/* confdefs.h. */ |
4655 |
|
_ACEOF |
4656 |
|
cat confdefs.h >>conftest.$ac_ext |
4661 |
|
_ACEOF |
4662 |
|
rm -f conftest.$ac_objext |
4663 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4664 |
< |
(eval $ac_compile) 2>conftest.er1 |
4664 |
> |
(eval $ac_compile) 2>&5 |
4665 |
|
ac_status=$? |
4736 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4737 |
– |
rm -f conftest.er1 |
4738 |
– |
cat conftest.err >&5 |
4666 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4667 |
|
(exit $ac_status); } && |
4668 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4742 |
< |
|| test ! -s conftest.err' |
4668 |
> |
{ ac_try='test -s conftest.$ac_objext' |
4669 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4670 |
|
(eval $ac_try) 2>&5 |
4671 |
|
ac_status=$? |
4672 |
|
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 |
4673 |
|
(exit $ac_status); }; }; then |
4674 |
|
ac_header_compiler=yes |
4675 |
|
else |
4678 |
|
|
4679 |
|
ac_header_compiler=no |
4680 |
|
fi |
4681 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4681 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
4682 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4683 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
4684 |
|
|
4686 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4687 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4688 |
|
cat >conftest.$ac_ext <<_ACEOF |
4689 |
+ |
#line $LINENO "configure" |
4690 |
|
/* confdefs.h. */ |
4691 |
|
_ACEOF |
4692 |
|
cat confdefs.h >>conftest.$ac_ext |
4704 |
|
(exit $ac_status); } >/dev/null; then |
4705 |
|
if test -s conftest.err; then |
4706 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4786 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4707 |
|
else |
4708 |
|
ac_cpp_err= |
4709 |
|
fi |
4723 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
4724 |
|
|
4725 |
|
# So? What about this header? |
4726 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4727 |
< |
yes:no: ) |
4726 |
> |
case $ac_header_compiler:$ac_header_preproc in |
4727 |
> |
yes:no ) |
4728 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4729 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4730 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4731 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4732 |
< |
ac_header_preproc=yes |
4730 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4731 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4732 |
> |
( |
4733 |
> |
cat <<\_ASBOX |
4734 |
> |
## ------------------------------------ ## |
4735 |
> |
## Report this to bug-autoconf@gnu.org. ## |
4736 |
> |
## ------------------------------------ ## |
4737 |
> |
_ASBOX |
4738 |
> |
) | |
4739 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
4740 |
|
;; |
4741 |
< |
no:yes:* ) |
4741 |
> |
no:yes ) |
4742 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4743 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4744 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4745 |
< |
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;} |
4744 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4745 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4746 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4747 |
|
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;} |
4748 |
|
( |
4749 |
|
cat <<\_ASBOX |
4750 |
< |
## ------------------------------ ## |
4751 |
< |
## Report this to gezelter@nd.edu ## |
4752 |
< |
## ------------------------------ ## |
4750 |
> |
## ------------------------------------ ## |
4751 |
> |
## Report this to bug-autoconf@gnu.org. ## |
4752 |
> |
## ------------------------------------ ## |
4753 |
|
_ASBOX |
4754 |
|
) | |
4755 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
4760 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4761 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4762 |
|
else |
4763 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
4763 |
> |
eval "$as_ac_Header=$ac_header_preproc" |
4764 |
|
fi |
4765 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4766 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4785 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4786 |
|
else |
4787 |
|
cat >conftest.$ac_ext <<_ACEOF |
4788 |
+ |
#line $LINENO "configure" |
4789 |
|
/* confdefs.h. */ |
4790 |
|
_ACEOF |
4791 |
|
cat confdefs.h >>conftest.$ac_ext |
4792 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4793 |
|
/* 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 |
– |
|
4794 |
|
/* System header to define __stub macros and hopefully few prototypes, |
4795 |
|
which can conflict with char $ac_func (); below. |
4796 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4797 |
|
<limits.h> exists even on freestanding compilers. */ |
4880 |
– |
|
4798 |
|
#ifdef __STDC__ |
4799 |
|
# include <limits.h> |
4800 |
|
#else |
4801 |
|
# include <assert.h> |
4802 |
|
#endif |
4886 |
– |
|
4887 |
– |
#undef $ac_func |
4888 |
– |
|
4803 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4804 |
|
#ifdef __cplusplus |
4805 |
|
extern "C" |
4830 |
|
_ACEOF |
4831 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4832 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4833 |
< |
(eval $ac_link) 2>conftest.er1 |
4833 |
> |
(eval $ac_link) 2>&5 |
4834 |
|
ac_status=$? |
4921 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4922 |
– |
rm -f conftest.er1 |
4923 |
– |
cat conftest.err >&5 |
4835 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4836 |
|
(exit $ac_status); } && |
4837 |
< |
{ 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' |
4837 |
> |
{ ac_try='test -s conftest$ac_exeext' |
4838 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4839 |
|
(eval $ac_try) 2>&5 |
4840 |
|
ac_status=$? |
4847 |
|
|
4848 |
|
eval "$as_ac_var=no" |
4849 |
|
fi |
4850 |
< |
rm -f conftest.err conftest.$ac_objext \ |
4947 |
< |
conftest$ac_exeext conftest.$ac_ext |
4850 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4851 |
|
fi |
4852 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4853 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4866 |
|
ac_check_lib_save_LIBS=$LIBS |
4867 |
|
LIBS="-lgnugetopt $LIBS" |
4868 |
|
cat >conftest.$ac_ext <<_ACEOF |
4869 |
+ |
#line $LINENO "configure" |
4870 |
|
/* confdefs.h. */ |
4871 |
|
_ACEOF |
4872 |
|
cat confdefs.h >>conftest.$ac_ext |
4890 |
|
_ACEOF |
4891 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4892 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4893 |
< |
(eval $ac_link) 2>conftest.er1 |
4893 |
> |
(eval $ac_link) 2>&5 |
4894 |
|
ac_status=$? |
4991 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4992 |
– |
rm -f conftest.er1 |
4993 |
– |
cat conftest.err >&5 |
4895 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4896 |
|
(exit $ac_status); } && |
4897 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
4997 |
< |
|| test ! -s conftest.err' |
4897 |
> |
{ ac_try='test -s conftest$ac_exeext' |
4898 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4899 |
|
(eval $ac_try) 2>&5 |
4900 |
|
ac_status=$? |
4901 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5002 |
– |
(exit $ac_status); }; } && |
5003 |
– |
{ ac_try='test -s conftest$ac_exeext' |
5004 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5005 |
– |
(eval $ac_try) 2>&5 |
5006 |
– |
ac_status=$? |
5007 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4902 |
|
(exit $ac_status); }; }; then |
4903 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
4904 |
|
else |
4907 |
|
|
4908 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
4909 |
|
fi |
4910 |
< |
rm -f conftest.err conftest.$ac_objext \ |
5017 |
< |
conftest$ac_exeext conftest.$ac_ext |
4910 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4911 |
|
LIBS=$ac_check_lib_save_LIBS |
4912 |
|
fi |
4913 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
4919 |
|
|
4920 |
|
else |
4921 |
|
# use the GNU replacement |
4922 |
< |
case $LIBOBJS in |
4923 |
< |
"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 |
< |
|
4922 |
> |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
4923 |
> |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
4924 |
|
ac_config_links="$ac_config_links third-party/getopt.h:third-party/gnugetopt.h" |
4925 |
|
|
4926 |
|
fi |
5969 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
5970 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5971 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
6093 |
– |
# OS/2's system install, which has a completely different semantic |
5972 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
5973 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5974 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5985 |
|
case $as_dir/ in |
5986 |
|
./ | .// | /cC/* | \ |
5987 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
6110 |
– |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
5988 |
|
/usr/ucb/* ) ;; |
5989 |
|
*) |
5990 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
5992 |
|
# by default. |
5993 |
|
for ac_prog in ginstall scoinst install; do |
5994 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5995 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5996 |
< |
if test $ac_prog = install && |
5997 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5998 |
< |
# AIX install. It has an incompatible calling convention. |
5999 |
< |
: |
6000 |
< |
elif test $ac_prog = install && |
6001 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6002 |
< |
# program-specific install script used by HP pwplus--don't use. |
6003 |
< |
: |
6004 |
< |
else |
6005 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6006 |
< |
break 3 |
6007 |
< |
fi |
6008 |
< |
fi |
5995 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5996 |
> |
if test $ac_prog = install && |
5997 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5998 |
> |
# AIX install. It has an incompatible calling convention. |
5999 |
> |
: |
6000 |
> |
elif test $ac_prog = install && |
6001 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
6002 |
> |
# program-specific install script used by HP pwplus--don't use. |
6003 |
> |
: |
6004 |
> |
else |
6005 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
6006 |
> |
break 3 |
6007 |
> |
fi |
6008 |
> |
fi |
6009 |
|
done |
6010 |
|
done |
6011 |
|
;; |
6048 |
|
|
6049 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6050 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
6051 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
6051 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
6052 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
6053 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6054 |
|
else |
6247 |
|
ac_check_lib_save_LIBS=$LIBS |
6248 |
|
LIBS="-lfl $LIBS" |
6249 |
|
cat >conftest.$ac_ext <<_ACEOF |
6250 |
+ |
#line $LINENO "configure" |
6251 |
|
/* confdefs.h. */ |
6252 |
|
_ACEOF |
6253 |
|
cat confdefs.h >>conftest.$ac_ext |
6271 |
|
_ACEOF |
6272 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6273 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6274 |
< |
(eval $ac_link) 2>conftest.er1 |
6274 |
> |
(eval $ac_link) 2>&5 |
6275 |
|
ac_status=$? |
6398 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6399 |
– |
rm -f conftest.er1 |
6400 |
– |
cat conftest.err >&5 |
6276 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6277 |
|
(exit $ac_status); } && |
6278 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6404 |
< |
|| test ! -s conftest.err' |
6278 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6279 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6280 |
|
(eval $ac_try) 2>&5 |
6281 |
|
ac_status=$? |
6282 |
|
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 |
6283 |
|
(exit $ac_status); }; }; then |
6284 |
|
ac_cv_lib_fl_yywrap=yes |
6285 |
|
else |
6288 |
|
|
6289 |
|
ac_cv_lib_fl_yywrap=no |
6290 |
|
fi |
6291 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6424 |
< |
conftest$ac_exeext conftest.$ac_ext |
6291 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6292 |
|
LIBS=$ac_check_lib_save_LIBS |
6293 |
|
fi |
6294 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
6304 |
|
ac_check_lib_save_LIBS=$LIBS |
6305 |
|
LIBS="-ll $LIBS" |
6306 |
|
cat >conftest.$ac_ext <<_ACEOF |
6307 |
+ |
#line $LINENO "configure" |
6308 |
|
/* confdefs.h. */ |
6309 |
|
_ACEOF |
6310 |
|
cat confdefs.h >>conftest.$ac_ext |
6328 |
|
_ACEOF |
6329 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6330 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6331 |
< |
(eval $ac_link) 2>conftest.er1 |
6331 |
> |
(eval $ac_link) 2>&5 |
6332 |
|
ac_status=$? |
6465 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6466 |
– |
rm -f conftest.er1 |
6467 |
– |
cat conftest.err >&5 |
6333 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6334 |
|
(exit $ac_status); } && |
6335 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6471 |
< |
|| test ! -s conftest.err' |
6335 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6336 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6337 |
|
(eval $ac_try) 2>&5 |
6338 |
|
ac_status=$? |
6339 |
|
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 |
6340 |
|
(exit $ac_status); }; }; then |
6341 |
|
ac_cv_lib_l_yywrap=yes |
6342 |
|
else |
6345 |
|
|
6346 |
|
ac_cv_lib_l_yywrap=no |
6347 |
|
fi |
6348 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6491 |
< |
conftest$ac_exeext conftest.$ac_ext |
6348 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6349 |
|
LIBS=$ac_check_lib_save_LIBS |
6350 |
|
fi |
6351 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
6407 |
|
_ACEOF |
6408 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6409 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6410 |
< |
(eval $ac_link) 2>conftest.er1 |
6410 |
> |
(eval $ac_link) 2>&5 |
6411 |
|
ac_status=$? |
6555 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6556 |
– |
rm -f conftest.er1 |
6557 |
– |
cat conftest.err >&5 |
6412 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6413 |
|
(exit $ac_status); } && |
6414 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6561 |
< |
|| test ! -s conftest.err' |
6414 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6415 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6416 |
|
(eval $ac_try) 2>&5 |
6417 |
|
ac_status=$? |
6418 |
|
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 |
6419 |
|
(exit $ac_status); }; }; then |
6420 |
|
ac_cv_prog_lex_yytext_pointer=yes |
6421 |
|
else |
6423 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6424 |
|
|
6425 |
|
fi |
6426 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6580 |
< |
conftest$ac_exeext conftest.$ac_ext |
6426 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6427 |
|
LIBS=$ac_save_LIBS |
6428 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
6429 |
|
|
6507 |
|
# `set' does not quote correctly, so add quotes (double-quote |
6508 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
6509 |
|
sed -n \ |
6510 |
< |
"s/'/'\\\\''/g; |
6511 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6510 |
> |
"s/'/'\\\\''/g; |
6511 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6512 |
|
;; |
6513 |
|
*) |
6514 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
6515 |
|
sed -n \ |
6516 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6516 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6517 |
|
;; |
6518 |
|
esac; |
6519 |
|
} | |
6635 |
|
ac_check_lib_save_LIBS=$LIBS |
6636 |
|
LIBS="-lmpi $LIBS" |
6637 |
|
cat >conftest.$ac_ext <<_ACEOF |
6638 |
+ |
#line $LINENO "configure" |
6639 |
|
/* confdefs.h. */ |
6640 |
|
_ACEOF |
6641 |
|
cat confdefs.h >>conftest.$ac_ext |
6659 |
|
_ACEOF |
6660 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6661 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6662 |
< |
(eval $ac_link) 2>conftest.er1 |
6662 |
> |
(eval $ac_link) 2>&5 |
6663 |
|
ac_status=$? |
6817 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6818 |
– |
rm -f conftest.er1 |
6819 |
– |
cat conftest.err >&5 |
6664 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6665 |
|
(exit $ac_status); } && |
6666 |
< |
{ 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' |
6666 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6667 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6668 |
|
(eval $ac_try) 2>&5 |
6669 |
|
ac_status=$? |
6676 |
|
|
6677 |
|
ac_cv_lib_mpi_MPI_Init=no |
6678 |
|
fi |
6679 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6843 |
< |
conftest$ac_exeext conftest.$ac_ext |
6679 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6680 |
|
LIBS=$ac_check_lib_save_LIBS |
6681 |
|
fi |
6682 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
6695 |
|
ac_check_lib_save_LIBS=$LIBS |
6696 |
|
LIBS="-lmpich $LIBS" |
6697 |
|
cat >conftest.$ac_ext <<_ACEOF |
6698 |
+ |
#line $LINENO "configure" |
6699 |
|
/* confdefs.h. */ |
6700 |
|
_ACEOF |
6701 |
|
cat confdefs.h >>conftest.$ac_ext |
6719 |
|
_ACEOF |
6720 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6721 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6722 |
< |
(eval $ac_link) 2>conftest.er1 |
6722 |
> |
(eval $ac_link) 2>&5 |
6723 |
|
ac_status=$? |
6887 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6888 |
– |
rm -f conftest.er1 |
6889 |
– |
cat conftest.err >&5 |
6724 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6725 |
|
(exit $ac_status); } && |
6726 |
< |
{ 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' |
6726 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6727 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6728 |
|
(eval $ac_try) 2>&5 |
6729 |
|
ac_status=$? |
6736 |
|
|
6737 |
|
ac_cv_lib_mpich_MPI_Init=no |
6738 |
|
fi |
6739 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6913 |
< |
conftest$ac_exeext conftest.$ac_ext |
6739 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6740 |
|
LIBS=$ac_check_lib_save_LIBS |
6741 |
|
fi |
6742 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
6756 |
|
ac_check_lib_save_LIBS=$LIBS |
6757 |
|
LIBS="-lmpi "-llam" $LIBS" |
6758 |
|
cat >conftest.$ac_ext <<_ACEOF |
6759 |
+ |
#line $LINENO "configure" |
6760 |
|
/* confdefs.h. */ |
6761 |
|
_ACEOF |
6762 |
|
cat confdefs.h >>conftest.$ac_ext |
6780 |
|
_ACEOF |
6781 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6782 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6783 |
< |
(eval $ac_link) 2>conftest.er1 |
6783 |
> |
(eval $ac_link) 2>&5 |
6784 |
|
ac_status=$? |
6958 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
6959 |
– |
rm -f conftest.er1 |
6960 |
– |
cat conftest.err >&5 |
6785 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6786 |
|
(exit $ac_status); } && |
6787 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
6964 |
< |
|| test ! -s conftest.err' |
6787 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6788 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6789 |
|
(eval $ac_try) 2>&5 |
6790 |
|
ac_status=$? |
6791 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6969 |
– |
(exit $ac_status); }; } && |
6970 |
– |
{ ac_try='test -s conftest$ac_exeext' |
6971 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6972 |
– |
(eval $ac_try) 2>&5 |
6973 |
– |
ac_status=$? |
6974 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6792 |
|
(exit $ac_status); }; }; then |
6793 |
|
ac_cv_lib_mpi_MPI_Init=yes |
6794 |
|
else |
6797 |
|
|
6798 |
|
ac_cv_lib_mpi_MPI_Init=no |
6799 |
|
fi |
6800 |
< |
rm -f conftest.err conftest.$ac_objext \ |
6984 |
< |
conftest$ac_exeext conftest.$ac_ext |
6800 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6801 |
|
LIBS=$ac_check_lib_save_LIBS |
6802 |
|
fi |
6803 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
6818 |
|
ac_check_lib_save_LIBS=$LIBS |
6819 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
6820 |
|
cat >conftest.$ac_ext <<_ACEOF |
6821 |
+ |
#line $LINENO "configure" |
6822 |
|
/* confdefs.h. */ |
6823 |
|
_ACEOF |
6824 |
|
cat confdefs.h >>conftest.$ac_ext |
6842 |
|
_ACEOF |
6843 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6844 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6845 |
< |
(eval $ac_link) 2>conftest.er1 |
6845 |
> |
(eval $ac_link) 2>&5 |
6846 |
|
ac_status=$? |
7030 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7031 |
– |
rm -f conftest.er1 |
7032 |
– |
cat conftest.err >&5 |
6847 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6848 |
|
(exit $ac_status); } && |
6849 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7036 |
< |
|| test ! -s conftest.err' |
6849 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6850 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6851 |
|
(eval $ac_try) 2>&5 |
6852 |
|
ac_status=$? |
6853 |
|
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 |
6854 |
|
(exit $ac_status); }; }; then |
6855 |
|
ac_cv_lib_mpi_MPI_Init=yes |
6856 |
|
else |
6859 |
|
|
6860 |
|
ac_cv_lib_mpi_MPI_Init=no |
6861 |
|
fi |
6862 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7056 |
< |
conftest$ac_exeext conftest.$ac_ext |
6862 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6863 |
|
LIBS=$ac_check_lib_save_LIBS |
6864 |
|
fi |
6865 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
6961 |
|
ac_check_lib_save_LIBS=$LIBS |
6962 |
|
LIBS="-lsprng $LIBS" |
6963 |
|
cat >conftest.$ac_ext <<_ACEOF |
6964 |
+ |
#line $LINENO "configure" |
6965 |
|
/* confdefs.h. */ |
6966 |
|
_ACEOF |
6967 |
|
cat confdefs.h >>conftest.$ac_ext |
6985 |
|
_ACEOF |
6986 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6987 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6988 |
< |
(eval $ac_link) 2>conftest.er1 |
6988 |
> |
(eval $ac_link) 2>&5 |
6989 |
|
ac_status=$? |
7183 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7184 |
– |
rm -f conftest.er1 |
7185 |
– |
cat conftest.err >&5 |
6990 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6991 |
|
(exit $ac_status); } && |
6992 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7189 |
< |
|| test ! -s conftest.err' |
6992 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6993 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6994 |
|
(eval $ac_try) 2>&5 |
6995 |
|
ac_status=$? |
6996 |
|
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 |
6997 |
|
(exit $ac_status); }; }; then |
6998 |
|
ac_cv_lib_sprng_init_rng=yes |
6999 |
|
else |
7002 |
|
|
7003 |
|
ac_cv_lib_sprng_init_rng=no |
7004 |
|
fi |
7005 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7209 |
< |
conftest$ac_exeext conftest.$ac_ext |
7005 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7006 |
|
LIBS=$ac_check_lib_save_LIBS |
7007 |
|
fi |
7008 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
7078 |
|
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
7079 |
|
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
7080 |
|
cat >conftest.$ac_ext <<_ACEOF |
7081 |
+ |
#line $LINENO "configure" |
7082 |
|
/* confdefs.h. */ |
7083 |
|
_ACEOF |
7084 |
|
cat confdefs.h >>conftest.$ac_ext |
7089 |
|
_ACEOF |
7090 |
|
rm -f conftest.$ac_objext |
7091 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7092 |
< |
(eval $ac_compile) 2>conftest.er1 |
7092 |
> |
(eval $ac_compile) 2>&5 |
7093 |
|
ac_status=$? |
7297 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7298 |
– |
rm -f conftest.er1 |
7299 |
– |
cat conftest.err >&5 |
7094 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7095 |
|
(exit $ac_status); } && |
7096 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
7303 |
< |
|| test ! -s conftest.err' |
7096 |
> |
{ ac_try='test -s conftest.$ac_objext' |
7097 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7098 |
|
(eval $ac_try) 2>&5 |
7099 |
|
ac_status=$? |
7100 |
|
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 |
7101 |
|
(exit $ac_status); }; }; then |
7102 |
|
ac_header_compiler=yes |
7103 |
|
else |
7106 |
|
|
7107 |
|
ac_header_compiler=no |
7108 |
|
fi |
7109 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7109 |
> |
rm -f conftest.$ac_objext conftest.$ac_ext |
7110 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7111 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7112 |
|
|
7114 |
|
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
7115 |
|
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
7116 |
|
cat >conftest.$ac_ext <<_ACEOF |
7117 |
+ |
#line $LINENO "configure" |
7118 |
|
/* confdefs.h. */ |
7119 |
|
_ACEOF |
7120 |
|
cat confdefs.h >>conftest.$ac_ext |
7132 |
|
(exit $ac_status); } >/dev/null; then |
7133 |
|
if test -s conftest.err; then |
7134 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7347 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7135 |
|
else |
7136 |
|
ac_cpp_err= |
7137 |
|
fi |
7151 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7152 |
|
|
7153 |
|
# So? What about this header? |
7154 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7155 |
< |
yes:no: ) |
7154 |
> |
case $ac_header_compiler:$ac_header_preproc in |
7155 |
> |
yes:no ) |
7156 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7157 |
|
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7158 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5 |
7159 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;} |
7160 |
< |
ac_header_preproc=yes |
7158 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7159 |
> |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
7160 |
> |
( |
7161 |
> |
cat <<\_ASBOX |
7162 |
> |
## ------------------------------------ ## |
7163 |
> |
## Report this to bug-autoconf@gnu.org. ## |
7164 |
> |
## ------------------------------------ ## |
7165 |
> |
_ASBOX |
7166 |
> |
) | |
7167 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
7168 |
|
;; |
7169 |
< |
no:yes:* ) |
7169 |
> |
no:yes ) |
7170 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
7171 |
|
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
7172 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7173 |
< |
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;} |
7172 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
7173 |
> |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
7174 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
7175 |
|
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;} |
7176 |
|
( |
7177 |
|
cat <<\_ASBOX |
7178 |
< |
## ------------------------------ ## |
7179 |
< |
## Report this to gezelter@nd.edu ## |
7180 |
< |
## ------------------------------ ## |
7178 |
> |
## ------------------------------------ ## |
7179 |
> |
## Report this to bug-autoconf@gnu.org. ## |
7180 |
> |
## ------------------------------------ ## |
7181 |
|
_ASBOX |
7182 |
|
) | |
7183 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7204 |
|
ac_check_lib_save_LIBS=$LIBS |
7205 |
|
LIBS="-lmkl $LIBS" |
7206 |
|
cat >conftest.$ac_ext <<_ACEOF |
7207 |
+ |
#line $LINENO "configure" |
7208 |
|
/* confdefs.h. */ |
7209 |
|
_ACEOF |
7210 |
|
cat confdefs.h >>conftest.$ac_ext |
7228 |
|
_ACEOF |
7229 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7230 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7231 |
< |
(eval $ac_link) 2>conftest.er1 |
7231 |
> |
(eval $ac_link) 2>&5 |
7232 |
|
ac_status=$? |
7444 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
7445 |
– |
rm -f conftest.er1 |
7446 |
– |
cat conftest.err >&5 |
7233 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7234 |
|
(exit $ac_status); } && |
7235 |
< |
{ 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' |
7235 |
> |
{ ac_try='test -s conftest$ac_exeext' |
7236 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7237 |
|
(eval $ac_try) 2>&5 |
7238 |
|
ac_status=$? |
7245 |
|
|
7246 |
|
ac_cv_lib_mkl_vslNewStream=no |
7247 |
|
fi |
7248 |
< |
rm -f conftest.err conftest.$ac_objext \ |
7470 |
< |
conftest$ac_exeext conftest.$ac_ext |
7248 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7249 |
|
LIBS=$ac_check_lib_save_LIBS |
7250 |
|
fi |
7251 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
7383 |
|
# `set' does not quote correctly, so add quotes (double-quote |
7384 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
7385 |
|
sed -n \ |
7386 |
< |
"s/'/'\\\\''/g; |
7387 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7386 |
> |
"s/'/'\\\\''/g; |
7387 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7388 |
|
;; |
7389 |
|
*) |
7390 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
7391 |
|
sed -n \ |
7392 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7392 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7393 |
|
;; |
7394 |
|
esac; |
7395 |
|
} | |
7419 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
7420 |
|
# (actually we leave an empty line to preserve line numbers). |
7421 |
|
if test "x$srcdir" = x.; then |
7422 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7422 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7423 |
|
s/:*\$(srcdir):*/:/; |
7424 |
|
s/:*\${srcdir}:*/:/; |
7425 |
|
s/:*@srcdir@:*/:/; |
7426 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
7426 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
7427 |
|
s/:*$//; |
7428 |
< |
s/^[^=]*=[ ]*$//; |
7428 |
> |
s/^[^=]*=[ ]*$//; |
7429 |
|
}' |
7430 |
|
fi |
7431 |
|
|
7436 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7437 |
|
# 1. Remove the extension, and $U if already installed. |
7438 |
|
ac_i=`echo "$ac_i" | |
7439 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7439 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7440 |
|
# 2. Add them. |
7441 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
7442 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
7480 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
7481 |
|
set -o posix |
7482 |
|
fi |
7705 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
7483 |
|
|
7484 |
|
# Support unset when possible. |
7485 |
< |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
7485 |
> |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
7486 |
|
as_unset=unset |
7487 |
|
else |
7488 |
|
as_unset=false |
7501 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
7502 |
|
LC_TELEPHONE LC_TIME |
7503 |
|
do |
7504 |
< |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7504 |
> |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7505 |
|
eval $as_var=C; export $as_var |
7506 |
|
else |
7507 |
|
$as_unset $as_var |
7680 |
|
if mkdir -p . 2>/dev/null; then |
7681 |
|
as_mkdir_p=: |
7682 |
|
else |
7906 |
– |
test -d ./-p && rmdir ./-p |
7683 |
|
as_mkdir_p=false |
7684 |
|
fi |
7685 |
|
|
7686 |
|
as_executable_p="test -f" |
7687 |
|
|
7688 |
|
# Sed expression to map a string onto a valid CPP name. |
7689 |
< |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
7689 |
> |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
7690 |
|
|
7691 |
|
# Sed expression to map a string onto a valid variable name. |
7692 |
< |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
7692 |
> |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
7693 |
|
|
7694 |
|
|
7695 |
|
# IFS |
7716 |
|
cat >&5 <<_CSEOF |
7717 |
|
|
7718 |
|
This file was extended by OOPSE $as_me 1.0, which was |
7719 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
7719 |
> |
generated by GNU Autoconf 2.57. Invocation command line was |
7720 |
|
|
7721 |
|
CONFIG_FILES = $CONFIG_FILES |
7722 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
7760 |
|
-d, --debug don't remove temporary files |
7761 |
|
--recheck update $as_me by reconfiguring in the same conditions |
7762 |
|
--file=FILE[:TEMPLATE] |
7763 |
< |
instantiate the configuration file FILE |
7763 |
> |
instantiate the configuration file FILE |
7764 |
|
--header=FILE[:TEMPLATE] |
7765 |
< |
instantiate the configuration header FILE |
7765 |
> |
instantiate the configuration header FILE |
7766 |
|
|
7767 |
|
Configuration files: |
7768 |
|
$config_files |
7779 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
7780 |
|
ac_cs_version="\\ |
7781 |
|
OOPSE config.status 1.0 |
7782 |
< |
configured by $0, generated by GNU Autoconf 2.59, |
7782 |
> |
configured by $0, generated by GNU Autoconf 2.57, |
7783 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
7784 |
|
|
7785 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
7785 |
> |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
7786 |
> |
Free Software Foundation, Inc. |
7787 |
|
This config.status script is free software; the Free Software Foundation |
7788 |
|
gives unlimited permission to copy, distribute and modify it." |
7789 |
|
srcdir=$srcdir |
8025 |
|
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
8026 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
8027 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
8028 |
+ |
s,@OTHERLIBS@,$OTHERLIBS,;t t |
8029 |
|
s,@CPP@,$CPP,;t t |
8030 |
|
s,@EGREP@,$EGREP,;t t |
8031 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
8091 |
|
(echo ':t |
8092 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
8093 |
|
if test -z "$ac_sed_cmds"; then |
8094 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8094 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
8095 |
|
else |
8096 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8096 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
8097 |
|
fi |
8098 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
8099 |
|
ac_beg=$ac_end |
8111 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8112 |
|
case $ac_file in |
8113 |
|
- | *:- | *:-:* ) # input from stdin |
8114 |
< |
cat >$tmp/stdin |
8115 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8116 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8114 |
> |
cat >$tmp/stdin |
8115 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8116 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8117 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8118 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8118 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8119 |
|
* ) ac_file_in=$ac_file.in ;; |
8120 |
|
esac |
8121 |
|
|
8122 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
8123 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8124 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8125 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8126 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8127 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8128 |
< |
. : '\(.\)' 2>/dev/null || |
8125 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8126 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8127 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8128 |
> |
. : '\(.\)' 2>/dev/null || |
8129 |
|
echo X"$ac_file" | |
8130 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8131 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8141 |
|
as_dirs="$as_dir $as_dirs" |
8142 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8143 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8144 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8145 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8146 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8147 |
< |
. : '\(.\)' 2>/dev/null || |
8144 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8145 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8146 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8147 |
> |
. : '\(.\)' 2>/dev/null || |
8148 |
|
echo X"$as_dir" | |
8149 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8150 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8182 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8183 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8184 |
|
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` |
8191 |
|
|
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 |
8192 |
|
|
8447 |
– |
|
8193 |
|
case $INSTALL in |
8194 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
8195 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
8209 |
|
configure_input="$ac_file. " |
8210 |
|
fi |
8211 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
8212 |
< |
sed 's,.*/,,'` by configure." |
8212 |
> |
sed 's,.*/,,'` by configure." |
8213 |
|
|
8214 |
|
# First look for the input files in the build tree, otherwise in the |
8215 |
|
# src tree. |
8218 |
|
case $f in |
8219 |
|
-) echo $tmp/stdin ;; |
8220 |
|
[\\/$]*) |
8221 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8222 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8221 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8222 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8223 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8224 |
|
{ (exit 1); exit 1; }; } |
8225 |
< |
echo "$f";; |
8225 |
> |
echo $f;; |
8226 |
|
*) # Relative |
8227 |
< |
if test -f "$f"; then |
8228 |
< |
# Build tree |
8229 |
< |
echo "$f" |
8230 |
< |
elif test -f "$srcdir/$f"; then |
8231 |
< |
# Source tree |
8232 |
< |
echo "$srcdir/$f" |
8233 |
< |
else |
8234 |
< |
# /dev/null tree |
8235 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8227 |
> |
if test -f "$f"; then |
8228 |
> |
# Build tree |
8229 |
> |
echo $f |
8230 |
> |
elif test -f "$srcdir/$f"; then |
8231 |
> |
# Source tree |
8232 |
> |
echo $srcdir/$f |
8233 |
> |
else |
8234 |
> |
# /dev/null tree |
8235 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8236 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8237 |
|
{ (exit 1); exit 1; }; } |
8238 |
< |
fi;; |
8238 |
> |
fi;; |
8239 |
|
esac |
8240 |
|
done` || { (exit 1); exit 1; } |
8241 |
|
_ACEOF |
8277 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
8278 |
|
# |
8279 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
8280 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8281 |
< |
ac_dB='[ ].*$,\1#\2' |
8280 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
8281 |
> |
ac_dB='[ ].*$,\1#\2' |
8282 |
|
ac_dC=' ' |
8283 |
|
ac_dD=',;t' |
8284 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
8285 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8285 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
8286 |
|
ac_uB='$,\1#\2define\3' |
8287 |
|
ac_uC=' ' |
8288 |
|
ac_uD=',;t' |
8291 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8292 |
|
case $ac_file in |
8293 |
|
- | *:- | *:-:* ) # input from stdin |
8294 |
< |
cat >$tmp/stdin |
8295 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8296 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8294 |
> |
cat >$tmp/stdin |
8295 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8296 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8297 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8298 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8298 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8299 |
|
* ) ac_file_in=$ac_file.in ;; |
8300 |
|
esac |
8301 |
|
|
8309 |
|
case $f in |
8310 |
|
-) echo $tmp/stdin ;; |
8311 |
|
[\\/$]*) |
8312 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
8313 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8312 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
8313 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8314 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8315 |
|
{ (exit 1); exit 1; }; } |
8316 |
< |
# Do quote $f, to prevent DOS paths from being IFS'd. |
8572 |
< |
echo "$f";; |
8316 |
> |
echo $f;; |
8317 |
|
*) # Relative |
8318 |
< |
if test -f "$f"; then |
8319 |
< |
# Build tree |
8320 |
< |
echo "$f" |
8321 |
< |
elif test -f "$srcdir/$f"; then |
8322 |
< |
# Source tree |
8323 |
< |
echo "$srcdir/$f" |
8324 |
< |
else |
8325 |
< |
# /dev/null tree |
8326 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8318 |
> |
if test -f "$f"; then |
8319 |
> |
# Build tree |
8320 |
> |
echo $f |
8321 |
> |
elif test -f "$srcdir/$f"; then |
8322 |
> |
# Source tree |
8323 |
> |
echo $srcdir/$f |
8324 |
> |
else |
8325 |
> |
# /dev/null tree |
8326 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
8327 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
8328 |
|
{ (exit 1); exit 1; }; } |
8329 |
< |
fi;; |
8329 |
> |
fi;; |
8330 |
|
esac |
8331 |
|
done` || { (exit 1); exit 1; } |
8332 |
|
# Remove the trailing spaces. |
8333 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8333 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8334 |
|
|
8335 |
|
_ACEOF |
8336 |
|
|
8353 |
|
s,[\\$`],\\&,g |
8354 |
|
t clear |
8355 |
|
: clear |
8356 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
8356 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
8357 |
|
t end |
8358 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
8358 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
8359 |
|
: end |
8360 |
|
_ACEOF |
8361 |
|
# If some macros were called several times there might be several times |
8369 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
8370 |
|
# on some systems where configure will not decide to define it. |
8371 |
|
cat >>conftest.undefs <<\_ACEOF |
8372 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
8372 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
8373 |
|
_ACEOF |
8374 |
|
|
8375 |
|
# Break up conftest.defines because some shells have a limit on the size |
8376 |
|
# of here documents, and old seds have small limits too (100 cmds). |
8377 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
8378 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
8378 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
8379 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
8380 |
|
echo ' :' >>$CONFIG_STATUS |
8381 |
|
rm -f conftest.tail |
8384 |
|
# Write a limited-size here document to $tmp/defines.sed. |
8385 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
8386 |
|
# Speed up: don't consider the non `#define' lines. |
8387 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
8387 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
8388 |
|
# Work around the forget-to-reset-the-flag bug. |
8389 |
|
echo 't clr' >>$CONFIG_STATUS |
8390 |
|
echo ': clr' >>$CONFIG_STATUS |
8411 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
8412 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
8413 |
|
# Speed up: don't consider the non `#undef' |
8414 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
8414 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
8415 |
|
# Work around the forget-to-reset-the-flag bug. |
8416 |
|
echo 't clr' >>$CONFIG_STATUS |
8417 |
|
echo ': clr' >>$CONFIG_STATUS |
8445 |
|
else |
8446 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
8447 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8448 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8449 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
8450 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
8451 |
< |
. : '\(.\)' 2>/dev/null || |
8448 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
8449 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
8450 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
8451 |
> |
. : '\(.\)' 2>/dev/null || |
8452 |
|
echo X"$ac_file" | |
8453 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8454 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8464 |
|
as_dirs="$as_dir $as_dirs" |
8465 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8466 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8467 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8468 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8469 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8470 |
< |
. : '\(.\)' 2>/dev/null || |
8467 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8468 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8469 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8470 |
> |
. : '\(.\)' 2>/dev/null || |
8471 |
|
echo X"$as_dir" | |
8472 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8473 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8512 |
|
# Make relative symlinks. |
8513 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
8514 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8515 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
8516 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
8517 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
8518 |
< |
. : '\(.\)' 2>/dev/null || |
8515 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
8516 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
8517 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
8518 |
> |
. : '\(.\)' 2>/dev/null || |
8519 |
|
echo X"$ac_dest" | |
8520 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8521 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8531 |
|
as_dirs="$as_dir $as_dirs" |
8532 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
8533 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8534 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8535 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
8536 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
8537 |
< |
. : '\(.\)' 2>/dev/null || |
8534 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
8535 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
8536 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
8537 |
> |
. : '\(.\)' 2>/dev/null || |
8538 |
|
echo X"$as_dir" | |
8539 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8540 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8572 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
8573 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
8574 |
|
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` |
8581 |
|
|
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 |
8582 |
|
|
8871 |
– |
|
8583 |
|
case $srcdir in |
8584 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
8585 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |