| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 1.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 1.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 7 |
< |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 8 |
< |
# Free Software Foundation, Inc. |
| 7 |
> |
# Copyright (C) 2003 Free Software Foundation, Inc. |
| 8 |
|
# This configure script is free software; the Free Software Foundation |
| 9 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 10 |
|
## --------------------- ## |
| 21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 22 |
|
set -o posix |
| 23 |
|
fi |
| 24 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 25 |
|
|
| 26 |
|
# Support unset when possible. |
| 27 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 27 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 28 |
|
as_unset=unset |
| 29 |
|
else |
| 30 |
|
as_unset=false |
| 43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 44 |
|
LC_TELEPHONE LC_TIME |
| 45 |
|
do |
| 46 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 46 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 47 |
|
eval $as_var=C; export $as_var |
| 48 |
|
else |
| 49 |
|
$as_unset $as_var |
| 220 |
|
if mkdir -p . 2>/dev/null; then |
| 221 |
|
as_mkdir_p=: |
| 222 |
|
else |
| 223 |
+ |
test -d ./-p && rmdir ./-p |
| 224 |
|
as_mkdir_p=false |
| 225 |
|
fi |
| 226 |
|
|
| 227 |
|
as_executable_p="test -f" |
| 228 |
|
|
| 229 |
|
# Sed expression to map a string onto a valid CPP name. |
| 230 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 230 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 231 |
|
|
| 232 |
|
# Sed expression to map a string onto a valid variable name. |
| 233 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 233 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 234 |
|
|
| 235 |
|
|
| 236 |
|
# IFS |
| 312 |
|
# include <unistd.h> |
| 313 |
|
#endif" |
| 314 |
|
|
| 315 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC 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 CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS' |
| 315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
| 316 |
|
ac_subst_files='' |
| 317 |
|
|
| 318 |
|
# Initialize some variables set by options. |
| 671 |
|
|
| 672 |
|
# Be sure to have absolute paths. |
| 673 |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 674 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
| 674 |
> |
localstatedir libdir includedir oldincludedir infodir mandir |
| 675 |
|
do |
| 676 |
|
eval ac_val=$`echo $ac_var` |
| 677 |
|
case $ac_val in |
| 711 |
|
# Try the directory containing this script, then its parent. |
| 712 |
|
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 713 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 714 |
< |
X"$0" : 'X\(//\)[^/]' \| \ |
| 715 |
< |
X"$0" : 'X\(//\)$' \| \ |
| 716 |
< |
X"$0" : 'X\(/\)' \| \ |
| 717 |
< |
. : '\(.\)' 2>/dev/null || |
| 714 |
> |
X"$0" : 'X\(//\)[^/]' \| \ |
| 715 |
> |
X"$0" : 'X\(//\)$' \| \ |
| 716 |
> |
X"$0" : 'X\(/\)' \| \ |
| 717 |
> |
. : '\(.\)' 2>/dev/null || |
| 718 |
|
echo X"$0" | |
| 719 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 720 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 822 |
|
cat <<_ACEOF |
| 823 |
|
Installation directories: |
| 824 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
| 825 |
< |
[$ac_default_prefix] |
| 825 |
> |
[$ac_default_prefix] |
| 826 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 827 |
< |
[PREFIX] |
| 827 |
> |
[PREFIX] |
| 828 |
|
|
| 829 |
|
By default, \`make install' will install all the files in |
| 830 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 871 |
|
Optional Packages: |
| 872 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 873 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 874 |
< |
--with-mpi=<prefix> compile with MPI libraries in <prefix> [default=no] |
| 875 |
< |
--with-sprng_prefix=PREFIX |
| 876 |
< |
Prefix where SPRNG is installed |
| 876 |
< |
--with-sprng-libdir=PREFIX SPRNG library directory |
| 877 |
< |
--with-sprng-include=PREFIX |
| 878 |
< |
SPRNG include directory |
| 874 |
> |
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
| 875 |
> |
--with-sprng=<prefix> compile with SPRNG installed in <prefix> |
| 876 |
> |
[default=/usr/local] |
| 877 |
|
--with-mkl Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61 |
| 878 |
|
|
| 879 |
|
Some influential environment variables: |
| 926 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 927 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 928 |
|
esac |
| 929 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 930 |
< |
# absolute. |
| 931 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 932 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 933 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 934 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 935 |
< |
|
| 929 |
> |
|
| 930 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 931 |
> |
# the directories may not exist. |
| 932 |
> |
case `pwd` in |
| 933 |
> |
.) ac_abs_builddir="$ac_dir";; |
| 934 |
> |
*) |
| 935 |
> |
case "$ac_dir" in |
| 936 |
> |
.) ac_abs_builddir=`pwd`;; |
| 937 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 938 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 939 |
> |
esac;; |
| 940 |
> |
esac |
| 941 |
> |
case $ac_abs_builddir in |
| 942 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 943 |
> |
*) |
| 944 |
> |
case ${ac_top_builddir}. in |
| 945 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 946 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 947 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 948 |
> |
esac;; |
| 949 |
> |
esac |
| 950 |
> |
case $ac_abs_builddir in |
| 951 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
| 952 |
> |
*) |
| 953 |
> |
case $ac_srcdir in |
| 954 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 955 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 956 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 957 |
> |
esac;; |
| 958 |
> |
esac |
| 959 |
> |
case $ac_abs_builddir in |
| 960 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 961 |
> |
*) |
| 962 |
> |
case $ac_top_srcdir in |
| 963 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 964 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 965 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 966 |
> |
esac;; |
| 967 |
> |
esac |
| 968 |
> |
|
| 969 |
|
cd $ac_dir |
| 970 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
| 971 |
|
if test -f $ac_srcdir/configure.gnu; then |
| 975 |
|
echo |
| 976 |
|
$SHELL $ac_srcdir/configure --help=recursive |
| 977 |
|
elif test -f $ac_srcdir/configure.ac || |
| 978 |
< |
test -f $ac_srcdir/configure.in; then |
| 978 |
> |
test -f $ac_srcdir/configure.in; then |
| 979 |
|
echo |
| 980 |
|
$ac_configure --help |
| 981 |
|
else |
| 989 |
|
if $ac_init_version; then |
| 990 |
|
cat <<\_ACEOF |
| 991 |
|
OOPSE configure 1.0 |
| 992 |
< |
generated by GNU Autoconf 2.57 |
| 992 |
> |
generated by GNU Autoconf 2.59 |
| 993 |
|
|
| 994 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
| 964 |
< |
Free Software Foundation, Inc. |
| 994 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 995 |
|
This configure script is free software; the Free Software Foundation |
| 996 |
|
gives unlimited permission to copy, distribute and modify it. |
| 997 |
|
_ACEOF |
| 1003 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1004 |
|
|
| 1005 |
|
It was created by OOPSE $as_me 1.0, which was |
| 1006 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
| 1006 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1007 |
|
|
| 1008 |
|
$ $0 $@ |
| 1009 |
|
|
| 1080 |
|
2) |
| 1081 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1082 |
|
if test $ac_must_keep_next = true; then |
| 1083 |
< |
ac_must_keep_next=false # Got value, back to normal. |
| 1083 |
> |
ac_must_keep_next=false # Got value, back to normal. |
| 1084 |
|
else |
| 1085 |
< |
case $ac_arg in |
| 1086 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1087 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1088 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1089 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1090 |
< |
case "$ac_configure_args0 " in |
| 1091 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1092 |
< |
esac |
| 1093 |
< |
;; |
| 1094 |
< |
-* ) ac_must_keep_next=true ;; |
| 1095 |
< |
esac |
| 1085 |
> |
case $ac_arg in |
| 1086 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1087 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1088 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1089 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1090 |
> |
case "$ac_configure_args0 " in |
| 1091 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1092 |
> |
esac |
| 1093 |
> |
;; |
| 1094 |
> |
-* ) ac_must_keep_next=true ;; |
| 1095 |
> |
esac |
| 1096 |
|
fi |
| 1097 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1098 |
|
# Get rid of the leading space. |
| 1126 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1127 |
|
*ac_space=\ *) |
| 1128 |
|
sed -n \ |
| 1129 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1130 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1129 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1130 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1131 |
|
;; |
| 1132 |
|
*) |
| 1133 |
|
sed -n \ |
| 1134 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1134 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1135 |
|
;; |
| 1136 |
|
esac; |
| 1137 |
|
} |
| 1160 |
|
for ac_var in $ac_subst_files |
| 1161 |
|
do |
| 1162 |
|
eval ac_val=$`echo $ac_var` |
| 1163 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1163 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1164 |
|
done | sort |
| 1165 |
|
echo |
| 1166 |
|
fi |
| 1179 |
|
echo "$as_me: caught signal $ac_signal" |
| 1180 |
|
echo "$as_me: exit $exit_status" |
| 1181 |
|
} >&5 |
| 1182 |
< |
rm -f core core.* *.core && |
| 1182 |
> |
rm -f core *.core && |
| 1183 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1184 |
|
exit $exit_status |
| 1185 |
|
' 0 |
| 1259 |
|
# value. |
| 1260 |
|
ac_cache_corrupted=false |
| 1261 |
|
for ac_var in `(set) 2>&1 | |
| 1262 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1262 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1263 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1264 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1265 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1276 |
|
,);; |
| 1277 |
|
*) |
| 1278 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1279 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1279 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1280 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1281 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1281 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1282 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1283 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1283 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1284 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1285 |
< |
ac_cache_corrupted=: |
| 1285 |
> |
ac_cache_corrupted=: |
| 1286 |
|
fi;; |
| 1287 |
|
esac |
| 1288 |
|
# Pass precious variables to config.status. |
| 1864 |
|
|
| 1865 |
|
|
| 1866 |
|
|
| 1867 |
+ |
|
| 1868 |
+ |
|
| 1869 |
+ |
|
| 1870 |
+ |
|
| 1871 |
|
# set program name |
| 1872 |
|
PROGNAME="oopse" |
| 1873 |
|
|
| 2066 |
|
(exit $ac_status); } |
| 2067 |
|
|
| 2068 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2035 |
– |
#line $LINENO "configure" |
| 2069 |
|
/* confdefs.h. */ |
| 2070 |
|
_ACEOF |
| 2071 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2085 |
|
# Try to create an executable without -o first, disregard a.out. |
| 2086 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 2087 |
|
# of exeext. |
| 2088 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
| 2089 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
| 2088 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2089 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 2090 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2091 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2092 |
|
(eval $ac_link_default) 2>&5 |
| 2106 |
|
test -f "$ac_file" || continue |
| 2107 |
|
case $ac_file in |
| 2108 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2109 |
< |
;; |
| 2110 |
< |
conftest.$ac_ext ) |
| 2111 |
< |
# This is the source file. |
| 2112 |
< |
;; |
| 2109 |
> |
;; |
| 2110 |
> |
conftest.$ac_ext ) |
| 2111 |
> |
# This is the source file. |
| 2112 |
> |
;; |
| 2113 |
|
[ab].out ) |
| 2114 |
< |
# We found the default executable, but exeext='' is most |
| 2115 |
< |
# certainly right. |
| 2116 |
< |
break;; |
| 2114 |
> |
# We found the default executable, but exeext='' is most |
| 2115 |
> |
# certainly right. |
| 2116 |
> |
break;; |
| 2117 |
|
*.* ) |
| 2118 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2119 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2120 |
< |
# but it would be cool to find out if it's true. Does anybody |
| 2121 |
< |
# maintain Libtool? --akim. |
| 2122 |
< |
export ac_cv_exeext |
| 2123 |
< |
break;; |
| 2118 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2119 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2120 |
> |
# but it would be cool to find out if it's true. Does anybody |
| 2121 |
> |
# maintain Libtool? --akim. |
| 2122 |
> |
export ac_cv_exeext |
| 2123 |
> |
break;; |
| 2124 |
|
* ) |
| 2125 |
< |
break;; |
| 2125 |
> |
break;; |
| 2126 |
|
esac |
| 2127 |
|
done |
| 2128 |
|
else |
| 2196 |
|
case $ac_file in |
| 2197 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2198 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2199 |
< |
export ac_cv_exeext |
| 2200 |
< |
break;; |
| 2199 |
> |
export ac_cv_exeext |
| 2200 |
> |
break;; |
| 2201 |
|
* ) break;; |
| 2202 |
|
esac |
| 2203 |
|
done |
| 2222 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2223 |
|
else |
| 2224 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2192 |
– |
#line $LINENO "configure" |
| 2225 |
|
/* confdefs.h. */ |
| 2226 |
|
_ACEOF |
| 2227 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2272 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2273 |
|
else |
| 2274 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2243 |
– |
#line $LINENO "configure" |
| 2275 |
|
/* confdefs.h. */ |
| 2276 |
|
_ACEOF |
| 2277 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2291 |
|
_ACEOF |
| 2292 |
|
rm -f conftest.$ac_objext |
| 2293 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2294 |
< |
(eval $ac_compile) 2>&5 |
| 2294 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2295 |
|
ac_status=$? |
| 2296 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2297 |
+ |
rm -f conftest.er1 |
| 2298 |
+ |
cat conftest.err >&5 |
| 2299 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2300 |
|
(exit $ac_status); } && |
| 2301 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2301 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2302 |
> |
|| test ! -s conftest.err' |
| 2303 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2304 |
|
(eval $ac_try) 2>&5 |
| 2305 |
|
ac_status=$? |
| 2306 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2307 |
+ |
(exit $ac_status); }; } && |
| 2308 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2309 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2310 |
+ |
(eval $ac_try) 2>&5 |
| 2311 |
+ |
ac_status=$? |
| 2312 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2313 |
|
(exit $ac_status); }; }; then |
| 2314 |
|
ac_compiler_gnu=yes |
| 2315 |
|
else |
| 2318 |
|
|
| 2319 |
|
ac_compiler_gnu=no |
| 2320 |
|
fi |
| 2321 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2321 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2322 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2323 |
|
|
| 2324 |
|
fi |
| 2334 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2335 |
|
else |
| 2336 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2296 |
– |
#line $LINENO "configure" |
| 2337 |
|
/* confdefs.h. */ |
| 2338 |
|
_ACEOF |
| 2339 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2350 |
|
_ACEOF |
| 2351 |
|
rm -f conftest.$ac_objext |
| 2352 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2353 |
< |
(eval $ac_compile) 2>&5 |
| 2353 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2354 |
|
ac_status=$? |
| 2355 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2356 |
+ |
rm -f conftest.er1 |
| 2357 |
+ |
cat conftest.err >&5 |
| 2358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2359 |
|
(exit $ac_status); } && |
| 2360 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2360 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2361 |
> |
|| test ! -s conftest.err' |
| 2362 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2363 |
|
(eval $ac_try) 2>&5 |
| 2364 |
|
ac_status=$? |
| 2365 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2366 |
+ |
(exit $ac_status); }; } && |
| 2367 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2368 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2369 |
+ |
(eval $ac_try) 2>&5 |
| 2370 |
+ |
ac_status=$? |
| 2371 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2372 |
|
(exit $ac_status); }; }; then |
| 2373 |
|
ac_cv_prog_cc_g=yes |
| 2374 |
|
else |
| 2377 |
|
|
| 2378 |
|
ac_cv_prog_cc_g=no |
| 2379 |
|
fi |
| 2380 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2380 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2381 |
|
fi |
| 2382 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2383 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2404 |
|
ac_cv_prog_cc_stdc=no |
| 2405 |
|
ac_save_CC=$CC |
| 2406 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2357 |
– |
#line $LINENO "configure" |
| 2407 |
|
/* confdefs.h. */ |
| 2408 |
|
_ACEOF |
| 2409 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2431 |
|
va_end (v); |
| 2432 |
|
return s; |
| 2433 |
|
} |
| 2434 |
+ |
|
| 2435 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2436 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2437 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
| 2438 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
| 2439 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2440 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
| 2441 |
+ |
that's true only with -std1. */ |
| 2442 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2443 |
+ |
|
| 2444 |
|
int test (int i, double x); |
| 2445 |
|
struct s1 {int (*f) (int a);}; |
| 2446 |
|
struct s2 {int (*f) (double a);}; |
| 2467 |
|
CC="$ac_save_CC $ac_arg" |
| 2468 |
|
rm -f conftest.$ac_objext |
| 2469 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2470 |
< |
(eval $ac_compile) 2>&5 |
| 2470 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2471 |
|
ac_status=$? |
| 2472 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2473 |
+ |
rm -f conftest.er1 |
| 2474 |
+ |
cat conftest.err >&5 |
| 2475 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2476 |
|
(exit $ac_status); } && |
| 2477 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2477 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2478 |
> |
|| test ! -s conftest.err' |
| 2479 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2480 |
|
(eval $ac_try) 2>&5 |
| 2481 |
|
ac_status=$? |
| 2482 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2483 |
+ |
(exit $ac_status); }; } && |
| 2484 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2485 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2486 |
+ |
(eval $ac_try) 2>&5 |
| 2487 |
+ |
ac_status=$? |
| 2488 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2489 |
|
(exit $ac_status); }; }; then |
| 2490 |
|
ac_cv_prog_cc_stdc=$ac_arg |
| 2491 |
|
break |
| 2494 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2495 |
|
|
| 2496 |
|
fi |
| 2497 |
< |
rm -f conftest.$ac_objext |
| 2497 |
> |
rm -f conftest.err conftest.$ac_objext |
| 2498 |
|
done |
| 2499 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2500 |
|
CC=$ac_save_CC |
| 2522 |
|
_ACEOF |
| 2523 |
|
rm -f conftest.$ac_objext |
| 2524 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2525 |
< |
(eval $ac_compile) 2>&5 |
| 2525 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2526 |
|
ac_status=$? |
| 2527 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2528 |
+ |
rm -f conftest.er1 |
| 2529 |
+ |
cat conftest.err >&5 |
| 2530 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2531 |
|
(exit $ac_status); } && |
| 2532 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2532 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2533 |
> |
|| test ! -s conftest.err' |
| 2534 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2535 |
|
(eval $ac_try) 2>&5 |
| 2536 |
|
ac_status=$? |
| 2537 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2538 |
+ |
(exit $ac_status); }; } && |
| 2539 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2540 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2541 |
+ |
(eval $ac_try) 2>&5 |
| 2542 |
+ |
ac_status=$? |
| 2543 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2544 |
|
(exit $ac_status); }; }; then |
| 2545 |
|
for ac_declaration in \ |
| 2546 |
< |
''\ |
| 2468 |
< |
'#include <stdlib.h>' \ |
| 2546 |
> |
'' \ |
| 2547 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2548 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
| 2549 |
|
'extern "C" void exit (int) throw ();' \ |
| 2551 |
|
'void exit (int);' |
| 2552 |
|
do |
| 2553 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2476 |
– |
#line $LINENO "configure" |
| 2554 |
|
/* confdefs.h. */ |
| 2555 |
|
_ACEOF |
| 2556 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2557 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2558 |
|
/* end confdefs.h. */ |
| 2482 |
– |
#include <stdlib.h> |
| 2559 |
|
$ac_declaration |
| 2560 |
+ |
#include <stdlib.h> |
| 2561 |
|
int |
| 2562 |
|
main () |
| 2563 |
|
{ |
| 2568 |
|
_ACEOF |
| 2569 |
|
rm -f conftest.$ac_objext |
| 2570 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2571 |
< |
(eval $ac_compile) 2>&5 |
| 2571 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2572 |
|
ac_status=$? |
| 2573 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2574 |
+ |
rm -f conftest.er1 |
| 2575 |
+ |
cat conftest.err >&5 |
| 2576 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2577 |
|
(exit $ac_status); } && |
| 2578 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2578 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2579 |
> |
|| test ! -s conftest.err' |
| 2580 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2581 |
|
(eval $ac_try) 2>&5 |
| 2582 |
|
ac_status=$? |
| 2583 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2584 |
+ |
(exit $ac_status); }; } && |
| 2585 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2586 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2587 |
+ |
(eval $ac_try) 2>&5 |
| 2588 |
+ |
ac_status=$? |
| 2589 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2590 |
|
(exit $ac_status); }; }; then |
| 2591 |
|
: |
| 2592 |
|
else |
| 2595 |
|
|
| 2596 |
|
continue |
| 2597 |
|
fi |
| 2598 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2598 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2599 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2513 |
– |
#line $LINENO "configure" |
| 2600 |
|
/* confdefs.h. */ |
| 2601 |
|
_ACEOF |
| 2602 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2613 |
|
_ACEOF |
| 2614 |
|
rm -f conftest.$ac_objext |
| 2615 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2616 |
< |
(eval $ac_compile) 2>&5 |
| 2616 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2617 |
|
ac_status=$? |
| 2618 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2619 |
+ |
rm -f conftest.er1 |
| 2620 |
+ |
cat conftest.err >&5 |
| 2621 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2622 |
|
(exit $ac_status); } && |
| 2623 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2623 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2624 |
> |
|| test ! -s conftest.err' |
| 2625 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2626 |
|
(eval $ac_try) 2>&5 |
| 2627 |
|
ac_status=$? |
| 2628 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2629 |
+ |
(exit $ac_status); }; } && |
| 2630 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2631 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2632 |
+ |
(eval $ac_try) 2>&5 |
| 2633 |
+ |
ac_status=$? |
| 2634 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2635 |
|
(exit $ac_status); }; }; then |
| 2636 |
|
break |
| 2637 |
|
else |
| 2639 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2640 |
|
|
| 2641 |
|
fi |
| 2642 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2642 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2643 |
|
done |
| 2644 |
|
rm -f conftest* |
| 2645 |
|
if test -n "$ac_declaration"; then |
| 2653 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2654 |
|
|
| 2655 |
|
fi |
| 2656 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2656 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2657 |
|
ac_ext=c |
| 2658 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2659 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2780 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2781 |
|
else |
| 2782 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2687 |
– |
#line $LINENO "configure" |
| 2783 |
|
/* confdefs.h. */ |
| 2784 |
|
_ACEOF |
| 2785 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2799 |
|
_ACEOF |
| 2800 |
|
rm -f conftest.$ac_objext |
| 2801 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2802 |
< |
(eval $ac_compile) 2>&5 |
| 2802 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2803 |
|
ac_status=$? |
| 2804 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2805 |
+ |
rm -f conftest.er1 |
| 2806 |
+ |
cat conftest.err >&5 |
| 2807 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2808 |
|
(exit $ac_status); } && |
| 2809 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2809 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2810 |
> |
|| test ! -s conftest.err' |
| 2811 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2812 |
|
(eval $ac_try) 2>&5 |
| 2813 |
|
ac_status=$? |
| 2814 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2815 |
+ |
(exit $ac_status); }; } && |
| 2816 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2817 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2818 |
+ |
(eval $ac_try) 2>&5 |
| 2819 |
+ |
ac_status=$? |
| 2820 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2821 |
|
(exit $ac_status); }; }; then |
| 2822 |
|
ac_compiler_gnu=yes |
| 2823 |
|
else |
| 2826 |
|
|
| 2827 |
|
ac_compiler_gnu=no |
| 2828 |
|
fi |
| 2829 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2829 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2830 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2831 |
|
|
| 2832 |
|
fi |
| 2842 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2843 |
|
else |
| 2844 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2740 |
– |
#line $LINENO "configure" |
| 2845 |
|
/* confdefs.h. */ |
| 2846 |
|
_ACEOF |
| 2847 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2858 |
|
_ACEOF |
| 2859 |
|
rm -f conftest.$ac_objext |
| 2860 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2861 |
< |
(eval $ac_compile) 2>&5 |
| 2861 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2862 |
|
ac_status=$? |
| 2863 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2864 |
+ |
rm -f conftest.er1 |
| 2865 |
+ |
cat conftest.err >&5 |
| 2866 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2867 |
|
(exit $ac_status); } && |
| 2868 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2868 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2869 |
> |
|| test ! -s conftest.err' |
| 2870 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2871 |
|
(eval $ac_try) 2>&5 |
| 2872 |
|
ac_status=$? |
| 2873 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2874 |
+ |
(exit $ac_status); }; } && |
| 2875 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2876 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2877 |
+ |
(eval $ac_try) 2>&5 |
| 2878 |
+ |
ac_status=$? |
| 2879 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2880 |
|
(exit $ac_status); }; }; then |
| 2881 |
|
ac_cv_prog_cxx_g=yes |
| 2882 |
|
else |
| 2885 |
|
|
| 2886 |
|
ac_cv_prog_cxx_g=no |
| 2887 |
|
fi |
| 2888 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2888 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2889 |
|
fi |
| 2890 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2891 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2905 |
|
fi |
| 2906 |
|
fi |
| 2907 |
|
for ac_declaration in \ |
| 2908 |
< |
''\ |
| 2795 |
< |
'#include <stdlib.h>' \ |
| 2908 |
> |
'' \ |
| 2909 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2910 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
| 2911 |
|
'extern "C" void exit (int) throw ();' \ |
| 2913 |
|
'void exit (int);' |
| 2914 |
|
do |
| 2915 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2803 |
– |
#line $LINENO "configure" |
| 2916 |
|
/* confdefs.h. */ |
| 2917 |
|
_ACEOF |
| 2918 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2919 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2920 |
|
/* end confdefs.h. */ |
| 2809 |
– |
#include <stdlib.h> |
| 2921 |
|
$ac_declaration |
| 2922 |
+ |
#include <stdlib.h> |
| 2923 |
|
int |
| 2924 |
|
main () |
| 2925 |
|
{ |
| 2930 |
|
_ACEOF |
| 2931 |
|
rm -f conftest.$ac_objext |
| 2932 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2933 |
< |
(eval $ac_compile) 2>&5 |
| 2933 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2934 |
|
ac_status=$? |
| 2935 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2936 |
+ |
rm -f conftest.er1 |
| 2937 |
+ |
cat conftest.err >&5 |
| 2938 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2939 |
|
(exit $ac_status); } && |
| 2940 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2940 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2941 |
> |
|| test ! -s conftest.err' |
| 2942 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2943 |
|
(eval $ac_try) 2>&5 |
| 2944 |
|
ac_status=$? |
| 2945 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2946 |
+ |
(exit $ac_status); }; } && |
| 2947 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2948 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2949 |
+ |
(eval $ac_try) 2>&5 |
| 2950 |
+ |
ac_status=$? |
| 2951 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2952 |
|
(exit $ac_status); }; }; then |
| 2953 |
|
: |
| 2954 |
|
else |
| 2957 |
|
|
| 2958 |
|
continue |
| 2959 |
|
fi |
| 2960 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 2960 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2961 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2840 |
– |
#line $LINENO "configure" |
| 2962 |
|
/* confdefs.h. */ |
| 2963 |
|
_ACEOF |
| 2964 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2975 |
|
_ACEOF |
| 2976 |
|
rm -f conftest.$ac_objext |
| 2977 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2978 |
< |
(eval $ac_compile) 2>&5 |
| 2978 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2979 |
|
ac_status=$? |
| 2980 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2981 |
+ |
rm -f conftest.er1 |
| 2982 |
+ |
cat conftest.err >&5 |
| 2983 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2984 |
|
(exit $ac_status); } && |
| 2985 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2985 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2986 |
> |
|| test ! -s conftest.err' |
| 2987 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2988 |
|
(eval $ac_try) 2>&5 |
| 2989 |
|
ac_status=$? |
| 2990 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2991 |
+ |
(exit $ac_status); }; } && |
| 2992 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2993 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2994 |
+ |
(eval $ac_try) 2>&5 |
| 2995 |
+ |
ac_status=$? |
| 2996 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2997 |
|
(exit $ac_status); }; }; then |
| 2998 |
|
break |
| 2999 |
|
else |
| 3001 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3002 |
|
|
| 3003 |
|
fi |
| 3004 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3004 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3005 |
|
done |
| 3006 |
|
rm -f conftest* |
| 3007 |
|
if test -n "$ac_declaration"; then |
| 3186 |
|
_ACEOF |
| 3187 |
|
rm -f conftest.$ac_objext |
| 3188 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3189 |
< |
(eval $ac_compile) 2>&5 |
| 3189 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3190 |
|
ac_status=$? |
| 3191 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3192 |
+ |
rm -f conftest.er1 |
| 3193 |
+ |
cat conftest.err >&5 |
| 3194 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3195 |
|
(exit $ac_status); } && |
| 3196 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3196 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3197 |
> |
|| test ! -s conftest.err' |
| 3198 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3199 |
|
(eval $ac_try) 2>&5 |
| 3200 |
|
ac_status=$? |
| 3201 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3202 |
+ |
(exit $ac_status); }; } && |
| 3203 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3204 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3205 |
+ |
(eval $ac_try) 2>&5 |
| 3206 |
+ |
ac_status=$? |
| 3207 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3208 |
|
(exit $ac_status); }; }; then |
| 3209 |
|
ac_compiler_gnu=yes |
| 3210 |
|
else |
| 3213 |
|
|
| 3214 |
|
ac_compiler_gnu=no |
| 3215 |
|
fi |
| 3216 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3216 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3217 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
| 3218 |
|
|
| 3219 |
|
fi |
| 3287 |
|
_ACEOF |
| 3288 |
|
rm -f conftest.$ac_objext |
| 3289 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3290 |
< |
(eval $ac_compile) 2>&5 |
| 3290 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3291 |
|
ac_status=$? |
| 3292 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3293 |
+ |
rm -f conftest.er1 |
| 3294 |
+ |
cat conftest.err >&5 |
| 3295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3296 |
|
(exit $ac_status); } && |
| 3297 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3297 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3298 |
> |
|| test ! -s conftest.err' |
| 3299 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3300 |
|
(eval $ac_try) 2>&5 |
| 3301 |
|
ac_status=$? |
| 3302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3303 |
+ |
(exit $ac_status); }; } && |
| 3304 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3305 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3306 |
+ |
(eval $ac_try) 2>&5 |
| 3307 |
+ |
ac_status=$? |
| 3308 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3309 |
|
(exit $ac_status); }; }; then |
| 3310 |
|
prepflagworks=1 |
| 3311 |
|
else |
| 3314 |
|
|
| 3315 |
|
prepflagworks=0 |
| 3316 |
|
fi |
| 3317 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3317 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3318 |
|
|
| 3319 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3320 |
|
ac_ext=$ac_save_ext |
| 3402 |
|
_ACEOF |
| 3403 |
|
rm -f conftest.$ac_objext |
| 3404 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3405 |
< |
(eval $ac_compile) 2>&5 |
| 3405 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3406 |
|
ac_status=$? |
| 3407 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3408 |
+ |
rm -f conftest.er1 |
| 3409 |
+ |
cat conftest.err >&5 |
| 3410 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3411 |
|
(exit $ac_status); } && |
| 3412 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3412 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3413 |
> |
|| test ! -s conftest.err' |
| 3414 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3415 |
|
(eval $ac_try) 2>&5 |
| 3416 |
|
ac_status=$? |
| 3417 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3418 |
+ |
(exit $ac_status); }; } && |
| 3419 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3420 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3421 |
+ |
(eval $ac_try) 2>&5 |
| 3422 |
+ |
ac_status=$? |
| 3423 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3424 |
|
(exit $ac_status); }; }; then |
| 3425 |
|
prepdefflagworks=1 |
| 3426 |
|
else |
| 3429 |
|
|
| 3430 |
|
prepdefflagworks=0 |
| 3431 |
|
fi |
| 3432 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3432 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3433 |
|
|
| 3434 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3435 |
|
ac_ext=$ac_save_ext |
| 3481 |
|
_ACEOF |
| 3482 |
|
rm -f conftest.$ac_objext |
| 3483 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3484 |
< |
(eval $ac_compile) 2>&5 |
| 3484 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3485 |
|
ac_status=$? |
| 3486 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3487 |
+ |
rm -f conftest.er1 |
| 3488 |
+ |
cat conftest.err >&5 |
| 3489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3490 |
|
(exit $ac_status); } && |
| 3491 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3491 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3492 |
> |
|| test ! -s conftest.err' |
| 3493 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3494 |
|
(eval $ac_try) 2>&5 |
| 3495 |
|
ac_status=$? |
| 3496 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3497 |
+ |
(exit $ac_status); }; } && |
| 3498 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3499 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3500 |
+ |
(eval $ac_try) 2>&5 |
| 3501 |
+ |
ac_status=$? |
| 3502 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3503 |
|
(exit $ac_status); }; }; then |
| 3504 |
|
ac_cv_prog_f90_v= |
| 3505 |
|
# Try some options frequently used verbose output |
| 3525 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3526 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3527 |
|
|
| 3528 |
< |
(eval echo $as_me:3357: \"$ac_link\") >&5 |
| 3528 |
> |
(eval echo $as_me:3528: \"$ac_link\") >&5 |
| 3529 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3530 |
|
echo "$ac_f90_v_output" >&5 |
| 3531 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3567 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 3568 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
| 3569 |
|
fi |
| 3570 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3570 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3571 |
|
|
| 3572 |
|
fi |
| 3573 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
| 3602 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3603 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3604 |
|
|
| 3605 |
< |
(eval echo $as_me:3434: \"$ac_link\") >&5 |
| 3605 |
> |
(eval echo $as_me:3605: \"$ac_link\") >&5 |
| 3606 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3607 |
|
echo "$ac_f90_v_output" >&5 |
| 3608 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3784 |
|
_ACEOF |
| 3785 |
|
rm -f conftest.$ac_objext |
| 3786 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3787 |
< |
(eval $ac_compile) 2>&5 |
| 3787 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3788 |
|
ac_status=$? |
| 3789 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3790 |
+ |
rm -f conftest.er1 |
| 3791 |
+ |
cat conftest.err >&5 |
| 3792 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3793 |
|
(exit $ac_status); } && |
| 3794 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3794 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3795 |
> |
|| test ! -s conftest.err' |
| 3796 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3797 |
|
(eval $ac_try) 2>&5 |
| 3798 |
|
ac_status=$? |
| 3799 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3800 |
+ |
(exit $ac_status); }; } && |
| 3801 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 3802 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3803 |
+ |
(eval $ac_try) 2>&5 |
| 3804 |
+ |
ac_status=$? |
| 3805 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3806 |
|
(exit $ac_status); }; }; then |
| 3807 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
| 3808 |
|
|
| 3820 |
|
for ac_underscore in "" "_"; do |
| 3821 |
|
ac_func="$ac_foobar$ac_underscore" |
| 3822 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3642 |
– |
#line $LINENO "configure" |
| 3823 |
|
/* confdefs.h. */ |
| 3824 |
|
_ACEOF |
| 3825 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3843 |
|
_ACEOF |
| 3844 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3845 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3846 |
< |
(eval $ac_link) 2>&5 |
| 3846 |
> |
(eval $ac_link) 2>conftest.er1 |
| 3847 |
|
ac_status=$? |
| 3848 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3849 |
+ |
rm -f conftest.er1 |
| 3850 |
+ |
cat conftest.err >&5 |
| 3851 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3852 |
|
(exit $ac_status); } && |
| 3853 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 3853 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3854 |
> |
|| test ! -s conftest.err' |
| 3855 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3856 |
|
(eval $ac_try) 2>&5 |
| 3857 |
|
ac_status=$? |
| 3858 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3859 |
+ |
(exit $ac_status); }; } && |
| 3860 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 3861 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3862 |
+ |
(eval $ac_try) 2>&5 |
| 3863 |
+ |
ac_status=$? |
| 3864 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3865 |
|
(exit $ac_status); }; }; then |
| 3866 |
|
ac_success=yes; break 2 |
| 3867 |
|
else |
| 3869 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3870 |
|
|
| 3871 |
|
fi |
| 3872 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 3872 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 3873 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 3874 |
|
done |
| 3875 |
|
done |
| 3876 |
|
|
| 3891 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
| 3892 |
|
|
| 3893 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3703 |
– |
#line $LINENO "configure" |
| 3894 |
|
/* confdefs.h. */ |
| 3895 |
|
_ACEOF |
| 3896 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3914 |
|
_ACEOF |
| 3915 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3916 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3917 |
< |
(eval $ac_link) 2>&5 |
| 3917 |
> |
(eval $ac_link) 2>conftest.er1 |
| 3918 |
|
ac_status=$? |
| 3919 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3920 |
+ |
rm -f conftest.er1 |
| 3921 |
+ |
cat conftest.err >&5 |
| 3922 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3923 |
|
(exit $ac_status); } && |
| 3924 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 3924 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3925 |
> |
|| test ! -s conftest.err' |
| 3926 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3927 |
|
(eval $ac_try) 2>&5 |
| 3928 |
|
ac_status=$? |
| 3929 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3930 |
+ |
(exit $ac_status); }; } && |
| 3931 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 3932 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3933 |
+ |
(eval $ac_try) 2>&5 |
| 3934 |
+ |
ac_status=$? |
| 3935 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3936 |
|
(exit $ac_status); }; }; then |
| 3937 |
|
ac_success_extra=yes; break |
| 3938 |
|
else |
| 3940 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3941 |
|
|
| 3942 |
|
fi |
| 3943 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 3943 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 3944 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 3945 |
|
done |
| 3946 |
|
|
| 3947 |
|
if test "$ac_success_extra" = "yes"; then |
| 3976 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3977 |
|
|
| 3978 |
|
fi |
| 3979 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 3979 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3980 |
|
ac_ext=f90 |
| 3981 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
| 3982 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4200 |
|
fi |
| 4201 |
|
|
| 4202 |
|
|
| 4203 |
+ |
ac_ext=c |
| 4204 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4205 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4206 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4207 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4208 |
|
|
| 4209 |
|
|
| 4210 |
< |
case $debug in |
| 4211 |
< |
1) |
| 4212 |
< |
;; |
| 4213 |
< |
*) |
| 4210 |
> |
ac_ext=c |
| 4211 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 4212 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4213 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4214 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4215 |
|
|
| 4216 |
< |
|
| 4217 |
< |
|
| 4218 |
< |
|
| 4219 |
< |
|
| 4220 |
< |
|
| 4221 |
< |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 4222 |
< |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
| 4223 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
| 4224 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4225 |
< |
else |
| 4226 |
< |
|
| 4227 |
< |
cat > conftest.c <<EOF |
| 4228 |
< |
#ifdef __GNUC__ |
| 4229 |
< |
#ifndef __INTEL_COMPILER |
| 4230 |
< |
yes; |
| 4231 |
< |
#endif |
| 4232 |
< |
#endif |
| 4233 |
< |
EOF |
| 4234 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
| 4235 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4236 |
< |
(eval $ac_try) 2>&5 |
| 4237 |
< |
ac_status=$? |
| 4216 |
> |
ac_ext=c |
| 4217 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 4218 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4219 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4220 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4221 |
> |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4222 |
> |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4223 |
> |
# On Suns, sometimes $CPP names a directory. |
| 4224 |
> |
if test -n "$CPP" && test -d "$CPP"; then |
| 4225 |
> |
CPP= |
| 4226 |
> |
fi |
| 4227 |
> |
if test -z "$CPP"; then |
| 4228 |
> |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 4229 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4230 |
> |
else |
| 4231 |
> |
# Double quotes because CPP needs to be expanded |
| 4232 |
> |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4233 |
> |
do |
| 4234 |
> |
ac_preproc_ok=false |
| 4235 |
> |
for ac_c_preproc_warn_flag in '' yes |
| 4236 |
> |
do |
| 4237 |
> |
# Use a header file that comes with gcc, so configuring glibc |
| 4238 |
> |
# with a fresh cross-compiler works. |
| 4239 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4240 |
> |
# <limits.h> exists even on freestanding compilers. |
| 4241 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4242 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4243 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4244 |
> |
/* confdefs.h. */ |
| 4245 |
> |
_ACEOF |
| 4246 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4247 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4248 |
> |
/* end confdefs.h. */ |
| 4249 |
> |
#ifdef __STDC__ |
| 4250 |
> |
# include <limits.h> |
| 4251 |
> |
#else |
| 4252 |
> |
# include <assert.h> |
| 4253 |
> |
#endif |
| 4254 |
> |
Syntax error |
| 4255 |
> |
_ACEOF |
| 4256 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4257 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4258 |
> |
ac_status=$? |
| 4259 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4260 |
> |
rm -f conftest.er1 |
| 4261 |
> |
cat conftest.err >&5 |
| 4262 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4263 |
< |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
| 4264 |
< |
ac_cv_prog_really_gcc=yes |
| 4263 |
> |
(exit $ac_status); } >/dev/null; then |
| 4264 |
> |
if test -s conftest.err; then |
| 4265 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4266 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4267 |
> |
else |
| 4268 |
> |
ac_cpp_err= |
| 4269 |
> |
fi |
| 4270 |
|
else |
| 4271 |
< |
ac_cv_prog_really_gcc=no |
| 4271 |
> |
ac_cpp_err=yes |
| 4272 |
|
fi |
| 4273 |
< |
|
| 4274 |
< |
fi |
| 4039 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
| 4040 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6 |
| 4041 |
< |
if test "$ac_cv_prog_really_gcc" = yes; then |
| 4042 |
< |
: |
| 4043 |
< |
|
| 4273 |
> |
if test -z "$ac_cpp_err"; then |
| 4274 |
> |
: |
| 4275 |
|
else |
| 4276 |
< |
: |
| 4276 |
> |
echo "$as_me: failed program was:" >&5 |
| 4277 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4278 |
|
|
| 4279 |
+ |
# Broken: fails on valid input. |
| 4280 |
+ |
continue |
| 4281 |
|
fi |
| 4282 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 4283 |
|
|
| 4284 |
< |
|
| 4285 |
< |
# Try to determine "good" native compiler flags if none specified on command |
| 4286 |
< |
# line |
| 4287 |
< |
if test "$ac_test_CFLAGS" != "set"; then |
| 4288 |
< |
CFLAGS="" |
| 4289 |
< |
case "${host_cpu}-${host_os}" in |
| 4290 |
< |
|
| 4291 |
< |
*linux*) if test "$CC" = icc; then |
| 4292 |
< |
CFLAGS="-O" |
| 4293 |
< |
fi;; |
| 4294 |
< |
sparc-solaris2*) if test "$CC" = cc; then |
| 4295 |
< |
CFLAGS="-native -fast -xO5 -dalign" |
| 4296 |
< |
fi;; |
| 4297 |
< |
|
| 4298 |
< |
alpha*-osf*) if test "$CC" = cc; then |
| 4299 |
< |
CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" |
| 4300 |
< |
fi;; |
| 4301 |
< |
|
| 4302 |
< |
hppa*-hpux*) if test "$CC" = cc; then |
| 4303 |
< |
CFLAGS="-Ae +O3 +Oall" |
| 4304 |
< |
fi;; |
| 4305 |
< |
|
| 4306 |
< |
rs6000*-aix*) if test "$CC" = cc -o "$CC" = xlc; then |
| 4072 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
| 4073 |
< |
fi;; |
| 4074 |
< |
powerpc*-aix*) |
| 4075 |
< |
if test "$CC" = cc -o "$CC" = xlc; then |
| 4076 |
< |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
| 4077 |
< |
echo "*******************************************************" |
| 4078 |
< |
echo "* You have AIX on an unknown powerpc system. It is *" |
| 4079 |
< |
echo "* recommended that you use *" |
| 4080 |
< |
echo "* *" |
| 4081 |
< |
echo "* CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
| 4082 |
< |
echo "* ^^^ *" |
| 4083 |
< |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
| 4084 |
< |
echo "* PowerPC CPU you have. For more info, man cc. *" |
| 4085 |
< |
echo "*******************************************************" |
| 4086 |
< |
fi;; |
| 4087 |
< |
*darwin*) |
| 4088 |
< |
if test "$CC" = xlc -o "$CC" = cc; then |
| 4089 |
< |
CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
| 4090 |
< |
fi;; |
| 4091 |
< |
esac |
| 4092 |
< |
|
| 4093 |
< |
# use default flags for gcc on all systems |
| 4094 |
< |
if test $ac_cv_prog_really_gcc = yes; then |
| 4095 |
< |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" |
| 4284 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 4285 |
> |
# can be detected and how. |
| 4286 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4287 |
> |
/* confdefs.h. */ |
| 4288 |
> |
_ACEOF |
| 4289 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4290 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4291 |
> |
/* end confdefs.h. */ |
| 4292 |
> |
#include <ac_nonexistent.h> |
| 4293 |
> |
_ACEOF |
| 4294 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4295 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4296 |
> |
ac_status=$? |
| 4297 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4298 |
> |
rm -f conftest.er1 |
| 4299 |
> |
cat conftest.err >&5 |
| 4300 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4301 |
> |
(exit $ac_status); } >/dev/null; then |
| 4302 |
> |
if test -s conftest.err; then |
| 4303 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4304 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4305 |
> |
else |
| 4306 |
> |
ac_cpp_err= |
| 4307 |
|
fi |
| 4097 |
– |
|
| 4098 |
– |
# test for gcc-specific flags: |
| 4099 |
– |
if test $ac_cv_prog_really_gcc = yes; then |
| 4100 |
– |
# -malign-double for x86 systems |
| 4101 |
– |
|
| 4102 |
– |
|
| 4103 |
– |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
| 4104 |
– |
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
| 4105 |
– |
if test "${ac_align_double+set}" = set; then |
| 4106 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4308 |
|
else |
| 4309 |
< |
echo 'void f(){}' > conftest.c |
| 4109 |
< |
if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then |
| 4110 |
< |
ac_align_double=yes |
| 4111 |
< |
else |
| 4112 |
< |
ac_align_double=no |
| 4309 |
> |
ac_cpp_err=yes |
| 4310 |
|
fi |
| 4311 |
< |
rm -f conftest* |
| 4311 |
> |
if test -z "$ac_cpp_err"; then |
| 4312 |
> |
# Broken: success on invalid input. |
| 4313 |
> |
continue |
| 4314 |
> |
else |
| 4315 |
> |
echo "$as_me: failed program was:" >&5 |
| 4316 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4317 |
|
|
| 4318 |
+ |
# Passes both tests. |
| 4319 |
+ |
ac_preproc_ok=: |
| 4320 |
+ |
break |
| 4321 |
|
fi |
| 4322 |
< |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 4118 |
< |
echo "${ECHO_T}$ac_align_double" >&6 |
| 4119 |
< |
if test "$ac_align_double" = yes; then |
| 4120 |
< |
: |
| 4121 |
< |
CFLAGS="$CFLAGS -malign-double" |
| 4122 |
< |
else |
| 4123 |
< |
: |
| 4322 |
> |
rm -f conftest.err conftest.$ac_ext |
| 4323 |
|
|
| 4324 |
+ |
done |
| 4325 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4326 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 4327 |
+ |
if $ac_preproc_ok; then |
| 4328 |
+ |
break |
| 4329 |
|
fi |
| 4330 |
|
|
| 4331 |
< |
# -fstrict-aliasing for gcc-2.95+ |
| 4331 |
> |
done |
| 4332 |
> |
ac_cv_prog_CPP=$CPP |
| 4333 |
|
|
| 4129 |
– |
|
| 4130 |
– |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
| 4131 |
– |
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
| 4132 |
– |
if test "${ac_fstrict_aliasing+set}" = set; then |
| 4133 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4134 |
– |
else |
| 4135 |
– |
echo 'void f(){}' > conftest.c |
| 4136 |
– |
if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then |
| 4137 |
– |
ac_fstrict_aliasing=yes |
| 4138 |
– |
else |
| 4139 |
– |
ac_fstrict_aliasing=no |
| 4334 |
|
fi |
| 4335 |
< |
rm -f conftest* |
| 4142 |
< |
|
| 4143 |
< |
fi |
| 4144 |
< |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 4145 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
| 4146 |
< |
if test "$ac_fstrict_aliasing" = yes; then |
| 4147 |
< |
: |
| 4148 |
< |
CFLAGS="$CFLAGS -fstrict-aliasing" |
| 4335 |
> |
CPP=$ac_cv_prog_CPP |
| 4336 |
|
else |
| 4337 |
< |
: |
| 4151 |
< |
|
| 4337 |
> |
ac_cv_prog_CPP=$CPP |
| 4338 |
|
fi |
| 4339 |
< |
|
| 4339 |
> |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4340 |
> |
echo "${ECHO_T}$CPP" >&6 |
| 4341 |
> |
ac_preproc_ok=false |
| 4342 |
> |
for ac_c_preproc_warn_flag in '' yes |
| 4343 |
> |
do |
| 4344 |
> |
# Use a header file that comes with gcc, so configuring glibc |
| 4345 |
> |
# with a fresh cross-compiler works. |
| 4346 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4347 |
> |
# <limits.h> exists even on freestanding compilers. |
| 4348 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4349 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4350 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4351 |
> |
/* confdefs.h. */ |
| 4352 |
> |
_ACEOF |
| 4353 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4354 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4355 |
> |
/* end confdefs.h. */ |
| 4356 |
> |
#ifdef __STDC__ |
| 4357 |
> |
# include <limits.h> |
| 4358 |
> |
#else |
| 4359 |
> |
# include <assert.h> |
| 4360 |
> |
#endif |
| 4361 |
> |
Syntax error |
| 4362 |
> |
_ACEOF |
| 4363 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4364 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4365 |
> |
ac_status=$? |
| 4366 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4367 |
> |
rm -f conftest.er1 |
| 4368 |
> |
cat conftest.err >&5 |
| 4369 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4370 |
> |
(exit $ac_status); } >/dev/null; then |
| 4371 |
> |
if test -s conftest.err; then |
| 4372 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4373 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4374 |
> |
else |
| 4375 |
> |
ac_cpp_err= |
| 4376 |
|
fi |
| 4155 |
– |
|
| 4156 |
– |
CPU_FLAGS="" |
| 4157 |
– |
if test $ac_cv_prog_really_gcc = yes; then |
| 4158 |
– |
case "${host_cpu}" in |
| 4159 |
– |
i586*) |
| 4160 |
– |
|
| 4161 |
– |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
| 4162 |
– |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
| 4163 |
– |
if test "${ac_cpu_pentium+set}" = set; then |
| 4164 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4377 |
|
else |
| 4378 |
< |
echo 'void f(){}' > conftest.c |
| 4167 |
< |
if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then |
| 4168 |
< |
ac_cpu_pentium=yes |
| 4169 |
< |
else |
| 4170 |
< |
ac_cpu_pentium=no |
| 4378 |
> |
ac_cpp_err=yes |
| 4379 |
|
fi |
| 4380 |
< |
rm -f conftest* |
| 4380 |
> |
if test -z "$ac_cpp_err"; then |
| 4381 |
> |
: |
| 4382 |
> |
else |
| 4383 |
> |
echo "$as_me: failed program was:" >&5 |
| 4384 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4385 |
|
|
| 4386 |
+ |
# Broken: fails on valid input. |
| 4387 |
+ |
continue |
| 4388 |
|
fi |
| 4389 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 4390 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
| 4391 |
< |
if test "$ac_cpu_pentium" = yes; then |
| 4392 |
< |
: |
| 4393 |
< |
CPU_FLAGS=-mcpu=pentium |
| 4389 |
> |
rm -f conftest.err conftest.$ac_ext |
| 4390 |
> |
|
| 4391 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 4392 |
> |
# can be detected and how. |
| 4393 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4394 |
> |
/* confdefs.h. */ |
| 4395 |
> |
_ACEOF |
| 4396 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4397 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4398 |
> |
/* end confdefs.h. */ |
| 4399 |
> |
#include <ac_nonexistent.h> |
| 4400 |
> |
_ACEOF |
| 4401 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4402 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4403 |
> |
ac_status=$? |
| 4404 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4405 |
> |
rm -f conftest.er1 |
| 4406 |
> |
cat conftest.err >&5 |
| 4407 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4408 |
> |
(exit $ac_status); } >/dev/null; then |
| 4409 |
> |
if test -s conftest.err; then |
| 4410 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4411 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4412 |
> |
else |
| 4413 |
> |
ac_cpp_err= |
| 4414 |
> |
fi |
| 4415 |
|
else |
| 4416 |
< |
: |
| 4416 |
> |
ac_cpp_err=yes |
| 4417 |
> |
fi |
| 4418 |
> |
if test -z "$ac_cpp_err"; then |
| 4419 |
> |
# Broken: success on invalid input. |
| 4420 |
> |
continue |
| 4421 |
> |
else |
| 4422 |
> |
echo "$as_me: failed program was:" >&5 |
| 4423 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4424 |
|
|
| 4425 |
+ |
# Passes both tests. |
| 4426 |
+ |
ac_preproc_ok=: |
| 4427 |
+ |
break |
| 4428 |
+ |
fi |
| 4429 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 4430 |
|
|
| 4431 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
| 4432 |
< |
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
| 4433 |
< |
if test "${ac_pentium+set}" = set; then |
| 4434 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4431 |
> |
done |
| 4432 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4433 |
> |
rm -f conftest.err conftest.$ac_ext |
| 4434 |
> |
if $ac_preproc_ok; then |
| 4435 |
> |
: |
| 4436 |
|
else |
| 4437 |
< |
echo 'void f(){}' > conftest.c |
| 4438 |
< |
if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then |
| 4439 |
< |
ac_pentium=yes |
| 4440 |
< |
else |
| 4441 |
< |
ac_pentium=no |
| 4437 |
> |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4438 |
> |
See \`config.log' for more details." >&5 |
| 4439 |
> |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4440 |
> |
See \`config.log' for more details." >&2;} |
| 4441 |
> |
{ (exit 1); exit 1; }; } |
| 4442 |
|
fi |
| 4195 |
– |
rm -f conftest* |
| 4443 |
|
|
| 4444 |
< |
fi |
| 4445 |
< |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 4446 |
< |
echo "${ECHO_T}$ac_pentium" >&6 |
| 4447 |
< |
if test "$ac_pentium" = yes; then |
| 4448 |
< |
: |
| 4202 |
< |
CPU_FLAGS=-mpentium |
| 4203 |
< |
else |
| 4204 |
< |
: |
| 4444 |
> |
ac_ext=c |
| 4445 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 4446 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4447 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4448 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4449 |
|
|
| 4206 |
– |
fi |
| 4450 |
|
|
| 4451 |
+ |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4452 |
+ |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4453 |
+ |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4454 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4455 |
+ |
else |
| 4456 |
+ |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4457 |
+ |
then ac_cv_prog_egrep='grep -E' |
| 4458 |
+ |
else ac_cv_prog_egrep='egrep' |
| 4459 |
+ |
fi |
| 4460 |
|
fi |
| 4461 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 4462 |
+ |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 4463 |
+ |
EGREP=$ac_cv_prog_egrep |
| 4464 |
|
|
| 4210 |
– |
;; |
| 4211 |
– |
i686*) |
| 4465 |
|
|
| 4466 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
| 4467 |
< |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
| 4468 |
< |
if test "${ac_cpu_pentiumpro+set}" = set; then |
| 4466 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4467 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4468 |
> |
if test "${ac_cv_header_stdc+set}" = set; then |
| 4469 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4470 |
|
else |
| 4471 |
< |
echo 'void f(){}' > conftest.c |
| 4472 |
< |
if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then |
| 4473 |
< |
ac_cpu_pentiumpro=yes |
| 4471 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4472 |
> |
/* confdefs.h. */ |
| 4473 |
> |
_ACEOF |
| 4474 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4475 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4476 |
> |
/* end confdefs.h. */ |
| 4477 |
> |
#include <stdlib.h> |
| 4478 |
> |
#include <stdarg.h> |
| 4479 |
> |
#include <string.h> |
| 4480 |
> |
#include <float.h> |
| 4481 |
> |
|
| 4482 |
> |
int |
| 4483 |
> |
main () |
| 4484 |
> |
{ |
| 4485 |
> |
|
| 4486 |
> |
; |
| 4487 |
> |
return 0; |
| 4488 |
> |
} |
| 4489 |
> |
_ACEOF |
| 4490 |
> |
rm -f conftest.$ac_objext |
| 4491 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4492 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4493 |
> |
ac_status=$? |
| 4494 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4495 |
> |
rm -f conftest.er1 |
| 4496 |
> |
cat conftest.err >&5 |
| 4497 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4498 |
> |
(exit $ac_status); } && |
| 4499 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4500 |
> |
|| test ! -s conftest.err' |
| 4501 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4502 |
> |
(eval $ac_try) 2>&5 |
| 4503 |
> |
ac_status=$? |
| 4504 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4505 |
> |
(exit $ac_status); }; } && |
| 4506 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4507 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4508 |
> |
(eval $ac_try) 2>&5 |
| 4509 |
> |
ac_status=$? |
| 4510 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4511 |
> |
(exit $ac_status); }; }; then |
| 4512 |
> |
ac_cv_header_stdc=yes |
| 4513 |
|
else |
| 4514 |
< |
ac_cpu_pentiumpro=no |
| 4515 |
< |
fi |
| 4224 |
< |
rm -f conftest* |
| 4514 |
> |
echo "$as_me: failed program was:" >&5 |
| 4515 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4516 |
|
|
| 4517 |
+ |
ac_cv_header_stdc=no |
| 4518 |
|
fi |
| 4519 |
< |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 4228 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
| 4229 |
< |
if test "$ac_cpu_pentiumpro" = yes; then |
| 4230 |
< |
: |
| 4231 |
< |
CPU_FLAGS=-mcpu=pentiumpro |
| 4232 |
< |
else |
| 4233 |
< |
: |
| 4519 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4520 |
|
|
| 4521 |
+ |
if test $ac_cv_header_stdc = yes; then |
| 4522 |
+ |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4523 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 4524 |
+ |
/* confdefs.h. */ |
| 4525 |
+ |
_ACEOF |
| 4526 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 4527 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 4528 |
+ |
/* end confdefs.h. */ |
| 4529 |
+ |
#include <string.h> |
| 4530 |
|
|
| 4531 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
| 4532 |
< |
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
| 4533 |
< |
if test "${ac_pentiumpro+set}" = set; then |
| 4534 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4531 |
> |
_ACEOF |
| 4532 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4533 |
> |
$EGREP "memchr" >/dev/null 2>&1; then |
| 4534 |
> |
: |
| 4535 |
|
else |
| 4536 |
< |
echo 'void f(){}' > conftest.c |
| 4242 |
< |
if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then |
| 4243 |
< |
ac_pentiumpro=yes |
| 4244 |
< |
else |
| 4245 |
< |
ac_pentiumpro=no |
| 4536 |
> |
ac_cv_header_stdc=no |
| 4537 |
|
fi |
| 4538 |
|
rm -f conftest* |
| 4539 |
|
|
| 4540 |
|
fi |
| 4250 |
– |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 4251 |
– |
echo "${ECHO_T}$ac_pentiumpro" >&6 |
| 4252 |
– |
if test "$ac_pentiumpro" = yes; then |
| 4253 |
– |
: |
| 4254 |
– |
CPU_FLAGS=-mpentiumpro |
| 4255 |
– |
else |
| 4256 |
– |
: |
| 4541 |
|
|
| 4542 |
< |
fi |
| 4542 |
> |
if test $ac_cv_header_stdc = yes; then |
| 4543 |
> |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4544 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4545 |
> |
/* confdefs.h. */ |
| 4546 |
> |
_ACEOF |
| 4547 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4548 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4549 |
> |
/* end confdefs.h. */ |
| 4550 |
> |
#include <stdlib.h> |
| 4551 |
|
|
| 4552 |
< |
fi |
| 4553 |
< |
|
| 4554 |
< |
;; |
| 4555 |
< |
powerpc*) |
| 4264 |
< |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
| 4265 |
< |
is60x=`echo $cputype | egrep "^600-9e?$"` |
| 4266 |
< |
if test -n "$is60x"; then |
| 4267 |
< |
|
| 4268 |
< |
|
| 4269 |
< |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
| 4270 |
< |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
| 4271 |
< |
if test "${ac_m_cpu_60x+set}" = set; then |
| 4272 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4552 |
> |
_ACEOF |
| 4553 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4554 |
> |
$EGREP "free" >/dev/null 2>&1; then |
| 4555 |
> |
: |
| 4556 |
|
else |
| 4557 |
< |
echo 'void f(){}' > conftest.c |
| 4275 |
< |
if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then |
| 4276 |
< |
ac_m_cpu_60x=yes |
| 4277 |
< |
else |
| 4278 |
< |
ac_m_cpu_60x=no |
| 4557 |
> |
ac_cv_header_stdc=no |
| 4558 |
|
fi |
| 4559 |
|
rm -f conftest* |
| 4560 |
|
|
| 4561 |
|
fi |
| 4283 |
– |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 4284 |
– |
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
| 4285 |
– |
if test "$ac_m_cpu_60x" = yes; then |
| 4286 |
– |
: |
| 4287 |
– |
CPU_FLAGS=-mcpu=$cputype |
| 4288 |
– |
else |
| 4289 |
– |
: |
| 4562 |
|
|
| 4563 |
< |
fi |
| 4564 |
< |
|
| 4565 |
< |
elif test "$cputype" = 750; then |
| 4566 |
< |
|
| 4295 |
< |
|
| 4296 |
< |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
| 4297 |
< |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
| 4298 |
< |
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
| 4299 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4563 |
> |
if test $ac_cv_header_stdc = yes; then |
| 4564 |
> |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4565 |
> |
if test "$cross_compiling" = yes; then |
| 4566 |
> |
: |
| 4567 |
|
else |
| 4568 |
< |
|
| 4569 |
< |
cat > conftest.c <<EOF |
| 4570 |
< |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
| 4571 |
< |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
| 4568 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4569 |
> |
/* confdefs.h. */ |
| 4570 |
> |
_ACEOF |
| 4571 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4572 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4573 |
> |
/* end confdefs.h. */ |
| 4574 |
> |
#include <ctype.h> |
| 4575 |
> |
#if ((' ' & 0x0FF) == 0x020) |
| 4576 |
> |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4577 |
> |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4578 |
> |
#else |
| 4579 |
> |
# define ISLOWER(c) \ |
| 4580 |
> |
(('a' <= (c) && (c) <= 'i') \ |
| 4581 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4582 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
| 4583 |
> |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4584 |
> |
#endif |
| 4585 |
> |
|
| 4586 |
> |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 4587 |
> |
int |
| 4588 |
> |
main () |
| 4589 |
> |
{ |
| 4590 |
> |
int i; |
| 4591 |
> |
for (i = 0; i < 256; i++) |
| 4592 |
> |
if (XOR (islower (i), ISLOWER (i)) |
| 4593 |
> |
|| toupper (i) != TOUPPER (i)) |
| 4594 |
> |
exit(2); |
| 4595 |
> |
exit (0); |
| 4596 |
> |
} |
| 4597 |
> |
_ACEOF |
| 4598 |
> |
rm -f conftest$ac_exeext |
| 4599 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4600 |
> |
(eval $ac_link) 2>&5 |
| 4601 |
> |
ac_status=$? |
| 4602 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4603 |
> |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4604 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4605 |
> |
(eval $ac_try) 2>&5 |
| 4606 |
> |
ac_status=$? |
| 4607 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4608 |
> |
(exit $ac_status); }; }; then |
| 4609 |
> |
: |
| 4610 |
> |
else |
| 4611 |
> |
echo "$as_me: program exited with status $ac_status" >&5 |
| 4612 |
> |
echo "$as_me: failed program was:" >&5 |
| 4613 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4614 |
> |
|
| 4615 |
> |
( exit $ac_status ) |
| 4616 |
> |
ac_cv_header_stdc=no |
| 4617 |
> |
fi |
| 4618 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4619 |
> |
fi |
| 4620 |
> |
fi |
| 4621 |
> |
fi |
| 4622 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4623 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 4624 |
> |
if test $ac_cv_header_stdc = yes; then |
| 4625 |
> |
|
| 4626 |
> |
cat >>confdefs.h <<\_ACEOF |
| 4627 |
> |
#define STDC_HEADERS 1 |
| 4628 |
> |
_ACEOF |
| 4629 |
> |
|
| 4630 |
> |
fi |
| 4631 |
> |
|
| 4632 |
> |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4633 |
> |
|
| 4634 |
> |
|
| 4635 |
> |
|
| 4636 |
> |
|
| 4637 |
> |
|
| 4638 |
> |
|
| 4639 |
> |
|
| 4640 |
> |
|
| 4641 |
> |
|
| 4642 |
> |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4643 |
> |
inttypes.h stdint.h unistd.h |
| 4644 |
> |
do |
| 4645 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4646 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4647 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4648 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4649 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4650 |
> |
else |
| 4651 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4652 |
> |
/* confdefs.h. */ |
| 4653 |
> |
_ACEOF |
| 4654 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4655 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4656 |
> |
/* end confdefs.h. */ |
| 4657 |
> |
$ac_includes_default |
| 4658 |
> |
|
| 4659 |
> |
#include <$ac_header> |
| 4660 |
> |
_ACEOF |
| 4661 |
> |
rm -f conftest.$ac_objext |
| 4662 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4663 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4664 |
> |
ac_status=$? |
| 4665 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4666 |
> |
rm -f conftest.er1 |
| 4667 |
> |
cat conftest.err >&5 |
| 4668 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4669 |
> |
(exit $ac_status); } && |
| 4670 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4671 |
> |
|| test ! -s conftest.err' |
| 4672 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4673 |
> |
(eval $ac_try) 2>&5 |
| 4674 |
> |
ac_status=$? |
| 4675 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4676 |
> |
(exit $ac_status); }; } && |
| 4677 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4678 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4679 |
> |
(eval $ac_try) 2>&5 |
| 4680 |
> |
ac_status=$? |
| 4681 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4682 |
> |
(exit $ac_status); }; }; then |
| 4683 |
> |
eval "$as_ac_Header=yes" |
| 4684 |
> |
else |
| 4685 |
> |
echo "$as_me: failed program was:" >&5 |
| 4686 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4687 |
> |
|
| 4688 |
> |
eval "$as_ac_Header=no" |
| 4689 |
> |
fi |
| 4690 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4691 |
> |
fi |
| 4692 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4693 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4694 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4695 |
> |
cat >>confdefs.h <<_ACEOF |
| 4696 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4697 |
> |
_ACEOF |
| 4698 |
> |
|
| 4699 |
> |
fi |
| 4700 |
> |
|
| 4701 |
> |
done |
| 4702 |
> |
|
| 4703 |
> |
|
| 4704 |
> |
# clean out junk possibly left behind by a previous configuration |
| 4705 |
> |
rm -f third-party/getopt.h |
| 4706 |
> |
# Check for getopt_long support |
| 4707 |
> |
|
| 4708 |
> |
for ac_header in getopt.h |
| 4709 |
> |
do |
| 4710 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4711 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4712 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4713 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4714 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4715 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4716 |
> |
fi |
| 4717 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4718 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4719 |
> |
else |
| 4720 |
> |
# Is the header compilable? |
| 4721 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4722 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 4723 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4724 |
> |
/* confdefs.h. */ |
| 4725 |
> |
_ACEOF |
| 4726 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4727 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4728 |
> |
/* end confdefs.h. */ |
| 4729 |
> |
$ac_includes_default |
| 4730 |
> |
#include <$ac_header> |
| 4731 |
> |
_ACEOF |
| 4732 |
> |
rm -f conftest.$ac_objext |
| 4733 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4734 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4735 |
> |
ac_status=$? |
| 4736 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4737 |
> |
rm -f conftest.er1 |
| 4738 |
> |
cat conftest.err >&5 |
| 4739 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4740 |
> |
(exit $ac_status); } && |
| 4741 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4742 |
> |
|| test ! -s conftest.err' |
| 4743 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4744 |
> |
(eval $ac_try) 2>&5 |
| 4745 |
> |
ac_status=$? |
| 4746 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4747 |
> |
(exit $ac_status); }; } && |
| 4748 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4749 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4750 |
> |
(eval $ac_try) 2>&5 |
| 4751 |
> |
ac_status=$? |
| 4752 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4753 |
> |
(exit $ac_status); }; }; then |
| 4754 |
> |
ac_header_compiler=yes |
| 4755 |
> |
else |
| 4756 |
> |
echo "$as_me: failed program was:" >&5 |
| 4757 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4758 |
> |
|
| 4759 |
> |
ac_header_compiler=no |
| 4760 |
> |
fi |
| 4761 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4762 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4763 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 4764 |
> |
|
| 4765 |
> |
# Is the header present? |
| 4766 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4767 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 4768 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4769 |
> |
/* confdefs.h. */ |
| 4770 |
> |
_ACEOF |
| 4771 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4772 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4773 |
> |
/* end confdefs.h. */ |
| 4774 |
> |
#include <$ac_header> |
| 4775 |
> |
_ACEOF |
| 4776 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4777 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4778 |
> |
ac_status=$? |
| 4779 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4780 |
> |
rm -f conftest.er1 |
| 4781 |
> |
cat conftest.err >&5 |
| 4782 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4783 |
> |
(exit $ac_status); } >/dev/null; then |
| 4784 |
> |
if test -s conftest.err; then |
| 4785 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4786 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4787 |
> |
else |
| 4788 |
> |
ac_cpp_err= |
| 4789 |
> |
fi |
| 4790 |
> |
else |
| 4791 |
> |
ac_cpp_err=yes |
| 4792 |
> |
fi |
| 4793 |
> |
if test -z "$ac_cpp_err"; then |
| 4794 |
> |
ac_header_preproc=yes |
| 4795 |
> |
else |
| 4796 |
> |
echo "$as_me: failed program was:" >&5 |
| 4797 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4798 |
> |
|
| 4799 |
> |
ac_header_preproc=no |
| 4800 |
> |
fi |
| 4801 |
> |
rm -f conftest.err conftest.$ac_ext |
| 4802 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4803 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 4804 |
> |
|
| 4805 |
> |
# So? What about this header? |
| 4806 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4807 |
> |
yes:no: ) |
| 4808 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 4809 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 4810 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 4811 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 4812 |
> |
ac_header_preproc=yes |
| 4813 |
> |
;; |
| 4814 |
> |
no:yes:* ) |
| 4815 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 4816 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 4817 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 4818 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 4819 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 4820 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 4821 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 4822 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4823 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 4824 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4825 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4826 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4827 |
> |
( |
| 4828 |
> |
cat <<\_ASBOX |
| 4829 |
> |
## ------------------------------ ## |
| 4830 |
> |
## Report this to gezelter@nd.edu ## |
| 4831 |
> |
## ------------------------------ ## |
| 4832 |
> |
_ASBOX |
| 4833 |
> |
) | |
| 4834 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4835 |
> |
;; |
| 4836 |
> |
esac |
| 4837 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4838 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4839 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4840 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4841 |
> |
else |
| 4842 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 4843 |
> |
fi |
| 4844 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4845 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4846 |
> |
|
| 4847 |
> |
fi |
| 4848 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4849 |
> |
cat >>confdefs.h <<_ACEOF |
| 4850 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4851 |
> |
_ACEOF |
| 4852 |
> |
|
| 4853 |
> |
fi |
| 4854 |
> |
|
| 4855 |
> |
done |
| 4856 |
> |
|
| 4857 |
> |
|
| 4858 |
> |
for ac_func in getopt_long |
| 4859 |
> |
do |
| 4860 |
> |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4861 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4862 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4863 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 4864 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4865 |
> |
else |
| 4866 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4867 |
> |
/* confdefs.h. */ |
| 4868 |
> |
_ACEOF |
| 4869 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4870 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4871 |
> |
/* end confdefs.h. */ |
| 4872 |
> |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 4873 |
> |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 4874 |
> |
#define $ac_func innocuous_$ac_func |
| 4875 |
> |
|
| 4876 |
> |
/* System header to define __stub macros and hopefully few prototypes, |
| 4877 |
> |
which can conflict with char $ac_func (); below. |
| 4878 |
> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4879 |
> |
<limits.h> exists even on freestanding compilers. */ |
| 4880 |
> |
|
| 4881 |
> |
#ifdef __STDC__ |
| 4882 |
> |
# include <limits.h> |
| 4883 |
> |
#else |
| 4884 |
> |
# include <assert.h> |
| 4885 |
> |
#endif |
| 4886 |
> |
|
| 4887 |
> |
#undef $ac_func |
| 4888 |
> |
|
| 4889 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4890 |
> |
#ifdef __cplusplus |
| 4891 |
> |
extern "C" |
| 4892 |
> |
{ |
| 4893 |
> |
#endif |
| 4894 |
> |
/* We use char because int might match the return type of a gcc2 |
| 4895 |
> |
builtin and then its argument prototype would still apply. */ |
| 4896 |
> |
char $ac_func (); |
| 4897 |
> |
/* The GNU C library defines this for functions which it implements |
| 4898 |
> |
to always fail with ENOSYS. Some functions are actually named |
| 4899 |
> |
something starting with __ and the normal name is an alias. */ |
| 4900 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4901 |
> |
choke me |
| 4902 |
> |
#else |
| 4903 |
> |
char (*f) () = $ac_func; |
| 4904 |
> |
#endif |
| 4905 |
> |
#ifdef __cplusplus |
| 4906 |
> |
} |
| 4907 |
> |
#endif |
| 4908 |
> |
|
| 4909 |
> |
int |
| 4910 |
> |
main () |
| 4911 |
> |
{ |
| 4912 |
> |
return f != $ac_func; |
| 4913 |
> |
; |
| 4914 |
> |
return 0; |
| 4915 |
> |
} |
| 4916 |
> |
_ACEOF |
| 4917 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4918 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4919 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4920 |
> |
ac_status=$? |
| 4921 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4922 |
> |
rm -f conftest.er1 |
| 4923 |
> |
cat conftest.err >&5 |
| 4924 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4925 |
> |
(exit $ac_status); } && |
| 4926 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4927 |
> |
|| test ! -s conftest.err' |
| 4928 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4929 |
> |
(eval $ac_try) 2>&5 |
| 4930 |
> |
ac_status=$? |
| 4931 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4932 |
> |
(exit $ac_status); }; } && |
| 4933 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4934 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4935 |
> |
(eval $ac_try) 2>&5 |
| 4936 |
> |
ac_status=$? |
| 4937 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4938 |
> |
(exit $ac_status); }; }; then |
| 4939 |
> |
eval "$as_ac_var=yes" |
| 4940 |
> |
else |
| 4941 |
> |
echo "$as_me: failed program was:" >&5 |
| 4942 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4943 |
> |
|
| 4944 |
> |
eval "$as_ac_var=no" |
| 4945 |
> |
fi |
| 4946 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4947 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4948 |
> |
fi |
| 4949 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 4950 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 4951 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 4952 |
> |
cat >>confdefs.h <<_ACEOF |
| 4953 |
> |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 4954 |
> |
_ACEOF |
| 4955 |
> |
|
| 4956 |
> |
else |
| 4957 |
> |
# FreeBSD has a gnugetopt library for this |
| 4958 |
> |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 4959 |
> |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 4960 |
> |
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
| 4961 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4962 |
> |
else |
| 4963 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 4964 |
> |
LIBS="-lgnugetopt $LIBS" |
| 4965 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4966 |
> |
/* confdefs.h. */ |
| 4967 |
> |
_ACEOF |
| 4968 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4969 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 4970 |
> |
/* end confdefs.h. */ |
| 4971 |
> |
|
| 4972 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4973 |
> |
#ifdef __cplusplus |
| 4974 |
> |
extern "C" |
| 4975 |
> |
#endif |
| 4976 |
> |
/* We use char because int might match the return type of a gcc2 |
| 4977 |
> |
builtin and then its argument prototype would still apply. */ |
| 4978 |
> |
char getopt_long (); |
| 4979 |
> |
int |
| 4980 |
> |
main () |
| 4981 |
> |
{ |
| 4982 |
> |
getopt_long (); |
| 4983 |
> |
; |
| 4984 |
> |
return 0; |
| 4985 |
> |
} |
| 4986 |
> |
_ACEOF |
| 4987 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4988 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4989 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4990 |
> |
ac_status=$? |
| 4991 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4992 |
> |
rm -f conftest.er1 |
| 4993 |
> |
cat conftest.err >&5 |
| 4994 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4995 |
> |
(exit $ac_status); } && |
| 4996 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4997 |
> |
|| test ! -s conftest.err' |
| 4998 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4999 |
> |
(eval $ac_try) 2>&5 |
| 5000 |
> |
ac_status=$? |
| 5001 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5002 |
> |
(exit $ac_status); }; } && |
| 5003 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 5004 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5005 |
> |
(eval $ac_try) 2>&5 |
| 5006 |
> |
ac_status=$? |
| 5007 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5008 |
> |
(exit $ac_status); }; }; then |
| 5009 |
> |
ac_cv_lib_gnugetopt_getopt_long=yes |
| 5010 |
> |
else |
| 5011 |
> |
echo "$as_me: failed program was:" >&5 |
| 5012 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5013 |
> |
|
| 5014 |
> |
ac_cv_lib_gnugetopt_getopt_long=no |
| 5015 |
> |
fi |
| 5016 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5017 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 5018 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 5019 |
> |
fi |
| 5020 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 5021 |
> |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
| 5022 |
> |
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
| 5023 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5024 |
> |
#define HAVE_GETOPT_LONG 1 |
| 5025 |
> |
_ACEOF |
| 5026 |
> |
|
| 5027 |
> |
else |
| 5028 |
> |
# use the GNU replacement |
| 5029 |
> |
case $LIBOBJS in |
| 5030 |
> |
"getopt.$ac_objext" | \ |
| 5031 |
> |
*" getopt.$ac_objext" | \ |
| 5032 |
> |
"getopt.$ac_objext "* | \ |
| 5033 |
> |
*" getopt.$ac_objext "* ) ;; |
| 5034 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
| 5035 |
> |
esac |
| 5036 |
> |
|
| 5037 |
> |
case $LIBOBJS in |
| 5038 |
> |
"getopt1.$ac_objext" | \ |
| 5039 |
> |
*" getopt1.$ac_objext" | \ |
| 5040 |
> |
"getopt1.$ac_objext "* | \ |
| 5041 |
> |
*" getopt1.$ac_objext "* ) ;; |
| 5042 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
| 5043 |
> |
esac |
| 5044 |
> |
|
| 5045 |
> |
ac_config_links="$ac_config_links third-party/getopt.h:third-party/gnugetopt.h" |
| 5046 |
> |
|
| 5047 |
> |
fi |
| 5048 |
> |
|
| 5049 |
> |
fi |
| 5050 |
> |
done |
| 5051 |
> |
|
| 5052 |
> |
|
| 5053 |
> |
|
| 5054 |
> |
case $debug in |
| 5055 |
> |
1) |
| 5056 |
> |
;; |
| 5057 |
> |
*) |
| 5058 |
> |
|
| 5059 |
> |
|
| 5060 |
> |
|
| 5061 |
> |
|
| 5062 |
> |
|
| 5063 |
> |
|
| 5064 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 5065 |
> |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
| 5066 |
> |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
| 5067 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5068 |
> |
else |
| 5069 |
> |
|
| 5070 |
> |
cat > conftest.c <<EOF |
| 5071 |
> |
#ifdef __GNUC__ |
| 5072 |
> |
#ifndef __INTEL_COMPILER |
| 5073 |
|
yes; |
| 5074 |
+ |
#endif |
| 5075 |
+ |
#endif |
| 5076 |
+ |
EOF |
| 5077 |
+ |
if { ac_try='${CC-cc} -E conftest.c' |
| 5078 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5079 |
+ |
(eval $ac_try) 2>&5 |
| 5080 |
+ |
ac_status=$? |
| 5081 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5082 |
+ |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
| 5083 |
+ |
ac_cv_prog_really_gcc=yes |
| 5084 |
+ |
else |
| 5085 |
+ |
ac_cv_prog_really_gcc=no |
| 5086 |
+ |
fi |
| 5087 |
+ |
|
| 5088 |
+ |
fi |
| 5089 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
| 5090 |
+ |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6 |
| 5091 |
+ |
if test "$ac_cv_prog_really_gcc" = yes; then |
| 5092 |
+ |
: |
| 5093 |
+ |
|
| 5094 |
+ |
else |
| 5095 |
+ |
: |
| 5096 |
+ |
|
| 5097 |
+ |
fi |
| 5098 |
+ |
|
| 5099 |
+ |
|
| 5100 |
+ |
# Try to determine "good" native compiler flags if none specified on command |
| 5101 |
+ |
# line |
| 5102 |
+ |
if test "$ac_test_CFLAGS" != "set"; then |
| 5103 |
+ |
CFLAGS="" |
| 5104 |
+ |
case "${host_cpu}-${host_os}" in |
| 5105 |
+ |
|
| 5106 |
+ |
*linux*) if test "$CC" = icc; then |
| 5107 |
+ |
CFLAGS="-O" |
| 5108 |
+ |
fi;; |
| 5109 |
+ |
sparc-solaris2*) if test "$CC" = cc; then |
| 5110 |
+ |
CFLAGS="-native -fast -xO5 -dalign" |
| 5111 |
+ |
fi;; |
| 5112 |
+ |
|
| 5113 |
+ |
alpha*-osf*) if test "$CC" = cc; then |
| 5114 |
+ |
CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" |
| 5115 |
+ |
fi;; |
| 5116 |
+ |
|
| 5117 |
+ |
hppa*-hpux*) if test "$CC" = cc; then |
| 5118 |
+ |
CFLAGS="-Ae +O3 +Oall" |
| 5119 |
+ |
fi;; |
| 5120 |
+ |
|
| 5121 |
+ |
rs6000*-aix*) if test "$CC" = cc -o "$CC" = xlc; then |
| 5122 |
+ |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
| 5123 |
+ |
fi;; |
| 5124 |
+ |
powerpc*-aix*) |
| 5125 |
+ |
if test "$CC" = cc -o "$CC" = xlc; then |
| 5126 |
+ |
CFLAGS="-O3 -qtune=auto -qansialias -w" |
| 5127 |
+ |
echo "*******************************************************" |
| 5128 |
+ |
echo "* You have AIX on an unknown powerpc system. It is *" |
| 5129 |
+ |
echo "* recommended that you use *" |
| 5130 |
+ |
echo "* *" |
| 5131 |
+ |
echo "* CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w *" |
| 5132 |
+ |
echo "* ^^^ *" |
| 5133 |
+ |
echo "* where xxx is 601, 603, 604, or whatever kind of *" |
| 5134 |
+ |
echo "* PowerPC CPU you have. For more info, man cc. *" |
| 5135 |
+ |
echo "*******************************************************" |
| 5136 |
+ |
fi;; |
| 5137 |
+ |
*darwin*) |
| 5138 |
+ |
if test "$CC" = xlc -o "$CC" = cc; then |
| 5139 |
+ |
CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
| 5140 |
+ |
fi;; |
| 5141 |
+ |
esac |
| 5142 |
+ |
|
| 5143 |
+ |
# use default flags for gcc on all systems |
| 5144 |
+ |
if test $ac_cv_prog_really_gcc = yes; then |
| 5145 |
+ |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" |
| 5146 |
+ |
fi |
| 5147 |
+ |
|
| 5148 |
+ |
# test for gcc-specific flags: |
| 5149 |
+ |
if test $ac_cv_prog_really_gcc = yes; then |
| 5150 |
+ |
# -malign-double for x86 systems |
| 5151 |
+ |
|
| 5152 |
+ |
|
| 5153 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 |
| 5154 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 |
| 5155 |
+ |
if test "${ac_align_double+set}" = set; then |
| 5156 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5157 |
+ |
else |
| 5158 |
+ |
echo 'void f(){}' > conftest.c |
| 5159 |
+ |
if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then |
| 5160 |
+ |
ac_align_double=yes |
| 5161 |
+ |
else |
| 5162 |
+ |
ac_align_double=no |
| 5163 |
+ |
fi |
| 5164 |
+ |
rm -f conftest* |
| 5165 |
+ |
|
| 5166 |
+ |
fi |
| 5167 |
+ |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 5168 |
+ |
echo "${ECHO_T}$ac_align_double" >&6 |
| 5169 |
+ |
if test "$ac_align_double" = yes; then |
| 5170 |
+ |
: |
| 5171 |
+ |
CFLAGS="$CFLAGS -malign-double" |
| 5172 |
+ |
else |
| 5173 |
+ |
: |
| 5174 |
+ |
|
| 5175 |
+ |
fi |
| 5176 |
+ |
|
| 5177 |
+ |
# -fstrict-aliasing for gcc-2.95+ |
| 5178 |
+ |
|
| 5179 |
+ |
|
| 5180 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 |
| 5181 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 |
| 5182 |
+ |
if test "${ac_fstrict_aliasing+set}" = set; then |
| 5183 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5184 |
+ |
else |
| 5185 |
+ |
echo 'void f(){}' > conftest.c |
| 5186 |
+ |
if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then |
| 5187 |
+ |
ac_fstrict_aliasing=yes |
| 5188 |
+ |
else |
| 5189 |
+ |
ac_fstrict_aliasing=no |
| 5190 |
+ |
fi |
| 5191 |
+ |
rm -f conftest* |
| 5192 |
+ |
|
| 5193 |
+ |
fi |
| 5194 |
+ |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 5195 |
+ |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
| 5196 |
+ |
if test "$ac_fstrict_aliasing" = yes; then |
| 5197 |
+ |
: |
| 5198 |
+ |
CFLAGS="$CFLAGS -fstrict-aliasing" |
| 5199 |
+ |
else |
| 5200 |
+ |
: |
| 5201 |
+ |
|
| 5202 |
+ |
fi |
| 5203 |
+ |
|
| 5204 |
+ |
fi |
| 5205 |
+ |
|
| 5206 |
+ |
CPU_FLAGS="" |
| 5207 |
+ |
if test $ac_cv_prog_really_gcc = yes; then |
| 5208 |
+ |
case "${host_cpu}" in |
| 5209 |
+ |
i586*) |
| 5210 |
+ |
|
| 5211 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 |
| 5212 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 |
| 5213 |
+ |
if test "${ac_cpu_pentium+set}" = set; then |
| 5214 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5215 |
+ |
else |
| 5216 |
+ |
echo 'void f(){}' > conftest.c |
| 5217 |
+ |
if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then |
| 5218 |
+ |
ac_cpu_pentium=yes |
| 5219 |
+ |
else |
| 5220 |
+ |
ac_cpu_pentium=no |
| 5221 |
+ |
fi |
| 5222 |
+ |
rm -f conftest* |
| 5223 |
+ |
|
| 5224 |
+ |
fi |
| 5225 |
+ |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 5226 |
+ |
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
| 5227 |
+ |
if test "$ac_cpu_pentium" = yes; then |
| 5228 |
+ |
: |
| 5229 |
+ |
CPU_FLAGS=-mcpu=pentium |
| 5230 |
+ |
else |
| 5231 |
+ |
: |
| 5232 |
+ |
|
| 5233 |
+ |
|
| 5234 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 |
| 5235 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 |
| 5236 |
+ |
if test "${ac_pentium+set}" = set; then |
| 5237 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5238 |
+ |
else |
| 5239 |
+ |
echo 'void f(){}' > conftest.c |
| 5240 |
+ |
if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then |
| 5241 |
+ |
ac_pentium=yes |
| 5242 |
+ |
else |
| 5243 |
+ |
ac_pentium=no |
| 5244 |
+ |
fi |
| 5245 |
+ |
rm -f conftest* |
| 5246 |
+ |
|
| 5247 |
+ |
fi |
| 5248 |
+ |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 5249 |
+ |
echo "${ECHO_T}$ac_pentium" >&6 |
| 5250 |
+ |
if test "$ac_pentium" = yes; then |
| 5251 |
+ |
: |
| 5252 |
+ |
CPU_FLAGS=-mpentium |
| 5253 |
+ |
else |
| 5254 |
+ |
: |
| 5255 |
+ |
|
| 5256 |
+ |
fi |
| 5257 |
+ |
|
| 5258 |
+ |
fi |
| 5259 |
+ |
|
| 5260 |
+ |
;; |
| 5261 |
+ |
i686*) |
| 5262 |
+ |
|
| 5263 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 |
| 5264 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
| 5265 |
+ |
if test "${ac_cpu_pentiumpro+set}" = set; then |
| 5266 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5267 |
+ |
else |
| 5268 |
+ |
echo 'void f(){}' > conftest.c |
| 5269 |
+ |
if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then |
| 5270 |
+ |
ac_cpu_pentiumpro=yes |
| 5271 |
+ |
else |
| 5272 |
+ |
ac_cpu_pentiumpro=no |
| 5273 |
+ |
fi |
| 5274 |
+ |
rm -f conftest* |
| 5275 |
+ |
|
| 5276 |
+ |
fi |
| 5277 |
+ |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 5278 |
+ |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
| 5279 |
+ |
if test "$ac_cpu_pentiumpro" = yes; then |
| 5280 |
+ |
: |
| 5281 |
+ |
CPU_FLAGS=-mcpu=pentiumpro |
| 5282 |
+ |
else |
| 5283 |
+ |
: |
| 5284 |
+ |
|
| 5285 |
+ |
|
| 5286 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 |
| 5287 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 |
| 5288 |
+ |
if test "${ac_pentiumpro+set}" = set; then |
| 5289 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5290 |
+ |
else |
| 5291 |
+ |
echo 'void f(){}' > conftest.c |
| 5292 |
+ |
if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then |
| 5293 |
+ |
ac_pentiumpro=yes |
| 5294 |
+ |
else |
| 5295 |
+ |
ac_pentiumpro=no |
| 5296 |
+ |
fi |
| 5297 |
+ |
rm -f conftest* |
| 5298 |
+ |
|
| 5299 |
+ |
fi |
| 5300 |
+ |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 5301 |
+ |
echo "${ECHO_T}$ac_pentiumpro" >&6 |
| 5302 |
+ |
if test "$ac_pentiumpro" = yes; then |
| 5303 |
+ |
: |
| 5304 |
+ |
CPU_FLAGS=-mpentiumpro |
| 5305 |
+ |
else |
| 5306 |
+ |
: |
| 5307 |
+ |
|
| 5308 |
+ |
fi |
| 5309 |
+ |
|
| 5310 |
+ |
fi |
| 5311 |
+ |
|
| 5312 |
+ |
;; |
| 5313 |
+ |
powerpc*) |
| 5314 |
+ |
cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` |
| 5315 |
+ |
is60x=`echo $cputype | egrep "^600-9e?$"` |
| 5316 |
+ |
if test -n "$is60x"; then |
| 5317 |
+ |
|
| 5318 |
+ |
|
| 5319 |
+ |
echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 |
| 5320 |
+ |
echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 |
| 5321 |
+ |
if test "${ac_m_cpu_60x+set}" = set; then |
| 5322 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5323 |
+ |
else |
| 5324 |
+ |
echo 'void f(){}' > conftest.c |
| 5325 |
+ |
if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then |
| 5326 |
+ |
ac_m_cpu_60x=yes |
| 5327 |
+ |
else |
| 5328 |
+ |
ac_m_cpu_60x=no |
| 5329 |
+ |
fi |
| 5330 |
+ |
rm -f conftest* |
| 5331 |
+ |
|
| 5332 |
+ |
fi |
| 5333 |
+ |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 5334 |
+ |
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
| 5335 |
+ |
if test "$ac_m_cpu_60x" = yes; then |
| 5336 |
+ |
: |
| 5337 |
+ |
CPU_FLAGS=-mcpu=$cputype |
| 5338 |
+ |
else |
| 5339 |
+ |
: |
| 5340 |
+ |
|
| 5341 |
+ |
fi |
| 5342 |
+ |
|
| 5343 |
+ |
elif test "$cputype" = 750; then |
| 5344 |
+ |
|
| 5345 |
+ |
|
| 5346 |
+ |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
| 5347 |
+ |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
| 5348 |
+ |
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
| 5349 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5350 |
+ |
else |
| 5351 |
+ |
|
| 5352 |
+ |
cat > conftest.c <<EOF |
| 5353 |
+ |
#ifdef __GNUC__ && !defined (__INTEL_COMPILER) |
| 5354 |
+ |
# if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) |
| 5355 |
+ |
yes; |
| 5356 |
|
# endif |
| 5357 |
|
#endif |
| 5358 |
|
EOF |
| 6046 |
|
ac_guessed_f90flags=no |
| 6047 |
|
fi |
| 6048 |
|
rm -f conftest* |
| 6049 |
< |
ac_ext=f90 |
| 6050 |
< |
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
| 6051 |
< |
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6052 |
< |
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
| 6049 |
> |
ac_ext=c |
| 6050 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6051 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6052 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6053 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6054 |
|
|
| 6055 |
|
|
| 6056 |
|
fi |
| 6090 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 6091 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 6092 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 6093 |
+ |
# OS/2's system install, which has a completely different semantic |
| 6094 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 6095 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 6096 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 6107 |
|
case $as_dir/ in |
| 6108 |
|
./ | .// | /cC/* | \ |
| 6109 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 6110 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 6111 |
|
/usr/ucb/* ) ;; |
| 6112 |
|
*) |
| 6113 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 6115 |
|
# by default. |
| 6116 |
|
for ac_prog in ginstall scoinst install; do |
| 6117 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6118 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 6119 |
< |
if test $ac_prog = install && |
| 6120 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 6121 |
< |
# AIX install. It has an incompatible calling convention. |
| 6122 |
< |
: |
| 6123 |
< |
elif test $ac_prog = install && |
| 6124 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 6125 |
< |
# program-specific install script used by HP pwplus--don't use. |
| 6126 |
< |
: |
| 6127 |
< |
else |
| 6128 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 6129 |
< |
break 3 |
| 6130 |
< |
fi |
| 6131 |
< |
fi |
| 6118 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 6119 |
> |
if test $ac_prog = install && |
| 6120 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 6121 |
> |
# AIX install. It has an incompatible calling convention. |
| 6122 |
> |
: |
| 6123 |
> |
elif test $ac_prog = install && |
| 6124 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 6125 |
> |
# program-specific install script used by HP pwplus--don't use. |
| 6126 |
> |
: |
| 6127 |
> |
else |
| 6128 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 6129 |
> |
break 3 |
| 6130 |
> |
fi |
| 6131 |
> |
fi |
| 6132 |
|
done |
| 6133 |
|
done |
| 6134 |
|
;; |
| 6171 |
|
|
| 6172 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 6173 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 6174 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| 6174 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 6175 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 6176 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6177 |
|
else |
| 6370 |
|
ac_check_lib_save_LIBS=$LIBS |
| 6371 |
|
LIBS="-lfl $LIBS" |
| 6372 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6373 |
+ |
/* confdefs.h. */ |
| 6374 |
+ |
_ACEOF |
| 6375 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6376 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6377 |
+ |
/* end confdefs.h. */ |
| 6378 |
|
|
| 6379 |
< |
program main |
| 6380 |
< |
|
| 6381 |
< |
call yywrap |
| 6382 |
< |
end program main |
| 6383 |
< |
|
| 6379 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6380 |
> |
#ifdef __cplusplus |
| 6381 |
> |
extern "C" |
| 6382 |
> |
#endif |
| 6383 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6384 |
> |
builtin and then its argument prototype would still apply. */ |
| 6385 |
> |
char yywrap (); |
| 6386 |
> |
int |
| 6387 |
> |
main () |
| 6388 |
> |
{ |
| 6389 |
> |
yywrap (); |
| 6390 |
> |
; |
| 6391 |
> |
return 0; |
| 6392 |
> |
} |
| 6393 |
|
_ACEOF |
| 6394 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6395 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6396 |
< |
(eval $ac_link) 2>&5 |
| 6396 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6397 |
|
ac_status=$? |
| 6398 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6399 |
+ |
rm -f conftest.er1 |
| 6400 |
+ |
cat conftest.err >&5 |
| 6401 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6402 |
|
(exit $ac_status); } && |
| 6403 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6403 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6404 |
> |
|| test ! -s conftest.err' |
| 6405 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6406 |
|
(eval $ac_try) 2>&5 |
| 6407 |
|
ac_status=$? |
| 6408 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6409 |
+ |
(exit $ac_status); }; } && |
| 6410 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6411 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6412 |
+ |
(eval $ac_try) 2>&5 |
| 6413 |
+ |
ac_status=$? |
| 6414 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6415 |
|
(exit $ac_status); }; }; then |
| 6416 |
|
ac_cv_lib_fl_yywrap=yes |
| 6417 |
|
else |
| 6420 |
|
|
| 6421 |
|
ac_cv_lib_fl_yywrap=no |
| 6422 |
|
fi |
| 6423 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6423 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6424 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6425 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6426 |
|
fi |
| 6427 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
| 6437 |
|
ac_check_lib_save_LIBS=$LIBS |
| 6438 |
|
LIBS="-ll $LIBS" |
| 6439 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6440 |
+ |
/* confdefs.h. */ |
| 6441 |
+ |
_ACEOF |
| 6442 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6443 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6444 |
+ |
/* end confdefs.h. */ |
| 6445 |
|
|
| 6446 |
< |
program main |
| 6447 |
< |
|
| 6448 |
< |
call yywrap |
| 6449 |
< |
end program main |
| 6450 |
< |
|
| 6446 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6447 |
> |
#ifdef __cplusplus |
| 6448 |
> |
extern "C" |
| 6449 |
> |
#endif |
| 6450 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6451 |
> |
builtin and then its argument prototype would still apply. */ |
| 6452 |
> |
char yywrap (); |
| 6453 |
> |
int |
| 6454 |
> |
main () |
| 6455 |
> |
{ |
| 6456 |
> |
yywrap (); |
| 6457 |
> |
; |
| 6458 |
> |
return 0; |
| 6459 |
> |
} |
| 6460 |
|
_ACEOF |
| 6461 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6462 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6463 |
< |
(eval $ac_link) 2>&5 |
| 6463 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6464 |
|
ac_status=$? |
| 6465 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6466 |
+ |
rm -f conftest.er1 |
| 6467 |
+ |
cat conftest.err >&5 |
| 6468 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6469 |
|
(exit $ac_status); } && |
| 6470 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6470 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6471 |
> |
|| test ! -s conftest.err' |
| 6472 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6473 |
|
(eval $ac_try) 2>&5 |
| 6474 |
|
ac_status=$? |
| 6475 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6476 |
+ |
(exit $ac_status); }; } && |
| 6477 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6478 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6479 |
+ |
(eval $ac_try) 2>&5 |
| 6480 |
+ |
ac_status=$? |
| 6481 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6482 |
|
(exit $ac_status); }; }; then |
| 6483 |
|
ac_cv_lib_l_yywrap=yes |
| 6484 |
|
else |
| 6487 |
|
|
| 6488 |
|
ac_cv_lib_l_yywrap=no |
| 6489 |
|
fi |
| 6490 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6490 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6491 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6492 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6493 |
|
fi |
| 6494 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
| 6550 |
|
_ACEOF |
| 6551 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6552 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6553 |
< |
(eval $ac_link) 2>&5 |
| 6553 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6554 |
|
ac_status=$? |
| 6555 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6556 |
+ |
rm -f conftest.er1 |
| 6557 |
+ |
cat conftest.err >&5 |
| 6558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6559 |
|
(exit $ac_status); } && |
| 6560 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6560 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6561 |
> |
|| test ! -s conftest.err' |
| 6562 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6563 |
|
(eval $ac_try) 2>&5 |
| 6564 |
|
ac_status=$? |
| 6565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6566 |
+ |
(exit $ac_status); }; } && |
| 6567 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6568 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6569 |
+ |
(eval $ac_try) 2>&5 |
| 6570 |
+ |
ac_status=$? |
| 6571 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6572 |
|
(exit $ac_status); }; }; then |
| 6573 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 6574 |
|
else |
| 6576 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6577 |
|
|
| 6578 |
|
fi |
| 6579 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6579 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6580 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6581 |
|
LIBS=$ac_save_LIBS |
| 6582 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
| 6583 |
|
|
| 6661 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 6662 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 6663 |
|
sed -n \ |
| 6664 |
< |
"s/'/'\\\\''/g; |
| 6665 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 6664 |
> |
"s/'/'\\\\''/g; |
| 6665 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 6666 |
|
;; |
| 6667 |
|
*) |
| 6668 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 6669 |
|
sed -n \ |
| 6670 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 6670 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 6671 |
|
;; |
| 6672 |
|
esac; |
| 6673 |
|
} | |
| 6706 |
|
*) MPI="$with_mpi"; USE_MPI=yes ;; |
| 6707 |
|
esac |
| 6708 |
|
if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then |
| 6709 |
< |
MPI="/usr/local" |
| 6709 |
> |
MPI="/usr/local" |
| 6710 |
|
fi |
| 6711 |
|
if test "$USE_MPI" = "yes"; then |
| 5598 |
– |
echo "MPI = $MPI" |
| 6712 |
|
|
| 6713 |
|
|
| 6714 |
|
# Set variables... |
| 6789 |
|
ac_check_lib_save_LIBS=$LIBS |
| 6790 |
|
LIBS="-lmpi $LIBS" |
| 6791 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5679 |
– |
#line $LINENO "configure" |
| 6792 |
|
/* confdefs.h. */ |
| 6793 |
|
_ACEOF |
| 6794 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6812 |
|
_ACEOF |
| 6813 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6814 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6815 |
< |
(eval $ac_link) 2>&5 |
| 6815 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6816 |
|
ac_status=$? |
| 6817 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6818 |
+ |
rm -f conftest.er1 |
| 6819 |
+ |
cat conftest.err >&5 |
| 6820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6821 |
|
(exit $ac_status); } && |
| 6822 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6822 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6823 |
> |
|| test ! -s conftest.err' |
| 6824 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6825 |
|
(eval $ac_try) 2>&5 |
| 6826 |
|
ac_status=$? |
| 6827 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6828 |
+ |
(exit $ac_status); }; } && |
| 6829 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6830 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6831 |
+ |
(eval $ac_try) 2>&5 |
| 6832 |
+ |
ac_status=$? |
| 6833 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6834 |
|
(exit $ac_status); }; }; then |
| 6835 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 6836 |
|
else |
| 6839 |
|
|
| 6840 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 6841 |
|
fi |
| 6842 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6842 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6843 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6844 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6845 |
|
fi |
| 6846 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 6859 |
|
ac_check_lib_save_LIBS=$LIBS |
| 6860 |
|
LIBS="-lmpich $LIBS" |
| 6861 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5739 |
– |
#line $LINENO "configure" |
| 6862 |
|
/* confdefs.h. */ |
| 6863 |
|
_ACEOF |
| 6864 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6882 |
|
_ACEOF |
| 6883 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6884 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6885 |
< |
(eval $ac_link) 2>&5 |
| 6885 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6886 |
|
ac_status=$? |
| 6887 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6888 |
+ |
rm -f conftest.er1 |
| 6889 |
+ |
cat conftest.err >&5 |
| 6890 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6891 |
|
(exit $ac_status); } && |
| 6892 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6892 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6893 |
> |
|| test ! -s conftest.err' |
| 6894 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6895 |
|
(eval $ac_try) 2>&5 |
| 6896 |
|
ac_status=$? |
| 6897 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6898 |
+ |
(exit $ac_status); }; } && |
| 6899 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6900 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6901 |
+ |
(eval $ac_try) 2>&5 |
| 6902 |
+ |
ac_status=$? |
| 6903 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6904 |
|
(exit $ac_status); }; }; then |
| 6905 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 6906 |
|
else |
| 6909 |
|
|
| 6910 |
|
ac_cv_lib_mpich_MPI_Init=no |
| 6911 |
|
fi |
| 6912 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6912 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6913 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6914 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6915 |
|
fi |
| 6916 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 6930 |
|
ac_check_lib_save_LIBS=$LIBS |
| 6931 |
|
LIBS="-lmpi "-llam" $LIBS" |
| 6932 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5800 |
– |
#line $LINENO "configure" |
| 6933 |
|
/* confdefs.h. */ |
| 6934 |
|
_ACEOF |
| 6935 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6953 |
|
_ACEOF |
| 6954 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6955 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6956 |
< |
(eval $ac_link) 2>&5 |
| 6956 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6957 |
|
ac_status=$? |
| 6958 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6959 |
+ |
rm -f conftest.er1 |
| 6960 |
+ |
cat conftest.err >&5 |
| 6961 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6962 |
|
(exit $ac_status); } && |
| 6963 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 6963 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6964 |
> |
|| test ! -s conftest.err' |
| 6965 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6966 |
|
(eval $ac_try) 2>&5 |
| 6967 |
|
ac_status=$? |
| 6968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6969 |
+ |
(exit $ac_status); }; } && |
| 6970 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6971 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6972 |
+ |
(eval $ac_try) 2>&5 |
| 6973 |
+ |
ac_status=$? |
| 6974 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6975 |
|
(exit $ac_status); }; }; then |
| 6976 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 6977 |
|
else |
| 6980 |
|
|
| 6981 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 6982 |
|
fi |
| 6983 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 6983 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6984 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6985 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6986 |
|
fi |
| 6987 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 7002 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7003 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
| 7004 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5862 |
– |
#line $LINENO "configure" |
| 7005 |
|
/* confdefs.h. */ |
| 7006 |
|
_ACEOF |
| 7007 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7025 |
|
_ACEOF |
| 7026 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7027 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7028 |
< |
(eval $ac_link) 2>&5 |
| 7028 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7029 |
|
ac_status=$? |
| 7030 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7031 |
+ |
rm -f conftest.er1 |
| 7032 |
+ |
cat conftest.err >&5 |
| 7033 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7034 |
|
(exit $ac_status); } && |
| 7035 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7035 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7036 |
> |
|| test ! -s conftest.err' |
| 7037 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7038 |
|
(eval $ac_try) 2>&5 |
| 7039 |
|
ac_status=$? |
| 7040 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7041 |
+ |
(exit $ac_status); }; } && |
| 7042 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7043 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7044 |
+ |
(eval $ac_try) 2>&5 |
| 7045 |
+ |
ac_status=$? |
| 7046 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7047 |
|
(exit $ac_status); }; }; then |
| 7048 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 7049 |
|
else |
| 7052 |
|
|
| 7053 |
|
ac_cv_lib_mpi_MPI_Init=no |
| 7054 |
|
fi |
| 7055 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7055 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7056 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7057 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7058 |
|
fi |
| 7059 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 7091 |
|
|
| 7092 |
|
|
| 7093 |
|
|
| 7094 |
< |
ac_ext=c |
| 7095 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 7096 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7097 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5945 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5946 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 5947 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 5948 |
< |
# On Suns, sometimes $CPP names a directory. |
| 5949 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 5950 |
< |
CPP= |
| 5951 |
< |
fi |
| 5952 |
< |
if test -z "$CPP"; then |
| 5953 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 5954 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5955 |
< |
else |
| 5956 |
< |
# Double quotes because CPP needs to be expanded |
| 5957 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 5958 |
< |
do |
| 5959 |
< |
ac_preproc_ok=false |
| 5960 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 5961 |
< |
do |
| 5962 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 5963 |
< |
# with a fresh cross-compiler works. |
| 5964 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5965 |
< |
# <limits.h> exists even on freestanding compilers. |
| 5966 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5967 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5968 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 5969 |
< |
#line $LINENO "configure" |
| 5970 |
< |
/* confdefs.h. */ |
| 5971 |
< |
_ACEOF |
| 5972 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 5973 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 5974 |
< |
/* end confdefs.h. */ |
| 5975 |
< |
#ifdef __STDC__ |
| 5976 |
< |
# include <limits.h> |
| 5977 |
< |
#else |
| 5978 |
< |
# include <assert.h> |
| 5979 |
< |
#endif |
| 5980 |
< |
Syntax error |
| 5981 |
< |
_ACEOF |
| 5982 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5983 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5984 |
< |
ac_status=$? |
| 5985 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5986 |
< |
rm -f conftest.er1 |
| 5987 |
< |
cat conftest.err >&5 |
| 5988 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5989 |
< |
(exit $ac_status); } >/dev/null; then |
| 5990 |
< |
if test -s conftest.err; then |
| 5991 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5992 |
< |
else |
| 5993 |
< |
ac_cpp_err= |
| 5994 |
< |
fi |
| 7094 |
> |
# Check whether --with-sprng or --without-sprng was given. |
| 7095 |
> |
if test "${with_sprng+set}" = set; then |
| 7096 |
> |
withval="$with_sprng" |
| 7097 |
> |
with_sprng=$withval |
| 7098 |
|
else |
| 7099 |
< |
ac_cpp_err=yes |
| 7100 |
< |
fi |
| 5998 |
< |
if test -z "$ac_cpp_err"; then |
| 5999 |
< |
: |
| 6000 |
< |
else |
| 6001 |
< |
echo "$as_me: failed program was:" >&5 |
| 6002 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7099 |
> |
with_sprng="/usr/local" |
| 7100 |
> |
fi; |
| 7101 |
|
|
| 7102 |
< |
# Broken: fails on valid input. |
| 7103 |
< |
continue |
| 7102 |
> |
case "x$with_sprng" in |
| 7103 |
> |
xyes | "x") USE_SPRNG=yes;; |
| 7104 |
> |
xno) USE_SPRNG=no ;; |
| 7105 |
> |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
| 7106 |
> |
esac |
| 7107 |
> |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
| 7108 |
> |
SPRNG="/usr/local" |
| 7109 |
|
fi |
| 7110 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7110 |
> |
if test "$USE_SPRNG" = "yes"; then |
| 7111 |
|
|
| 6009 |
– |
# OK, works on sane cases. Now check whether non-existent headers |
| 6010 |
– |
# can be detected and how. |
| 6011 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6012 |
– |
#line $LINENO "configure" |
| 6013 |
– |
/* confdefs.h. */ |
| 6014 |
– |
_ACEOF |
| 6015 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6016 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6017 |
– |
/* end confdefs.h. */ |
| 6018 |
– |
#include <ac_nonexistent.h> |
| 6019 |
– |
_ACEOF |
| 6020 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6021 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6022 |
– |
ac_status=$? |
| 6023 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6024 |
– |
rm -f conftest.er1 |
| 6025 |
– |
cat conftest.err >&5 |
| 6026 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6027 |
– |
(exit $ac_status); } >/dev/null; then |
| 6028 |
– |
if test -s conftest.err; then |
| 6029 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6030 |
– |
else |
| 6031 |
– |
ac_cpp_err= |
| 6032 |
– |
fi |
| 6033 |
– |
else |
| 6034 |
– |
ac_cpp_err=yes |
| 6035 |
– |
fi |
| 6036 |
– |
if test -z "$ac_cpp_err"; then |
| 6037 |
– |
# Broken: success on invalid input. |
| 6038 |
– |
continue |
| 6039 |
– |
else |
| 6040 |
– |
echo "$as_me: failed program was:" >&5 |
| 6041 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7112 |
|
|
| 7113 |
< |
# Passes both tests. |
| 7114 |
< |
ac_preproc_ok=: |
| 7115 |
< |
break |
| 6046 |
< |
fi |
| 6047 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7113 |
> |
# Set variables... |
| 7114 |
> |
SPRNG_LIB_DIR="$SPRNG/lib" |
| 7115 |
> |
SPRNG_INC_DIR="$SPRNG/include" |
| 7116 |
|
|
| 6049 |
– |
done |
| 6050 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 6051 |
– |
rm -f conftest.err conftest.$ac_ext |
| 6052 |
– |
if $ac_preproc_ok; then |
| 6053 |
– |
break |
| 6054 |
– |
fi |
| 7117 |
|
|
| 6056 |
– |
done |
| 6057 |
– |
ac_cv_prog_CPP=$CPP |
| 7118 |
|
|
| 7119 |
< |
fi |
| 7120 |
< |
CPP=$ac_cv_prog_CPP |
| 7119 |
> |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
| 7120 |
> |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
| 7121 |
> |
have_sprng_h=0 |
| 7122 |
> |
echo '#include <sprng.h>' > conftest.cc |
| 7123 |
> |
if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then |
| 7124 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 7125 |
> |
echo "${ECHO_T}yes" >&6 |
| 7126 |
> |
have_sprng_h=1 |
| 7127 |
|
else |
| 7128 |
< |
ac_cv_prog_CPP=$CPP |
| 7128 |
> |
echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5 |
| 7129 |
> |
echo "${ECHO_T}no! Check SPRNG include path!" >&6 |
| 7130 |
> |
USE_SPRNG="no" |
| 7131 |
|
fi |
| 7132 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 7133 |
< |
echo "${ECHO_T}$CPP" >&6 |
| 6066 |
< |
ac_preproc_ok=false |
| 6067 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 6068 |
< |
do |
| 6069 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 6070 |
< |
# with a fresh cross-compiler works. |
| 6071 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6072 |
< |
# <limits.h> exists even on freestanding compilers. |
| 6073 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 6074 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 6075 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6076 |
< |
#line $LINENO "configure" |
| 6077 |
< |
/* confdefs.h. */ |
| 6078 |
< |
_ACEOF |
| 6079 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6080 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 6081 |
< |
/* end confdefs.h. */ |
| 6082 |
< |
#ifdef __STDC__ |
| 6083 |
< |
# include <limits.h> |
| 6084 |
< |
#else |
| 6085 |
< |
# include <assert.h> |
| 6086 |
< |
#endif |
| 6087 |
< |
Syntax error |
| 6088 |
< |
_ACEOF |
| 6089 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6090 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6091 |
< |
ac_status=$? |
| 6092 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6093 |
< |
rm -f conftest.er1 |
| 6094 |
< |
cat conftest.err >&5 |
| 6095 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6096 |
< |
(exit $ac_status); } >/dev/null; then |
| 6097 |
< |
if test -s conftest.err; then |
| 6098 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6099 |
< |
else |
| 6100 |
< |
ac_cpp_err= |
| 6101 |
< |
fi |
| 6102 |
< |
else |
| 6103 |
< |
ac_cpp_err=yes |
| 6104 |
< |
fi |
| 6105 |
< |
if test -z "$ac_cpp_err"; then |
| 6106 |
< |
: |
| 6107 |
< |
else |
| 6108 |
< |
echo "$as_me: failed program was:" >&5 |
| 6109 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7132 |
> |
rm -f conftest* |
| 7133 |
> |
if test "$have_sprng_h" = 1; then |
| 7134 |
|
|
| 7135 |
< |
# Broken: fails on valid input. |
| 7136 |
< |
continue |
| 6113 |
< |
fi |
| 6114 |
< |
rm -f conftest.err conftest.$ac_ext |
| 6115 |
< |
|
| 6116 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 6117 |
< |
# can be detected and how. |
| 6118 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6119 |
< |
#line $LINENO "configure" |
| 6120 |
< |
/* confdefs.h. */ |
| 7135 |
> |
cat >>confdefs.h <<\_ACEOF |
| 7136 |
> |
#define HAVE_SPRNG_H 1 |
| 7137 |
|
_ACEOF |
| 6122 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6123 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6124 |
– |
/* end confdefs.h. */ |
| 6125 |
– |
#include <ac_nonexistent.h> |
| 6126 |
– |
_ACEOF |
| 6127 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6128 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6129 |
– |
ac_status=$? |
| 6130 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6131 |
– |
rm -f conftest.er1 |
| 6132 |
– |
cat conftest.err >&5 |
| 6133 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6134 |
– |
(exit $ac_status); } >/dev/null; then |
| 6135 |
– |
if test -s conftest.err; then |
| 6136 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6137 |
– |
else |
| 6138 |
– |
ac_cpp_err= |
| 6139 |
– |
fi |
| 6140 |
– |
else |
| 6141 |
– |
ac_cpp_err=yes |
| 6142 |
– |
fi |
| 6143 |
– |
if test -z "$ac_cpp_err"; then |
| 6144 |
– |
# Broken: success on invalid input. |
| 6145 |
– |
continue |
| 6146 |
– |
else |
| 6147 |
– |
echo "$as_me: failed program was:" >&5 |
| 6148 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7138 |
|
|
| 6150 |
– |
# Passes both tests. |
| 6151 |
– |
ac_preproc_ok=: |
| 6152 |
– |
break |
| 7139 |
|
fi |
| 6154 |
– |
rm -f conftest.err conftest.$ac_ext |
| 7140 |
|
|
| 6156 |
– |
done |
| 6157 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 6158 |
– |
rm -f conftest.err conftest.$ac_ext |
| 6159 |
– |
if $ac_preproc_ok; then |
| 6160 |
– |
: |
| 6161 |
– |
else |
| 6162 |
– |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 6163 |
– |
See \`config.log' for more details." >&5 |
| 6164 |
– |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 6165 |
– |
See \`config.log' for more details." >&2;} |
| 6166 |
– |
{ (exit 1); exit 1; }; } |
| 6167 |
– |
fi |
| 6168 |
– |
|
| 7141 |
|
ac_ext=c |
| 6170 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 6171 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6172 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6173 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6174 |
– |
|
| 6175 |
– |
|
| 6176 |
– |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 6177 |
– |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 6178 |
– |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 6179 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6180 |
– |
else |
| 6181 |
– |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 6182 |
– |
then ac_cv_prog_egrep='grep -E' |
| 6183 |
– |
else ac_cv_prog_egrep='egrep' |
| 6184 |
– |
fi |
| 6185 |
– |
fi |
| 6186 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 6187 |
– |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 6188 |
– |
EGREP=$ac_cv_prog_egrep |
| 6189 |
– |
|
| 6190 |
– |
|
| 6191 |
– |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6192 |
– |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 6193 |
– |
if test "${ac_cv_header_stdc+set}" = set; then |
| 6194 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6195 |
– |
else |
| 6196 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6197 |
– |
#line $LINENO "configure" |
| 6198 |
– |
/* confdefs.h. */ |
| 6199 |
– |
_ACEOF |
| 6200 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6201 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6202 |
– |
/* end confdefs.h. */ |
| 6203 |
– |
#include <stdlib.h> |
| 6204 |
– |
#include <stdarg.h> |
| 6205 |
– |
#include <string.h> |
| 6206 |
– |
#include <float.h> |
| 6207 |
– |
|
| 6208 |
– |
int |
| 6209 |
– |
main () |
| 6210 |
– |
{ |
| 6211 |
– |
|
| 6212 |
– |
; |
| 6213 |
– |
return 0; |
| 6214 |
– |
} |
| 6215 |
– |
_ACEOF |
| 6216 |
– |
rm -f conftest.$ac_objext |
| 6217 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6218 |
– |
(eval $ac_compile) 2>&5 |
| 6219 |
– |
ac_status=$? |
| 6220 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6221 |
– |
(exit $ac_status); } && |
| 6222 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 6223 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6224 |
– |
(eval $ac_try) 2>&5 |
| 6225 |
– |
ac_status=$? |
| 6226 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6227 |
– |
(exit $ac_status); }; }; then |
| 6228 |
– |
ac_cv_header_stdc=yes |
| 6229 |
– |
else |
| 6230 |
– |
echo "$as_me: failed program was:" >&5 |
| 6231 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6232 |
– |
|
| 6233 |
– |
ac_cv_header_stdc=no |
| 6234 |
– |
fi |
| 6235 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6236 |
– |
|
| 6237 |
– |
if test $ac_cv_header_stdc = yes; then |
| 6238 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6239 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6240 |
– |
#line $LINENO "configure" |
| 6241 |
– |
/* confdefs.h. */ |
| 6242 |
– |
_ACEOF |
| 6243 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6244 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6245 |
– |
/* end confdefs.h. */ |
| 6246 |
– |
#include <string.h> |
| 6247 |
– |
|
| 6248 |
– |
_ACEOF |
| 6249 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6250 |
– |
$EGREP "memchr" >/dev/null 2>&1; then |
| 6251 |
– |
: |
| 6252 |
– |
else |
| 6253 |
– |
ac_cv_header_stdc=no |
| 6254 |
– |
fi |
| 6255 |
– |
rm -f conftest* |
| 6256 |
– |
|
| 6257 |
– |
fi |
| 6258 |
– |
|
| 6259 |
– |
if test $ac_cv_header_stdc = yes; then |
| 6260 |
– |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 6261 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6262 |
– |
#line $LINENO "configure" |
| 6263 |
– |
/* confdefs.h. */ |
| 6264 |
– |
_ACEOF |
| 6265 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6266 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6267 |
– |
/* end confdefs.h. */ |
| 6268 |
– |
#include <stdlib.h> |
| 6269 |
– |
|
| 6270 |
– |
_ACEOF |
| 6271 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6272 |
– |
$EGREP "free" >/dev/null 2>&1; then |
| 6273 |
– |
: |
| 6274 |
– |
else |
| 6275 |
– |
ac_cv_header_stdc=no |
| 6276 |
– |
fi |
| 6277 |
– |
rm -f conftest* |
| 6278 |
– |
|
| 6279 |
– |
fi |
| 6280 |
– |
|
| 6281 |
– |
if test $ac_cv_header_stdc = yes; then |
| 6282 |
– |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 6283 |
– |
if test "$cross_compiling" = yes; then |
| 6284 |
– |
: |
| 6285 |
– |
else |
| 6286 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6287 |
– |
#line $LINENO "configure" |
| 6288 |
– |
/* confdefs.h. */ |
| 6289 |
– |
_ACEOF |
| 6290 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6291 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6292 |
– |
/* end confdefs.h. */ |
| 6293 |
– |
#include <ctype.h> |
| 6294 |
– |
#if ((' ' & 0x0FF) == 0x020) |
| 6295 |
– |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 6296 |
– |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 6297 |
– |
#else |
| 6298 |
– |
# define ISLOWER(c) \ |
| 6299 |
– |
(('a' <= (c) && (c) <= 'i') \ |
| 6300 |
– |
|| ('j' <= (c) && (c) <= 'r') \ |
| 6301 |
– |
|| ('s' <= (c) && (c) <= 'z')) |
| 6302 |
– |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 6303 |
– |
#endif |
| 6304 |
– |
|
| 6305 |
– |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 6306 |
– |
int |
| 6307 |
– |
main () |
| 6308 |
– |
{ |
| 6309 |
– |
int i; |
| 6310 |
– |
for (i = 0; i < 256; i++) |
| 6311 |
– |
if (XOR (islower (i), ISLOWER (i)) |
| 6312 |
– |
|| toupper (i) != TOUPPER (i)) |
| 6313 |
– |
exit(2); |
| 6314 |
– |
exit (0); |
| 6315 |
– |
} |
| 6316 |
– |
_ACEOF |
| 6317 |
– |
rm -f conftest$ac_exeext |
| 6318 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6319 |
– |
(eval $ac_link) 2>&5 |
| 6320 |
– |
ac_status=$? |
| 6321 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6322 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6323 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6324 |
– |
(eval $ac_try) 2>&5 |
| 6325 |
– |
ac_status=$? |
| 6326 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6327 |
– |
(exit $ac_status); }; }; then |
| 6328 |
– |
: |
| 6329 |
– |
else |
| 6330 |
– |
echo "$as_me: program exited with status $ac_status" >&5 |
| 6331 |
– |
echo "$as_me: failed program was:" >&5 |
| 6332 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6333 |
– |
|
| 6334 |
– |
( exit $ac_status ) |
| 6335 |
– |
ac_cv_header_stdc=no |
| 6336 |
– |
fi |
| 6337 |
– |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6338 |
– |
fi |
| 6339 |
– |
fi |
| 6340 |
– |
fi |
| 6341 |
– |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 6342 |
– |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 6343 |
– |
if test $ac_cv_header_stdc = yes; then |
| 6344 |
– |
|
| 6345 |
– |
cat >>confdefs.h <<\_ACEOF |
| 6346 |
– |
#define STDC_HEADERS 1 |
| 6347 |
– |
_ACEOF |
| 6348 |
– |
|
| 6349 |
– |
fi |
| 6350 |
– |
|
| 6351 |
– |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 6352 |
– |
|
| 6353 |
– |
|
| 6354 |
– |
|
| 6355 |
– |
|
| 6356 |
– |
|
| 6357 |
– |
|
| 6358 |
– |
|
| 6359 |
– |
|
| 6360 |
– |
|
| 6361 |
– |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 6362 |
– |
inttypes.h stdint.h unistd.h |
| 6363 |
– |
do |
| 6364 |
– |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6365 |
– |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6366 |
– |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6367 |
– |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6368 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6369 |
– |
else |
| 6370 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6371 |
– |
#line $LINENO "configure" |
| 6372 |
– |
/* confdefs.h. */ |
| 6373 |
– |
_ACEOF |
| 6374 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6375 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6376 |
– |
/* end confdefs.h. */ |
| 6377 |
– |
$ac_includes_default |
| 6378 |
– |
|
| 6379 |
– |
#include <$ac_header> |
| 6380 |
– |
_ACEOF |
| 6381 |
– |
rm -f conftest.$ac_objext |
| 6382 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6383 |
– |
(eval $ac_compile) 2>&5 |
| 6384 |
– |
ac_status=$? |
| 6385 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6386 |
– |
(exit $ac_status); } && |
| 6387 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 6388 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6389 |
– |
(eval $ac_try) 2>&5 |
| 6390 |
– |
ac_status=$? |
| 6391 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6392 |
– |
(exit $ac_status); }; }; then |
| 6393 |
– |
eval "$as_ac_Header=yes" |
| 6394 |
– |
else |
| 6395 |
– |
echo "$as_me: failed program was:" >&5 |
| 6396 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6397 |
– |
|
| 6398 |
– |
eval "$as_ac_Header=no" |
| 6399 |
– |
fi |
| 6400 |
– |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6401 |
– |
fi |
| 6402 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6403 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6404 |
– |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6405 |
– |
cat >>confdefs.h <<_ACEOF |
| 6406 |
– |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6407 |
– |
_ACEOF |
| 6408 |
– |
|
| 6409 |
– |
fi |
| 6410 |
– |
|
| 6411 |
– |
done |
| 6412 |
– |
|
| 6413 |
– |
|
| 6414 |
– |
|
| 6415 |
– |
|
| 6416 |
– |
|
| 6417 |
– |
# Check whether --with-sprng_prefix or --without-sprng_prefix was given. |
| 6418 |
– |
if test "${with_sprng_prefix+set}" = set; then |
| 6419 |
– |
withval="$with_sprng_prefix" |
| 6420 |
– |
sprng_prefix="$withval" |
| 6421 |
– |
else |
| 6422 |
– |
sprng_prefix="/usr/local" |
| 6423 |
– |
fi; |
| 6424 |
– |
|
| 6425 |
– |
# Check whether --with-sprng-libdir or --without-sprng-libdir was given. |
| 6426 |
– |
if test "${with_sprng_libdir+set}" = set; then |
| 6427 |
– |
withval="$with_sprng_libdir" |
| 6428 |
– |
sprng_libdir="$withval" |
| 6429 |
– |
else |
| 6430 |
– |
sprng_libdir="/usr/local/lib" |
| 6431 |
– |
fi; |
| 6432 |
– |
|
| 6433 |
– |
# Check whether --with-sprng-include or --without-sprng-include was given. |
| 6434 |
– |
if test "${with_sprng_include+set}" = set; then |
| 6435 |
– |
withval="$with_sprng_include" |
| 6436 |
– |
sprng_include="$withval" |
| 6437 |
– |
else |
| 6438 |
– |
sprng_include="/usr/local/include/sprng" |
| 6439 |
– |
fi; |
| 6440 |
– |
|
| 6441 |
– |
if test x$sprng_libdir = x ; then |
| 6442 |
– |
sprng_libdir=${sprng_prefix}/lib |
| 6443 |
– |
fi |
| 6444 |
– |
|
| 6445 |
– |
if test x$sprng_include = x ; then |
| 6446 |
– |
sprng_include=${sprng_prefix}/include |
| 6447 |
– |
fi |
| 6448 |
– |
|
| 6449 |
– |
echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include" >&5 |
| 6450 |
– |
echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6 |
| 6451 |
– |
if test -f ${sprng_include}/sprng.h; then |
| 6452 |
– |
have_sprngincl=yes |
| 6453 |
– |
echo "$as_me:$LINENO: result: yes" >&5 |
| 6454 |
– |
echo "${ECHO_T}yes" >&6 |
| 6455 |
– |
else |
| 6456 |
– |
have_sprngincl=no |
| 6457 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 6458 |
– |
echo "${ECHO_T}no" >&6 |
| 6459 |
– |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG include files" >&5 |
| 6460 |
– |
echo "$as_me: error: Could not locate the SPRNG include files" >&2;} |
| 6461 |
– |
{ (exit 1); exit 1; }; } |
| 6462 |
– |
fi |
| 6463 |
– |
|
| 6464 |
– |
echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_libdir" >&5 |
| 6465 |
– |
echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6 |
| 6466 |
– |
if test -f ${sprng_libdir}/libsprng.a; then |
| 6467 |
– |
have_sprnglib=yes |
| 6468 |
– |
echo "$as_me:$LINENO: result: yes" >&5 |
| 6469 |
– |
echo "${ECHO_T}yes" >&6 |
| 6470 |
– |
else |
| 6471 |
– |
have_sprnglib=no |
| 6472 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 6473 |
– |
echo "${ECHO_T}no" >&6 |
| 6474 |
– |
{ { echo "$as_me:$LINENO: error: Could not locate the SPRNG libraries" >&5 |
| 6475 |
– |
echo "$as_me: error: Could not locate the SPRNG libraries" >&2;} |
| 6476 |
– |
{ (exit 1); exit 1; }; } |
| 6477 |
– |
fi |
| 6478 |
– |
|
| 6479 |
– |
|
| 6480 |
– |
|
| 6481 |
– |
ac_ext=c |
| 7142 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7143 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7144 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7145 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7146 |
|
|
| 7147 |
< |
ac_save_CPPFLAGS=$CPPFLAGS |
| 7148 |
< |
CPPFLAGS="${CPPFLAGS} -I${sprng_include}" |
| 6489 |
< |
ac_save_LDFLAGS=$LDFLAGS |
| 6490 |
< |
LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng" |
| 6491 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
| 6492 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
| 6493 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
| 6494 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
| 6495 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6496 |
< |
fi |
| 6497 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
| 6498 |
< |
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
| 6499 |
< |
else |
| 6500 |
< |
# Is the header compilable? |
| 6501 |
< |
echo "$as_me:$LINENO: checking sprng.h usability" >&5 |
| 6502 |
< |
echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6 |
| 6503 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6504 |
< |
#line $LINENO "configure" |
| 6505 |
< |
/* confdefs.h. */ |
| 6506 |
< |
_ACEOF |
| 6507 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6508 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 6509 |
< |
/* end confdefs.h. */ |
| 6510 |
< |
$ac_includes_default |
| 6511 |
< |
#include <sprng.h> |
| 6512 |
< |
_ACEOF |
| 6513 |
< |
rm -f conftest.$ac_objext |
| 6514 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6515 |
< |
(eval $ac_compile) 2>&5 |
| 6516 |
< |
ac_status=$? |
| 6517 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6518 |
< |
(exit $ac_status); } && |
| 6519 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6520 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6521 |
< |
(eval $ac_try) 2>&5 |
| 6522 |
< |
ac_status=$? |
| 6523 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6524 |
< |
(exit $ac_status); }; }; then |
| 6525 |
< |
ac_header_compiler=yes |
| 6526 |
< |
else |
| 6527 |
< |
echo "$as_me: failed program was:" >&5 |
| 6528 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7147 |
> |
ac_save_LDFLAGS=$LDFLAGS |
| 7148 |
> |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
| 7149 |
|
|
| 7150 |
< |
ac_header_compiler=no |
| 6531 |
< |
fi |
| 6532 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 6533 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6534 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6535 |
< |
|
| 6536 |
< |
# Is the header present? |
| 6537 |
< |
echo "$as_me:$LINENO: checking sprng.h presence" >&5 |
| 6538 |
< |
echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6 |
| 6539 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6540 |
< |
#line $LINENO "configure" |
| 6541 |
< |
/* confdefs.h. */ |
| 6542 |
< |
_ACEOF |
| 6543 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6544 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 6545 |
< |
/* end confdefs.h. */ |
| 6546 |
< |
#include <sprng.h> |
| 6547 |
< |
_ACEOF |
| 6548 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6549 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6550 |
< |
ac_status=$? |
| 6551 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6552 |
< |
rm -f conftest.er1 |
| 6553 |
< |
cat conftest.err >&5 |
| 6554 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6555 |
< |
(exit $ac_status); } >/dev/null; then |
| 6556 |
< |
if test -s conftest.err; then |
| 6557 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6558 |
< |
else |
| 6559 |
< |
ac_cpp_err= |
| 6560 |
< |
fi |
| 6561 |
< |
else |
| 6562 |
< |
ac_cpp_err=yes |
| 6563 |
< |
fi |
| 6564 |
< |
if test -z "$ac_cpp_err"; then |
| 6565 |
< |
ac_header_preproc=yes |
| 6566 |
< |
else |
| 6567 |
< |
echo "$as_me: failed program was:" >&5 |
| 6568 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6569 |
< |
|
| 6570 |
< |
ac_header_preproc=no |
| 6571 |
< |
fi |
| 6572 |
< |
rm -f conftest.err conftest.$ac_ext |
| 6573 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6574 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6575 |
< |
|
| 6576 |
< |
# So? What about this header? |
| 6577 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 6578 |
< |
yes:no ) |
| 6579 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6580 |
< |
echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6581 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
| 6582 |
< |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
| 6583 |
< |
( |
| 6584 |
< |
cat <<\_ASBOX |
| 6585 |
< |
## ------------------------------------ ## |
| 6586 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 6587 |
< |
## ------------------------------------ ## |
| 6588 |
< |
_ASBOX |
| 6589 |
< |
) | |
| 6590 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6591 |
< |
;; |
| 6592 |
< |
no:yes ) |
| 6593 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5 |
| 6594 |
< |
echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;} |
| 6595 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5 |
| 6596 |
< |
echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;} |
| 6597 |
< |
{ echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5 |
| 6598 |
< |
echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;} |
| 6599 |
< |
( |
| 6600 |
< |
cat <<\_ASBOX |
| 6601 |
< |
## ------------------------------------ ## |
| 6602 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 6603 |
< |
## ------------------------------------ ## |
| 6604 |
< |
_ASBOX |
| 6605 |
< |
) | |
| 6606 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6607 |
< |
;; |
| 6608 |
< |
esac |
| 6609 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
| 6610 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
| 6611 |
< |
if test "${ac_cv_header_sprng_h+set}" = set; then |
| 6612 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6613 |
< |
else |
| 6614 |
< |
ac_cv_header_sprng_h=$ac_header_preproc |
| 6615 |
< |
fi |
| 6616 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sprng_h" >&5 |
| 6617 |
< |
echo "${ECHO_T}$ac_cv_header_sprng_h" >&6 |
| 6618 |
< |
|
| 6619 |
< |
fi |
| 6620 |
< |
if test $ac_cv_header_sprng_h = yes; then |
| 6621 |
< |
|
| 6622 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
| 7150 |
> |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
| 7151 |
|
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
| 7152 |
|
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
| 7153 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7155 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7156 |
|
LIBS="-lsprng $LIBS" |
| 7157 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6630 |
– |
#line $LINENO "configure" |
| 7158 |
|
/* confdefs.h. */ |
| 7159 |
|
_ACEOF |
| 7160 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7178 |
|
_ACEOF |
| 7179 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7180 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7181 |
< |
(eval $ac_link) 2>&5 |
| 7181 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7182 |
|
ac_status=$? |
| 7183 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7184 |
+ |
rm -f conftest.er1 |
| 7185 |
+ |
cat conftest.err >&5 |
| 7186 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7187 |
|
(exit $ac_status); } && |
| 7188 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7188 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7189 |
> |
|| test ! -s conftest.err' |
| 7190 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7191 |
|
(eval $ac_try) 2>&5 |
| 7192 |
|
ac_status=$? |
| 7193 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7194 |
+ |
(exit $ac_status); }; } && |
| 7195 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7196 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7197 |
+ |
(eval $ac_try) 2>&5 |
| 7198 |
+ |
ac_status=$? |
| 7199 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7200 |
|
(exit $ac_status); }; }; then |
| 7201 |
|
ac_cv_lib_sprng_init_rng=yes |
| 7202 |
|
else |
| 7205 |
|
|
| 7206 |
|
ac_cv_lib_sprng_init_rng=no |
| 7207 |
|
fi |
| 7208 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7208 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7209 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7210 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7211 |
|
fi |
| 7212 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
| 7213 |
|
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
| 7214 |
|
if test $ac_cv_lib_sprng_init_rng = yes; then |
| 7215 |
< |
SPRNG_LIBDIR="${sprng_libdir}" |
| 7216 |
< |
SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}" |
| 6679 |
< |
HAVE_SPRNG="yes" |
| 6680 |
< |
fi |
| 7215 |
> |
SPRNG_LIB="-lsprng" |
| 7216 |
> |
else |
| 7217 |
|
|
| 7218 |
+ |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
| 7219 |
+ |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
| 7220 |
+ |
{ (exit 1); exit 1; }; } |
| 7221 |
+ |
USE_SPRNG="no" |
| 7222 |
+ |
|
| 7223 |
|
fi |
| 7224 |
|
|
| 7225 |
|
|
| 7226 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
| 7227 |
< |
LDFLAGS=$ac_save_LDFLAGS |
| 7228 |
< |
ac_ext=c |
| 6688 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 6689 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6690 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6691 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6692 |
< |
|
| 6693 |
< |
|
| 6694 |
< |
if test x_$HAVE_SPRNG != x_yes; then |
| 6695 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with SPRNG" >&5 |
| 6696 |
< |
echo "$as_me: error: Can't build with SPRNG" >&2;} |
| 7226 |
> |
if test "$USE_SPRNG" = "no"; then |
| 7227 |
> |
{ { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5 |
| 7228 |
> |
echo "$as_me: error: No working SPRNG library found" >&2;} |
| 7229 |
|
{ (exit 1); exit 1; }; } |
| 7230 |
< |
fi |
| 7230 |
> |
fi |
| 7231 |
|
|
| 7232 |
|
|
| 7233 |
+ |
fi |
| 7234 |
|
|
| 7235 |
|
|
| 7236 |
|
|
| 7282 |
|
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
| 7283 |
|
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
| 7284 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6752 |
– |
#line $LINENO "configure" |
| 7285 |
|
/* confdefs.h. */ |
| 7286 |
|
_ACEOF |
| 7287 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7292 |
|
_ACEOF |
| 7293 |
|
rm -f conftest.$ac_objext |
| 7294 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7295 |
< |
(eval $ac_compile) 2>&5 |
| 7295 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7296 |
|
ac_status=$? |
| 7297 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7298 |
+ |
rm -f conftest.er1 |
| 7299 |
+ |
cat conftest.err >&5 |
| 7300 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7301 |
|
(exit $ac_status); } && |
| 7302 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7302 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7303 |
> |
|| test ! -s conftest.err' |
| 7304 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7305 |
|
(eval $ac_try) 2>&5 |
| 7306 |
|
ac_status=$? |
| 7307 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7308 |
+ |
(exit $ac_status); }; } && |
| 7309 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7310 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7311 |
+ |
(eval $ac_try) 2>&5 |
| 7312 |
+ |
ac_status=$? |
| 7313 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7314 |
|
(exit $ac_status); }; }; then |
| 7315 |
|
ac_header_compiler=yes |
| 7316 |
|
else |
| 7319 |
|
|
| 7320 |
|
ac_header_compiler=no |
| 7321 |
|
fi |
| 7322 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
| 7322 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7323 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7324 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7325 |
|
|
| 7327 |
|
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
| 7328 |
|
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
| 7329 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6788 |
– |
#line $LINENO "configure" |
| 7330 |
|
/* confdefs.h. */ |
| 7331 |
|
_ACEOF |
| 7332 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7344 |
|
(exit $ac_status); } >/dev/null; then |
| 7345 |
|
if test -s conftest.err; then |
| 7346 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7347 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7348 |
|
else |
| 7349 |
|
ac_cpp_err= |
| 7350 |
|
fi |
| 7364 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7365 |
|
|
| 7366 |
|
# So? What about this header? |
| 7367 |
< |
case $ac_header_compiler:$ac_header_preproc in |
| 7368 |
< |
yes:no ) |
| 7367 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7368 |
> |
yes:no: ) |
| 7369 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7370 |
|
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7371 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 7372 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 7373 |
< |
( |
| 6832 |
< |
cat <<\_ASBOX |
| 6833 |
< |
## ------------------------------------ ## |
| 6834 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 6835 |
< |
## ------------------------------------ ## |
| 6836 |
< |
_ASBOX |
| 6837 |
< |
) | |
| 6838 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7371 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5 |
| 7372 |
> |
echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;} |
| 7373 |
> |
ac_header_preproc=yes |
| 7374 |
|
;; |
| 7375 |
< |
no:yes ) |
| 7375 |
> |
no:yes:* ) |
| 7376 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
| 7377 |
|
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
| 7378 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
| 7379 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
| 7378 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
| 7379 |
> |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
| 7380 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5 |
| 7381 |
> |
echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;} |
| 7382 |
> |
{ echo "$as_me:$LINENO: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 7383 |
> |
echo "$as_me: WARNING: mkl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 7384 |
|
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
| 7385 |
|
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
| 7386 |
+ |
{ echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5 |
| 7387 |
+ |
echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;} |
| 7388 |
|
( |
| 7389 |
|
cat <<\_ASBOX |
| 7390 |
< |
## ------------------------------------ ## |
| 7391 |
< |
## Report this to bug-autoconf@gnu.org. ## |
| 7392 |
< |
## ------------------------------------ ## |
| 7390 |
> |
## ------------------------------ ## |
| 7391 |
> |
## Report this to gezelter@nd.edu ## |
| 7392 |
> |
## ------------------------------ ## |
| 7393 |
|
_ASBOX |
| 7394 |
|
) | |
| 7395 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 7416 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7417 |
|
LIBS="-lmkl $LIBS" |
| 7418 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6878 |
– |
#line $LINENO "configure" |
| 7419 |
|
/* confdefs.h. */ |
| 7420 |
|
_ACEOF |
| 7421 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7439 |
|
_ACEOF |
| 7440 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7441 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7442 |
< |
(eval $ac_link) 2>&5 |
| 7442 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7443 |
|
ac_status=$? |
| 7444 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7445 |
+ |
rm -f conftest.er1 |
| 7446 |
+ |
cat conftest.err >&5 |
| 7447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7448 |
|
(exit $ac_status); } && |
| 7449 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7449 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7450 |
> |
|| test ! -s conftest.err' |
| 7451 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7452 |
|
(eval $ac_try) 2>&5 |
| 7453 |
|
ac_status=$? |
| 7454 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7455 |
+ |
(exit $ac_status); }; } && |
| 7456 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7457 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7458 |
+ |
(eval $ac_try) 2>&5 |
| 7459 |
+ |
ac_status=$? |
| 7460 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7461 |
|
(exit $ac_status); }; }; then |
| 7462 |
|
ac_cv_lib_mkl_vslNewStream=yes |
| 7463 |
|
else |
| 7466 |
|
|
| 7467 |
|
ac_cv_lib_mkl_vslNewStream=no |
| 7468 |
|
fi |
| 7469 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| 7469 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7470 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7471 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7472 |
|
fi |
| 7473 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
| 7574 |
|
|
| 7575 |
|
ac_config_headers="$ac_config_headers libBASS/config.h libmdtools/config.h" |
| 7576 |
|
|
| 7577 |
< |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile" |
| 7577 |
> |
ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile samples/water/dimer/Makefile samples/water/spce/Makefile samples/water/ssd/Makefile samples/water/ssde/Makefile samples/water/tip4p/Makefile" |
| 7578 |
|
|
| 7579 |
|
|
| 7580 |
|
cat >confcache <<\_ACEOF |
| 7605 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 7606 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 7607 |
|
sed -n \ |
| 7608 |
< |
"s/'/'\\\\''/g; |
| 7609 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 7608 |
> |
"s/'/'\\\\''/g; |
| 7609 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 7610 |
|
;; |
| 7611 |
|
*) |
| 7612 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 7613 |
|
sed -n \ |
| 7614 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 7614 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 7615 |
|
;; |
| 7616 |
|
esac; |
| 7617 |
|
} | |
| 7641 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 7642 |
|
# (actually we leave an empty line to preserve line numbers). |
| 7643 |
|
if test "x$srcdir" = x.; then |
| 7644 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 7644 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 7645 |
|
s/:*\$(srcdir):*/:/; |
| 7646 |
|
s/:*\${srcdir}:*/:/; |
| 7647 |
|
s/:*@srcdir@:*/:/; |
| 7648 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
| 7648 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
| 7649 |
|
s/:*$//; |
| 7650 |
< |
s/^[^=]*=[ ]*$//; |
| 7650 |
> |
s/^[^=]*=[ ]*$//; |
| 7651 |
|
}' |
| 7652 |
|
fi |
| 7653 |
|
|
| 7658 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 7659 |
|
# 1. Remove the extension, and $U if already installed. |
| 7660 |
|
ac_i=`echo "$ac_i" | |
| 7661 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 7661 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 7662 |
|
# 2. Add them. |
| 7663 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 7664 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 7702 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 7703 |
|
set -o posix |
| 7704 |
|
fi |
| 7705 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 7706 |
|
|
| 7707 |
|
# Support unset when possible. |
| 7708 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
| 7708 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 7709 |
|
as_unset=unset |
| 7710 |
|
else |
| 7711 |
|
as_unset=false |
| 7724 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 7725 |
|
LC_TELEPHONE LC_TIME |
| 7726 |
|
do |
| 7727 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 7727 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 7728 |
|
eval $as_var=C; export $as_var |
| 7729 |
|
else |
| 7730 |
|
$as_unset $as_var |
| 7903 |
|
if mkdir -p . 2>/dev/null; then |
| 7904 |
|
as_mkdir_p=: |
| 7905 |
|
else |
| 7906 |
+ |
test -d ./-p && rmdir ./-p |
| 7907 |
|
as_mkdir_p=false |
| 7908 |
|
fi |
| 7909 |
|
|
| 7910 |
|
as_executable_p="test -f" |
| 7911 |
|
|
| 7912 |
|
# Sed expression to map a string onto a valid CPP name. |
| 7913 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 7913 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 7914 |
|
|
| 7915 |
|
# Sed expression to map a string onto a valid variable name. |
| 7916 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 7916 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 7917 |
|
|
| 7918 |
|
|
| 7919 |
|
# IFS |
| 7940 |
|
cat >&5 <<_CSEOF |
| 7941 |
|
|
| 7942 |
|
This file was extended by OOPSE $as_me 1.0, which was |
| 7943 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
| 7943 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 7944 |
|
|
| 7945 |
|
CONFIG_FILES = $CONFIG_FILES |
| 7946 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 7984 |
|
-d, --debug don't remove temporary files |
| 7985 |
|
--recheck update $as_me by reconfiguring in the same conditions |
| 7986 |
|
--file=FILE[:TEMPLATE] |
| 7987 |
< |
instantiate the configuration file FILE |
| 7987 |
> |
instantiate the configuration file FILE |
| 7988 |
|
--header=FILE[:TEMPLATE] |
| 7989 |
< |
instantiate the configuration header FILE |
| 7989 |
> |
instantiate the configuration header FILE |
| 7990 |
|
|
| 7991 |
|
Configuration files: |
| 7992 |
|
$config_files |
| 7994 |
|
Configuration headers: |
| 7995 |
|
$config_headers |
| 7996 |
|
|
| 7997 |
+ |
Configuration links: |
| 7998 |
+ |
$config_links |
| 7999 |
+ |
|
| 8000 |
|
Report bugs to <bug-autoconf@gnu.org>." |
| 8001 |
|
_ACEOF |
| 8002 |
|
|
| 8003 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 8004 |
|
ac_cs_version="\\ |
| 8005 |
|
OOPSE config.status 1.0 |
| 8006 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
| 8006 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
| 8007 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 8008 |
|
|
| 8009 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| 7454 |
< |
Free Software Foundation, Inc. |
| 8009 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 8010 |
|
This config.status script is free software; the Free Software Foundation |
| 8011 |
|
gives unlimited permission to copy, distribute and modify it." |
| 8012 |
|
srcdir=$srcdir |
| 8121 |
|
"samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; |
| 8122 |
|
"samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; |
| 8123 |
|
"samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; |
| 8124 |
+ |
"samples/water/dimer/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/dimer/Makefile" ;; |
| 8125 |
+ |
"samples/water/spce/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/spce/Makefile" ;; |
| 8126 |
+ |
"samples/water/ssd/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssd/Makefile" ;; |
| 8127 |
+ |
"samples/water/ssde/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssde/Makefile" ;; |
| 8128 |
+ |
"samples/water/tip4p/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip4p/Makefile" ;; |
| 8129 |
+ |
"third-party/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS third-party/getopt.h:third-party/gnugetopt.h" ;; |
| 8130 |
|
"libBASS/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libBASS/config.h" ;; |
| 8131 |
|
"libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; |
| 8132 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 8142 |
|
if $ac_need_defaults; then |
| 8143 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 8144 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 8145 |
+ |
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links |
| 8146 |
|
fi |
| 8147 |
|
|
| 8148 |
|
# Have a temporary directory for convenience. Make it in the build tree |
| 8248 |
|
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
| 8249 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 8250 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 8251 |
+ |
s,@CPP@,$CPP,;t t |
| 8252 |
+ |
s,@EGREP@,$EGREP,;t t |
| 8253 |
+ |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 8254 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 8255 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 8256 |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 8269 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 8270 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 8271 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 8272 |
< |
s,@CPP@,$CPP,;t t |
| 8273 |
< |
s,@EGREP@,$EGREP,;t t |
| 7709 |
< |
s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t |
| 8272 |
> |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
| 8273 |
> |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
| 8274 |
|
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
| 8275 |
< |
s,@SPRNG_INC@,$SPRNG_INC,;t t |
| 7712 |
< |
s,@HAVE_SPRNG@,$HAVE_SPRNG,;t t |
| 8275 |
> |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
| 8276 |
|
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
| 8277 |
|
s,@MKL_LIB@,$MKL_LIB,;t t |
| 8278 |
|
s,@MKL_INC@,$MKL_INC,;t t |
| 8283 |
|
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
| 8284 |
|
s,@SUBDIRS@,$SUBDIRS,;t t |
| 8285 |
|
s,@FFLAGS@,$FFLAGS,;t t |
| 7723 |
– |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 8286 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 8287 |
|
CEOF |
| 8288 |
|
|
| 8313 |
|
(echo ':t |
| 8314 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 8315 |
|
if test -z "$ac_sed_cmds"; then |
| 8316 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 8316 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 8317 |
|
else |
| 8318 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 8318 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 8319 |
|
fi |
| 8320 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 8321 |
|
ac_beg=$ac_end |
| 8333 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 8334 |
|
case $ac_file in |
| 8335 |
|
- | *:- | *:-:* ) # input from stdin |
| 8336 |
< |
cat >$tmp/stdin |
| 8337 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8338 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8336 |
> |
cat >$tmp/stdin |
| 8337 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8338 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8339 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8340 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8340 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8341 |
|
* ) ac_file_in=$ac_file.in ;; |
| 8342 |
|
esac |
| 8343 |
|
|
| 8344 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 8345 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 8346 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8347 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 8348 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 8349 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 8350 |
< |
. : '\(.\)' 2>/dev/null || |
| 8347 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 8348 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 8349 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 8350 |
> |
. : '\(.\)' 2>/dev/null || |
| 8351 |
|
echo X"$ac_file" | |
| 8352 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8353 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8363 |
|
as_dirs="$as_dir $as_dirs" |
| 8364 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 8365 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8366 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8367 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8368 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 8369 |
< |
. : '\(.\)' 2>/dev/null || |
| 8366 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8367 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8368 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 8369 |
> |
. : '\(.\)' 2>/dev/null || |
| 8370 |
|
echo X"$as_dir" | |
| 8371 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8372 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8404 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 8405 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 8406 |
|
esac |
| 7845 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 7846 |
– |
# absolute. |
| 7847 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 7848 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 7849 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 7850 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 8407 |
|
|
| 8408 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 8409 |
+ |
# the directories may not exist. |
| 8410 |
+ |
case `pwd` in |
| 8411 |
+ |
.) ac_abs_builddir="$ac_dir";; |
| 8412 |
+ |
*) |
| 8413 |
+ |
case "$ac_dir" in |
| 8414 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 8415 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 8416 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 8417 |
+ |
esac;; |
| 8418 |
+ |
esac |
| 8419 |
+ |
case $ac_abs_builddir in |
| 8420 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 8421 |
+ |
*) |
| 8422 |
+ |
case ${ac_top_builddir}. in |
| 8423 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 8424 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 8425 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 8426 |
+ |
esac;; |
| 8427 |
+ |
esac |
| 8428 |
+ |
case $ac_abs_builddir in |
| 8429 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 8430 |
+ |
*) |
| 8431 |
+ |
case $ac_srcdir in |
| 8432 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 8433 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 8434 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 8435 |
+ |
esac;; |
| 8436 |
+ |
esac |
| 8437 |
+ |
case $ac_abs_builddir in |
| 8438 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 8439 |
+ |
*) |
| 8440 |
+ |
case $ac_top_srcdir in |
| 8441 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 8442 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 8443 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 8444 |
+ |
esac;; |
| 8445 |
+ |
esac |
| 8446 |
|
|
| 8447 |
+ |
|
| 8448 |
|
case $INSTALL in |
| 8449 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 8450 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 8464 |
|
configure_input="$ac_file. " |
| 8465 |
|
fi |
| 8466 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 8467 |
< |
sed 's,.*/,,'` by configure." |
| 8467 |
> |
sed 's,.*/,,'` by configure." |
| 8468 |
|
|
| 8469 |
|
# First look for the input files in the build tree, otherwise in the |
| 8470 |
|
# src tree. |
| 8473 |
|
case $f in |
| 8474 |
|
-) echo $tmp/stdin ;; |
| 8475 |
|
[\\/$]*) |
| 8476 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 8477 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8476 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 8477 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8478 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 8479 |
|
{ (exit 1); exit 1; }; } |
| 8480 |
< |
echo $f;; |
| 8480 |
> |
echo "$f";; |
| 8481 |
|
*) # Relative |
| 8482 |
< |
if test -f "$f"; then |
| 8483 |
< |
# Build tree |
| 8484 |
< |
echo $f |
| 8485 |
< |
elif test -f "$srcdir/$f"; then |
| 8486 |
< |
# Source tree |
| 8487 |
< |
echo $srcdir/$f |
| 8488 |
< |
else |
| 8489 |
< |
# /dev/null tree |
| 8490 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8482 |
> |
if test -f "$f"; then |
| 8483 |
> |
# Build tree |
| 8484 |
> |
echo "$f" |
| 8485 |
> |
elif test -f "$srcdir/$f"; then |
| 8486 |
> |
# Source tree |
| 8487 |
> |
echo "$srcdir/$f" |
| 8488 |
> |
else |
| 8489 |
> |
# /dev/null tree |
| 8490 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8491 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 8492 |
|
{ (exit 1); exit 1; }; } |
| 8493 |
< |
fi;; |
| 8493 |
> |
fi;; |
| 8494 |
|
esac |
| 8495 |
|
done` || { (exit 1); exit 1; } |
| 8496 |
|
_ACEOF |
| 8532 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 8533 |
|
# |
| 8534 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
| 8535 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 8536 |
< |
ac_dB='[ ].*$,\1#\2' |
| 8535 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 8536 |
> |
ac_dB='[ ].*$,\1#\2' |
| 8537 |
|
ac_dC=' ' |
| 8538 |
|
ac_dD=',;t' |
| 8539 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 8540 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 8540 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 8541 |
|
ac_uB='$,\1#\2define\3' |
| 8542 |
|
ac_uC=' ' |
| 8543 |
|
ac_uD=',;t' |
| 8546 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 8547 |
|
case $ac_file in |
| 8548 |
|
- | *:- | *:-:* ) # input from stdin |
| 8549 |
< |
cat >$tmp/stdin |
| 8550 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8551 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8549 |
> |
cat >$tmp/stdin |
| 8550 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8551 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8552 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8553 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8553 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 8554 |
|
* ) ac_file_in=$ac_file.in ;; |
| 8555 |
|
esac |
| 8556 |
|
|
| 8564 |
|
case $f in |
| 8565 |
|
-) echo $tmp/stdin ;; |
| 8566 |
|
[\\/$]*) |
| 8567 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 8568 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8567 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 8568 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8569 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 8570 |
|
{ (exit 1); exit 1; }; } |
| 8571 |
< |
echo $f;; |
| 8571 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 8572 |
> |
echo "$f";; |
| 8573 |
|
*) # Relative |
| 8574 |
< |
if test -f "$f"; then |
| 8575 |
< |
# Build tree |
| 8576 |
< |
echo $f |
| 8577 |
< |
elif test -f "$srcdir/$f"; then |
| 8578 |
< |
# Source tree |
| 8579 |
< |
echo $srcdir/$f |
| 8580 |
< |
else |
| 8581 |
< |
# /dev/null tree |
| 8582 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8574 |
> |
if test -f "$f"; then |
| 8575 |
> |
# Build tree |
| 8576 |
> |
echo "$f" |
| 8577 |
> |
elif test -f "$srcdir/$f"; then |
| 8578 |
> |
# Source tree |
| 8579 |
> |
echo "$srcdir/$f" |
| 8580 |
> |
else |
| 8581 |
> |
# /dev/null tree |
| 8582 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 8583 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 8584 |
|
{ (exit 1); exit 1; }; } |
| 8585 |
< |
fi;; |
| 8585 |
> |
fi;; |
| 8586 |
|
esac |
| 8587 |
|
done` || { (exit 1); exit 1; } |
| 8588 |
|
# Remove the trailing spaces. |
| 8589 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 8589 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 8590 |
|
|
| 8591 |
|
_ACEOF |
| 8592 |
|
|
| 8609 |
|
s,[\\$`],\\&,g |
| 8610 |
|
t clear |
| 8611 |
|
: clear |
| 8612 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 8612 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 8613 |
|
t end |
| 8614 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 8614 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 8615 |
|
: end |
| 8616 |
|
_ACEOF |
| 8617 |
|
# If some macros were called several times there might be several times |
| 8625 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 8626 |
|
# on some systems where configure will not decide to define it. |
| 8627 |
|
cat >>conftest.undefs <<\_ACEOF |
| 8628 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 8628 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 8629 |
|
_ACEOF |
| 8630 |
|
|
| 8631 |
|
# Break up conftest.defines because some shells have a limit on the size |
| 8632 |
|
# of here documents, and old seds have small limits too (100 cmds). |
| 8633 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 8634 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 8634 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 8635 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 8636 |
|
echo ' :' >>$CONFIG_STATUS |
| 8637 |
|
rm -f conftest.tail |
| 8640 |
|
# Write a limited-size here document to $tmp/defines.sed. |
| 8641 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 8642 |
|
# Speed up: don't consider the non `#define' lines. |
| 8643 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 8643 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 8644 |
|
# Work around the forget-to-reset-the-flag bug. |
| 8645 |
|
echo 't clr' >>$CONFIG_STATUS |
| 8646 |
|
echo ': clr' >>$CONFIG_STATUS |
| 8667 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
| 8668 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 8669 |
|
# Speed up: don't consider the non `#undef' |
| 8670 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 8670 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 8671 |
|
# Work around the forget-to-reset-the-flag bug. |
| 8672 |
|
echo 't clr' >>$CONFIG_STATUS |
| 8673 |
|
echo ': clr' >>$CONFIG_STATUS |
| 8701 |
|
else |
| 8702 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 8703 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8704 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 8705 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
| 8706 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 8707 |
< |
. : '\(.\)' 2>/dev/null || |
| 8704 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 8705 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
| 8706 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 8707 |
> |
. : '\(.\)' 2>/dev/null || |
| 8708 |
|
echo X"$ac_file" | |
| 8709 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8710 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8720 |
|
as_dirs="$as_dir $as_dirs" |
| 8721 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 8722 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8723 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8724 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8725 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 8726 |
< |
. : '\(.\)' 2>/dev/null || |
| 8723 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8724 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8725 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 8726 |
> |
. : '\(.\)' 2>/dev/null || |
| 8727 |
|
echo X"$as_dir" | |
| 8728 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8729 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8745 |
|
fi |
| 8746 |
|
done |
| 8747 |
|
_ACEOF |
| 8748 |
+ |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 8749 |
|
|
| 8750 |
+ |
# |
| 8751 |
+ |
# CONFIG_LINKS section. |
| 8752 |
+ |
# |
| 8753 |
+ |
|
| 8754 |
+ |
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue |
| 8755 |
+ |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
| 8756 |
+ |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 8757 |
+ |
|
| 8758 |
+ |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 |
| 8759 |
+ |
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} |
| 8760 |
+ |
|
| 8761 |
+ |
if test ! -r $srcdir/$ac_source; then |
| 8762 |
+ |
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
| 8763 |
+ |
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
| 8764 |
+ |
{ (exit 1); exit 1; }; } |
| 8765 |
+ |
fi |
| 8766 |
+ |
rm -f $ac_dest |
| 8767 |
+ |
|
| 8768 |
+ |
# Make relative symlinks. |
| 8769 |
+ |
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
| 8770 |
+ |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8771 |
+ |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 8772 |
+ |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 8773 |
+ |
X"$ac_dest" : 'X\(/\)' \| \ |
| 8774 |
+ |
. : '\(.\)' 2>/dev/null || |
| 8775 |
+ |
echo X"$ac_dest" | |
| 8776 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8777 |
+ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8778 |
+ |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8779 |
+ |
/^X\(\/\).*/{ s//\1/; q; } |
| 8780 |
+ |
s/.*/./; q'` |
| 8781 |
+ |
{ if $as_mkdir_p; then |
| 8782 |
+ |
mkdir -p "$ac_dest_dir" |
| 8783 |
+ |
else |
| 8784 |
+ |
as_dir="$ac_dest_dir" |
| 8785 |
+ |
as_dirs= |
| 8786 |
+ |
while test ! -d "$as_dir"; do |
| 8787 |
+ |
as_dirs="$as_dir $as_dirs" |
| 8788 |
+ |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 8789 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 8790 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 8791 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
| 8792 |
+ |
X"$as_dir" : 'X\(/\)' \| \ |
| 8793 |
+ |
. : '\(.\)' 2>/dev/null || |
| 8794 |
+ |
echo X"$as_dir" | |
| 8795 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 8796 |
+ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 8797 |
+ |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 8798 |
+ |
/^X\(\/\).*/{ s//\1/; q; } |
| 8799 |
+ |
s/.*/./; q'` |
| 8800 |
+ |
done |
| 8801 |
+ |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 8802 |
+ |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 |
| 8803 |
+ |
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} |
| 8804 |
+ |
{ (exit 1); exit 1; }; }; } |
| 8805 |
+ |
|
| 8806 |
+ |
ac_builddir=. |
| 8807 |
+ |
|
| 8808 |
+ |
if test "$ac_dest_dir" != .; then |
| 8809 |
+ |
ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` |
| 8810 |
+ |
# A "../" for each directory in $ac_dir_suffix. |
| 8811 |
+ |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 8812 |
+ |
else |
| 8813 |
+ |
ac_dir_suffix= ac_top_builddir= |
| 8814 |
+ |
fi |
| 8815 |
+ |
|
| 8816 |
+ |
case $srcdir in |
| 8817 |
+ |
.) # No --srcdir option. We are building in place. |
| 8818 |
+ |
ac_srcdir=. |
| 8819 |
+ |
if test -z "$ac_top_builddir"; then |
| 8820 |
+ |
ac_top_srcdir=. |
| 8821 |
+ |
else |
| 8822 |
+ |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 8823 |
+ |
fi ;; |
| 8824 |
+ |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 8825 |
+ |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 8826 |
+ |
ac_top_srcdir=$srcdir ;; |
| 8827 |
+ |
*) # Relative path. |
| 8828 |
+ |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 8829 |
+ |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 8830 |
+ |
esac |
| 8831 |
+ |
|
| 8832 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 8833 |
+ |
# the directories may not exist. |
| 8834 |
+ |
case `pwd` in |
| 8835 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
| 8836 |
+ |
*) |
| 8837 |
+ |
case "$ac_dest_dir" in |
| 8838 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 8839 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
| 8840 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
| 8841 |
+ |
esac;; |
| 8842 |
+ |
esac |
| 8843 |
+ |
case $ac_abs_builddir in |
| 8844 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 8845 |
+ |
*) |
| 8846 |
+ |
case ${ac_top_builddir}. in |
| 8847 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 8848 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 8849 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 8850 |
+ |
esac;; |
| 8851 |
+ |
esac |
| 8852 |
+ |
case $ac_abs_builddir in |
| 8853 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 8854 |
+ |
*) |
| 8855 |
+ |
case $ac_srcdir in |
| 8856 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 8857 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 8858 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 8859 |
+ |
esac;; |
| 8860 |
+ |
esac |
| 8861 |
+ |
case $ac_abs_builddir in |
| 8862 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 8863 |
+ |
*) |
| 8864 |
+ |
case $ac_top_srcdir in |
| 8865 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 8866 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 8867 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 8868 |
+ |
esac;; |
| 8869 |
+ |
esac |
| 8870 |
+ |
|
| 8871 |
+ |
|
| 8872 |
+ |
case $srcdir in |
| 8873 |
+ |
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
| 8874 |
+ |
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |
| 8875 |
+ |
esac |
| 8876 |
+ |
|
| 8877 |
+ |
# Try a symlink, then a hard link, then a copy. |
| 8878 |
+ |
ln -s $ac_rel_source $ac_dest 2>/dev/null || |
| 8879 |
+ |
ln $srcdir/$ac_source $ac_dest 2>/dev/null || |
| 8880 |
+ |
cp -p $srcdir/$ac_source $ac_dest || |
| 8881 |
+ |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 |
| 8882 |
+ |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} |
| 8883 |
+ |
{ (exit 1); exit 1; }; } |
| 8884 |
+ |
done |
| 8885 |
+ |
_ACEOF |
| 8886 |
+ |
|
| 8887 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 8888 |
|
|
| 8889 |
|
{ (exit 0); exit 0; } |