1 |
|
#! /bin/sh |
2 |
|
# Guess values for system-dependent variables and create Makefiles. |
3 |
< |
# Generated by GNU Autoconf 2.57 for OOPSE 2.0. |
3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 2.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 F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' |
315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs 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; } |
789 |
|
ac_env_CPP_value=$CPP |
790 |
|
ac_cv_env_CPP_set=${CPP+set} |
791 |
|
ac_cv_env_CPP_value=$CPP |
792 |
+ |
ac_env_CXXCPP_set=${CXXCPP+set} |
793 |
+ |
ac_env_CXXCPP_value=$CXXCPP |
794 |
+ |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
795 |
+ |
ac_cv_env_CXXCPP_value=$CXXCPP |
796 |
|
|
797 |
|
# |
798 |
|
# Report the --help message. |
826 |
|
cat <<_ACEOF |
827 |
|
Installation directories: |
828 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
829 |
< |
[$ac_default_prefix] |
829 |
> |
[$ac_default_prefix] |
830 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
831 |
< |
[PREFIX] |
831 |
> |
[PREFIX] |
832 |
|
|
833 |
|
By default, \`make install' will install all the files in |
834 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
879 |
|
Optional Packages: |
880 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
881 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
882 |
+ |
--with-zlib=DIR root directory path of zlib installation defaults to |
883 |
+ |
/usr/local or /usr if not found in /usr/local |
884 |
+ |
--without-zlib to disable zlib usage completely |
885 |
+ |
--with-perl-shebang override what perl thinks is the way for the kernel |
886 |
+ |
to start it (seldom needed) |
887 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
888 |
< |
--with-sprng=<prefix> compile with SPRNG installed in <prefix> |
879 |
< |
[default=/usr/local] |
880 |
< |
--with-mkl Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61 |
888 |
> |
--with-cgal-makefile=FILE CGAL makefile that should be used |
889 |
|
|
890 |
|
Some influential environment variables: |
891 |
|
CC C compiler command |
899 |
|
F90 Fortran 90 compiler command |
900 |
|
F90FLAGS Fortran 90 compiler flags |
901 |
|
CPP C preprocessor |
902 |
+ |
CXXCPP C++ preprocessor |
903 |
|
|
904 |
|
Use these variables to override the choices made by `configure' or to help |
905 |
|
it to find libraries and programs with nonstandard names/locations. |
938 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
939 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
940 |
|
esac |
941 |
< |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
942 |
< |
# absolute. |
943 |
< |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
944 |
< |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
945 |
< |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
946 |
< |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
941 |
> |
|
942 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
943 |
> |
# the directories may not exist. |
944 |
> |
case `pwd` in |
945 |
> |
.) ac_abs_builddir="$ac_dir";; |
946 |
> |
*) |
947 |
> |
case "$ac_dir" in |
948 |
> |
.) ac_abs_builddir=`pwd`;; |
949 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
950 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
951 |
> |
esac;; |
952 |
> |
esac |
953 |
> |
case $ac_abs_builddir in |
954 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
955 |
> |
*) |
956 |
> |
case ${ac_top_builddir}. in |
957 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
958 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
959 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
960 |
> |
esac;; |
961 |
> |
esac |
962 |
> |
case $ac_abs_builddir in |
963 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
964 |
> |
*) |
965 |
> |
case $ac_srcdir in |
966 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
967 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
968 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
969 |
> |
esac;; |
970 |
> |
esac |
971 |
> |
case $ac_abs_builddir in |
972 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
973 |
> |
*) |
974 |
> |
case $ac_top_srcdir in |
975 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
976 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
977 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
978 |
> |
esac;; |
979 |
> |
esac |
980 |
|
|
981 |
|
cd $ac_dir |
982 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
987 |
|
echo |
988 |
|
$SHELL $ac_srcdir/configure --help=recursive |
989 |
|
elif test -f $ac_srcdir/configure.ac || |
990 |
< |
test -f $ac_srcdir/configure.in; then |
990 |
> |
test -f $ac_srcdir/configure.in; then |
991 |
|
echo |
992 |
|
$ac_configure --help |
993 |
|
else |
1001 |
|
if $ac_init_version; then |
1002 |
|
cat <<\_ACEOF |
1003 |
|
OOPSE configure 2.0 |
1004 |
< |
generated by GNU Autoconf 2.57 |
1004 |
> |
generated by GNU Autoconf 2.59 |
1005 |
|
|
1006 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
965 |
< |
Free Software Foundation, Inc. |
1006 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
1007 |
|
This configure script is free software; the Free Software Foundation |
1008 |
|
gives unlimited permission to copy, distribute and modify it. |
1009 |
|
_ACEOF |
1015 |
|
running configure, to aid debugging if configure makes a mistake. |
1016 |
|
|
1017 |
|
It was created by OOPSE $as_me 2.0, which was |
1018 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
1018 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
1019 |
|
|
1020 |
|
$ $0 $@ |
1021 |
|
|
1092 |
|
2) |
1093 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1094 |
|
if test $ac_must_keep_next = true; then |
1095 |
< |
ac_must_keep_next=false # Got value, back to normal. |
1095 |
> |
ac_must_keep_next=false # Got value, back to normal. |
1096 |
|
else |
1097 |
< |
case $ac_arg in |
1098 |
< |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1099 |
< |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1100 |
< |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1101 |
< |
| -with-* | --with-* | -without-* | --without-* | --x) |
1102 |
< |
case "$ac_configure_args0 " in |
1103 |
< |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1104 |
< |
esac |
1105 |
< |
;; |
1106 |
< |
-* ) ac_must_keep_next=true ;; |
1107 |
< |
esac |
1097 |
> |
case $ac_arg in |
1098 |
> |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1099 |
> |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1100 |
> |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1101 |
> |
| -with-* | --with-* | -without-* | --without-* | --x) |
1102 |
> |
case "$ac_configure_args0 " in |
1103 |
> |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1104 |
> |
esac |
1105 |
> |
;; |
1106 |
> |
-* ) ac_must_keep_next=true ;; |
1107 |
> |
esac |
1108 |
|
fi |
1109 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1110 |
|
# Get rid of the leading space. |
1138 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1139 |
|
*ac_space=\ *) |
1140 |
|
sed -n \ |
1141 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1142 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1141 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1142 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1143 |
|
;; |
1144 |
|
*) |
1145 |
|
sed -n \ |
1146 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1146 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1147 |
|
;; |
1148 |
|
esac; |
1149 |
|
} |
1172 |
|
for ac_var in $ac_subst_files |
1173 |
|
do |
1174 |
|
eval ac_val=$`echo $ac_var` |
1175 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
1175 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
1176 |
|
done | sort |
1177 |
|
echo |
1178 |
|
fi |
1191 |
|
echo "$as_me: caught signal $ac_signal" |
1192 |
|
echo "$as_me: exit $exit_status" |
1193 |
|
} >&5 |
1194 |
< |
rm -f core core.* *.core && |
1194 |
> |
rm -f core *.core && |
1195 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1196 |
|
exit $exit_status |
1197 |
|
' 0 |
1271 |
|
# value. |
1272 |
|
ac_cache_corrupted=false |
1273 |
|
for ac_var in `(set) 2>&1 | |
1274 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1274 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1275 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1276 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1277 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1288 |
|
,);; |
1289 |
|
*) |
1290 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1291 |
< |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1291 |
> |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1292 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1293 |
< |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1293 |
> |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1294 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1295 |
< |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1295 |
> |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1296 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1297 |
< |
ac_cache_corrupted=: |
1297 |
> |
ac_cache_corrupted=: |
1298 |
|
fi;; |
1299 |
|
esac |
1300 |
|
# Pass precious variables to config.status. |
1885 |
|
|
1886 |
|
|
1887 |
|
|
1888 |
+ |
# |
1889 |
+ |
# |
1890 |
+ |
# |
1891 |
|
|
1892 |
|
|
1893 |
|
|
1894 |
|
|
1895 |
|
|
1896 |
|
|
1897 |
+ |
|
1898 |
+ |
|
1899 |
|
# set program name |
1900 |
|
PROGNAME="oopse" |
1901 |
|
|
2096 |
|
(exit $ac_status); } |
2097 |
|
|
2098 |
|
cat >conftest.$ac_ext <<_ACEOF |
2053 |
– |
#line $LINENO "configure" |
2099 |
|
/* confdefs.h. */ |
2100 |
|
_ACEOF |
2101 |
|
cat confdefs.h >>conftest.$ac_ext |
2115 |
|
# Try to create an executable without -o first, disregard a.out. |
2116 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2117 |
|
# of exeext. |
2118 |
< |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2119 |
< |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2118 |
> |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2119 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2120 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2121 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2122 |
|
(eval $ac_link_default) 2>&5 |
2136 |
|
test -f "$ac_file" || continue |
2137 |
|
case $ac_file in |
2138 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2139 |
< |
;; |
2139 |
> |
;; |
2140 |
|
conftest.$ac_ext ) |
2141 |
< |
# This is the source file. |
2142 |
< |
;; |
2141 |
> |
# This is the source file. |
2142 |
> |
;; |
2143 |
|
[ab].out ) |
2144 |
< |
# We found the default executable, but exeext='' is most |
2145 |
< |
# certainly right. |
2146 |
< |
break;; |
2144 |
> |
# We found the default executable, but exeext='' is most |
2145 |
> |
# certainly right. |
2146 |
> |
break;; |
2147 |
|
*.* ) |
2148 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2149 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2150 |
< |
# but it would be cool to find out if it's true. Does anybody |
2151 |
< |
# maintain Libtool? --akim. |
2152 |
< |
export ac_cv_exeext |
2153 |
< |
break;; |
2148 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2149 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2150 |
> |
# but it would be cool to find out if it's true. Does anybody |
2151 |
> |
# maintain Libtool? --akim. |
2152 |
> |
export ac_cv_exeext |
2153 |
> |
break;; |
2154 |
|
* ) |
2155 |
< |
break;; |
2155 |
> |
break;; |
2156 |
|
esac |
2157 |
|
done |
2158 |
|
else |
2226 |
|
case $ac_file in |
2227 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2228 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2229 |
< |
export ac_cv_exeext |
2230 |
< |
break;; |
2229 |
> |
export ac_cv_exeext |
2230 |
> |
break;; |
2231 |
|
* ) break;; |
2232 |
|
esac |
2233 |
|
done |
2252 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2253 |
|
else |
2254 |
|
cat >conftest.$ac_ext <<_ACEOF |
2210 |
– |
#line $LINENO "configure" |
2255 |
|
/* confdefs.h. */ |
2256 |
|
_ACEOF |
2257 |
|
cat confdefs.h >>conftest.$ac_ext |
2302 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2303 |
|
else |
2304 |
|
cat >conftest.$ac_ext <<_ACEOF |
2261 |
– |
#line $LINENO "configure" |
2305 |
|
/* confdefs.h. */ |
2306 |
|
_ACEOF |
2307 |
|
cat confdefs.h >>conftest.$ac_ext |
2321 |
|
_ACEOF |
2322 |
|
rm -f conftest.$ac_objext |
2323 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2324 |
< |
(eval $ac_compile) 2>&5 |
2324 |
> |
(eval $ac_compile) 2>conftest.er1 |
2325 |
|
ac_status=$? |
2326 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2327 |
+ |
rm -f conftest.er1 |
2328 |
+ |
cat conftest.err >&5 |
2329 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2330 |
|
(exit $ac_status); } && |
2331 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2331 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2332 |
> |
|| test ! -s conftest.err' |
2333 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2334 |
|
(eval $ac_try) 2>&5 |
2335 |
|
ac_status=$? |
2336 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2337 |
+ |
(exit $ac_status); }; } && |
2338 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2339 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2340 |
+ |
(eval $ac_try) 2>&5 |
2341 |
+ |
ac_status=$? |
2342 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2343 |
|
(exit $ac_status); }; }; then |
2344 |
|
ac_compiler_gnu=yes |
2345 |
|
else |
2348 |
|
|
2349 |
|
ac_compiler_gnu=no |
2350 |
|
fi |
2351 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2351 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2352 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2353 |
|
|
2354 |
|
fi |
2364 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2365 |
|
else |
2366 |
|
cat >conftest.$ac_ext <<_ACEOF |
2314 |
– |
#line $LINENO "configure" |
2367 |
|
/* confdefs.h. */ |
2368 |
|
_ACEOF |
2369 |
|
cat confdefs.h >>conftest.$ac_ext |
2380 |
|
_ACEOF |
2381 |
|
rm -f conftest.$ac_objext |
2382 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2383 |
< |
(eval $ac_compile) 2>&5 |
2383 |
> |
(eval $ac_compile) 2>conftest.er1 |
2384 |
|
ac_status=$? |
2385 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2386 |
+ |
rm -f conftest.er1 |
2387 |
+ |
cat conftest.err >&5 |
2388 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2389 |
|
(exit $ac_status); } && |
2390 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2390 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2391 |
> |
|| test ! -s conftest.err' |
2392 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2393 |
> |
(eval $ac_try) 2>&5 |
2394 |
> |
ac_status=$? |
2395 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2396 |
> |
(exit $ac_status); }; } && |
2397 |
> |
{ ac_try='test -s conftest.$ac_objext' |
2398 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2399 |
|
(eval $ac_try) 2>&5 |
2400 |
|
ac_status=$? |
2407 |
|
|
2408 |
|
ac_cv_prog_cc_g=no |
2409 |
|
fi |
2410 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2410 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2411 |
|
fi |
2412 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2413 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2434 |
|
ac_cv_prog_cc_stdc=no |
2435 |
|
ac_save_CC=$CC |
2436 |
|
cat >conftest.$ac_ext <<_ACEOF |
2375 |
– |
#line $LINENO "configure" |
2437 |
|
/* confdefs.h. */ |
2438 |
|
_ACEOF |
2439 |
|
cat confdefs.h >>conftest.$ac_ext |
2461 |
|
va_end (v); |
2462 |
|
return s; |
2463 |
|
} |
2464 |
+ |
|
2465 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2466 |
+ |
function prototypes and stuff, but not '\xHH' hex character constants. |
2467 |
+ |
These don't provoke an error unfortunately, instead are silently treated |
2468 |
+ |
as 'x'. The following induces an error, until -std1 is added to get |
2469 |
+ |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2470 |
+ |
array size at least. It's necessary to write '\x00'==0 to get something |
2471 |
+ |
that's true only with -std1. */ |
2472 |
+ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2473 |
+ |
|
2474 |
|
int test (int i, double x); |
2475 |
|
struct s1 {int (*f) (int a);}; |
2476 |
|
struct s2 {int (*f) (double a);}; |
2497 |
|
CC="$ac_save_CC $ac_arg" |
2498 |
|
rm -f conftest.$ac_objext |
2499 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2500 |
< |
(eval $ac_compile) 2>&5 |
2500 |
> |
(eval $ac_compile) 2>conftest.er1 |
2501 |
|
ac_status=$? |
2502 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2503 |
+ |
rm -f conftest.er1 |
2504 |
+ |
cat conftest.err >&5 |
2505 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2506 |
|
(exit $ac_status); } && |
2507 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2507 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2508 |
> |
|| test ! -s conftest.err' |
2509 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2510 |
|
(eval $ac_try) 2>&5 |
2511 |
|
ac_status=$? |
2512 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2513 |
+ |
(exit $ac_status); }; } && |
2514 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2515 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2516 |
+ |
(eval $ac_try) 2>&5 |
2517 |
+ |
ac_status=$? |
2518 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2519 |
|
(exit $ac_status); }; }; then |
2520 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2521 |
|
break |
2524 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2525 |
|
|
2526 |
|
fi |
2527 |
< |
rm -f conftest.$ac_objext |
2527 |
> |
rm -f conftest.err conftest.$ac_objext |
2528 |
|
done |
2529 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2530 |
|
CC=$ac_save_CC |
2552 |
|
_ACEOF |
2553 |
|
rm -f conftest.$ac_objext |
2554 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2555 |
< |
(eval $ac_compile) 2>&5 |
2555 |
> |
(eval $ac_compile) 2>conftest.er1 |
2556 |
|
ac_status=$? |
2557 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2558 |
+ |
rm -f conftest.er1 |
2559 |
+ |
cat conftest.err >&5 |
2560 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2561 |
|
(exit $ac_status); } && |
2562 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2562 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2563 |
> |
|| test ! -s conftest.err' |
2564 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2565 |
|
(eval $ac_try) 2>&5 |
2566 |
|
ac_status=$? |
2567 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2568 |
+ |
(exit $ac_status); }; } && |
2569 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2570 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2571 |
+ |
(eval $ac_try) 2>&5 |
2572 |
+ |
ac_status=$? |
2573 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2574 |
|
(exit $ac_status); }; }; then |
2575 |
|
for ac_declaration in \ |
2576 |
< |
''\ |
2486 |
< |
'#include <stdlib.h>' \ |
2576 |
> |
'' \ |
2577 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2578 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2579 |
|
'extern "C" void exit (int) throw ();' \ |
2581 |
|
'void exit (int);' |
2582 |
|
do |
2583 |
|
cat >conftest.$ac_ext <<_ACEOF |
2494 |
– |
#line $LINENO "configure" |
2584 |
|
/* confdefs.h. */ |
2585 |
|
_ACEOF |
2586 |
|
cat confdefs.h >>conftest.$ac_ext |
2587 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2588 |
|
/* end confdefs.h. */ |
2500 |
– |
#include <stdlib.h> |
2589 |
|
$ac_declaration |
2590 |
+ |
#include <stdlib.h> |
2591 |
|
int |
2592 |
|
main () |
2593 |
|
{ |
2598 |
|
_ACEOF |
2599 |
|
rm -f conftest.$ac_objext |
2600 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2601 |
< |
(eval $ac_compile) 2>&5 |
2601 |
> |
(eval $ac_compile) 2>conftest.er1 |
2602 |
|
ac_status=$? |
2603 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2604 |
+ |
rm -f conftest.er1 |
2605 |
+ |
cat conftest.err >&5 |
2606 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2607 |
|
(exit $ac_status); } && |
2608 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2608 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2609 |
> |
|| test ! -s conftest.err' |
2610 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2611 |
|
(eval $ac_try) 2>&5 |
2612 |
|
ac_status=$? |
2613 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2614 |
+ |
(exit $ac_status); }; } && |
2615 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2616 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2617 |
+ |
(eval $ac_try) 2>&5 |
2618 |
+ |
ac_status=$? |
2619 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2620 |
|
(exit $ac_status); }; }; then |
2621 |
|
: |
2622 |
|
else |
2625 |
|
|
2626 |
|
continue |
2627 |
|
fi |
2628 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2628 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2629 |
|
cat >conftest.$ac_ext <<_ACEOF |
2531 |
– |
#line $LINENO "configure" |
2630 |
|
/* confdefs.h. */ |
2631 |
|
_ACEOF |
2632 |
|
cat confdefs.h >>conftest.$ac_ext |
2643 |
|
_ACEOF |
2644 |
|
rm -f conftest.$ac_objext |
2645 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2646 |
< |
(eval $ac_compile) 2>&5 |
2646 |
> |
(eval $ac_compile) 2>conftest.er1 |
2647 |
|
ac_status=$? |
2648 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2649 |
+ |
rm -f conftest.er1 |
2650 |
+ |
cat conftest.err >&5 |
2651 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2652 |
|
(exit $ac_status); } && |
2653 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2653 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
2654 |
> |
|| test ! -s conftest.err' |
2655 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2656 |
|
(eval $ac_try) 2>&5 |
2657 |
|
ac_status=$? |
2658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2659 |
+ |
(exit $ac_status); }; } && |
2660 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2661 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2662 |
+ |
(eval $ac_try) 2>&5 |
2663 |
+ |
ac_status=$? |
2664 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2665 |
|
(exit $ac_status); }; }; then |
2666 |
|
break |
2667 |
|
else |
2669 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2670 |
|
|
2671 |
|
fi |
2672 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2672 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2673 |
|
done |
2674 |
|
rm -f conftest* |
2675 |
|
if test -n "$ac_declaration"; then |
2683 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2684 |
|
|
2685 |
|
fi |
2686 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2686 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2687 |
|
ac_ext=c |
2688 |
|
ac_cpp='$CPP $CPPFLAGS' |
2689 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2810 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2811 |
|
else |
2812 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
– |
#line $LINENO "configure" |
2813 |
|
/* confdefs.h. */ |
2814 |
|
_ACEOF |
2815 |
|
cat confdefs.h >>conftest.$ac_ext |
2829 |
|
_ACEOF |
2830 |
|
rm -f conftest.$ac_objext |
2831 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2832 |
< |
(eval $ac_compile) 2>&5 |
2832 |
> |
(eval $ac_compile) 2>conftest.er1 |
2833 |
|
ac_status=$? |
2834 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2835 |
+ |
rm -f conftest.er1 |
2836 |
+ |
cat conftest.err >&5 |
2837 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2838 |
|
(exit $ac_status); } && |
2839 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2839 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2840 |
> |
|| test ! -s conftest.err' |
2841 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2842 |
|
(eval $ac_try) 2>&5 |
2843 |
|
ac_status=$? |
2844 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2845 |
+ |
(exit $ac_status); }; } && |
2846 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2847 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2848 |
+ |
(eval $ac_try) 2>&5 |
2849 |
+ |
ac_status=$? |
2850 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2851 |
|
(exit $ac_status); }; }; then |
2852 |
|
ac_compiler_gnu=yes |
2853 |
|
else |
2856 |
|
|
2857 |
|
ac_compiler_gnu=no |
2858 |
|
fi |
2859 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2859 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2860 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2861 |
|
|
2862 |
|
fi |
2872 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2873 |
|
else |
2874 |
|
cat >conftest.$ac_ext <<_ACEOF |
2758 |
– |
#line $LINENO "configure" |
2875 |
|
/* confdefs.h. */ |
2876 |
|
_ACEOF |
2877 |
|
cat confdefs.h >>conftest.$ac_ext |
2888 |
|
_ACEOF |
2889 |
|
rm -f conftest.$ac_objext |
2890 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2891 |
< |
(eval $ac_compile) 2>&5 |
2891 |
> |
(eval $ac_compile) 2>conftest.er1 |
2892 |
|
ac_status=$? |
2893 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2894 |
+ |
rm -f conftest.er1 |
2895 |
+ |
cat conftest.err >&5 |
2896 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2897 |
|
(exit $ac_status); } && |
2898 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2898 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2899 |
> |
|| test ! -s conftest.err' |
2900 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2901 |
|
(eval $ac_try) 2>&5 |
2902 |
|
ac_status=$? |
2903 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2904 |
+ |
(exit $ac_status); }; } && |
2905 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2906 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2907 |
+ |
(eval $ac_try) 2>&5 |
2908 |
+ |
ac_status=$? |
2909 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2910 |
|
(exit $ac_status); }; }; then |
2911 |
|
ac_cv_prog_cxx_g=yes |
2912 |
|
else |
2915 |
|
|
2916 |
|
ac_cv_prog_cxx_g=no |
2917 |
|
fi |
2918 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2918 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2919 |
|
fi |
2920 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2921 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2935 |
|
fi |
2936 |
|
fi |
2937 |
|
for ac_declaration in \ |
2938 |
< |
''\ |
2813 |
< |
'#include <stdlib.h>' \ |
2938 |
> |
'' \ |
2939 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2940 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2941 |
|
'extern "C" void exit (int) throw ();' \ |
2943 |
|
'void exit (int);' |
2944 |
|
do |
2945 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
– |
#line $LINENO "configure" |
2946 |
|
/* confdefs.h. */ |
2947 |
|
_ACEOF |
2948 |
|
cat confdefs.h >>conftest.$ac_ext |
2949 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2950 |
|
/* end confdefs.h. */ |
2827 |
– |
#include <stdlib.h> |
2951 |
|
$ac_declaration |
2952 |
+ |
#include <stdlib.h> |
2953 |
|
int |
2954 |
|
main () |
2955 |
|
{ |
2960 |
|
_ACEOF |
2961 |
|
rm -f conftest.$ac_objext |
2962 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2963 |
< |
(eval $ac_compile) 2>&5 |
2963 |
> |
(eval $ac_compile) 2>conftest.er1 |
2964 |
|
ac_status=$? |
2965 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
2966 |
+ |
rm -f conftest.er1 |
2967 |
+ |
cat conftest.err >&5 |
2968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2969 |
|
(exit $ac_status); } && |
2970 |
< |
{ ac_try='test -s conftest.$ac_objext' |
2970 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
2971 |
> |
|| test ! -s conftest.err' |
2972 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2973 |
|
(eval $ac_try) 2>&5 |
2974 |
|
ac_status=$? |
2975 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2976 |
+ |
(exit $ac_status); }; } && |
2977 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
2978 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2979 |
+ |
(eval $ac_try) 2>&5 |
2980 |
+ |
ac_status=$? |
2981 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2982 |
|
(exit $ac_status); }; }; then |
2983 |
|
: |
2984 |
|
else |
2987 |
|
|
2988 |
|
continue |
2989 |
|
fi |
2990 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
2990 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2991 |
|
cat >conftest.$ac_ext <<_ACEOF |
2858 |
– |
#line $LINENO "configure" |
2992 |
|
/* confdefs.h. */ |
2993 |
|
_ACEOF |
2994 |
|
cat confdefs.h >>conftest.$ac_ext |
3005 |
|
_ACEOF |
3006 |
|
rm -f conftest.$ac_objext |
3007 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3008 |
< |
(eval $ac_compile) 2>&5 |
3008 |
> |
(eval $ac_compile) 2>conftest.er1 |
3009 |
|
ac_status=$? |
3010 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3011 |
+ |
rm -f conftest.er1 |
3012 |
+ |
cat conftest.err >&5 |
3013 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3014 |
|
(exit $ac_status); } && |
3015 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3015 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
3016 |
> |
|| test ! -s conftest.err' |
3017 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3018 |
|
(eval $ac_try) 2>&5 |
3019 |
|
ac_status=$? |
3020 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3021 |
+ |
(exit $ac_status); }; } && |
3022 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3023 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3024 |
+ |
(eval $ac_try) 2>&5 |
3025 |
+ |
ac_status=$? |
3026 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3027 |
|
(exit $ac_status); }; }; then |
3028 |
|
break |
3029 |
|
else |
3031 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3032 |
|
|
3033 |
|
fi |
3034 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3034 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3035 |
|
done |
3036 |
|
rm -f conftest* |
3037 |
|
if test -n "$ac_declaration"; then |
3216 |
|
_ACEOF |
3217 |
|
rm -f conftest.$ac_objext |
3218 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3219 |
< |
(eval $ac_compile) 2>&5 |
3219 |
> |
(eval $ac_compile) 2>conftest.er1 |
3220 |
|
ac_status=$? |
3221 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3222 |
+ |
rm -f conftest.er1 |
3223 |
+ |
cat conftest.err >&5 |
3224 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3225 |
|
(exit $ac_status); } && |
3226 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3226 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3227 |
> |
|| test ! -s conftest.err' |
3228 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3229 |
|
(eval $ac_try) 2>&5 |
3230 |
|
ac_status=$? |
3231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3232 |
+ |
(exit $ac_status); }; } && |
3233 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3234 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3235 |
+ |
(eval $ac_try) 2>&5 |
3236 |
+ |
ac_status=$? |
3237 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3238 |
|
(exit $ac_status); }; }; then |
3239 |
|
ac_compiler_gnu=yes |
3240 |
|
else |
3243 |
|
|
3244 |
|
ac_compiler_gnu=no |
3245 |
|
fi |
3246 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3246 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3247 |
|
ac_cv_f90_compiler_gnu=$ac_compiler_gnu |
3248 |
|
|
3249 |
|
fi |
3317 |
|
_ACEOF |
3318 |
|
rm -f conftest.$ac_objext |
3319 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3320 |
< |
(eval $ac_compile) 2>&5 |
3320 |
> |
(eval $ac_compile) 2>conftest.er1 |
3321 |
|
ac_status=$? |
3322 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3323 |
+ |
rm -f conftest.er1 |
3324 |
+ |
cat conftest.err >&5 |
3325 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3326 |
|
(exit $ac_status); } && |
3327 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3327 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3328 |
> |
|| test ! -s conftest.err' |
3329 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3330 |
|
(eval $ac_try) 2>&5 |
3331 |
|
ac_status=$? |
3332 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3333 |
+ |
(exit $ac_status); }; } && |
3334 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3335 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3336 |
+ |
(eval $ac_try) 2>&5 |
3337 |
+ |
ac_status=$? |
3338 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3339 |
|
(exit $ac_status); }; }; then |
3340 |
|
prepflagworks=1 |
3341 |
|
else |
3344 |
|
|
3345 |
|
prepflagworks=0 |
3346 |
|
fi |
3347 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3347 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3348 |
|
|
3349 |
|
F90FLAGS=$ac_save_F90FLAGS |
3350 |
|
ac_ext=$ac_save_ext |
3432 |
|
_ACEOF |
3433 |
|
rm -f conftest.$ac_objext |
3434 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3435 |
< |
(eval $ac_compile) 2>&5 |
3435 |
> |
(eval $ac_compile) 2>conftest.er1 |
3436 |
|
ac_status=$? |
3437 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3438 |
+ |
rm -f conftest.er1 |
3439 |
+ |
cat conftest.err >&5 |
3440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3441 |
|
(exit $ac_status); } && |
3442 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3442 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3443 |
> |
|| test ! -s conftest.err' |
3444 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3445 |
|
(eval $ac_try) 2>&5 |
3446 |
|
ac_status=$? |
3447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3448 |
+ |
(exit $ac_status); }; } && |
3449 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3450 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3451 |
+ |
(eval $ac_try) 2>&5 |
3452 |
+ |
ac_status=$? |
3453 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3454 |
|
(exit $ac_status); }; }; then |
3455 |
|
prepdefflagworks=1 |
3456 |
|
else |
3459 |
|
|
3460 |
|
prepdefflagworks=0 |
3461 |
|
fi |
3462 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3462 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3463 |
|
|
3464 |
|
F90FLAGS=$ac_save_F90FLAGS |
3465 |
|
ac_ext=$ac_save_ext |
3511 |
|
_ACEOF |
3512 |
|
rm -f conftest.$ac_objext |
3513 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3514 |
< |
(eval $ac_compile) 2>&5 |
3514 |
> |
(eval $ac_compile) 2>conftest.er1 |
3515 |
|
ac_status=$? |
3516 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3517 |
+ |
rm -f conftest.er1 |
3518 |
+ |
cat conftest.err >&5 |
3519 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3520 |
|
(exit $ac_status); } && |
3521 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3521 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3522 |
> |
|| test ! -s conftest.err' |
3523 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3524 |
|
(eval $ac_try) 2>&5 |
3525 |
|
ac_status=$? |
3526 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3527 |
+ |
(exit $ac_status); }; } && |
3528 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3529 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3530 |
+ |
(eval $ac_try) 2>&5 |
3531 |
+ |
ac_status=$? |
3532 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3533 |
|
(exit $ac_status); }; }; then |
3534 |
|
ac_cv_prog_f90_v= |
3535 |
|
# Try some options frequently used verbose output |
3555 |
|
ac_save_F90FLAGS=$F90FLAGS |
3556 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3557 |
|
|
3558 |
< |
(eval echo $as_me:3375: \"$ac_link\") >&5 |
3558 |
> |
(eval echo $as_me:3558: \"$ac_link\") >&5 |
3559 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3560 |
|
echo "$ac_f90_v_output" >&5 |
3561 |
|
F90FLAGS=$ac_save_F90FLAGS |
3597 |
|
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
3598 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
3599 |
|
fi |
3600 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
3600 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3601 |
|
|
3602 |
|
fi |
3603 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 |
3632 |
|
ac_save_F90FLAGS=$F90FLAGS |
3633 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
3634 |
|
|
3635 |
< |
(eval echo $as_me:3452: \"$ac_link\") >&5 |
3635 |
> |
(eval echo $as_me:3635: \"$ac_link\") >&5 |
3636 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
3637 |
|
echo "$ac_f90_v_output" >&5 |
3638 |
|
F90FLAGS=$ac_save_F90FLAGS |
3814 |
|
_ACEOF |
3815 |
|
rm -f conftest.$ac_objext |
3816 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3817 |
< |
(eval $ac_compile) 2>&5 |
3817 |
> |
(eval $ac_compile) 2>conftest.er1 |
3818 |
|
ac_status=$? |
3819 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3820 |
+ |
rm -f conftest.er1 |
3821 |
+ |
cat conftest.err >&5 |
3822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3823 |
|
(exit $ac_status); } && |
3824 |
< |
{ ac_try='test -s conftest.$ac_objext' |
3824 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
3825 |
> |
|| test ! -s conftest.err' |
3826 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3827 |
|
(eval $ac_try) 2>&5 |
3828 |
|
ac_status=$? |
3829 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3830 |
+ |
(exit $ac_status); }; } && |
3831 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
3832 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3833 |
+ |
(eval $ac_try) 2>&5 |
3834 |
+ |
ac_status=$? |
3835 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3836 |
|
(exit $ac_status); }; }; then |
3837 |
|
mv conftest.$ac_objext cf90_test.$ac_objext |
3838 |
|
|
3850 |
|
for ac_underscore in "" "_"; do |
3851 |
|
ac_func="$ac_foobar$ac_underscore" |
3852 |
|
cat >conftest.$ac_ext <<_ACEOF |
3660 |
– |
#line $LINENO "configure" |
3853 |
|
/* confdefs.h. */ |
3854 |
|
_ACEOF |
3855 |
|
cat confdefs.h >>conftest.$ac_ext |
3873 |
|
_ACEOF |
3874 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3875 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3876 |
< |
(eval $ac_link) 2>&5 |
3876 |
> |
(eval $ac_link) 2>conftest.er1 |
3877 |
|
ac_status=$? |
3878 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3879 |
+ |
rm -f conftest.er1 |
3880 |
+ |
cat conftest.err >&5 |
3881 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3882 |
|
(exit $ac_status); } && |
3883 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3883 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3884 |
> |
|| test ! -s conftest.err' |
3885 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3886 |
|
(eval $ac_try) 2>&5 |
3887 |
|
ac_status=$? |
3888 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3889 |
+ |
(exit $ac_status); }; } && |
3890 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
3891 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3892 |
+ |
(eval $ac_try) 2>&5 |
3893 |
+ |
ac_status=$? |
3894 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3895 |
|
(exit $ac_status); }; }; then |
3896 |
|
ac_success=yes; break 2 |
3897 |
|
else |
3899 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3900 |
|
|
3901 |
|
fi |
3902 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3902 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3903 |
> |
conftest$ac_exeext conftest.$ac_ext |
3904 |
|
done |
3905 |
|
done |
3906 |
|
|
3921 |
|
ac_func="$ac_foo_bar$ac_underscore$ac_extra" |
3922 |
|
|
3923 |
|
cat >conftest.$ac_ext <<_ACEOF |
3721 |
– |
#line $LINENO "configure" |
3924 |
|
/* confdefs.h. */ |
3925 |
|
_ACEOF |
3926 |
|
cat confdefs.h >>conftest.$ac_ext |
3944 |
|
_ACEOF |
3945 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3946 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3947 |
< |
(eval $ac_link) 2>&5 |
3947 |
> |
(eval $ac_link) 2>conftest.er1 |
3948 |
|
ac_status=$? |
3949 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
3950 |
+ |
rm -f conftest.er1 |
3951 |
+ |
cat conftest.err >&5 |
3952 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3953 |
|
(exit $ac_status); } && |
3954 |
< |
{ ac_try='test -s conftest$ac_exeext' |
3954 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
3955 |
> |
|| test ! -s conftest.err' |
3956 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3957 |
> |
(eval $ac_try) 2>&5 |
3958 |
> |
ac_status=$? |
3959 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3960 |
> |
(exit $ac_status); }; } && |
3961 |
> |
{ ac_try='test -s conftest$ac_exeext' |
3962 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3963 |
|
(eval $ac_try) 2>&5 |
3964 |
|
ac_status=$? |
3970 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3971 |
|
|
3972 |
|
fi |
3973 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3973 |
> |
rm -f conftest.err conftest.$ac_objext \ |
3974 |
> |
conftest$ac_exeext conftest.$ac_ext |
3975 |
|
done |
3976 |
|
|
3977 |
|
if test "$ac_success_extra" = "yes"; then |
4006 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4007 |
|
|
4008 |
|
fi |
4009 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4009 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4010 |
|
ac_ext=f90 |
4011 |
|
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' |
4012 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4249 |
|
_ACEOF |
4250 |
|
rm -f conftest.$ac_objext |
4251 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4252 |
< |
(eval $ac_compile) 2>&5 |
4252 |
> |
(eval $ac_compile) 2>conftest.er1 |
4253 |
|
ac_status=$? |
4254 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4255 |
+ |
rm -f conftest.er1 |
4256 |
+ |
cat conftest.err >&5 |
4257 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4258 |
|
(exit $ac_status); } && |
4259 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4259 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
4260 |
> |
|| test ! -s conftest.err' |
4261 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4262 |
|
(eval $ac_try) 2>&5 |
4263 |
|
ac_status=$? |
4264 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4265 |
+ |
(exit $ac_status); }; } && |
4266 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4267 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4268 |
+ |
(eval $ac_try) 2>&5 |
4269 |
+ |
ac_status=$? |
4270 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4271 |
|
(exit $ac_status); }; }; then |
4272 |
|
ac_cv_f90_module_names= |
4273 |
|
ac_file_list=* |
4368 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
4369 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
4370 |
|
fi |
4371 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4371 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4372 |
|
cd .. |
4373 |
|
# cleanup |
4374 |
|
rm -rf conftest |
4464 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4465 |
|
|
4466 |
|
|
4467 |
+ |
ac_ext=cc |
4468 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
4469 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4470 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4471 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4472 |
+ |
|
4473 |
+ |
|
4474 |
+ |
|
4475 |
+ |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
4476 |
+ |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
4477 |
+ |
if test "${ac_cv_lib_m_asin+set}" = set; then |
4478 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4479 |
+ |
else |
4480 |
+ |
ac_check_lib_save_LIBS=$LIBS |
4481 |
+ |
LIBS="-lm $LIBS" |
4482 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
4483 |
+ |
/* confdefs.h. */ |
4484 |
+ |
_ACEOF |
4485 |
+ |
cat confdefs.h >>conftest.$ac_ext |
4486 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
4487 |
+ |
/* end confdefs.h. */ |
4488 |
+ |
|
4489 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4490 |
+ |
#ifdef __cplusplus |
4491 |
+ |
extern "C" |
4492 |
+ |
#endif |
4493 |
+ |
/* We use char because int might match the return type of a gcc2 |
4494 |
+ |
builtin and then its argument prototype would still apply. */ |
4495 |
+ |
char asin (); |
4496 |
+ |
int |
4497 |
+ |
main () |
4498 |
+ |
{ |
4499 |
+ |
asin (); |
4500 |
+ |
; |
4501 |
+ |
return 0; |
4502 |
+ |
} |
4503 |
+ |
_ACEOF |
4504 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
4505 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4506 |
+ |
(eval $ac_link) 2>conftest.er1 |
4507 |
+ |
ac_status=$? |
4508 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4509 |
+ |
rm -f conftest.er1 |
4510 |
+ |
cat conftest.err >&5 |
4511 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4512 |
+ |
(exit $ac_status); } && |
4513 |
+ |
{ ac_try='test -z "$ac_cxx_werror_flag" |
4514 |
+ |
|| test ! -s conftest.err' |
4515 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4516 |
+ |
(eval $ac_try) 2>&5 |
4517 |
+ |
ac_status=$? |
4518 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4519 |
+ |
(exit $ac_status); }; } && |
4520 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
4521 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4522 |
+ |
(eval $ac_try) 2>&5 |
4523 |
+ |
ac_status=$? |
4524 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4525 |
+ |
(exit $ac_status); }; }; then |
4526 |
+ |
ac_cv_lib_m_asin=yes |
4527 |
+ |
else |
4528 |
+ |
echo "$as_me: failed program was:" >&5 |
4529 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
4530 |
+ |
|
4531 |
+ |
ac_cv_lib_m_asin=no |
4532 |
+ |
fi |
4533 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
4534 |
+ |
conftest$ac_exeext conftest.$ac_ext |
4535 |
+ |
LIBS=$ac_check_lib_save_LIBS |
4536 |
+ |
fi |
4537 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
4538 |
+ |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
4539 |
+ |
if test $ac_cv_lib_m_asin = yes; then |
4540 |
+ |
cat >>confdefs.h <<_ACEOF |
4541 |
+ |
#define HAVE_LIBM 1 |
4542 |
+ |
_ACEOF |
4543 |
+ |
|
4544 |
+ |
LIBS="-lm $LIBS" |
4545 |
+ |
|
4546 |
+ |
else |
4547 |
+ |
exit |
4548 |
+ |
fi |
4549 |
+ |
|
4550 |
+ |
|
4551 |
|
ac_ext=c |
4552 |
|
ac_cpp='$CPP $CPPFLAGS' |
4553 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4582 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4583 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4584 |
|
cat >conftest.$ac_ext <<_ACEOF |
4278 |
– |
#line $LINENO "configure" |
4585 |
|
/* confdefs.h. */ |
4586 |
|
_ACEOF |
4587 |
|
cat confdefs.h >>conftest.$ac_ext |
4592 |
|
#else |
4593 |
|
# include <assert.h> |
4594 |
|
#endif |
4595 |
< |
Syntax error |
4595 |
> |
Syntax error |
4596 |
|
_ACEOF |
4597 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4598 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4604 |
|
(exit $ac_status); } >/dev/null; then |
4605 |
|
if test -s conftest.err; then |
4606 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4607 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4608 |
|
else |
4609 |
|
ac_cpp_err= |
4610 |
|
fi |
4625 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4626 |
|
# can be detected and how. |
4627 |
|
cat >conftest.$ac_ext <<_ACEOF |
4321 |
– |
#line $LINENO "configure" |
4628 |
|
/* confdefs.h. */ |
4629 |
|
_ACEOF |
4630 |
|
cat confdefs.h >>conftest.$ac_ext |
4642 |
|
(exit $ac_status); } >/dev/null; then |
4643 |
|
if test -s conftest.err; then |
4644 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4645 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4646 |
|
else |
4647 |
|
ac_cpp_err= |
4648 |
|
fi |
4689 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
4690 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
4691 |
|
cat >conftest.$ac_ext <<_ACEOF |
4385 |
– |
#line $LINENO "configure" |
4692 |
|
/* confdefs.h. */ |
4693 |
|
_ACEOF |
4694 |
|
cat confdefs.h >>conftest.$ac_ext |
4699 |
|
#else |
4700 |
|
# include <assert.h> |
4701 |
|
#endif |
4702 |
< |
Syntax error |
4702 |
> |
Syntax error |
4703 |
|
_ACEOF |
4704 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4705 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4711 |
|
(exit $ac_status); } >/dev/null; then |
4712 |
|
if test -s conftest.err; then |
4713 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4714 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4715 |
|
else |
4716 |
|
ac_cpp_err= |
4717 |
|
fi |
4732 |
|
# OK, works on sane cases. Now check whether non-existent headers |
4733 |
|
# can be detected and how. |
4734 |
|
cat >conftest.$ac_ext <<_ACEOF |
4428 |
– |
#line $LINENO "configure" |
4735 |
|
/* confdefs.h. */ |
4736 |
|
_ACEOF |
4737 |
|
cat confdefs.h >>conftest.$ac_ext |
4749 |
|
(exit $ac_status); } >/dev/null; then |
4750 |
|
if test -s conftest.err; then |
4751 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4752 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4753 |
|
else |
4754 |
|
ac_cpp_err= |
4755 |
|
fi |
4810 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4811 |
|
else |
4812 |
|
cat >conftest.$ac_ext <<_ACEOF |
4506 |
– |
#line $LINENO "configure" |
4813 |
|
/* confdefs.h. */ |
4814 |
|
_ACEOF |
4815 |
|
cat confdefs.h >>conftest.$ac_ext |
4830 |
|
_ACEOF |
4831 |
|
rm -f conftest.$ac_objext |
4832 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4833 |
< |
(eval $ac_compile) 2>&5 |
4833 |
> |
(eval $ac_compile) 2>conftest.er1 |
4834 |
|
ac_status=$? |
4835 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
4836 |
+ |
rm -f conftest.er1 |
4837 |
+ |
cat conftest.err >&5 |
4838 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4839 |
|
(exit $ac_status); } && |
4840 |
< |
{ ac_try='test -s conftest.$ac_objext' |
4840 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
4841 |
> |
|| test ! -s conftest.err' |
4842 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4843 |
|
(eval $ac_try) 2>&5 |
4844 |
|
ac_status=$? |
4845 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4846 |
+ |
(exit $ac_status); }; } && |
4847 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
4848 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4849 |
+ |
(eval $ac_try) 2>&5 |
4850 |
+ |
ac_status=$? |
4851 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4852 |
|
(exit $ac_status); }; }; then |
4853 |
|
ac_cv_header_stdc=yes |
4854 |
|
else |
4857 |
|
|
4858 |
|
ac_cv_header_stdc=no |
4859 |
|
fi |
4860 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
4860 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4861 |
|
|
4862 |
|
if test $ac_cv_header_stdc = yes; then |
4863 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4864 |
|
cat >conftest.$ac_ext <<_ACEOF |
4549 |
– |
#line $LINENO "configure" |
4865 |
|
/* confdefs.h. */ |
4866 |
|
_ACEOF |
4867 |
|
cat confdefs.h >>conftest.$ac_ext |
4883 |
|
if test $ac_cv_header_stdc = yes; then |
4884 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4885 |
|
cat >conftest.$ac_ext <<_ACEOF |
4571 |
– |
#line $LINENO "configure" |
4886 |
|
/* confdefs.h. */ |
4887 |
|
_ACEOF |
4888 |
|
cat confdefs.h >>conftest.$ac_ext |
4907 |
|
: |
4908 |
|
else |
4909 |
|
cat >conftest.$ac_ext <<_ACEOF |
4596 |
– |
#line $LINENO "configure" |
4910 |
|
/* confdefs.h. */ |
4911 |
|
_ACEOF |
4912 |
|
cat confdefs.h >>conftest.$ac_ext |
4918 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4919 |
|
#else |
4920 |
|
# define ISLOWER(c) \ |
4921 |
< |
(('a' <= (c) && (c) <= 'i') \ |
4922 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
4923 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
4921 |
> |
(('a' <= (c) && (c) <= 'i') \ |
4922 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
4923 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
4924 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4925 |
|
#endif |
4926 |
|
|
4931 |
|
int i; |
4932 |
|
for (i = 0; i < 256; i++) |
4933 |
|
if (XOR (islower (i), ISLOWER (i)) |
4934 |
< |
|| toupper (i) != TOUPPER (i)) |
4934 |
> |
|| toupper (i) != TOUPPER (i)) |
4935 |
|
exit(2); |
4936 |
|
exit (0); |
4937 |
|
} |
4956 |
|
( exit $ac_status ) |
4957 |
|
ac_cv_header_stdc=no |
4958 |
|
fi |
4959 |
< |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4959 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4960 |
|
fi |
4961 |
|
fi |
4962 |
|
fi |
4981 |
|
|
4982 |
|
|
4983 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4984 |
< |
inttypes.h stdint.h unistd.h |
4984 |
> |
inttypes.h stdint.h unistd.h |
4985 |
|
do |
4986 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4987 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4990 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4991 |
|
else |
4992 |
|
cat >conftest.$ac_ext <<_ACEOF |
4680 |
– |
#line $LINENO "configure" |
4993 |
|
/* confdefs.h. */ |
4994 |
|
_ACEOF |
4995 |
|
cat confdefs.h >>conftest.$ac_ext |
5001 |
|
_ACEOF |
5002 |
|
rm -f conftest.$ac_objext |
5003 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5004 |
< |
(eval $ac_compile) 2>&5 |
5004 |
> |
(eval $ac_compile) 2>conftest.er1 |
5005 |
|
ac_status=$? |
5006 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5007 |
+ |
rm -f conftest.er1 |
5008 |
+ |
cat conftest.err >&5 |
5009 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5010 |
|
(exit $ac_status); } && |
5011 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5011 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5012 |
> |
|| test ! -s conftest.err' |
5013 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5014 |
|
(eval $ac_try) 2>&5 |
5015 |
|
ac_status=$? |
5016 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5017 |
+ |
(exit $ac_status); }; } && |
5018 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5019 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5020 |
+ |
(eval $ac_try) 2>&5 |
5021 |
+ |
ac_status=$? |
5022 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5023 |
|
(exit $ac_status); }; }; then |
5024 |
|
eval "$as_ac_Header=yes" |
5025 |
|
else |
5028 |
|
|
5029 |
|
eval "$as_ac_Header=no" |
5030 |
|
fi |
5031 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5031 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5032 |
|
fi |
5033 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5034 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5042 |
|
done |
5043 |
|
|
5044 |
|
|
5045 |
+ |
# |
5046 |
+ |
# Handle user hints |
5047 |
+ |
# |
5048 |
+ |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
5049 |
+ |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
5050 |
|
|
5051 |
+ |
# Check whether --with-zlib or --without-zlib was given. |
5052 |
+ |
if test "${with_zlib+set}" = set; then |
5053 |
+ |
withval="$with_zlib" |
5054 |
+ |
if test "$withval" != no ; then |
5055 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
5056 |
+ |
echo "${ECHO_T}yes" >&6 |
5057 |
+ |
if test -d "$withval" |
5058 |
+ |
then |
5059 |
+ |
ZLIB_HOME="$withval" |
5060 |
+ |
else |
5061 |
+ |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
5062 |
+ |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
5063 |
+ |
fi |
5064 |
+ |
else |
5065 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
5066 |
+ |
echo "${ECHO_T}no" >&6 |
5067 |
+ |
fi |
5068 |
+ |
fi; |
5069 |
|
|
5070 |
+ |
ZLIB_HOME=/usr/local |
5071 |
+ |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
5072 |
+ |
then |
5073 |
+ |
ZLIB_HOME=/usr |
5074 |
+ |
fi |
5075 |
|
|
5076 |
+ |
# |
5077 |
+ |
# Locate zlib, if wanted |
5078 |
+ |
# |
5079 |
+ |
if test -n "${ZLIB_HOME}" |
5080 |
+ |
then |
5081 |
+ |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
5082 |
+ |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
5083 |
+ |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
5084 |
+ |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
5085 |
|
|
5086 |
|
|
5087 |
+ |
ac_ext=c |
5088 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
5089 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5090 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5091 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5092 |
|
|
5093 |
+ |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
5094 |
+ |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
5095 |
+ |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
5096 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5097 |
+ |
else |
5098 |
+ |
ac_check_lib_save_LIBS=$LIBS |
5099 |
+ |
LIBS="-lz $LIBS" |
5100 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
5101 |
+ |
/* confdefs.h. */ |
5102 |
+ |
_ACEOF |
5103 |
+ |
cat confdefs.h >>conftest.$ac_ext |
5104 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
5105 |
+ |
/* end confdefs.h. */ |
5106 |
|
|
5107 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5108 |
+ |
#ifdef __cplusplus |
5109 |
+ |
extern "C" |
5110 |
+ |
#endif |
5111 |
+ |
/* We use char because int might match the return type of a gcc2 |
5112 |
+ |
builtin and then its argument prototype would still apply. */ |
5113 |
+ |
char inflateEnd (); |
5114 |
+ |
int |
5115 |
+ |
main () |
5116 |
+ |
{ |
5117 |
+ |
inflateEnd (); |
5118 |
+ |
; |
5119 |
+ |
return 0; |
5120 |
+ |
} |
5121 |
+ |
_ACEOF |
5122 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
5123 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5124 |
+ |
(eval $ac_link) 2>conftest.er1 |
5125 |
+ |
ac_status=$? |
5126 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5127 |
+ |
rm -f conftest.er1 |
5128 |
+ |
cat conftest.err >&5 |
5129 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5130 |
+ |
(exit $ac_status); } && |
5131 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
5132 |
+ |
|| test ! -s conftest.err' |
5133 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5134 |
+ |
(eval $ac_try) 2>&5 |
5135 |
+ |
ac_status=$? |
5136 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5137 |
+ |
(exit $ac_status); }; } && |
5138 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5139 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5140 |
+ |
(eval $ac_try) 2>&5 |
5141 |
+ |
ac_status=$? |
5142 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5143 |
+ |
(exit $ac_status); }; }; then |
5144 |
+ |
ac_cv_lib_z_inflateEnd=yes |
5145 |
+ |
else |
5146 |
+ |
echo "$as_me: failed program was:" >&5 |
5147 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
5148 |
|
|
5149 |
+ |
ac_cv_lib_z_inflateEnd=no |
5150 |
+ |
fi |
5151 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
5152 |
+ |
conftest$ac_exeext conftest.$ac_ext |
5153 |
+ |
LIBS=$ac_check_lib_save_LIBS |
5154 |
+ |
fi |
5155 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
5156 |
+ |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
5157 |
+ |
if test $ac_cv_lib_z_inflateEnd = yes; then |
5158 |
+ |
zlib_cv_libz=yes |
5159 |
+ |
else |
5160 |
+ |
zlib_cv_libz=no |
5161 |
+ |
fi |
5162 |
|
|
5163 |
< |
for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h |
5164 |
< |
do |
5165 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5166 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4736 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4737 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4738 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5163 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
5164 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
5165 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
5166 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
5167 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5168 |
|
fi |
5169 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5170 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5169 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
5170 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
5171 |
|
else |
5172 |
|
# Is the header compilable? |
5173 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5174 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5173 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
5174 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
5175 |
|
cat >conftest.$ac_ext <<_ACEOF |
4748 |
– |
#line $LINENO "configure" |
5176 |
|
/* confdefs.h. */ |
5177 |
|
_ACEOF |
5178 |
|
cat confdefs.h >>conftest.$ac_ext |
5179 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5180 |
|
/* end confdefs.h. */ |
5181 |
|
$ac_includes_default |
5182 |
< |
#include <$ac_header> |
5182 |
> |
#include <zlib.h> |
5183 |
|
_ACEOF |
5184 |
|
rm -f conftest.$ac_objext |
5185 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5186 |
< |
(eval $ac_compile) 2>&5 |
5186 |
> |
(eval $ac_compile) 2>conftest.er1 |
5187 |
|
ac_status=$? |
5188 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5189 |
+ |
rm -f conftest.er1 |
5190 |
+ |
cat conftest.err >&5 |
5191 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5192 |
|
(exit $ac_status); } && |
5193 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5193 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5194 |
> |
|| test ! -s conftest.err' |
5195 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5196 |
|
(eval $ac_try) 2>&5 |
5197 |
|
ac_status=$? |
5198 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5199 |
+ |
(exit $ac_status); }; } && |
5200 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
5201 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5202 |
+ |
(eval $ac_try) 2>&5 |
5203 |
+ |
ac_status=$? |
5204 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5205 |
|
(exit $ac_status); }; }; then |
5206 |
|
ac_header_compiler=yes |
5207 |
|
else |
5210 |
|
|
5211 |
|
ac_header_compiler=no |
5212 |
|
fi |
5213 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
5213 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5214 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5215 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5216 |
|
|
5217 |
|
# Is the header present? |
5218 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5219 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5218 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
5219 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
5220 |
|
cat >conftest.$ac_ext <<_ACEOF |
4784 |
– |
#line $LINENO "configure" |
5221 |
|
/* confdefs.h. */ |
5222 |
|
_ACEOF |
5223 |
|
cat confdefs.h >>conftest.$ac_ext |
5224 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5225 |
|
/* end confdefs.h. */ |
5226 |
< |
#include <$ac_header> |
5226 |
> |
#include <zlib.h> |
5227 |
|
_ACEOF |
5228 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5229 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5235 |
|
(exit $ac_status); } >/dev/null; then |
5236 |
|
if test -s conftest.err; then |
5237 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5238 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5239 |
|
else |
5240 |
|
ac_cpp_err= |
5241 |
|
fi |
5255 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
5256 |
|
|
5257 |
|
# So? What about this header? |
5258 |
< |
case $ac_header_compiler:$ac_header_preproc in |
5259 |
< |
yes:no ) |
5260 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5261 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5262 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5263 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5264 |
< |
( |
4828 |
< |
cat <<\_ASBOX |
4829 |
< |
## ------------------------------------ ## |
4830 |
< |
## Report this to bug-autoconf@gnu.org. ## |
4831 |
< |
## ------------------------------------ ## |
4832 |
< |
_ASBOX |
4833 |
< |
) | |
4834 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
5258 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5259 |
> |
yes:no: ) |
5260 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5261 |
> |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5262 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
5263 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
5264 |
> |
ac_header_preproc=yes |
5265 |
|
;; |
5266 |
< |
no:yes ) |
5267 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5268 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5269 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5270 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5271 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5272 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5266 |
> |
no:yes:* ) |
5267 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
5268 |
> |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
5269 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
5270 |
> |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
5271 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
5272 |
> |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
5273 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
5274 |
> |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
5275 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
5276 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
5277 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
5278 |
> |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
5279 |
|
( |
5280 |
|
cat <<\_ASBOX |
5281 |
< |
## ------------------------------------ ## |
5282 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5283 |
< |
## ------------------------------------ ## |
5281 |
> |
## ------------------------------ ## |
5282 |
> |
## Report this to gezelter@nd.edu ## |
5283 |
> |
## ------------------------------ ## |
5284 |
|
_ASBOX |
5285 |
|
) | |
5286 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5287 |
|
;; |
5288 |
|
esac |
5289 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5290 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5291 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5289 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
5290 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
5291 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
5292 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5293 |
|
else |
5294 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
5294 |
> |
ac_cv_header_zlib_h=$ac_header_preproc |
5295 |
|
fi |
5296 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5297 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5296 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
5297 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
5298 |
|
|
5299 |
|
fi |
5300 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5301 |
< |
cat >>confdefs.h <<_ACEOF |
5302 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5303 |
< |
_ACEOF |
4868 |
< |
|
5300 |
> |
if test $ac_cv_header_zlib_h = yes; then |
5301 |
> |
zlib_cv_zlib_h=yes |
5302 |
> |
else |
5303 |
> |
zlib_cv_zlib_h=no |
5304 |
|
fi |
5305 |
|
|
4871 |
– |
done |
5306 |
|
|
5307 |
+ |
ac_ext=c |
5308 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
5309 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5310 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5311 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5312 |
|
|
5313 |
+ |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
5314 |
+ |
then |
5315 |
+ |
# |
5316 |
+ |
# If both library and header were found, use them |
5317 |
+ |
# |
5318 |
|
|
5319 |
< |
|
5320 |
< |
|
5321 |
< |
|
4878 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
4879 |
< |
do |
4880 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4881 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4882 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4883 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5319 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
5320 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
5321 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
5322 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5323 |
|
else |
5324 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5325 |
< |
#line $LINENO "configure" |
5324 |
> |
ac_check_lib_save_LIBS=$LIBS |
5325 |
> |
LIBS="-lz $LIBS" |
5326 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5327 |
|
/* confdefs.h. */ |
5328 |
|
_ACEOF |
5329 |
|
cat confdefs.h >>conftest.$ac_ext |
5330 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5331 |
|
/* end confdefs.h. */ |
5332 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
4894 |
< |
which can conflict with char $ac_func (); below. |
4895 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4896 |
< |
<limits.h> exists even on freestanding compilers. */ |
4897 |
< |
#ifdef __STDC__ |
4898 |
< |
# include <limits.h> |
4899 |
< |
#else |
4900 |
< |
# include <assert.h> |
4901 |
< |
#endif |
5332 |
> |
|
5333 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5334 |
|
#ifdef __cplusplus |
5335 |
|
extern "C" |
4905 |
– |
{ |
5336 |
|
#endif |
5337 |
|
/* We use char because int might match the return type of a gcc2 |
5338 |
|
builtin and then its argument prototype would still apply. */ |
5339 |
< |
char $ac_func (); |
4910 |
< |
/* The GNU C library defines this for functions which it implements |
4911 |
< |
to always fail with ENOSYS. Some functions are actually named |
4912 |
< |
something starting with __ and the normal name is an alias. */ |
4913 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4914 |
< |
choke me |
4915 |
< |
#else |
4916 |
< |
char (*f) () = $ac_func; |
4917 |
< |
#endif |
4918 |
< |
#ifdef __cplusplus |
4919 |
< |
} |
4920 |
< |
#endif |
4921 |
< |
|
5339 |
> |
char inflateEnd (); |
5340 |
|
int |
5341 |
|
main () |
5342 |
|
{ |
5343 |
< |
return f != $ac_func; |
5343 |
> |
inflateEnd (); |
5344 |
|
; |
5345 |
|
return 0; |
5346 |
|
} |
5347 |
|
_ACEOF |
5348 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5349 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5350 |
< |
(eval $ac_link) 2>&5 |
5350 |
> |
(eval $ac_link) 2>conftest.er1 |
5351 |
|
ac_status=$? |
5352 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
5353 |
+ |
rm -f conftest.er1 |
5354 |
+ |
cat conftest.err >&5 |
5355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5356 |
|
(exit $ac_status); } && |
5357 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5357 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5358 |
> |
|| test ! -s conftest.err' |
5359 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5360 |
|
(eval $ac_try) 2>&5 |
5361 |
|
ac_status=$? |
5362 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5363 |
+ |
(exit $ac_status); }; } && |
5364 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
5365 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5366 |
+ |
(eval $ac_try) 2>&5 |
5367 |
+ |
ac_status=$? |
5368 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5369 |
|
(exit $ac_status); }; }; then |
5370 |
< |
eval "$as_ac_var=yes" |
5370 |
> |
ac_cv_lib_z_inflateEnd=yes |
5371 |
|
else |
5372 |
|
echo "$as_me: failed program was:" >&5 |
5373 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5374 |
|
|
5375 |
< |
eval "$as_ac_var=no" |
5375 |
> |
ac_cv_lib_z_inflateEnd=no |
5376 |
|
fi |
5377 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5377 |
> |
rm -f conftest.err conftest.$ac_objext \ |
5378 |
> |
conftest$ac_exeext conftest.$ac_ext |
5379 |
> |
LIBS=$ac_check_lib_save_LIBS |
5380 |
|
fi |
5381 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5382 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5383 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5381 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
5382 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
5383 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
5384 |
|
cat >>confdefs.h <<_ACEOF |
5385 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5385 |
> |
#define HAVE_LIBZ 1 |
5386 |
|
_ACEOF |
5387 |
|
|
5388 |
+ |
LIBS="-lz $LIBS" |
5389 |
+ |
|
5390 |
|
fi |
4959 |
– |
done |
5391 |
|
|
5392 |
< |
# special check for _system_configuration because AIX <4.3.2 do not |
5393 |
< |
# contain the `physmem' member. |
5394 |
< |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5395 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5392 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
5393 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
5394 |
> |
echo "$as_me:$LINENO: result: ok" >&5 |
5395 |
> |
echo "${ECHO_T}ok" >&6 |
5396 |
> |
else |
5397 |
> |
# |
5398 |
> |
# If either header or library was not found, revert and bomb |
5399 |
> |
# |
5400 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
5401 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
5402 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
5403 |
> |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
5404 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
5405 |
> |
echo "${ECHO_T}failed" >&6 |
5406 |
> |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
5407 |
> |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
5408 |
> |
{ (exit 1); exit 1; }; } |
5409 |
> |
fi |
5410 |
> |
fi |
5411 |
> |
|
5412 |
> |
|
5413 |
> |
|
5414 |
> |
|
5415 |
> |
|
5416 |
> |
|
5417 |
> |
|
5418 |
> |
|
5419 |
> |
for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h |
5420 |
> |
do |
5421 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5422 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5423 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5424 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5425 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5426 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5427 |
> |
fi |
5428 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5429 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5430 |
> |
else |
5431 |
> |
# Is the header compilable? |
5432 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5433 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5434 |
|
cat >conftest.$ac_ext <<_ACEOF |
4966 |
– |
#line $LINENO "configure" |
5435 |
|
/* confdefs.h. */ |
5436 |
|
_ACEOF |
5437 |
|
cat confdefs.h >>conftest.$ac_ext |
5438 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5439 |
|
/* end confdefs.h. */ |
5440 |
< |
#include <sys/systemcfg.h> |
5441 |
< |
int |
4974 |
< |
main () |
4975 |
< |
{ |
4976 |
< |
double x = _system_configuration.physmem; |
4977 |
< |
; |
4978 |
< |
return 0; |
4979 |
< |
} |
5440 |
> |
$ac_includes_default |
5441 |
> |
#include <$ac_header> |
5442 |
|
_ACEOF |
5443 |
|
rm -f conftest.$ac_objext |
5444 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5445 |
< |
(eval $ac_compile) 2>&5 |
5445 |
> |
(eval $ac_compile) 2>conftest.er1 |
5446 |
|
ac_status=$? |
5447 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5447 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5448 |
> |
rm -f conftest.er1 |
5449 |
> |
cat conftest.err >&5 |
5450 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5451 |
> |
(exit $ac_status); } && |
5452 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5453 |
> |
|| test ! -s conftest.err' |
5454 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5455 |
> |
(eval $ac_try) 2>&5 |
5456 |
> |
ac_status=$? |
5457 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5458 |
> |
(exit $ac_status); }; } && |
5459 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5460 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5461 |
> |
(eval $ac_try) 2>&5 |
5462 |
> |
ac_status=$? |
5463 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5464 |
> |
(exit $ac_status); }; }; then |
5465 |
> |
ac_header_compiler=yes |
5466 |
> |
else |
5467 |
> |
echo "$as_me: failed program was:" >&5 |
5468 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5469 |
> |
|
5470 |
> |
ac_header_compiler=no |
5471 |
> |
fi |
5472 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5473 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5474 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5475 |
> |
|
5476 |
> |
# Is the header present? |
5477 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5478 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5479 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5480 |
> |
/* confdefs.h. */ |
5481 |
> |
_ACEOF |
5482 |
> |
cat confdefs.h >>conftest.$ac_ext |
5483 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5484 |
> |
/* end confdefs.h. */ |
5485 |
> |
#include <$ac_header> |
5486 |
> |
_ACEOF |
5487 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5488 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5489 |
> |
ac_status=$? |
5490 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5491 |
> |
rm -f conftest.er1 |
5492 |
> |
cat conftest.err >&5 |
5493 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5494 |
> |
(exit $ac_status); } >/dev/null; then |
5495 |
> |
if test -s conftest.err; then |
5496 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
5497 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5498 |
> |
else |
5499 |
> |
ac_cpp_err= |
5500 |
> |
fi |
5501 |
> |
else |
5502 |
> |
ac_cpp_err=yes |
5503 |
> |
fi |
5504 |
> |
if test -z "$ac_cpp_err"; then |
5505 |
> |
ac_header_preproc=yes |
5506 |
> |
else |
5507 |
> |
echo "$as_me: failed program was:" >&5 |
5508 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5509 |
> |
|
5510 |
> |
ac_header_preproc=no |
5511 |
> |
fi |
5512 |
> |
rm -f conftest.err conftest.$ac_ext |
5513 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5514 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5515 |
> |
|
5516 |
> |
# So? What about this header? |
5517 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5518 |
> |
yes:no: ) |
5519 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5520 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5521 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5522 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5523 |
> |
ac_header_preproc=yes |
5524 |
> |
;; |
5525 |
> |
no:yes:* ) |
5526 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5527 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5528 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5529 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5530 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5531 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5532 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5533 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5534 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5535 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5536 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5537 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5538 |
> |
( |
5539 |
> |
cat <<\_ASBOX |
5540 |
> |
## ------------------------------ ## |
5541 |
> |
## Report this to gezelter@nd.edu ## |
5542 |
> |
## ------------------------------ ## |
5543 |
> |
_ASBOX |
5544 |
> |
) | |
5545 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
5546 |
> |
;; |
5547 |
> |
esac |
5548 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5549 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5550 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5551 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5552 |
> |
else |
5553 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5554 |
> |
fi |
5555 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5556 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5557 |
> |
|
5558 |
> |
fi |
5559 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5560 |
> |
cat >>confdefs.h <<_ACEOF |
5561 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5562 |
> |
_ACEOF |
5563 |
> |
|
5564 |
> |
fi |
5565 |
> |
|
5566 |
> |
done |
5567 |
> |
|
5568 |
> |
|
5569 |
> |
|
5570 |
> |
|
5571 |
> |
|
5572 |
> |
|
5573 |
> |
for ac_header in strstream.h iostream.h fstream.h math.h time.h |
5574 |
> |
do |
5575 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5576 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5577 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5578 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5579 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5580 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5581 |
> |
fi |
5582 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5583 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5584 |
> |
else |
5585 |
> |
# Is the header compilable? |
5586 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5587 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5588 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5589 |
> |
/* confdefs.h. */ |
5590 |
> |
_ACEOF |
5591 |
> |
cat confdefs.h >>conftest.$ac_ext |
5592 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5593 |
> |
/* end confdefs.h. */ |
5594 |
> |
$ac_includes_default |
5595 |
> |
#include <$ac_header> |
5596 |
> |
_ACEOF |
5597 |
> |
rm -f conftest.$ac_objext |
5598 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5599 |
> |
(eval $ac_compile) 2>conftest.er1 |
5600 |
> |
ac_status=$? |
5601 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5602 |
> |
rm -f conftest.er1 |
5603 |
> |
cat conftest.err >&5 |
5604 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5605 |
> |
(exit $ac_status); } && |
5606 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
5607 |
> |
|| test ! -s conftest.err' |
5608 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5609 |
> |
(eval $ac_try) 2>&5 |
5610 |
> |
ac_status=$? |
5611 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5612 |
> |
(exit $ac_status); }; } && |
5613 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5614 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5615 |
> |
(eval $ac_try) 2>&5 |
5616 |
> |
ac_status=$? |
5617 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5618 |
> |
(exit $ac_status); }; }; then |
5619 |
> |
ac_header_compiler=yes |
5620 |
> |
else |
5621 |
> |
echo "$as_me: failed program was:" >&5 |
5622 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5623 |
> |
|
5624 |
> |
ac_header_compiler=no |
5625 |
> |
fi |
5626 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5627 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5628 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5629 |
> |
|
5630 |
> |
# Is the header present? |
5631 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5632 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5633 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5634 |
> |
/* confdefs.h. */ |
5635 |
> |
_ACEOF |
5636 |
> |
cat confdefs.h >>conftest.$ac_ext |
5637 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5638 |
> |
/* end confdefs.h. */ |
5639 |
> |
#include <$ac_header> |
5640 |
> |
_ACEOF |
5641 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5642 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5643 |
> |
ac_status=$? |
5644 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5645 |
> |
rm -f conftest.er1 |
5646 |
> |
cat conftest.err >&5 |
5647 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5648 |
> |
(exit $ac_status); } >/dev/null; then |
5649 |
> |
if test -s conftest.err; then |
5650 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
5651 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5652 |
> |
else |
5653 |
> |
ac_cpp_err= |
5654 |
> |
fi |
5655 |
> |
else |
5656 |
> |
ac_cpp_err=yes |
5657 |
> |
fi |
5658 |
> |
if test -z "$ac_cpp_err"; then |
5659 |
> |
ac_header_preproc=yes |
5660 |
> |
else |
5661 |
> |
echo "$as_me: failed program was:" >&5 |
5662 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5663 |
> |
|
5664 |
> |
ac_header_preproc=no |
5665 |
> |
fi |
5666 |
> |
rm -f conftest.err conftest.$ac_ext |
5667 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5668 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5669 |
> |
|
5670 |
> |
# So? What about this header? |
5671 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5672 |
> |
yes:no: ) |
5673 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5674 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5675 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5676 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5677 |
> |
ac_header_preproc=yes |
5678 |
> |
;; |
5679 |
> |
no:yes:* ) |
5680 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5681 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5682 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5683 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5684 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5685 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5686 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5687 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5688 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5689 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5690 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5691 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5692 |
> |
( |
5693 |
> |
cat <<\_ASBOX |
5694 |
> |
## ------------------------------ ## |
5695 |
> |
## Report this to gezelter@nd.edu ## |
5696 |
> |
## ------------------------------ ## |
5697 |
> |
_ASBOX |
5698 |
> |
) | |
5699 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
5700 |
> |
;; |
5701 |
> |
esac |
5702 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5703 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5704 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5705 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5706 |
> |
else |
5707 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5708 |
> |
fi |
5709 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5710 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5711 |
> |
|
5712 |
> |
fi |
5713 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5714 |
> |
cat >>confdefs.h <<_ACEOF |
5715 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5716 |
> |
_ACEOF |
5717 |
> |
|
5718 |
> |
fi |
5719 |
> |
|
5720 |
> |
done |
5721 |
> |
|
5722 |
> |
ac_ext=cc |
5723 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
5724 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5725 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5726 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5727 |
> |
|
5728 |
> |
ac_ext=cc |
5729 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
5730 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5731 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5732 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5733 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5734 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
5735 |
> |
if test -z "$CXXCPP"; then |
5736 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
5737 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5738 |
> |
else |
5739 |
> |
# Double quotes because CXXCPP needs to be expanded |
5740 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
5741 |
> |
do |
5742 |
> |
ac_preproc_ok=false |
5743 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
5744 |
> |
do |
5745 |
> |
# Use a header file that comes with gcc, so configuring glibc |
5746 |
> |
# with a fresh cross-compiler works. |
5747 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5748 |
> |
# <limits.h> exists even on freestanding compilers. |
5749 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5750 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
5751 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5752 |
> |
/* confdefs.h. */ |
5753 |
> |
_ACEOF |
5754 |
> |
cat confdefs.h >>conftest.$ac_ext |
5755 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5756 |
> |
/* end confdefs.h. */ |
5757 |
> |
#ifdef __STDC__ |
5758 |
> |
# include <limits.h> |
5759 |
> |
#else |
5760 |
> |
# include <assert.h> |
5761 |
> |
#endif |
5762 |
> |
Syntax error |
5763 |
> |
_ACEOF |
5764 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5765 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5766 |
> |
ac_status=$? |
5767 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5768 |
> |
rm -f conftest.er1 |
5769 |
> |
cat conftest.err >&5 |
5770 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5771 |
> |
(exit $ac_status); } >/dev/null; then |
5772 |
> |
if test -s conftest.err; then |
5773 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5774 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5775 |
> |
else |
5776 |
> |
ac_cpp_err= |
5777 |
> |
fi |
5778 |
> |
else |
5779 |
> |
ac_cpp_err=yes |
5780 |
> |
fi |
5781 |
> |
if test -z "$ac_cpp_err"; then |
5782 |
> |
: |
5783 |
> |
else |
5784 |
> |
echo "$as_me: failed program was:" >&5 |
5785 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5786 |
> |
|
5787 |
> |
# Broken: fails on valid input. |
5788 |
> |
continue |
5789 |
> |
fi |
5790 |
> |
rm -f conftest.err conftest.$ac_ext |
5791 |
> |
|
5792 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
5793 |
> |
# can be detected and how. |
5794 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5795 |
> |
/* confdefs.h. */ |
5796 |
> |
_ACEOF |
5797 |
> |
cat confdefs.h >>conftest.$ac_ext |
5798 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5799 |
> |
/* end confdefs.h. */ |
5800 |
> |
#include <ac_nonexistent.h> |
5801 |
> |
_ACEOF |
5802 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5803 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5804 |
> |
ac_status=$? |
5805 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5806 |
> |
rm -f conftest.er1 |
5807 |
> |
cat conftest.err >&5 |
5808 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5809 |
> |
(exit $ac_status); } >/dev/null; then |
5810 |
> |
if test -s conftest.err; then |
5811 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5812 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5813 |
> |
else |
5814 |
> |
ac_cpp_err= |
5815 |
> |
fi |
5816 |
> |
else |
5817 |
> |
ac_cpp_err=yes |
5818 |
> |
fi |
5819 |
> |
if test -z "$ac_cpp_err"; then |
5820 |
> |
# Broken: success on invalid input. |
5821 |
> |
continue |
5822 |
> |
else |
5823 |
> |
echo "$as_me: failed program was:" >&5 |
5824 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5825 |
> |
|
5826 |
> |
# Passes both tests. |
5827 |
> |
ac_preproc_ok=: |
5828 |
> |
break |
5829 |
> |
fi |
5830 |
> |
rm -f conftest.err conftest.$ac_ext |
5831 |
> |
|
5832 |
> |
done |
5833 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5834 |
> |
rm -f conftest.err conftest.$ac_ext |
5835 |
> |
if $ac_preproc_ok; then |
5836 |
> |
break |
5837 |
> |
fi |
5838 |
> |
|
5839 |
> |
done |
5840 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
5841 |
> |
|
5842 |
> |
fi |
5843 |
> |
CXXCPP=$ac_cv_prog_CXXCPP |
5844 |
> |
else |
5845 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
5846 |
> |
fi |
5847 |
> |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5848 |
> |
echo "${ECHO_T}$CXXCPP" >&6 |
5849 |
> |
ac_preproc_ok=false |
5850 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
5851 |
> |
do |
5852 |
> |
# Use a header file that comes with gcc, so configuring glibc |
5853 |
> |
# with a fresh cross-compiler works. |
5854 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5855 |
> |
# <limits.h> exists even on freestanding compilers. |
5856 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5857 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
5858 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5859 |
> |
/* confdefs.h. */ |
5860 |
> |
_ACEOF |
5861 |
> |
cat confdefs.h >>conftest.$ac_ext |
5862 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5863 |
> |
/* end confdefs.h. */ |
5864 |
> |
#ifdef __STDC__ |
5865 |
> |
# include <limits.h> |
5866 |
> |
#else |
5867 |
> |
# include <assert.h> |
5868 |
> |
#endif |
5869 |
> |
Syntax error |
5870 |
> |
_ACEOF |
5871 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5872 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5873 |
> |
ac_status=$? |
5874 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5875 |
> |
rm -f conftest.er1 |
5876 |
> |
cat conftest.err >&5 |
5877 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5878 |
> |
(exit $ac_status); } >/dev/null; then |
5879 |
> |
if test -s conftest.err; then |
5880 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5881 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5882 |
> |
else |
5883 |
> |
ac_cpp_err= |
5884 |
> |
fi |
5885 |
> |
else |
5886 |
> |
ac_cpp_err=yes |
5887 |
> |
fi |
5888 |
> |
if test -z "$ac_cpp_err"; then |
5889 |
> |
: |
5890 |
> |
else |
5891 |
> |
echo "$as_me: failed program was:" >&5 |
5892 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5893 |
> |
|
5894 |
> |
# Broken: fails on valid input. |
5895 |
> |
continue |
5896 |
> |
fi |
5897 |
> |
rm -f conftest.err conftest.$ac_ext |
5898 |
> |
|
5899 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
5900 |
> |
# can be detected and how. |
5901 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5902 |
> |
/* confdefs.h. */ |
5903 |
> |
_ACEOF |
5904 |
> |
cat confdefs.h >>conftest.$ac_ext |
5905 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5906 |
> |
/* end confdefs.h. */ |
5907 |
> |
#include <ac_nonexistent.h> |
5908 |
> |
_ACEOF |
5909 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5910 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5911 |
> |
ac_status=$? |
5912 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5913 |
> |
rm -f conftest.er1 |
5914 |
> |
cat conftest.err >&5 |
5915 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5916 |
> |
(exit $ac_status); } >/dev/null; then |
5917 |
> |
if test -s conftest.err; then |
5918 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
5919 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
5920 |
> |
else |
5921 |
> |
ac_cpp_err= |
5922 |
> |
fi |
5923 |
> |
else |
5924 |
> |
ac_cpp_err=yes |
5925 |
> |
fi |
5926 |
> |
if test -z "$ac_cpp_err"; then |
5927 |
> |
# Broken: success on invalid input. |
5928 |
> |
continue |
5929 |
> |
else |
5930 |
> |
echo "$as_me: failed program was:" >&5 |
5931 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5932 |
> |
|
5933 |
> |
# Passes both tests. |
5934 |
> |
ac_preproc_ok=: |
5935 |
> |
break |
5936 |
> |
fi |
5937 |
> |
rm -f conftest.err conftest.$ac_ext |
5938 |
> |
|
5939 |
> |
done |
5940 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5941 |
> |
rm -f conftest.err conftest.$ac_ext |
5942 |
> |
if $ac_preproc_ok; then |
5943 |
> |
: |
5944 |
> |
else |
5945 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5946 |
> |
See \`config.log' for more details." >&5 |
5947 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5948 |
> |
See \`config.log' for more details." >&2;} |
5949 |
> |
{ (exit 1); exit 1; }; } |
5950 |
> |
fi |
5951 |
> |
|
5952 |
> |
ac_ext=cc |
5953 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
5954 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5955 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5956 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5957 |
> |
|
5958 |
> |
|
5959 |
> |
|
5960 |
> |
|
5961 |
> |
|
5962 |
> |
|
5963 |
> |
|
5964 |
> |
for ac_header in ctype.h iostream fstream sstream strstream |
5965 |
> |
do |
5966 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5967 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5968 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5969 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5970 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5971 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5972 |
> |
fi |
5973 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5974 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5975 |
> |
else |
5976 |
> |
# Is the header compilable? |
5977 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5978 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5979 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5980 |
> |
/* confdefs.h. */ |
5981 |
> |
_ACEOF |
5982 |
> |
cat confdefs.h >>conftest.$ac_ext |
5983 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5984 |
> |
/* end confdefs.h. */ |
5985 |
> |
$ac_includes_default |
5986 |
> |
#include <$ac_header> |
5987 |
> |
_ACEOF |
5988 |
> |
rm -f conftest.$ac_objext |
5989 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5990 |
> |
(eval $ac_compile) 2>conftest.er1 |
5991 |
> |
ac_status=$? |
5992 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5993 |
> |
rm -f conftest.er1 |
5994 |
> |
cat conftest.err >&5 |
5995 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5996 |
> |
(exit $ac_status); } && |
5997 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
5998 |
> |
|| test ! -s conftest.err' |
5999 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6000 |
> |
(eval $ac_try) 2>&5 |
6001 |
> |
ac_status=$? |
6002 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6003 |
> |
(exit $ac_status); }; } && |
6004 |
> |
{ ac_try='test -s conftest.$ac_objext' |
6005 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6006 |
> |
(eval $ac_try) 2>&5 |
6007 |
> |
ac_status=$? |
6008 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6009 |
> |
(exit $ac_status); }; }; then |
6010 |
> |
ac_header_compiler=yes |
6011 |
> |
else |
6012 |
> |
echo "$as_me: failed program was:" >&5 |
6013 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6014 |
> |
|
6015 |
> |
ac_header_compiler=no |
6016 |
> |
fi |
6017 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6018 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6019 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6020 |
> |
|
6021 |
> |
# Is the header present? |
6022 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6023 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6024 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6025 |
> |
/* confdefs.h. */ |
6026 |
> |
_ACEOF |
6027 |
> |
cat confdefs.h >>conftest.$ac_ext |
6028 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6029 |
> |
/* end confdefs.h. */ |
6030 |
> |
#include <$ac_header> |
6031 |
> |
_ACEOF |
6032 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6033 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6034 |
> |
ac_status=$? |
6035 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6036 |
> |
rm -f conftest.er1 |
6037 |
> |
cat conftest.err >&5 |
6038 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6039 |
> |
(exit $ac_status); } >/dev/null; then |
6040 |
> |
if test -s conftest.err; then |
6041 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
6042 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
6043 |
> |
else |
6044 |
> |
ac_cpp_err= |
6045 |
> |
fi |
6046 |
> |
else |
6047 |
> |
ac_cpp_err=yes |
6048 |
> |
fi |
6049 |
> |
if test -z "$ac_cpp_err"; then |
6050 |
> |
ac_header_preproc=yes |
6051 |
> |
else |
6052 |
> |
echo "$as_me: failed program was:" >&5 |
6053 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6054 |
> |
|
6055 |
> |
ac_header_preproc=no |
6056 |
> |
fi |
6057 |
> |
rm -f conftest.err conftest.$ac_ext |
6058 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6059 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6060 |
> |
|
6061 |
> |
# So? What about this header? |
6062 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
6063 |
> |
yes:no: ) |
6064 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6065 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6066 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6067 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6068 |
> |
ac_header_preproc=yes |
6069 |
> |
;; |
6070 |
> |
no:yes:* ) |
6071 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6072 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6073 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6074 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6075 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6076 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6077 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6078 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6079 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6080 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6081 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6082 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6083 |
> |
( |
6084 |
> |
cat <<\_ASBOX |
6085 |
> |
## ------------------------------ ## |
6086 |
> |
## Report this to gezelter@nd.edu ## |
6087 |
> |
## ------------------------------ ## |
6088 |
> |
_ASBOX |
6089 |
> |
) | |
6090 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
6091 |
> |
;; |
6092 |
> |
esac |
6093 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6094 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6095 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6096 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6097 |
> |
else |
6098 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
6099 |
> |
fi |
6100 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6101 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6102 |
> |
|
6103 |
> |
fi |
6104 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6105 |
> |
cat >>confdefs.h <<_ACEOF |
6106 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6107 |
> |
_ACEOF |
6108 |
> |
|
6109 |
> |
fi |
6110 |
> |
|
6111 |
> |
done |
6112 |
> |
|
6113 |
> |
ac_ext=c |
6114 |
> |
ac_cpp='$CPP $CPPFLAGS' |
6115 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6116 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6117 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6118 |
> |
|
6119 |
> |
|
6120 |
> |
|
6121 |
> |
|
6122 |
> |
for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h |
6123 |
> |
do |
6124 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6125 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6126 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6127 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6128 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6129 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6130 |
> |
fi |
6131 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6132 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6133 |
> |
else |
6134 |
> |
# Is the header compilable? |
6135 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6136 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6137 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6138 |
> |
/* confdefs.h. */ |
6139 |
> |
_ACEOF |
6140 |
> |
cat confdefs.h >>conftest.$ac_ext |
6141 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6142 |
> |
/* end confdefs.h. */ |
6143 |
> |
$ac_includes_default |
6144 |
> |
#include <$ac_header> |
6145 |
> |
_ACEOF |
6146 |
> |
rm -f conftest.$ac_objext |
6147 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6148 |
> |
(eval $ac_compile) 2>conftest.er1 |
6149 |
> |
ac_status=$? |
6150 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6151 |
> |
rm -f conftest.er1 |
6152 |
> |
cat conftest.err >&5 |
6153 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6154 |
> |
(exit $ac_status); } && |
6155 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6156 |
> |
|| test ! -s conftest.err' |
6157 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6158 |
> |
(eval $ac_try) 2>&5 |
6159 |
> |
ac_status=$? |
6160 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6161 |
> |
(exit $ac_status); }; } && |
6162 |
> |
{ ac_try='test -s conftest.$ac_objext' |
6163 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6164 |
> |
(eval $ac_try) 2>&5 |
6165 |
> |
ac_status=$? |
6166 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6167 |
> |
(exit $ac_status); }; }; then |
6168 |
> |
ac_header_compiler=yes |
6169 |
> |
else |
6170 |
> |
echo "$as_me: failed program was:" >&5 |
6171 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6172 |
> |
|
6173 |
> |
ac_header_compiler=no |
6174 |
> |
fi |
6175 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6176 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6177 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6178 |
> |
|
6179 |
> |
# Is the header present? |
6180 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6181 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6182 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6183 |
> |
/* confdefs.h. */ |
6184 |
> |
_ACEOF |
6185 |
> |
cat confdefs.h >>conftest.$ac_ext |
6186 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6187 |
> |
/* end confdefs.h. */ |
6188 |
> |
#include <$ac_header> |
6189 |
> |
_ACEOF |
6190 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6191 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6192 |
> |
ac_status=$? |
6193 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6194 |
> |
rm -f conftest.er1 |
6195 |
> |
cat conftest.err >&5 |
6196 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6197 |
> |
(exit $ac_status); } >/dev/null; then |
6198 |
> |
if test -s conftest.err; then |
6199 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
6200 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6201 |
> |
else |
6202 |
> |
ac_cpp_err= |
6203 |
> |
fi |
6204 |
> |
else |
6205 |
> |
ac_cpp_err=yes |
6206 |
> |
fi |
6207 |
> |
if test -z "$ac_cpp_err"; then |
6208 |
> |
ac_header_preproc=yes |
6209 |
> |
else |
6210 |
> |
echo "$as_me: failed program was:" >&5 |
6211 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6212 |
> |
|
6213 |
> |
ac_header_preproc=no |
6214 |
> |
fi |
6215 |
> |
rm -f conftest.err conftest.$ac_ext |
6216 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6217 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6218 |
> |
|
6219 |
> |
# So? What about this header? |
6220 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6221 |
> |
yes:no: ) |
6222 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6223 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6224 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6225 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6226 |
> |
ac_header_preproc=yes |
6227 |
> |
;; |
6228 |
> |
no:yes:* ) |
6229 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6230 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6231 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6232 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6233 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6234 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6235 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6236 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6237 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6238 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6239 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6240 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6241 |
> |
( |
6242 |
> |
cat <<\_ASBOX |
6243 |
> |
## ------------------------------ ## |
6244 |
> |
## Report this to gezelter@nd.edu ## |
6245 |
> |
## ------------------------------ ## |
6246 |
> |
_ASBOX |
6247 |
> |
) | |
6248 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
6249 |
> |
;; |
6250 |
> |
esac |
6251 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6252 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6253 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6254 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6255 |
> |
else |
6256 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
6257 |
> |
fi |
6258 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6259 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6260 |
> |
|
6261 |
> |
fi |
6262 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6263 |
> |
cat >>confdefs.h <<_ACEOF |
6264 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6265 |
> |
_ACEOF |
6266 |
> |
|
6267 |
> |
fi |
6268 |
> |
|
6269 |
> |
done |
6270 |
> |
|
6271 |
> |
|
6272 |
> |
|
6273 |
> |
|
6274 |
> |
|
6275 |
> |
for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h |
6276 |
> |
do |
6277 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6278 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6279 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6280 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6281 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6282 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6283 |
> |
fi |
6284 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6285 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6286 |
> |
else |
6287 |
> |
# Is the header compilable? |
6288 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6289 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6290 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6291 |
> |
/* confdefs.h. */ |
6292 |
> |
_ACEOF |
6293 |
> |
cat confdefs.h >>conftest.$ac_ext |
6294 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6295 |
> |
/* end confdefs.h. */ |
6296 |
> |
$ac_includes_default |
6297 |
> |
#include <$ac_header> |
6298 |
> |
_ACEOF |
6299 |
> |
rm -f conftest.$ac_objext |
6300 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6301 |
> |
(eval $ac_compile) 2>conftest.er1 |
6302 |
> |
ac_status=$? |
6303 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6304 |
> |
rm -f conftest.er1 |
6305 |
> |
cat conftest.err >&5 |
6306 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6307 |
> |
(exit $ac_status); } && |
6308 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6309 |
> |
|| test ! -s conftest.err' |
6310 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6311 |
> |
(eval $ac_try) 2>&5 |
6312 |
> |
ac_status=$? |
6313 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6314 |
> |
(exit $ac_status); }; } && |
6315 |
> |
{ ac_try='test -s conftest.$ac_objext' |
6316 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6317 |
> |
(eval $ac_try) 2>&5 |
6318 |
> |
ac_status=$? |
6319 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6320 |
> |
(exit $ac_status); }; }; then |
6321 |
> |
ac_header_compiler=yes |
6322 |
> |
else |
6323 |
> |
echo "$as_me: failed program was:" >&5 |
6324 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6325 |
> |
|
6326 |
> |
ac_header_compiler=no |
6327 |
> |
fi |
6328 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6329 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6330 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6331 |
> |
|
6332 |
> |
# Is the header present? |
6333 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6334 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6335 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6336 |
> |
/* confdefs.h. */ |
6337 |
> |
_ACEOF |
6338 |
> |
cat confdefs.h >>conftest.$ac_ext |
6339 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6340 |
> |
/* end confdefs.h. */ |
6341 |
> |
#include <$ac_header> |
6342 |
> |
_ACEOF |
6343 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6344 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6345 |
> |
ac_status=$? |
6346 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6347 |
> |
rm -f conftest.er1 |
6348 |
> |
cat conftest.err >&5 |
6349 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6350 |
> |
(exit $ac_status); } >/dev/null; then |
6351 |
> |
if test -s conftest.err; then |
6352 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
6353 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6354 |
> |
else |
6355 |
> |
ac_cpp_err= |
6356 |
> |
fi |
6357 |
> |
else |
6358 |
> |
ac_cpp_err=yes |
6359 |
> |
fi |
6360 |
> |
if test -z "$ac_cpp_err"; then |
6361 |
> |
ac_header_preproc=yes |
6362 |
> |
else |
6363 |
> |
echo "$as_me: failed program was:" >&5 |
6364 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6365 |
> |
|
6366 |
> |
ac_header_preproc=no |
6367 |
> |
fi |
6368 |
> |
rm -f conftest.err conftest.$ac_ext |
6369 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6370 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6371 |
> |
|
6372 |
> |
# So? What about this header? |
6373 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6374 |
> |
yes:no: ) |
6375 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6376 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6377 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6378 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6379 |
> |
ac_header_preproc=yes |
6380 |
> |
;; |
6381 |
> |
no:yes:* ) |
6382 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6383 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6384 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6385 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6386 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6387 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6388 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6389 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6390 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6391 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6392 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6393 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6394 |
> |
( |
6395 |
> |
cat <<\_ASBOX |
6396 |
> |
## ------------------------------ ## |
6397 |
> |
## Report this to gezelter@nd.edu ## |
6398 |
> |
## ------------------------------ ## |
6399 |
> |
_ASBOX |
6400 |
> |
) | |
6401 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
6402 |
> |
;; |
6403 |
> |
esac |
6404 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6405 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6406 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6407 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6408 |
> |
else |
6409 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
6410 |
> |
fi |
6411 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6412 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6413 |
> |
|
6414 |
> |
fi |
6415 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6416 |
> |
cat >>confdefs.h <<_ACEOF |
6417 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6418 |
> |
_ACEOF |
6419 |
> |
|
6420 |
> |
fi |
6421 |
> |
|
6422 |
> |
done |
6423 |
> |
|
6424 |
> |
|
6425 |
> |
for ac_header in machine/hal_sysinfo.h |
6426 |
> |
do |
6427 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6428 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6429 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6430 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6431 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6432 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6433 |
> |
fi |
6434 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6435 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6436 |
> |
else |
6437 |
> |
# Is the header compilable? |
6438 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6439 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6440 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6441 |
> |
/* confdefs.h. */ |
6442 |
> |
_ACEOF |
6443 |
> |
cat confdefs.h >>conftest.$ac_ext |
6444 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6445 |
> |
/* end confdefs.h. */ |
6446 |
> |
$ac_includes_default |
6447 |
> |
#include <$ac_header> |
6448 |
> |
_ACEOF |
6449 |
> |
rm -f conftest.$ac_objext |
6450 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6451 |
> |
(eval $ac_compile) 2>conftest.er1 |
6452 |
> |
ac_status=$? |
6453 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6454 |
> |
rm -f conftest.er1 |
6455 |
> |
cat conftest.err >&5 |
6456 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6457 |
> |
(exit $ac_status); } && |
6458 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6459 |
> |
|| test ! -s conftest.err' |
6460 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6461 |
> |
(eval $ac_try) 2>&5 |
6462 |
> |
ac_status=$? |
6463 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6464 |
> |
(exit $ac_status); }; } && |
6465 |
> |
{ ac_try='test -s conftest.$ac_objext' |
6466 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6467 |
> |
(eval $ac_try) 2>&5 |
6468 |
> |
ac_status=$? |
6469 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6470 |
> |
(exit $ac_status); }; }; then |
6471 |
> |
ac_header_compiler=yes |
6472 |
> |
else |
6473 |
> |
echo "$as_me: failed program was:" >&5 |
6474 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6475 |
> |
|
6476 |
> |
ac_header_compiler=no |
6477 |
> |
fi |
6478 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6479 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6480 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
6481 |
> |
|
6482 |
> |
# Is the header present? |
6483 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6484 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6485 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6486 |
> |
/* confdefs.h. */ |
6487 |
> |
_ACEOF |
6488 |
> |
cat confdefs.h >>conftest.$ac_ext |
6489 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6490 |
> |
/* end confdefs.h. */ |
6491 |
> |
#include <$ac_header> |
6492 |
> |
_ACEOF |
6493 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6494 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6495 |
> |
ac_status=$? |
6496 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6497 |
> |
rm -f conftest.er1 |
6498 |
> |
cat conftest.err >&5 |
6499 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6500 |
> |
(exit $ac_status); } >/dev/null; then |
6501 |
> |
if test -s conftest.err; then |
6502 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
6503 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6504 |
> |
else |
6505 |
> |
ac_cpp_err= |
6506 |
> |
fi |
6507 |
> |
else |
6508 |
> |
ac_cpp_err=yes |
6509 |
> |
fi |
6510 |
> |
if test -z "$ac_cpp_err"; then |
6511 |
> |
ac_header_preproc=yes |
6512 |
> |
else |
6513 |
> |
echo "$as_me: failed program was:" >&5 |
6514 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6515 |
> |
|
6516 |
> |
ac_header_preproc=no |
6517 |
> |
fi |
6518 |
> |
rm -f conftest.err conftest.$ac_ext |
6519 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6520 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
6521 |
> |
|
6522 |
> |
# So? What about this header? |
6523 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6524 |
> |
yes:no: ) |
6525 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6526 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6527 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6528 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6529 |
> |
ac_header_preproc=yes |
6530 |
> |
;; |
6531 |
> |
no:yes:* ) |
6532 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6533 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6534 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6535 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6536 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6537 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6538 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6539 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6540 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6541 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6542 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6543 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6544 |
> |
( |
6545 |
> |
cat <<\_ASBOX |
6546 |
> |
## ------------------------------ ## |
6547 |
> |
## Report this to gezelter@nd.edu ## |
6548 |
> |
## ------------------------------ ## |
6549 |
> |
_ASBOX |
6550 |
> |
) | |
6551 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
6552 |
> |
;; |
6553 |
> |
esac |
6554 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6555 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6556 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6557 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6558 |
> |
else |
6559 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
6560 |
> |
fi |
6561 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6562 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6563 |
> |
|
6564 |
> |
fi |
6565 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6566 |
> |
cat >>confdefs.h <<_ACEOF |
6567 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6568 |
> |
_ACEOF |
6569 |
> |
|
6570 |
> |
fi |
6571 |
> |
|
6572 |
> |
done |
6573 |
> |
|
6574 |
> |
|
6575 |
> |
|
6576 |
> |
|
6577 |
> |
|
6578 |
> |
|
6579 |
> |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
6580 |
> |
do |
6581 |
> |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6582 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6583 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6584 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6585 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6586 |
> |
else |
6587 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6588 |
> |
/* confdefs.h. */ |
6589 |
> |
_ACEOF |
6590 |
> |
cat confdefs.h >>conftest.$ac_ext |
6591 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6592 |
> |
/* end confdefs.h. */ |
6593 |
> |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6594 |
> |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6595 |
> |
#define $ac_func innocuous_$ac_func |
6596 |
> |
|
6597 |
> |
/* System header to define __stub macros and hopefully few prototypes, |
6598 |
> |
which can conflict with char $ac_func (); below. |
6599 |
> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6600 |
> |
<limits.h> exists even on freestanding compilers. */ |
6601 |
> |
|
6602 |
> |
#ifdef __STDC__ |
6603 |
> |
# include <limits.h> |
6604 |
> |
#else |
6605 |
> |
# include <assert.h> |
6606 |
> |
#endif |
6607 |
> |
|
6608 |
> |
#undef $ac_func |
6609 |
> |
|
6610 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
6611 |
> |
#ifdef __cplusplus |
6612 |
> |
extern "C" |
6613 |
> |
{ |
6614 |
> |
#endif |
6615 |
> |
/* We use char because int might match the return type of a gcc2 |
6616 |
> |
builtin and then its argument prototype would still apply. */ |
6617 |
> |
char $ac_func (); |
6618 |
> |
/* The GNU C library defines this for functions which it implements |
6619 |
> |
to always fail with ENOSYS. Some functions are actually named |
6620 |
> |
something starting with __ and the normal name is an alias. */ |
6621 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6622 |
> |
choke me |
6623 |
> |
#else |
6624 |
> |
char (*f) () = $ac_func; |
6625 |
> |
#endif |
6626 |
> |
#ifdef __cplusplus |
6627 |
> |
} |
6628 |
> |
#endif |
6629 |
> |
|
6630 |
> |
int |
6631 |
> |
main () |
6632 |
> |
{ |
6633 |
> |
return f != $ac_func; |
6634 |
> |
; |
6635 |
> |
return 0; |
6636 |
> |
} |
6637 |
> |
_ACEOF |
6638 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
6639 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6640 |
> |
(eval $ac_link) 2>conftest.er1 |
6641 |
> |
ac_status=$? |
6642 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6643 |
> |
rm -f conftest.er1 |
6644 |
> |
cat conftest.err >&5 |
6645 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6646 |
|
(exit $ac_status); } && |
6647 |
< |
{ ac_try='test -s conftest.$ac_objext' |
6647 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6648 |
> |
|| test ! -s conftest.err' |
6649 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6650 |
|
(eval $ac_try) 2>&5 |
6651 |
|
ac_status=$? |
6652 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6653 |
+ |
(exit $ac_status); }; } && |
6654 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
6655 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6656 |
+ |
(eval $ac_try) 2>&5 |
6657 |
+ |
ac_status=$? |
6658 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6659 |
|
(exit $ac_status); }; }; then |
6660 |
+ |
eval "$as_ac_var=yes" |
6661 |
+ |
else |
6662 |
+ |
echo "$as_me: failed program was:" >&5 |
6663 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
6664 |
+ |
|
6665 |
+ |
eval "$as_ac_var=no" |
6666 |
+ |
fi |
6667 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
6668 |
+ |
conftest$ac_exeext conftest.$ac_ext |
6669 |
+ |
fi |
6670 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6671 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6672 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6673 |
+ |
cat >>confdefs.h <<_ACEOF |
6674 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6675 |
+ |
_ACEOF |
6676 |
+ |
|
6677 |
+ |
fi |
6678 |
+ |
done |
6679 |
+ |
|
6680 |
+ |
# special check for _system_configuration because AIX <4.3.2 do not |
6681 |
+ |
# contain the `physmem' member. |
6682 |
+ |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
6683 |
+ |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
6684 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
6685 |
+ |
/* confdefs.h. */ |
6686 |
+ |
_ACEOF |
6687 |
+ |
cat confdefs.h >>conftest.$ac_ext |
6688 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
6689 |
+ |
/* end confdefs.h. */ |
6690 |
+ |
#include <sys/systemcfg.h> |
6691 |
+ |
int |
6692 |
+ |
main () |
6693 |
+ |
{ |
6694 |
+ |
double x = _system_configuration.physmem; |
6695 |
+ |
; |
6696 |
+ |
return 0; |
6697 |
+ |
} |
6698 |
+ |
_ACEOF |
6699 |
+ |
rm -f conftest.$ac_objext |
6700 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6701 |
+ |
(eval $ac_compile) 2>conftest.er1 |
6702 |
+ |
ac_status=$? |
6703 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6704 |
+ |
rm -f conftest.er1 |
6705 |
+ |
cat conftest.err >&5 |
6706 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6707 |
+ |
(exit $ac_status); } && |
6708 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
6709 |
+ |
|| test ! -s conftest.err' |
6710 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6711 |
+ |
(eval $ac_try) 2>&5 |
6712 |
+ |
ac_status=$? |
6713 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6714 |
+ |
(exit $ac_status); }; } && |
6715 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
6716 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6717 |
+ |
(eval $ac_try) 2>&5 |
6718 |
+ |
ac_status=$? |
6719 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6720 |
+ |
(exit $ac_status); }; }; then |
6721 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
6722 |
|
echo "${ECHO_T}yes" >&6 |
6723 |
|
|
6732 |
|
echo "$as_me:$LINENO: result: no" >&5 |
6733 |
|
echo "${ECHO_T}no" >&6 |
6734 |
|
fi |
6735 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
6735 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6736 |
> |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
6737 |
> |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
6738 |
> |
if test "${ac_cv_header_time+set}" = set; then |
6739 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6740 |
> |
else |
6741 |
> |
cat >conftest.$ac_ext <<_ACEOF |
6742 |
> |
/* confdefs.h. */ |
6743 |
> |
_ACEOF |
6744 |
> |
cat confdefs.h >>conftest.$ac_ext |
6745 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
6746 |
> |
/* end confdefs.h. */ |
6747 |
> |
#include <sys/types.h> |
6748 |
> |
#include <sys/time.h> |
6749 |
> |
#include <time.h> |
6750 |
> |
|
6751 |
> |
int |
6752 |
> |
main () |
6753 |
> |
{ |
6754 |
> |
if ((struct tm *) 0) |
6755 |
> |
return 0; |
6756 |
> |
; |
6757 |
> |
return 0; |
6758 |
> |
} |
6759 |
> |
_ACEOF |
6760 |
> |
rm -f conftest.$ac_objext |
6761 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6762 |
> |
(eval $ac_compile) 2>conftest.er1 |
6763 |
> |
ac_status=$? |
6764 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6765 |
> |
rm -f conftest.er1 |
6766 |
> |
cat conftest.err >&5 |
6767 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6768 |
> |
(exit $ac_status); } && |
6769 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6770 |
> |
|| test ! -s conftest.err' |
6771 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6772 |
> |
(eval $ac_try) 2>&5 |
6773 |
> |
ac_status=$? |
6774 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6775 |
> |
(exit $ac_status); }; } && |
6776 |
> |
{ ac_try='test -s conftest.$ac_objext' |
6777 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6778 |
> |
(eval $ac_try) 2>&5 |
6779 |
> |
ac_status=$? |
6780 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6781 |
> |
(exit $ac_status); }; }; then |
6782 |
> |
ac_cv_header_time=yes |
6783 |
> |
else |
6784 |
> |
echo "$as_me: failed program was:" >&5 |
6785 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6786 |
|
|
6787 |
+ |
ac_cv_header_time=no |
6788 |
+ |
fi |
6789 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6790 |
+ |
fi |
6791 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
6792 |
+ |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
6793 |
+ |
if test $ac_cv_header_time = yes; then |
6794 |
+ |
|
6795 |
+ |
cat >>confdefs.h <<\_ACEOF |
6796 |
+ |
#define TIME_WITH_SYS_TIME 1 |
6797 |
+ |
_ACEOF |
6798 |
+ |
|
6799 |
+ |
fi |
6800 |
+ |
|
6801 |
+ |
|
6802 |
+ |
echo "$as_me:$LINENO: checking for clock_t" >&5 |
6803 |
+ |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
6804 |
+ |
if test "${ac_cv_type_clock_t+set}" = set; then |
6805 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6806 |
+ |
else |
6807 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
6808 |
+ |
/* confdefs.h. */ |
6809 |
+ |
_ACEOF |
6810 |
+ |
cat confdefs.h >>conftest.$ac_ext |
6811 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
6812 |
+ |
/* end confdefs.h. */ |
6813 |
+ |
$ac_includes_default |
6814 |
+ |
int |
6815 |
+ |
main () |
6816 |
+ |
{ |
6817 |
+ |
if ((clock_t *) 0) |
6818 |
+ |
return 0; |
6819 |
+ |
if (sizeof (clock_t)) |
6820 |
+ |
return 0; |
6821 |
+ |
; |
6822 |
+ |
return 0; |
6823 |
+ |
} |
6824 |
+ |
_ACEOF |
6825 |
+ |
rm -f conftest.$ac_objext |
6826 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6827 |
+ |
(eval $ac_compile) 2>conftest.er1 |
6828 |
+ |
ac_status=$? |
6829 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6830 |
+ |
rm -f conftest.er1 |
6831 |
+ |
cat conftest.err >&5 |
6832 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6833 |
+ |
(exit $ac_status); } && |
6834 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
6835 |
+ |
|| test ! -s conftest.err' |
6836 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6837 |
+ |
(eval $ac_try) 2>&5 |
6838 |
+ |
ac_status=$? |
6839 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6840 |
+ |
(exit $ac_status); }; } && |
6841 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
6842 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6843 |
+ |
(eval $ac_try) 2>&5 |
6844 |
+ |
ac_status=$? |
6845 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6846 |
+ |
(exit $ac_status); }; }; then |
6847 |
+ |
ac_cv_type_clock_t=yes |
6848 |
+ |
else |
6849 |
+ |
echo "$as_me: failed program was:" >&5 |
6850 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
6851 |
+ |
|
6852 |
+ |
ac_cv_type_clock_t=no |
6853 |
+ |
fi |
6854 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6855 |
+ |
fi |
6856 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
6857 |
+ |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6 |
6858 |
+ |
if test $ac_cv_type_clock_t = yes; then |
6859 |
+ |
|
6860 |
+ |
cat >>confdefs.h <<_ACEOF |
6861 |
+ |
#define HAVE_CLOCK_T 1 |
6862 |
+ |
_ACEOF |
6863 |
+ |
|
6864 |
+ |
|
6865 |
+ |
fi |
6866 |
+ |
|
6867 |
+ |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
6868 |
+ |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
6869 |
+ |
if test "${ac_cv_c_const+set}" = set; then |
6870 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6871 |
+ |
else |
6872 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
6873 |
+ |
/* confdefs.h. */ |
6874 |
+ |
_ACEOF |
6875 |
+ |
cat confdefs.h >>conftest.$ac_ext |
6876 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
6877 |
+ |
/* end confdefs.h. */ |
6878 |
+ |
|
6879 |
+ |
int |
6880 |
+ |
main () |
6881 |
+ |
{ |
6882 |
+ |
/* FIXME: Include the comments suggested by Paul. */ |
6883 |
+ |
#ifndef __cplusplus |
6884 |
+ |
/* Ultrix mips cc rejects this. */ |
6885 |
+ |
typedef int charset[2]; |
6886 |
+ |
const charset x; |
6887 |
+ |
/* SunOS 4.1.1 cc rejects this. */ |
6888 |
+ |
char const *const *ccp; |
6889 |
+ |
char **p; |
6890 |
+ |
/* NEC SVR4.0.2 mips cc rejects this. */ |
6891 |
+ |
struct point {int x, y;}; |
6892 |
+ |
static struct point const zero = {0,0}; |
6893 |
+ |
/* AIX XL C 1.02.0.0 rejects this. |
6894 |
+ |
It does not let you subtract one const X* pointer from another in |
6895 |
+ |
an arm of an if-expression whose if-part is not a constant |
6896 |
+ |
expression */ |
6897 |
+ |
const char *g = "string"; |
6898 |
+ |
ccp = &g + (g ? g-g : 0); |
6899 |
+ |
/* HPUX 7.0 cc rejects these. */ |
6900 |
+ |
++ccp; |
6901 |
+ |
p = (char**) ccp; |
6902 |
+ |
ccp = (char const *const *) p; |
6903 |
+ |
{ /* SCO 3.2v4 cc rejects this. */ |
6904 |
+ |
char *t; |
6905 |
+ |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
6906 |
+ |
|
6907 |
+ |
*t++ = 0; |
6908 |
+ |
} |
6909 |
+ |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
6910 |
+ |
int x[] = {25, 17}; |
6911 |
+ |
const int *foo = &x[0]; |
6912 |
+ |
++foo; |
6913 |
+ |
} |
6914 |
+ |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6915 |
+ |
typedef const int *iptr; |
6916 |
+ |
iptr p = 0; |
6917 |
+ |
++p; |
6918 |
+ |
} |
6919 |
+ |
{ /* AIX XL C 1.02.0.0 rejects this saying |
6920 |
+ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6921 |
+ |
struct s { int j; const int *ap[3]; }; |
6922 |
+ |
struct s *b; b->j = 5; |
6923 |
+ |
} |
6924 |
+ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6925 |
+ |
const int foo = 10; |
6926 |
+ |
} |
6927 |
+ |
#endif |
6928 |
+ |
|
6929 |
+ |
; |
6930 |
+ |
return 0; |
6931 |
+ |
} |
6932 |
+ |
_ACEOF |
6933 |
+ |
rm -f conftest.$ac_objext |
6934 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6935 |
+ |
(eval $ac_compile) 2>conftest.er1 |
6936 |
+ |
ac_status=$? |
6937 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6938 |
+ |
rm -f conftest.er1 |
6939 |
+ |
cat conftest.err >&5 |
6940 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6941 |
+ |
(exit $ac_status); } && |
6942 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
6943 |
+ |
|| test ! -s conftest.err' |
6944 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6945 |
+ |
(eval $ac_try) 2>&5 |
6946 |
+ |
ac_status=$? |
6947 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6948 |
+ |
(exit $ac_status); }; } && |
6949 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
6950 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6951 |
+ |
(eval $ac_try) 2>&5 |
6952 |
+ |
ac_status=$? |
6953 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6954 |
+ |
(exit $ac_status); }; }; then |
6955 |
+ |
ac_cv_c_const=yes |
6956 |
+ |
else |
6957 |
+ |
echo "$as_me: failed program was:" >&5 |
6958 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
6959 |
+ |
|
6960 |
+ |
ac_cv_c_const=no |
6961 |
+ |
fi |
6962 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6963 |
+ |
fi |
6964 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
6965 |
+ |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
6966 |
+ |
if test $ac_cv_c_const = no; then |
6967 |
+ |
|
6968 |
+ |
cat >>confdefs.h <<\_ACEOF |
6969 |
+ |
#define const |
6970 |
+ |
_ACEOF |
6971 |
+ |
|
6972 |
+ |
fi |
6973 |
+ |
|
6974 |
+ |
echo "$as_me:$LINENO: checking for inline" >&5 |
6975 |
+ |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
6976 |
+ |
if test "${ac_cv_c_inline+set}" = set; then |
6977 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6978 |
+ |
else |
6979 |
+ |
ac_cv_c_inline=no |
6980 |
+ |
for ac_kw in inline __inline__ __inline; do |
6981 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
6982 |
+ |
/* confdefs.h. */ |
6983 |
+ |
_ACEOF |
6984 |
+ |
cat confdefs.h >>conftest.$ac_ext |
6985 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
6986 |
+ |
/* end confdefs.h. */ |
6987 |
+ |
#ifndef __cplusplus |
6988 |
+ |
typedef int foo_t; |
6989 |
+ |
static $ac_kw foo_t static_foo () {return 0; } |
6990 |
+ |
$ac_kw foo_t foo () {return 0; } |
6991 |
+ |
#endif |
6992 |
+ |
|
6993 |
+ |
_ACEOF |
6994 |
+ |
rm -f conftest.$ac_objext |
6995 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6996 |
+ |
(eval $ac_compile) 2>conftest.er1 |
6997 |
+ |
ac_status=$? |
6998 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
6999 |
+ |
rm -f conftest.er1 |
7000 |
+ |
cat conftest.err >&5 |
7001 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7002 |
+ |
(exit $ac_status); } && |
7003 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
7004 |
+ |
|| test ! -s conftest.err' |
7005 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7006 |
+ |
(eval $ac_try) 2>&5 |
7007 |
+ |
ac_status=$? |
7008 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7009 |
+ |
(exit $ac_status); }; } && |
7010 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
7011 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7012 |
+ |
(eval $ac_try) 2>&5 |
7013 |
+ |
ac_status=$? |
7014 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7015 |
+ |
(exit $ac_status); }; }; then |
7016 |
+ |
ac_cv_c_inline=$ac_kw; break |
7017 |
+ |
else |
7018 |
+ |
echo "$as_me: failed program was:" >&5 |
7019 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
7020 |
+ |
|
7021 |
+ |
fi |
7022 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7023 |
+ |
done |
7024 |
+ |
|
7025 |
+ |
fi |
7026 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
7027 |
+ |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
7028 |
+ |
|
7029 |
+ |
|
7030 |
+ |
case $ac_cv_c_inline in |
7031 |
+ |
inline | yes) ;; |
7032 |
+ |
*) |
7033 |
+ |
case $ac_cv_c_inline in |
7034 |
+ |
no) ac_val=;; |
7035 |
+ |
*) ac_val=$ac_cv_c_inline;; |
7036 |
+ |
esac |
7037 |
+ |
cat >>confdefs.h <<_ACEOF |
7038 |
+ |
#ifndef __cplusplus |
7039 |
+ |
#define inline $ac_val |
7040 |
+ |
#endif |
7041 |
+ |
_ACEOF |
7042 |
+ |
;; |
7043 |
+ |
esac |
7044 |
+ |
|
7045 |
+ |
|
7046 |
+ |
|
7047 |
+ |
|
7048 |
+ |
for ac_func in rint sranddev |
7049 |
+ |
do |
7050 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7051 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7052 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7053 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
7054 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7055 |
+ |
else |
7056 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
7057 |
+ |
/* confdefs.h. */ |
7058 |
+ |
_ACEOF |
7059 |
+ |
cat confdefs.h >>conftest.$ac_ext |
7060 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
7061 |
+ |
/* end confdefs.h. */ |
7062 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
7063 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
7064 |
+ |
#define $ac_func innocuous_$ac_func |
7065 |
+ |
|
7066 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
7067 |
+ |
which can conflict with char $ac_func (); below. |
7068 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7069 |
+ |
<limits.h> exists even on freestanding compilers. */ |
7070 |
+ |
|
7071 |
+ |
#ifdef __STDC__ |
7072 |
+ |
# include <limits.h> |
7073 |
+ |
#else |
7074 |
+ |
# include <assert.h> |
7075 |
+ |
#endif |
7076 |
+ |
|
7077 |
+ |
#undef $ac_func |
7078 |
+ |
|
7079 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7080 |
+ |
#ifdef __cplusplus |
7081 |
+ |
extern "C" |
7082 |
+ |
{ |
7083 |
+ |
#endif |
7084 |
+ |
/* We use char because int might match the return type of a gcc2 |
7085 |
+ |
builtin and then its argument prototype would still apply. */ |
7086 |
+ |
char $ac_func (); |
7087 |
+ |
/* The GNU C library defines this for functions which it implements |
7088 |
+ |
to always fail with ENOSYS. Some functions are actually named |
7089 |
+ |
something starting with __ and the normal name is an alias. */ |
7090 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7091 |
+ |
choke me |
7092 |
+ |
#else |
7093 |
+ |
char (*f) () = $ac_func; |
7094 |
+ |
#endif |
7095 |
+ |
#ifdef __cplusplus |
7096 |
+ |
} |
7097 |
+ |
#endif |
7098 |
+ |
|
7099 |
+ |
int |
7100 |
+ |
main () |
7101 |
+ |
{ |
7102 |
+ |
return f != $ac_func; |
7103 |
+ |
; |
7104 |
+ |
return 0; |
7105 |
+ |
} |
7106 |
+ |
_ACEOF |
7107 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
7108 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7109 |
+ |
(eval $ac_link) 2>conftest.er1 |
7110 |
+ |
ac_status=$? |
7111 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7112 |
+ |
rm -f conftest.er1 |
7113 |
+ |
cat conftest.err >&5 |
7114 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7115 |
+ |
(exit $ac_status); } && |
7116 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
7117 |
+ |
|| test ! -s conftest.err' |
7118 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7119 |
+ |
(eval $ac_try) 2>&5 |
7120 |
+ |
ac_status=$? |
7121 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7122 |
+ |
(exit $ac_status); }; } && |
7123 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7124 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7125 |
+ |
(eval $ac_try) 2>&5 |
7126 |
+ |
ac_status=$? |
7127 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7128 |
+ |
(exit $ac_status); }; }; then |
7129 |
+ |
eval "$as_ac_var=yes" |
7130 |
+ |
else |
7131 |
+ |
echo "$as_me: failed program was:" >&5 |
7132 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
7133 |
+ |
|
7134 |
+ |
eval "$as_ac_var=no" |
7135 |
+ |
fi |
7136 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
7137 |
+ |
conftest$ac_exeext conftest.$ac_ext |
7138 |
+ |
fi |
7139 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7140 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7141 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
7142 |
+ |
cat >>confdefs.h <<_ACEOF |
7143 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7144 |
+ |
_ACEOF |
7145 |
+ |
|
7146 |
+ |
fi |
7147 |
+ |
done |
7148 |
+ |
|
7149 |
+ |
|
7150 |
|
# clean out junk possibly left behind by a previous configuration |
7151 |
|
rm -f src/getopt.h |
7152 |
|
# Check for getopt_long support |
7167 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7168 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7169 |
|
cat >conftest.$ac_ext <<_ACEOF |
5029 |
– |
#line $LINENO "configure" |
7170 |
|
/* confdefs.h. */ |
7171 |
|
_ACEOF |
7172 |
|
cat confdefs.h >>conftest.$ac_ext |
7177 |
|
_ACEOF |
7178 |
|
rm -f conftest.$ac_objext |
7179 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7180 |
< |
(eval $ac_compile) 2>&5 |
7180 |
> |
(eval $ac_compile) 2>conftest.er1 |
7181 |
|
ac_status=$? |
7182 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7183 |
+ |
rm -f conftest.er1 |
7184 |
+ |
cat conftest.err >&5 |
7185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7186 |
|
(exit $ac_status); } && |
7187 |
< |
{ ac_try='test -s conftest.$ac_objext' |
7187 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7188 |
> |
|| test ! -s conftest.err' |
7189 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7190 |
|
(eval $ac_try) 2>&5 |
7191 |
|
ac_status=$? |
7192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7193 |
+ |
(exit $ac_status); }; } && |
7194 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
7195 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7196 |
+ |
(eval $ac_try) 2>&5 |
7197 |
+ |
ac_status=$? |
7198 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7199 |
|
(exit $ac_status); }; }; then |
7200 |
|
ac_header_compiler=yes |
7201 |
|
else |
7204 |
|
|
7205 |
|
ac_header_compiler=no |
7206 |
|
fi |
7207 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
7207 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7208 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7209 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7210 |
|
|
7212 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7213 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7214 |
|
cat >conftest.$ac_ext <<_ACEOF |
5065 |
– |
#line $LINENO "configure" |
7215 |
|
/* confdefs.h. */ |
7216 |
|
_ACEOF |
7217 |
|
cat confdefs.h >>conftest.$ac_ext |
7229 |
|
(exit $ac_status); } >/dev/null; then |
7230 |
|
if test -s conftest.err; then |
7231 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7232 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7233 |
|
else |
7234 |
|
ac_cpp_err= |
7235 |
|
fi |
7249 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7250 |
|
|
7251 |
|
# So? What about this header? |
7252 |
< |
case $ac_header_compiler:$ac_header_preproc in |
7253 |
< |
yes:no ) |
7252 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7253 |
> |
yes:no: ) |
7254 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7255 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7256 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7257 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7258 |
< |
( |
5109 |
< |
cat <<\_ASBOX |
5110 |
< |
## ------------------------------------ ## |
5111 |
< |
## Report this to bug-autoconf@gnu.org. ## |
5112 |
< |
## ------------------------------------ ## |
5113 |
< |
_ASBOX |
5114 |
< |
) | |
5115 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
7256 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7257 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7258 |
> |
ac_header_preproc=yes |
7259 |
|
;; |
7260 |
< |
no:yes ) |
7260 |
> |
no:yes:* ) |
7261 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7262 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7263 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7264 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7263 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7264 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7265 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7266 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7267 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7268 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7269 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7270 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7271 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7272 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7273 |
|
( |
7274 |
|
cat <<\_ASBOX |
7275 |
< |
## ------------------------------------ ## |
7276 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7277 |
< |
## ------------------------------------ ## |
7275 |
> |
## ------------------------------ ## |
7276 |
> |
## Report this to gezelter@nd.edu ## |
7277 |
> |
## ------------------------------ ## |
7278 |
|
_ASBOX |
7279 |
|
) | |
7280 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7285 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7286 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7287 |
|
else |
7288 |
< |
eval "$as_ac_Header=$ac_header_preproc" |
7288 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
7289 |
|
fi |
7290 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7291 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7310 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7311 |
|
else |
7312 |
|
cat >conftest.$ac_ext <<_ACEOF |
5164 |
– |
#line $LINENO "configure" |
7313 |
|
/* confdefs.h. */ |
7314 |
|
_ACEOF |
7315 |
|
cat confdefs.h >>conftest.$ac_ext |
7316 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7317 |
|
/* end confdefs.h. */ |
7318 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
7319 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
7320 |
+ |
#define $ac_func innocuous_$ac_func |
7321 |
+ |
|
7322 |
|
/* System header to define __stub macros and hopefully few prototypes, |
7323 |
|
which can conflict with char $ac_func (); below. |
7324 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7325 |
|
<limits.h> exists even on freestanding compilers. */ |
7326 |
+ |
|
7327 |
|
#ifdef __STDC__ |
7328 |
|
# include <limits.h> |
7329 |
|
#else |
7330 |
|
# include <assert.h> |
7331 |
|
#endif |
7332 |
+ |
|
7333 |
+ |
#undef $ac_func |
7334 |
+ |
|
7335 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7336 |
|
#ifdef __cplusplus |
7337 |
|
extern "C" |
7362 |
|
_ACEOF |
7363 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7364 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7365 |
< |
(eval $ac_link) 2>&5 |
7365 |
> |
(eval $ac_link) 2>conftest.er1 |
7366 |
|
ac_status=$? |
7367 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7368 |
+ |
rm -f conftest.er1 |
7369 |
+ |
cat conftest.err >&5 |
7370 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7371 |
|
(exit $ac_status); } && |
7372 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7372 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7373 |
> |
|| test ! -s conftest.err' |
7374 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7375 |
|
(eval $ac_try) 2>&5 |
7376 |
|
ac_status=$? |
7377 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7378 |
+ |
(exit $ac_status); }; } && |
7379 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7380 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7381 |
+ |
(eval $ac_try) 2>&5 |
7382 |
+ |
ac_status=$? |
7383 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 |
|
(exit $ac_status); }; }; then |
7385 |
|
eval "$as_ac_var=yes" |
7386 |
|
else |
7389 |
|
|
7390 |
|
eval "$as_ac_var=no" |
7391 |
|
fi |
7392 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7392 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7393 |
> |
conftest$ac_exeext conftest.$ac_ext |
7394 |
|
fi |
7395 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7396 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7409 |
|
ac_check_lib_save_LIBS=$LIBS |
7410 |
|
LIBS="-lgnugetopt $LIBS" |
7411 |
|
cat >conftest.$ac_ext <<_ACEOF |
5245 |
– |
#line $LINENO "configure" |
7412 |
|
/* confdefs.h. */ |
7413 |
|
_ACEOF |
7414 |
|
cat confdefs.h >>conftest.$ac_ext |
7432 |
|
_ACEOF |
7433 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7434 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7435 |
< |
(eval $ac_link) 2>&5 |
7435 |
> |
(eval $ac_link) 2>conftest.er1 |
7436 |
|
ac_status=$? |
7437 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
7438 |
+ |
rm -f conftest.er1 |
7439 |
+ |
cat conftest.err >&5 |
7440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7441 |
|
(exit $ac_status); } && |
7442 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7442 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
7443 |
> |
|| test ! -s conftest.err' |
7444 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7445 |
|
(eval $ac_try) 2>&5 |
7446 |
|
ac_status=$? |
7447 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7448 |
+ |
(exit $ac_status); }; } && |
7449 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
7450 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7451 |
+ |
(eval $ac_try) 2>&5 |
7452 |
+ |
ac_status=$? |
7453 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7454 |
|
(exit $ac_status); }; }; then |
7455 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
7456 |
|
else |
7459 |
|
|
7460 |
|
ac_cv_lib_gnugetopt_getopt_long=no |
7461 |
|
fi |
7462 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7462 |
> |
rm -f conftest.err conftest.$ac_objext \ |
7463 |
> |
conftest$ac_exeext conftest.$ac_ext |
7464 |
|
LIBS=$ac_check_lib_save_LIBS |
7465 |
|
fi |
7466 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
7472 |
|
|
7473 |
|
else |
7474 |
|
# use the GNU replacement |
7475 |
< |
LIBOBJS="$LIBOBJS getopt.$ac_objext" |
7476 |
< |
LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
7475 |
> |
case $LIBOBJS in |
7476 |
> |
"getopt.$ac_objext" | \ |
7477 |
> |
*" getopt.$ac_objext" | \ |
7478 |
> |
"getopt.$ac_objext "* | \ |
7479 |
> |
*" getopt.$ac_objext "* ) ;; |
7480 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
7481 |
> |
esac |
7482 |
> |
|
7483 |
> |
case $LIBOBJS in |
7484 |
> |
"getopt1.$ac_objext" | \ |
7485 |
> |
*" getopt1.$ac_objext" | \ |
7486 |
> |
"getopt1.$ac_objext "* | \ |
7487 |
> |
*" getopt1.$ac_objext "* ) ;; |
7488 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
7489 |
> |
esac |
7490 |
> |
|
7491 |
|
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
7492 |
|
|
7493 |
|
fi |
8536 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
8537 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
8538 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
8539 |
+ |
# OS/2's system install, which has a completely different semantic |
8540 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
8541 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
8542 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
8553 |
|
case $as_dir/ in |
8554 |
|
./ | .// | /cC/* | \ |
8555 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
8556 |
+ |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
8557 |
|
/usr/ucb/* ) ;; |
8558 |
|
*) |
8559 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
8561 |
|
# by default. |
8562 |
|
for ac_prog in ginstall scoinst install; do |
8563 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
8564 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
8565 |
< |
if test $ac_prog = install && |
8566 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8567 |
< |
# AIX install. It has an incompatible calling convention. |
8568 |
< |
: |
8569 |
< |
elif test $ac_prog = install && |
8570 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8571 |
< |
# program-specific install script used by HP pwplus--don't use. |
8572 |
< |
: |
8573 |
< |
else |
8574 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
8575 |
< |
break 3 |
8576 |
< |
fi |
8577 |
< |
fi |
8564 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
8565 |
> |
if test $ac_prog = install && |
8566 |
> |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8567 |
> |
# AIX install. It has an incompatible calling convention. |
8568 |
> |
: |
8569 |
> |
elif test $ac_prog = install && |
8570 |
> |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8571 |
> |
# program-specific install script used by HP pwplus--don't use. |
8572 |
> |
: |
8573 |
> |
else |
8574 |
> |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
8575 |
> |
break 3 |
8576 |
> |
fi |
8577 |
> |
fi |
8578 |
|
done |
8579 |
|
done |
8580 |
|
;; |
8617 |
|
|
8618 |
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
8619 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
8620 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
8620 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
8621 |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
8622 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8623 |
|
else |
8816 |
|
ac_check_lib_save_LIBS=$LIBS |
8817 |
|
LIBS="-lfl $LIBS" |
8818 |
|
cat >conftest.$ac_ext <<_ACEOF |
6626 |
– |
#line $LINENO "configure" |
8819 |
|
/* confdefs.h. */ |
8820 |
|
_ACEOF |
8821 |
|
cat confdefs.h >>conftest.$ac_ext |
8839 |
|
_ACEOF |
8840 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8841 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8842 |
< |
(eval $ac_link) 2>&5 |
8842 |
> |
(eval $ac_link) 2>conftest.er1 |
8843 |
|
ac_status=$? |
8844 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8845 |
+ |
rm -f conftest.er1 |
8846 |
+ |
cat conftest.err >&5 |
8847 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8848 |
|
(exit $ac_status); } && |
8849 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8849 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
8850 |
> |
|| test ! -s conftest.err' |
8851 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8852 |
> |
(eval $ac_try) 2>&5 |
8853 |
> |
ac_status=$? |
8854 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8855 |
> |
(exit $ac_status); }; } && |
8856 |
> |
{ ac_try='test -s conftest$ac_exeext' |
8857 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8858 |
|
(eval $ac_try) 2>&5 |
8859 |
|
ac_status=$? |
8866 |
|
|
8867 |
|
ac_cv_lib_fl_yywrap=no |
8868 |
|
fi |
8869 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8869 |
> |
rm -f conftest.err conftest.$ac_objext \ |
8870 |
> |
conftest$ac_exeext conftest.$ac_ext |
8871 |
|
LIBS=$ac_check_lib_save_LIBS |
8872 |
|
fi |
8873 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
8883 |
|
ac_check_lib_save_LIBS=$LIBS |
8884 |
|
LIBS="-ll $LIBS" |
8885 |
|
cat >conftest.$ac_ext <<_ACEOF |
6683 |
– |
#line $LINENO "configure" |
8886 |
|
/* confdefs.h. */ |
8887 |
|
_ACEOF |
8888 |
|
cat confdefs.h >>conftest.$ac_ext |
8906 |
|
_ACEOF |
8907 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8908 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8909 |
< |
(eval $ac_link) 2>&5 |
8909 |
> |
(eval $ac_link) 2>conftest.er1 |
8910 |
|
ac_status=$? |
8911 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
8912 |
+ |
rm -f conftest.er1 |
8913 |
+ |
cat conftest.err >&5 |
8914 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8915 |
|
(exit $ac_status); } && |
8916 |
< |
{ ac_try='test -s conftest$ac_exeext' |
8916 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
8917 |
> |
|| test ! -s conftest.err' |
8918 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8919 |
|
(eval $ac_try) 2>&5 |
8920 |
|
ac_status=$? |
8921 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8922 |
+ |
(exit $ac_status); }; } && |
8923 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
8924 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8925 |
+ |
(eval $ac_try) 2>&5 |
8926 |
+ |
ac_status=$? |
8927 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8928 |
|
(exit $ac_status); }; }; then |
8929 |
|
ac_cv_lib_l_yywrap=yes |
8930 |
|
else |
8933 |
|
|
8934 |
|
ac_cv_lib_l_yywrap=no |
8935 |
|
fi |
8936 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8936 |
> |
rm -f conftest.err conftest.$ac_objext \ |
8937 |
> |
conftest$ac_exeext conftest.$ac_ext |
8938 |
|
LIBS=$ac_check_lib_save_LIBS |
8939 |
|
fi |
8940 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
8996 |
|
_ACEOF |
8997 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8998 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8999 |
< |
(eval $ac_link) 2>&5 |
8999 |
> |
(eval $ac_link) 2>conftest.er1 |
9000 |
|
ac_status=$? |
9001 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9002 |
+ |
rm -f conftest.er1 |
9003 |
+ |
cat conftest.err >&5 |
9004 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 |
|
(exit $ac_status); } && |
9006 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9006 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9007 |
> |
|| test ! -s conftest.err' |
9008 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9009 |
|
(eval $ac_try) 2>&5 |
9010 |
|
ac_status=$? |
9011 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9012 |
+ |
(exit $ac_status); }; } && |
9013 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
9014 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9015 |
+ |
(eval $ac_try) 2>&5 |
9016 |
+ |
ac_status=$? |
9017 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9018 |
|
(exit $ac_status); }; }; then |
9019 |
|
ac_cv_prog_lex_yytext_pointer=yes |
9020 |
|
else |
9022 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9023 |
|
|
9024 |
|
fi |
9025 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9025 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9026 |
> |
conftest$ac_exeext conftest.$ac_ext |
9027 |
|
LIBS=$ac_save_LIBS |
9028 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
9029 |
|
|
9039 |
|
fi |
9040 |
|
|
9041 |
|
fi |
9042 |
+ |
|
9043 |
+ |
# Extract the first word of "perl", so it can be a program name with args. |
9044 |
+ |
set dummy perl; ac_word=$2 |
9045 |
+ |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9046 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9047 |
+ |
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
9048 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9049 |
+ |
else |
9050 |
+ |
case $PERLINTERP in |
9051 |
+ |
[\\/]* | ?:[\\/]*) |
9052 |
+ |
ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. |
9053 |
+ |
;; |
9054 |
+ |
*) |
9055 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9056 |
+ |
for as_dir in $PATH |
9057 |
+ |
do |
9058 |
+ |
IFS=$as_save_IFS |
9059 |
+ |
test -z "$as_dir" && as_dir=. |
9060 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
9061 |
+ |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9062 |
+ |
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
9063 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9064 |
+ |
break 2 |
9065 |
+ |
fi |
9066 |
+ |
done |
9067 |
+ |
done |
9068 |
+ |
|
9069 |
+ |
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
9070 |
+ |
;; |
9071 |
+ |
esac |
9072 |
+ |
fi |
9073 |
+ |
PERLINTERP=$ac_cv_path_PERLINTERP |
9074 |
+ |
|
9075 |
+ |
if test -n "$PERLINTERP"; then |
9076 |
+ |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
9077 |
+ |
echo "${ECHO_T}$PERLINTERP" >&6 |
9078 |
+ |
else |
9079 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
9080 |
+ |
echo "${ECHO_T}no" >&6 |
9081 |
+ |
fi |
9082 |
+ |
|
9083 |
+ |
ac_cv_path_perlinterp="$PERLINTERP" |
9084 |
+ |
_sHpB='#!' |
9085 |
+ |
|
9086 |
+ |
|
9087 |
+ |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
9088 |
+ |
if test "${with_perl_shebang+set}" = set; then |
9089 |
+ |
withval="$with_perl_shebang" |
9090 |
+ |
opt_perl_shebang="$withval" |
9091 |
+ |
else |
9092 |
+ |
opt_perl_shebang="not_set" |
9093 |
+ |
fi; |
9094 |
+ |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
9095 |
+ |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
9096 |
+ |
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
9097 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9098 |
+ |
else |
9099 |
+ |
case "$opt_perl_shebang" in |
9100 |
+ |
not_set ) ax_cv_opt_perl_shebang='' |
9101 |
+ |
;; |
9102 |
+ |
* ) |
9103 |
+ |
ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` |
9104 |
+ |
esac |
9105 |
+ |
|
9106 |
+ |
fi |
9107 |
+ |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
9108 |
+ |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
9109 |
+ |
if test "A$ax_cv_opt_perl_shebang" != "A" |
9110 |
+ |
then |
9111 |
+ |
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
9112 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
9113 |
+ |
{ echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 |
9114 |
+ |
echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} |
9115 |
+ |
|
9116 |
+ |
# Automatic detection of sharpbang formula starts here |
9117 |
+ |
else |
9118 |
+ |
_somian_shbangperl=`$PERLINTERP -V:startperl` |
9119 |
+ |
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
9120 |
+ |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
9121 |
+ |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
9122 |
+ |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
9123 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9124 |
+ |
else |
9125 |
+ |
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
9126 |
+ |
if test "x$_somian_kspb_perl" == x |
9127 |
+ |
then _somian_ksbp_warn_empty='durnit' |
9128 |
+ |
else |
9129 |
+ |
case "A$_somian_kspb_perl" in |
9130 |
+ |
A#!*perl* ) |
9131 |
+ |
ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` |
9132 |
+ |
;; |
9133 |
+ |
A* ) _somian_ksbp_warn_defau='trouble' |
9134 |
+ |
ac_cv_sys_kernshrpbang_perl="$PERLINTERP" |
9135 |
+ |
esac |
9136 |
+ |
fi |
9137 |
+ |
|
9138 |
+ |
fi |
9139 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
9140 |
+ |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
9141 |
+ |
# The above prints Checking ... result message to user. |
9142 |
+ |
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
9143 |
+ |
|
9144 |
+ |
if test A${_somian_ksbp_warn_empty+set} == Aset |
9145 |
+ |
then { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 |
9146 |
+ |
echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} |
9147 |
+ |
fi |
9148 |
+ |
# Inform user after printing result value |
9149 |
+ |
if test A${_somian_ksbp_warn_defau+set} == Aset |
9150 |
+ |
then { echo "$as_me:$LINENO: Maybe Not good -" >&5 |
9151 |
+ |
echo "$as_me: Maybe Not good -" >&6;} |
9152 |
+ |
{ echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 |
9153 |
+ |
echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} |
9154 |
+ |
else { echo "$as_me:$LINENO: OK Good result - " >&5 |
9155 |
+ |
echo "$as_me: OK Good result - " >&6;} |
9156 |
+ |
{ echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 |
9157 |
+ |
echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} |
9158 |
+ |
fi |
9159 |
+ |
fi |
9160 |
+ |
|
9161 |
|
# Extract the first word of "ar", so it can be a program name with args. |
9162 |
|
set dummy ar; ac_word=$2 |
9163 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9226 |
|
# `set' does not quote correctly, so add quotes (double-quote |
9227 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
9228 |
|
sed -n \ |
9229 |
< |
"s/'/'\\\\''/g; |
9230 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9229 |
> |
"s/'/'\\\\''/g; |
9230 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
9231 |
|
;; |
9232 |
|
*) |
9233 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
9234 |
|
sed -n \ |
9235 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9235 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
9236 |
|
;; |
9237 |
|
esac; |
9238 |
|
} | |
9300 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9301 |
|
else |
9302 |
|
|
6960 |
– |
if $PS -ef -o rss > /dev/null 2>&1; then |
6961 |
– |
ac_cv_prog_ps_ef=yes |
6962 |
– |
else |
6963 |
– |
ac_cv_prog_ps_ef=no |
6964 |
– |
fi |
9303 |
|
if $PS ax -o rss > /dev/null 2>&1; then |
9304 |
|
ac_cv_prog_ps_ax=yes |
9305 |
|
else |
9306 |
|
ac_cv_prog_ps_ax=no |
9307 |
|
fi |
9308 |
< |
if test "$ac_cv_prog_ps_ef" = yes; then |
9309 |
< |
ac_cv_prog_ps_syntax=POSIX |
9308 |
> |
if $PS -ef -o rss > /dev/null 2>&1; then |
9309 |
> |
ac_cv_prog_ps_ef=yes |
9310 |
> |
else |
9311 |
> |
ac_cv_prog_ps_ef=no |
9312 |
> |
fi |
9313 |
> |
if test "$ac_cv_prog_ps_ax" = yes; then |
9314 |
> |
ac_cv_prog_ps_syntax=BSD |
9315 |
|
else |
9316 |
< |
if test "$ac_cv_prog_ps_ax" = yes; then |
9317 |
< |
ac_cv_prog_ps_syntax=BSD |
9316 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
9317 |
> |
ac_cv_prog_ps_syntax=POSIX |
9318 |
|
else |
9319 |
|
{ { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 |
9320 |
|
echo "$as_me: error: Could not determine ps syntax" >&2;} |
9325 |
|
fi |
9326 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
9327 |
|
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
9328 |
+ |
|
9329 |
+ |
|
9330 |
+ |
cat >>confdefs.h <<_ACEOF |
9331 |
+ |
#define PSCOMMAND $PS |
9332 |
+ |
_ACEOF |
9333 |
+ |
|
9334 |
+ |
|
9335 |
+ |
cat >>confdefs.h <<\_ACEOF |
9336 |
+ |
#define OBAPI |
9337 |
+ |
_ACEOF |
9338 |
|
|
6986 |
– |
cat >>confdefs.h <<_ACEOF |
6987 |
– |
#define PS $PS |
6988 |
– |
_ACEOF |
9339 |
|
|
9340 |
|
|
9341 |
< |
cat >>confdefs.h <<_ACEOF |
9342 |
< |
#define PSTYPE $ac_cv_prog_ps_syntax |
9341 |
> |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
9342 |
> |
cat >>confdefs.h <<\_ACEOF |
9343 |
> |
#define PSTYPE_IS_BSD 1 |
9344 |
|
_ACEOF |
9345 |
|
|
9346 |
+ |
else |
9347 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
9348 |
+ |
cat >>confdefs.h <<\_ACEOF |
9349 |
+ |
#define PSTYPE_IS_POSIX 1 |
9350 |
+ |
_ACEOF |
9351 |
|
|
9352 |
+ |
else |
9353 |
+ |
{ { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 |
9354 |
+ |
echo "$as_me: error: Unknown ps syntax type!" >&2;} |
9355 |
+ |
{ (exit 1); exit 1; }; } |
9356 |
+ |
fi |
9357 |
+ |
fi |
9358 |
|
|
9359 |
|
|
9360 |
|
# Check whether --with-mpi or --without-mpi was given. |
9385 |
|
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
9386 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
9387 |
|
have_mpi_h=0 |
9388 |
+ |
rm -f conftest* |
9389 |
|
echo '#include <mpi.h>' > conftest.cc |
9390 |
< |
if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
9390 |
> |
if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
9391 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
9392 |
|
echo "${ECHO_T}yes" >&6 |
9393 |
|
have_mpi_h=1 |
9394 |
|
else |
9395 |
+ |
if test -s conftest.out ; then |
9396 |
+ |
cat conftest.out >> config.log |
9397 |
+ |
fi |
9398 |
|
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
9399 |
|
echo "${ECHO_T}no! Check MPI include paths" >&6 |
9400 |
|
USE_MPI="no" |
9458 |
|
ac_check_lib_save_LIBS=$LIBS |
9459 |
|
LIBS="-lmpich $LIBS" |
9460 |
|
cat >conftest.$ac_ext <<_ACEOF |
7095 |
– |
#line $LINENO "configure" |
9461 |
|
/* confdefs.h. */ |
9462 |
|
_ACEOF |
9463 |
|
cat confdefs.h >>conftest.$ac_ext |
9481 |
|
_ACEOF |
9482 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9483 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9484 |
< |
(eval $ac_link) 2>&5 |
9484 |
> |
(eval $ac_link) 2>conftest.er1 |
9485 |
|
ac_status=$? |
9486 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9487 |
+ |
rm -f conftest.er1 |
9488 |
+ |
cat conftest.err >&5 |
9489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9490 |
|
(exit $ac_status); } && |
9491 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9491 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9492 |
> |
|| test ! -s conftest.err' |
9493 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9494 |
> |
(eval $ac_try) 2>&5 |
9495 |
> |
ac_status=$? |
9496 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9497 |
> |
(exit $ac_status); }; } && |
9498 |
> |
{ ac_try='test -s conftest$ac_exeext' |
9499 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9500 |
|
(eval $ac_try) 2>&5 |
9501 |
|
ac_status=$? |
9508 |
|
|
9509 |
|
ac_cv_lib_mpich_MPI_Init=no |
9510 |
|
fi |
9511 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9511 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9512 |
> |
conftest$ac_exeext conftest.$ac_ext |
9513 |
|
LIBS=$ac_check_lib_save_LIBS |
9514 |
|
fi |
9515 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
9528 |
|
ac_check_lib_save_LIBS=$LIBS |
9529 |
|
LIBS="-lmpi $LIBS" |
9530 |
|
cat >conftest.$ac_ext <<_ACEOF |
7155 |
– |
#line $LINENO "configure" |
9531 |
|
/* confdefs.h. */ |
9532 |
|
_ACEOF |
9533 |
|
cat confdefs.h >>conftest.$ac_ext |
9551 |
|
_ACEOF |
9552 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9553 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9554 |
< |
(eval $ac_link) 2>&5 |
9554 |
> |
(eval $ac_link) 2>conftest.er1 |
9555 |
|
ac_status=$? |
9556 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9557 |
+ |
rm -f conftest.er1 |
9558 |
+ |
cat conftest.err >&5 |
9559 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9560 |
|
(exit $ac_status); } && |
9561 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9561 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9562 |
> |
|| test ! -s conftest.err' |
9563 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9564 |
|
(eval $ac_try) 2>&5 |
9565 |
|
ac_status=$? |
9566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9567 |
+ |
(exit $ac_status); }; } && |
9568 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
9569 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9570 |
+ |
(eval $ac_try) 2>&5 |
9571 |
+ |
ac_status=$? |
9572 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9573 |
|
(exit $ac_status); }; }; then |
9574 |
|
ac_cv_lib_mpi_MPI_Init=yes |
9575 |
|
else |
9578 |
|
|
9579 |
|
ac_cv_lib_mpi_MPI_Init=no |
9580 |
|
fi |
9581 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9581 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9582 |
> |
conftest$ac_exeext conftest.$ac_ext |
9583 |
|
LIBS=$ac_check_lib_save_LIBS |
9584 |
|
fi |
9585 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
9599 |
|
ac_check_lib_save_LIBS=$LIBS |
9600 |
|
LIBS="-lmpi "-llam" $LIBS" |
9601 |
|
cat >conftest.$ac_ext <<_ACEOF |
7216 |
– |
#line $LINENO "configure" |
9602 |
|
/* confdefs.h. */ |
9603 |
|
_ACEOF |
9604 |
|
cat confdefs.h >>conftest.$ac_ext |
9622 |
|
_ACEOF |
9623 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9624 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9625 |
< |
(eval $ac_link) 2>&5 |
9625 |
> |
(eval $ac_link) 2>conftest.er1 |
9626 |
|
ac_status=$? |
9627 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9628 |
+ |
rm -f conftest.er1 |
9629 |
+ |
cat conftest.err >&5 |
9630 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9631 |
|
(exit $ac_status); } && |
9632 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9632 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9633 |
> |
|| test ! -s conftest.err' |
9634 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9635 |
> |
(eval $ac_try) 2>&5 |
9636 |
> |
ac_status=$? |
9637 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9638 |
> |
(exit $ac_status); }; } && |
9639 |
> |
{ ac_try='test -s conftest$ac_exeext' |
9640 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9641 |
|
(eval $ac_try) 2>&5 |
9642 |
|
ac_status=$? |
9649 |
|
|
9650 |
|
ac_cv_lib_mpi_MPI_Init=no |
9651 |
|
fi |
9652 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9652 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9653 |
> |
conftest$ac_exeext conftest.$ac_ext |
9654 |
|
LIBS=$ac_check_lib_save_LIBS |
9655 |
|
fi |
9656 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
9670 |
|
ac_check_lib_save_LIBS=$LIBS |
9671 |
|
LIBS="-lmpich "-lpmpich" $LIBS" |
9672 |
|
cat >conftest.$ac_ext <<_ACEOF |
7277 |
– |
#line $LINENO "configure" |
9673 |
|
/* confdefs.h. */ |
9674 |
|
_ACEOF |
9675 |
|
cat confdefs.h >>conftest.$ac_ext |
9693 |
|
_ACEOF |
9694 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9695 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9696 |
< |
(eval $ac_link) 2>&5 |
9696 |
> |
(eval $ac_link) 2>conftest.er1 |
9697 |
|
ac_status=$? |
9698 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9699 |
+ |
rm -f conftest.er1 |
9700 |
+ |
cat conftest.err >&5 |
9701 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9702 |
|
(exit $ac_status); } && |
9703 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9703 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9704 |
> |
|| test ! -s conftest.err' |
9705 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9706 |
|
(eval $ac_try) 2>&5 |
9707 |
|
ac_status=$? |
9708 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9709 |
+ |
(exit $ac_status); }; } && |
9710 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
9711 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9712 |
+ |
(eval $ac_try) 2>&5 |
9713 |
+ |
ac_status=$? |
9714 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9715 |
|
(exit $ac_status); }; }; then |
9716 |
|
ac_cv_lib_mpich_MPI_Init=yes |
9717 |
|
else |
9720 |
|
|
9721 |
|
ac_cv_lib_mpich_MPI_Init=no |
9722 |
|
fi |
9723 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9723 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9724 |
> |
conftest$ac_exeext conftest.$ac_ext |
9725 |
|
LIBS=$ac_check_lib_save_LIBS |
9726 |
|
fi |
9727 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
9742 |
|
ac_check_lib_save_LIBS=$LIBS |
9743 |
|
LIBS="-lmpi -llam -lpthread $LIBS" |
9744 |
|
cat >conftest.$ac_ext <<_ACEOF |
7339 |
– |
#line $LINENO "configure" |
9745 |
|
/* confdefs.h. */ |
9746 |
|
_ACEOF |
9747 |
|
cat confdefs.h >>conftest.$ac_ext |
9765 |
|
_ACEOF |
9766 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9767 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9768 |
< |
(eval $ac_link) 2>&5 |
9768 |
> |
(eval $ac_link) 2>conftest.er1 |
9769 |
|
ac_status=$? |
9770 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9771 |
+ |
rm -f conftest.er1 |
9772 |
+ |
cat conftest.err >&5 |
9773 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9774 |
|
(exit $ac_status); } && |
9775 |
< |
{ ac_try='test -s conftest$ac_exeext' |
9775 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
9776 |
> |
|| test ! -s conftest.err' |
9777 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9778 |
|
(eval $ac_try) 2>&5 |
9779 |
|
ac_status=$? |
9780 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9781 |
+ |
(exit $ac_status); }; } && |
9782 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
9783 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9784 |
+ |
(eval $ac_try) 2>&5 |
9785 |
+ |
ac_status=$? |
9786 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9787 |
|
(exit $ac_status); }; }; then |
9788 |
|
ac_cv_lib_mpi_MPI_Init=yes |
9789 |
|
else |
9792 |
|
|
9793 |
|
ac_cv_lib_mpi_MPI_Init=no |
9794 |
|
fi |
9795 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9795 |
> |
rm -f conftest.err conftest.$ac_objext \ |
9796 |
> |
conftest$ac_exeext conftest.$ac_ext |
9797 |
|
LIBS=$ac_check_lib_save_LIBS |
9798 |
|
fi |
9799 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
9831 |
|
|
9832 |
|
|
9833 |
|
|
7418 |
– |
# Check whether --with-sprng or --without-sprng was given. |
7419 |
– |
if test "${with_sprng+set}" = set; then |
7420 |
– |
withval="$with_sprng" |
7421 |
– |
with_sprng=$withval |
7422 |
– |
else |
7423 |
– |
with_sprng="/usr/local" |
7424 |
– |
fi; |
9834 |
|
|
9835 |
< |
case "x$with_sprng" in |
9836 |
< |
xyes | "x") USE_SPRNG=yes;; |
7428 |
< |
xno) USE_SPRNG=no ;; |
7429 |
< |
*) SPRNG="$with_sprng"; USE_SPRNG=yes ;; |
7430 |
< |
esac |
7431 |
< |
if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then |
7432 |
< |
SPRNG="/usr/local" |
7433 |
< |
fi |
7434 |
< |
if test "$USE_SPRNG" = "yes"; then |
7435 |
< |
|
7436 |
< |
|
7437 |
< |
# Set variables... |
7438 |
< |
SPRNG_LIB_DIR="$SPRNG/lib" |
7439 |
< |
SPRNG_INC_DIR="$SPRNG/include" |
9835 |
> |
USE_CGAL=no |
9836 |
> |
cgal_makefile=auto |
9837 |
|
|
9838 |
+ |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
9839 |
+ |
if test "${with_cgal_makefile+set}" = set; then |
9840 |
+ |
withval="$with_cgal_makefile" |
9841 |
+ |
cgal_makefile="$withval" |
9842 |
+ |
fi; |
9843 |
|
|
9844 |
+ |
if test "x$cgal_makefile" != xno; then |
9845 |
|
|
9846 |
< |
echo "$as_me:$LINENO: checking for sprng.h" >&5 |
9847 |
< |
echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 |
9848 |
< |
have_sprng_h=0 |
7446 |
< |
echo '#include <sprng.h>' > conftest.cc |
7447 |
< |
if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then |
7448 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
7449 |
< |
echo "${ECHO_T}yes" >&6 |
7450 |
< |
have_sprng_h=1 |
7451 |
< |
else |
7452 |
< |
echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5 |
7453 |
< |
echo "${ECHO_T}no! Check SPRNG include path!" >&6 |
7454 |
< |
USE_SPRNG="no" |
7455 |
< |
fi |
7456 |
< |
rm -f conftest* |
7457 |
< |
if test "$have_sprng_h" = 1; then |
9846 |
> |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
9847 |
> |
cgal_makefile="$CGAL_MAKEFILE" |
9848 |
> |
fi |
9849 |
|
|
9850 |
< |
cat >>confdefs.h <<\_ACEOF |
9851 |
< |
#define HAVE_SPRNG_H 1 |
7461 |
< |
_ACEOF |
9850 |
> |
echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5 |
9851 |
> |
echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6 |
9852 |
|
|
9853 |
< |
fi |
9853 |
> |
if test -f "$cgal_makefile"; then |
9854 |
|
|
9855 |
< |
ac_ext=c |
9856 |
< |
ac_cpp='$CPP $CPPFLAGS' |
9857 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9858 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9859 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9855 |
> |
cat >config.tmp.Makefile <<EOF |
9856 |
> |
include $cgal_makefile |
9857 |
> |
default: |
9858 |
> |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
9859 |
> |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
9860 |
> |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
9861 |
> |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
9862 |
> |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
9863 |
> |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
9864 |
> |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
9865 |
> |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
9866 |
> |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
9867 |
> |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
9868 |
> |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
9869 |
> |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
9870 |
> |
EOF |
9871 |
|
|
9872 |
< |
ac_save_LDFLAGS=$LDFLAGS |
9873 |
< |
LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " |
9872 |
> |
make -s -f config.tmp.Makefile |
9873 |
> |
. config.tmp.cgalvariables |
9874 |
|
|
9875 |
< |
echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5 |
7475 |
< |
echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 |
7476 |
< |
if test "${ac_cv_lib_sprng_init_rng+set}" = set; then |
7477 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7478 |
< |
else |
7479 |
< |
ac_check_lib_save_LIBS=$LIBS |
7480 |
< |
LIBS="-lsprng $LIBS" |
7481 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7482 |
< |
#line $LINENO "configure" |
7483 |
< |
/* confdefs.h. */ |
7484 |
< |
_ACEOF |
7485 |
< |
cat confdefs.h >>conftest.$ac_ext |
7486 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7487 |
< |
/* end confdefs.h. */ |
9875 |
> |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
9876 |
|
|
9877 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
9878 |
< |
#ifdef __cplusplus |
9879 |
< |
extern "C" |
9880 |
< |
#endif |
9881 |
< |
/* We use char because int might match the return type of a gcc2 |
9882 |
< |
builtin and then its argument prototype would still apply. */ |
9883 |
< |
char init_rng (); |
9884 |
< |
int |
9885 |
< |
main () |
9886 |
< |
{ |
9887 |
< |
init_rng (); |
9888 |
< |
; |
9889 |
< |
return 0; |
9890 |
< |
} |
9891 |
< |
_ACEOF |
9892 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
9893 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9894 |
< |
(eval $ac_link) 2>&5 |
9895 |
< |
ac_status=$? |
7508 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7509 |
< |
(exit $ac_status); } && |
7510 |
< |
{ ac_try='test -s conftest$ac_exeext' |
7511 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7512 |
< |
(eval $ac_try) 2>&5 |
7513 |
< |
ac_status=$? |
7514 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7515 |
< |
(exit $ac_status); }; }; then |
7516 |
< |
ac_cv_lib_sprng_init_rng=yes |
7517 |
< |
else |
7518 |
< |
echo "$as_me: failed program was:" >&5 |
7519 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
9877 |
> |
if test "x$CGAL_INCLDIR" = "x"; then |
9878 |
> |
CGAL_INCLDIR="" |
9879 |
> |
fi |
9880 |
> |
|
9881 |
> |
if test "x$CGAL_LIBDIR" = "x"; then |
9882 |
> |
CGAL_LIBDIR="" |
9883 |
> |
fi |
9884 |
> |
|
9885 |
> |
if test "x$CGAL_RLIBDIR" = "x"; then |
9886 |
> |
CGAL_RLIBDIR="" |
9887 |
> |
fi |
9888 |
> |
|
9889 |
> |
if test "x$LEDA_INCLDIR" = "x"; then |
9890 |
> |
LEDA_INCLDIR="" |
9891 |
> |
fi |
9892 |
> |
|
9893 |
> |
if test "x$LEDA_LIBDIR" = "x"; then |
9894 |
> |
LEDA_LIBDIR="" |
9895 |
> |
fi |
9896 |
|
|
9897 |
< |
ac_cv_lib_sprng_init_rng=no |
9898 |
< |
fi |
9899 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7524 |
< |
LIBS=$ac_check_lib_save_LIBS |
7525 |
< |
fi |
7526 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5 |
7527 |
< |
echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 |
7528 |
< |
if test $ac_cv_lib_sprng_init_rng = yes; then |
7529 |
< |
SPRNG_LIB="-lsprng" |
7530 |
< |
else |
9897 |
> |
if test "x$LEDA_RLIBDIR" = "x"; then |
9898 |
> |
LEDA_RLIBDIR="" |
9899 |
> |
fi |
9900 |
|
|
9901 |
< |
{ { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5 |
9902 |
< |
echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} |
9903 |
< |
{ (exit 1); exit 1; }; } |
7535 |
< |
USE_SPRNG="no" |
9901 |
> |
if test "x$GMP_INCLDIR" = "x"; then |
9902 |
> |
GMP_INCLDIR="" |
9903 |
> |
fi |
9904 |
|
|
9905 |
< |
fi |
9905 |
> |
if test "x$GMP_LIBDIR" = "x"; then |
9906 |
> |
GMP_LIBDIR="" |
9907 |
> |
fi |
9908 |
|
|
9909 |
< |
|
9910 |
< |
if test "$USE_SPRNG" = "no"; then |
7541 |
< |
{ { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5 |
7542 |
< |
echo "$as_me: error: No working SPRNG library found" >&2;} |
7543 |
< |
{ (exit 1); exit 1; }; } |
7544 |
< |
fi |
7545 |
< |
|
7546 |
< |
|
7547 |
< |
fi |
7548 |
< |
|
7549 |
< |
|
7550 |
< |
|
7551 |
< |
echo "$as_me:$LINENO: checking if MKL is wanted" >&5 |
7552 |
< |
echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 |
7553 |
< |
|
7554 |
< |
# Check whether --with-mkl or --without-mkl was given. |
7555 |
< |
if test "${with_mkl+set}" = set; then |
7556 |
< |
withval="$with_mkl" |
7557 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
7558 |
< |
echo "${ECHO_T}yes" >&6 |
7559 |
< |
for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do |
7560 |
< |
mkldir="$dir" |
7561 |
< |
if test -f "$dir/include/mkl.h"; then |
7562 |
< |
found_mkl="yes"; |
7563 |
< |
break; |
7564 |
< |
fi |
7565 |
< |
done |
7566 |
< |
if test x_$found_mkl != x_yes; then |
7567 |
< |
{ { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5 |
7568 |
< |
echo "$as_me: error: Cannot find MKL includes" >&2;} |
7569 |
< |
{ (exit 1); exit 1; }; } |
7570 |
< |
else |
7571 |
< |
printf "MKL includes found in $mkldir/include\n"; |
9909 |
> |
if test "x$GMP_RLIBDIR" = "x"; then |
9910 |
> |
GMP_RLIBDIR="" |
9911 |
|
fi |
9912 |
|
|
9913 |
+ |
echo "$as_me:$LINENO: result: CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&5 |
9914 |
+ |
echo "${ECHO_T}CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&6 |
9915 |
+ |
echo "$as_me:$LINENO: result: CGAL_INCLDIR= $CGAL_INCLDIR" >&5 |
9916 |
+ |
echo "${ECHO_T}CGAL_INCLDIR= $CGAL_INCLDIR" >&6 |
9917 |
+ |
echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&5 |
9918 |
+ |
echo "${ECHO_T}CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&6 |
9919 |
+ |
echo "$as_me:$LINENO: result: CGAL_LIBDIR= $CGAL_LIBDIR" >&5 |
9920 |
+ |
echo "${ECHO_T}CGAL_LIBDIR= $CGAL_LIBDIR" >&6 |
9921 |
+ |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&5 |
9922 |
+ |
echo "${ECHO_T}CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&6 |
9923 |
+ |
echo "$as_me:$LINENO: result: LEDA_INCLDIR= $LEDA_INCLDIR" >&5 |
9924 |
+ |
echo "${ECHO_T}LEDA_INCLDIR= $LEDA_INCLDIR" >&6 |
9925 |
+ |
echo "$as_me:$LINENO: result: LEDA_LIBDIR= $LEDA_LIBDIR" >&5 |
9926 |
+ |
echo "${ECHO_T}LEDA_LIBDIR= $LEDA_LIBDIR" >&6 |
9927 |
+ |
echo "$as_me:$LINENO: result: GMP_INCLDIR= $GMP_INCLDIR" >&5 |
9928 |
+ |
echo "${ECHO_T}GMP_INCLDIR= $GMP_INCLDIR" >&6 |
9929 |
+ |
echo "$as_me:$LINENO: result: GMP_LIBDIR= $GMP_LIBDIR" >&5 |
9930 |
+ |
echo "${ECHO_T}GMP_LIBDIR= $GMP_LIBDIR" >&6 |
9931 |
|
|
9932 |
+ |
ac_ext=cc |
9933 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
9934 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9935 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9936 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
9937 |
|
|
9938 |
< |
ac_ext=c |
9939 |
< |
ac_cpp='$CPP $CPPFLAGS' |
9940 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9941 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9942 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9943 |
< |
|
7582 |
< |
ac_save_CPPFLAGS=$CPPFLAGS |
7583 |
< |
CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" |
7584 |
< |
ac_save_LDFLAGS=$LDFLAGS |
7585 |
< |
LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" |
7586 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
7587 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
7588 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
7589 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
9938 |
> |
save_CXXFLAGS="$CXXFLAGS" |
9939 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
9940 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
9941 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
9942 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
9943 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
9944 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9945 |
|
fi |
9946 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
9947 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
9946 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
9947 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
9948 |
|
else |
9949 |
|
# Is the header compilable? |
9950 |
< |
echo "$as_me:$LINENO: checking mkl.h usability" >&5 |
9951 |
< |
echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6 |
9950 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
9951 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
9952 |
|
cat >conftest.$ac_ext <<_ACEOF |
7599 |
– |
#line $LINENO "configure" |
9953 |
|
/* confdefs.h. */ |
9954 |
|
_ACEOF |
9955 |
|
cat confdefs.h >>conftest.$ac_ext |
9956 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9957 |
|
/* end confdefs.h. */ |
9958 |
|
$ac_includes_default |
9959 |
< |
#include <mkl.h> |
9959 |
> |
#include <CGAL/Cartesian.h> |
9960 |
|
_ACEOF |
9961 |
|
rm -f conftest.$ac_objext |
9962 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9963 |
< |
(eval $ac_compile) 2>&5 |
9963 |
> |
(eval $ac_compile) 2>conftest.er1 |
9964 |
|
ac_status=$? |
9965 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
9966 |
+ |
rm -f conftest.er1 |
9967 |
+ |
cat conftest.err >&5 |
9968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9969 |
|
(exit $ac_status); } && |
9970 |
< |
{ ac_try='test -s conftest.$ac_objext' |
9970 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
9971 |
> |
|| test ! -s conftest.err' |
9972 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9973 |
|
(eval $ac_try) 2>&5 |
9974 |
|
ac_status=$? |
9975 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9976 |
+ |
(exit $ac_status); }; } && |
9977 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
9978 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9979 |
+ |
(eval $ac_try) 2>&5 |
9980 |
+ |
ac_status=$? |
9981 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9982 |
|
(exit $ac_status); }; }; then |
9983 |
|
ac_header_compiler=yes |
9984 |
|
else |
9987 |
|
|
9988 |
|
ac_header_compiler=no |
9989 |
|
fi |
9990 |
< |
rm -f conftest.$ac_objext conftest.$ac_ext |
9990 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9991 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9992 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
9993 |
|
|
9994 |
|
# Is the header present? |
9995 |
< |
echo "$as_me:$LINENO: checking mkl.h presence" >&5 |
9996 |
< |
echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6 |
9995 |
> |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
9996 |
> |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
9997 |
|
cat >conftest.$ac_ext <<_ACEOF |
7635 |
– |
#line $LINENO "configure" |
9998 |
|
/* confdefs.h. */ |
9999 |
|
_ACEOF |
10000 |
|
cat confdefs.h >>conftest.$ac_ext |
10001 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10002 |
|
/* end confdefs.h. */ |
10003 |
< |
#include <mkl.h> |
10003 |
> |
#include <CGAL/Cartesian.h> |
10004 |
|
_ACEOF |
10005 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10006 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10011 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10012 |
|
(exit $ac_status); } >/dev/null; then |
10013 |
|
if test -s conftest.err; then |
10014 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
10014 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
10015 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
10016 |
|
else |
10017 |
|
ac_cpp_err= |
10018 |
|
fi |
10032 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10033 |
|
|
10034 |
|
# So? What about this header? |
10035 |
< |
case $ac_header_compiler:$ac_header_preproc in |
10036 |
< |
yes:no ) |
10037 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10038 |
< |
echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10039 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
10040 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
10041 |
< |
( |
7679 |
< |
cat <<\_ASBOX |
7680 |
< |
## ------------------------------------ ## |
7681 |
< |
## Report this to bug-autoconf@gnu.org. ## |
7682 |
< |
## ------------------------------------ ## |
7683 |
< |
_ASBOX |
7684 |
< |
) | |
7685 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
10035 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10036 |
> |
yes:no: ) |
10037 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10038 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10039 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
10040 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
10041 |
> |
ac_header_preproc=yes |
10042 |
|
;; |
10043 |
< |
no:yes ) |
10044 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5 |
10045 |
< |
echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;} |
10046 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5 |
10047 |
< |
echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;} |
10048 |
< |
{ echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5 |
10049 |
< |
echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;} |
10043 |
> |
no:yes:* ) |
10044 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
10045 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
10046 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
10047 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
10048 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
10049 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
10050 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
10051 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10052 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
10053 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
10054 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
10055 |
> |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
10056 |
|
( |
10057 |
|
cat <<\_ASBOX |
10058 |
< |
## ------------------------------------ ## |
10059 |
< |
## Report this to bug-autoconf@gnu.org. ## |
10060 |
< |
## ------------------------------------ ## |
10058 |
> |
## ------------------------------ ## |
10059 |
> |
## Report this to gezelter@nd.edu ## |
10060 |
> |
## ------------------------------ ## |
10061 |
|
_ASBOX |
10062 |
|
) | |
10063 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10064 |
|
;; |
10065 |
|
esac |
10066 |
< |
echo "$as_me:$LINENO: checking for mkl.h" >&5 |
10067 |
< |
echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 |
10068 |
< |
if test "${ac_cv_header_mkl_h+set}" = set; then |
10066 |
> |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
10067 |
> |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
10068 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
10069 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10070 |
|
else |
10071 |
< |
ac_cv_header_mkl_h=$ac_header_preproc |
10071 |
> |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
10072 |
|
fi |
10073 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5 |
10074 |
< |
echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 |
10073 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
10074 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
10075 |
|
|
10076 |
|
fi |
10077 |
< |
if test $ac_cv_header_mkl_h = yes; then |
10078 |
< |
|
7717 |
< |
echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5 |
7718 |
< |
echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 |
7719 |
< |
if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then |
7720 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10077 |
> |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
10078 |
> |
cgal=yes |
10079 |
|
else |
10080 |
< |
ac_check_lib_save_LIBS=$LIBS |
10081 |
< |
LIBS="-lmkl $LIBS" |
10080 |
> |
cgal=no |
10081 |
> |
fi |
10082 |
> |
|
10083 |
> |
|
10084 |
> |
CXXFLAGS="$save_CXXFLAGS" |
10085 |
> |
|
10086 |
> |
if test "x$cgal" = xyes; then |
10087 |
> |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
10088 |
> |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
10089 |
> |
LOCATION=${CGAL_INCLDIR} |
10090 |
> |
LOCATION=${LOCATION:-/usr/include} |
10091 |
> |
if test -f $LOCATION/CGAL/version.h; then |
10092 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
10093 |
> |
else |
10094 |
> |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
10095 |
> |
fi |
10096 |
> |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
10097 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
10098 |
> |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
10099 |
> |
else |
10100 |
> |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
10101 |
> |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
10102 |
> |
cgal=no |
10103 |
> |
fi |
10104 |
> |
fi |
10105 |
> |
|
10106 |
> |
if test "x$cgal" = xyes; then |
10107 |
> |
CGAL_LIBS="-lCGAL" |
10108 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
10109 |
> |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
10110 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
10111 |
> |
CGAL_USES_LEDA=yes |
10112 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
10113 |
> |
echo "${ECHO_T}yes" >&6 |
10114 |
> |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
10115 |
> |
else |
10116 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
10117 |
> |
echo "${ECHO_T}no" >&6 |
10118 |
> |
CGAL_USES_LEDA=no |
10119 |
> |
fi |
10120 |
> |
|
10121 |
> |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
10122 |
> |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
10123 |
> |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
10124 |
> |
CGAL_USES_GMP=yes |
10125 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
10126 |
> |
echo "${ECHO_T}yes" >&6 |
10127 |
> |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
10128 |
> |
else |
10129 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
10130 |
> |
echo "${ECHO_T}no" >&6 |
10131 |
> |
CGAL_USES_GMP=no |
10132 |
> |
fi |
10133 |
> |
|
10134 |
> |
CGAL_LIBS="$CGAL_LIBS -lm" |
10135 |
> |
|
10136 |
> |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
10137 |
> |
|
10138 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_LEDA= $CGAL_USES_LEDA" >&5 |
10139 |
> |
echo "${ECHO_T}CGAL_USES_LEDA= $CGAL_USES_LEDA" >&6 |
10140 |
> |
echo "$as_me:$LINENO: result: CGAL_USES_GMP = $CGAL_USES_GMP" >&5 |
10141 |
> |
echo "${ECHO_T}CGAL_USES_GMP = $CGAL_USES_GMP" >&6 |
10142 |
> |
echo "$as_me:$LINENO: result: CGAL_INCLDIR = $CGAL_INCLDIR" >&5 |
10143 |
> |
echo "${ECHO_T}CGAL_INCLDIR = $CGAL_INCLDIR" >&6 |
10144 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBDIR = $CGAL_LIBDIR" >&5 |
10145 |
> |
echo "${ECHO_T}CGAL_LIBDIR = $CGAL_LIBDIR" >&6 |
10146 |
> |
echo "$as_me:$LINENO: result: CGAL_DEFINES = $CGAL_DEFINES" >&5 |
10147 |
> |
echo "${ECHO_T}CGAL_DEFINES = $CGAL_DEFINES" >&6 |
10148 |
> |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&5 |
10149 |
> |
echo "${ECHO_T}CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&6 |
10150 |
> |
echo "$as_me:$LINENO: result: CGAL_LIBS = $CGAL_LIBS" >&5 |
10151 |
> |
echo "${ECHO_T}CGAL_LIBS = $CGAL_LIBS" >&6 |
10152 |
> |
fi |
10153 |
> |
|
10154 |
> |
if test "x$cgal" = xyes; then |
10155 |
> |
save_LIBS="$LIBS" |
10156 |
> |
LIBS="$LIBS -L$CGAL_LIBDIR" |
10157 |
> |
if test "x$CGAL_USES_LEDA" = xyes; then |
10158 |
> |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
10159 |
> |
fi |
10160 |
> |
# if test "x$CGAL_USES_GMP" = xyes; then |
10161 |
> |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
10162 |
> |
# fi |
10163 |
> |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
10164 |
> |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
10165 |
> |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
10166 |
> |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
10167 |
> |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
10168 |
> |
LIBS="-lCGAL $LIBS" |
10169 |
|
cat >conftest.$ac_ext <<_ACEOF |
7725 |
– |
#line $LINENO "configure" |
10170 |
|
/* confdefs.h. */ |
10171 |
|
_ACEOF |
10172 |
|
cat confdefs.h >>conftest.$ac_ext |
10173 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10174 |
|
/* end confdefs.h. */ |
10175 |
< |
|
7732 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
7733 |
< |
#ifdef __cplusplus |
7734 |
< |
extern "C" |
7735 |
< |
#endif |
7736 |
< |
/* We use char because int might match the return type of a gcc2 |
7737 |
< |
builtin and then its argument prototype would still apply. */ |
7738 |
< |
char vslNewStream (); |
10175 |
> |
#include <CGAL/Cartesian.h> |
10176 |
|
int |
10177 |
|
main () |
10178 |
|
{ |
10179 |
< |
vslNewStream (); |
10179 |
> |
::CGAL::Cartesian<int>::Point_2 P |
10180 |
|
; |
10181 |
|
return 0; |
10182 |
|
} |
10183 |
|
_ACEOF |
10184 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10185 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10186 |
< |
(eval $ac_link) 2>&5 |
10186 |
> |
(eval $ac_link) 2>conftest.er1 |
10187 |
|
ac_status=$? |
10188 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
10189 |
+ |
rm -f conftest.er1 |
10190 |
+ |
cat conftest.err >&5 |
10191 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10192 |
|
(exit $ac_status); } && |
10193 |
< |
{ ac_try='test -s conftest$ac_exeext' |
10193 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
10194 |
> |
|| test ! -s conftest.err' |
10195 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10196 |
|
(eval $ac_try) 2>&5 |
10197 |
|
ac_status=$? |
10198 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10199 |
+ |
(exit $ac_status); }; } && |
10200 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
10201 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10202 |
+ |
(eval $ac_try) 2>&5 |
10203 |
+ |
ac_status=$? |
10204 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10205 |
|
(exit $ac_status); }; }; then |
10206 |
< |
ac_cv_lib_mkl_vslNewStream=yes |
10206 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
10207 |
> |
echo "${ECHO_T}yes" >&6 |
10208 |
> |
cgal=yes |
10209 |
|
else |
10210 |
|
echo "$as_me: failed program was:" >&5 |
10211 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10212 |
|
|
10213 |
< |
ac_cv_lib_mkl_vslNewStream=no |
10213 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
10214 |
> |
echo "${ECHO_T}no" >&6 |
10215 |
> |
cgal=no |
10216 |
|
fi |
10217 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10218 |
< |
LIBS=$ac_check_lib_save_LIBS |
10219 |
< |
fi |
10220 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5 |
10221 |
< |
echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 |
10222 |
< |
if test $ac_cv_lib_mkl_vslNewStream = yes; then |
7772 |
< |
MKL_LIBDIR="${mkldir}/lib/32", |
7773 |
< |
MKL_LIB="-lmkl -lvml -lguide", |
7774 |
< |
HAVE_MKL="yes" |
7775 |
< |
fi |
10217 |
> |
rm -f conftest.err conftest.$ac_objext \ |
10218 |
> |
conftest$ac_exeext conftest.$ac_ext |
10219 |
> |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
10220 |
> |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
10221 |
> |
LIBS="$save_LIBS" |
10222 |
> |
fi |
10223 |
|
|
10224 |
< |
|
7778 |
< |
else |
7779 |
< |
MKL_INC="-I${mkldir}/include" |
7780 |
< |
fi |
7781 |
< |
|
7782 |
< |
|
7783 |
< |
CPPFLAGS=$ac_save_CPPFLAGS |
7784 |
< |
LDFLAGS=$ac_save_LDFLAGS |
10224 |
> |
fi |
10225 |
|
ac_ext=c |
10226 |
|
ac_cpp='$CPP $CPPFLAGS' |
10227 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10229 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
10230 |
|
|
10231 |
|
|
10232 |
< |
if test x_$HAVE_MKL != x_yes; then |
7793 |
< |
{ { echo "$as_me:$LINENO: error: Can't build with MKL" >&5 |
7794 |
< |
echo "$as_me: error: Can't build with MKL" >&2;} |
7795 |
< |
{ (exit 1); exit 1; }; } |
7796 |
< |
fi |
10232 |
> |
fi |
10233 |
|
|
10234 |
+ |
if test "x$cgal" = xyes; then |
10235 |
+ |
USE_CGAL=yes |
10236 |
|
|
10237 |
+ |
cat >>confdefs.h <<\_ACEOF |
10238 |
+ |
#define HAVE_CGAL 1 |
10239 |
+ |
_ACEOF |
10240 |
|
|
10241 |
|
|
10242 |
+ |
cat >>confdefs.h <<_ACEOF |
10243 |
+ |
#define CGAL_VERSION $CGAL_VERSION |
10244 |
+ |
_ACEOF |
10245 |
|
|
10246 |
+ |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
10247 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
10248 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
10249 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
10250 |
+ |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
10251 |
+ |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
10252 |
+ |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
10253 |
+ |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
10254 |
+ |
echo "$as_me: WARNING: *****************************************************" >&2;} |
10255 |
+ |
fi |
10256 |
|
else |
10257 |
+ |
if test "x$cgal_makefile" != xno; then |
10258 |
+ |
echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5 |
10259 |
+ |
echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6 |
10260 |
+ |
fi |
10261 |
+ |
CGAL_INCLDIR= |
10262 |
+ |
CGAL_LIBDIR= |
10263 |
+ |
CGAL_RLIBDIR= |
10264 |
+ |
CGAL_DEFINES= |
10265 |
+ |
CGAL_CXXFLAGS= |
10266 |
+ |
CGAL_LIBS= |
10267 |
+ |
fi |
10268 |
|
|
7804 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
7805 |
– |
echo "${ECHO_T}no" >&6 |
10269 |
|
|
10270 |
< |
fi; |
10270 |
> |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
10271 |
|
|
10272 |
+ |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
10273 |
|
|
10274 |
+ |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
10275 |
|
|
10276 |
+ |
|
10277 |
+ |
|
10278 |
+ |
|
10279 |
+ |
|
10280 |
+ |
|
10281 |
+ |
|
10282 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
10283 |
|
if test "${enable_doxygen+set}" = set; then |
10284 |
|
enableval="$enable_doxygen" |
10479 |
|
|
10480 |
|
ac_config_headers="$ac_config_headers src/config.h" |
10481 |
|
|
10482 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" |
10482 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
10483 |
|
|
10484 |
|
|
10485 |
|
cat >confcache <<\_ACEOF |
10510 |
|
# `set' does not quote correctly, so add quotes (double-quote |
10511 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
10512 |
|
sed -n \ |
10513 |
< |
"s/'/'\\\\''/g; |
10514 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
10513 |
> |
"s/'/'\\\\''/g; |
10514 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
10515 |
|
;; |
10516 |
|
*) |
10517 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
10518 |
|
sed -n \ |
10519 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
10519 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
10520 |
|
;; |
10521 |
|
esac; |
10522 |
|
} | |
10546 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
10547 |
|
# (actually we leave an empty line to preserve line numbers). |
10548 |
|
if test "x$srcdir" = x.; then |
10549 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
10549 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
10550 |
|
s/:*\$(srcdir):*/:/; |
10551 |
|
s/:*\${srcdir}:*/:/; |
10552 |
|
s/:*@srcdir@:*/:/; |
10553 |
< |
s/^\([^=]*=[ ]*\):*/\1/; |
10553 |
> |
s/^\([^=]*=[ ]*\):*/\1/; |
10554 |
|
s/:*$//; |
10555 |
< |
s/^[^=]*=[ ]*$//; |
10555 |
> |
s/^[^=]*=[ ]*$//; |
10556 |
|
}' |
10557 |
|
fi |
10558 |
|
|
10563 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
10564 |
|
# 1. Remove the extension, and $U if already installed. |
10565 |
|
ac_i=`echo "$ac_i" | |
10566 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
10566 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
10567 |
|
# 2. Add them. |
10568 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
10569 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
10607 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
10608 |
|
set -o posix |
10609 |
|
fi |
10610 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
10611 |
|
|
10612 |
|
# Support unset when possible. |
10613 |
< |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
10613 |
> |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
10614 |
|
as_unset=unset |
10615 |
|
else |
10616 |
|
as_unset=false |
10629 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
10630 |
|
LC_TELEPHONE LC_TIME |
10631 |
|
do |
10632 |
< |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
10632 |
> |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
10633 |
|
eval $as_var=C; export $as_var |
10634 |
|
else |
10635 |
|
$as_unset $as_var |
10808 |
|
if mkdir -p . 2>/dev/null; then |
10809 |
|
as_mkdir_p=: |
10810 |
|
else |
10811 |
+ |
test -d ./-p && rmdir ./-p |
10812 |
|
as_mkdir_p=false |
10813 |
|
fi |
10814 |
|
|
10815 |
|
as_executable_p="test -f" |
10816 |
|
|
10817 |
|
# Sed expression to map a string onto a valid CPP name. |
10818 |
< |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
10818 |
> |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
10819 |
|
|
10820 |
|
# Sed expression to map a string onto a valid variable name. |
10821 |
< |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
10821 |
> |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
10822 |
|
|
10823 |
|
|
10824 |
|
# IFS |
10845 |
|
cat >&5 <<_CSEOF |
10846 |
|
|
10847 |
|
This file was extended by OOPSE $as_me 2.0, which was |
10848 |
< |
generated by GNU Autoconf 2.57. Invocation command line was |
10848 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
10849 |
|
|
10850 |
|
CONFIG_FILES = $CONFIG_FILES |
10851 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
10889 |
|
-d, --debug don't remove temporary files |
10890 |
|
--recheck update $as_me by reconfiguring in the same conditions |
10891 |
|
--file=FILE[:TEMPLATE] |
10892 |
< |
instantiate the configuration file FILE |
10892 |
> |
instantiate the configuration file FILE |
10893 |
|
--header=FILE[:TEMPLATE] |
10894 |
< |
instantiate the configuration header FILE |
10894 |
> |
instantiate the configuration header FILE |
10895 |
|
|
10896 |
|
Configuration files: |
10897 |
|
$config_files |
10908 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
10909 |
|
ac_cs_version="\\ |
10910 |
|
OOPSE config.status 2.0 |
10911 |
< |
configured by $0, generated by GNU Autoconf 2.57, |
10911 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
10912 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10913 |
|
|
10914 |
< |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
8442 |
< |
Free Software Foundation, Inc. |
10914 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
10915 |
|
This config.status script is free software; the Free Software Foundation |
10916 |
|
gives unlimited permission to copy, distribute and modify it." |
10917 |
|
srcdir=$srcdir |
11012 |
|
# Handling of arguments. |
11013 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
11014 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
11015 |
+ |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
11016 |
+ |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
11017 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
11018 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
11019 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
11138 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
11139 |
|
s,@CPP@,$CPP,;t t |
11140 |
|
s,@EGREP@,$EGREP,;t t |
11141 |
+ |
s,@CXXCPP@,$CXXCPP,;t t |
11142 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
11143 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
11144 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
11151 |
|
s,@LEX@,$LEX,;t t |
11152 |
|
s,@LEXLIB@,$LEXLIB,;t t |
11153 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
11154 |
+ |
s,@PERLINTERP@,$PERLINTERP,;t t |
11155 |
+ |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
11156 |
|
s,@AR@,$AR,;t t |
11157 |
|
s,@PS@,$PS,;t t |
11158 |
|
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
11161 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
11162 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
11163 |
|
s,@USE_MPI@,$USE_MPI,;t t |
11164 |
< |
s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t |
11165 |
< |
s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t |
11166 |
< |
s,@SPRNG_LIB@,$SPRNG_LIB,;t t |
11167 |
< |
s,@USE_SPRNG@,$USE_SPRNG,;t t |
11168 |
< |
s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t |
11169 |
< |
s,@MKL_LIB@,$MKL_LIB,;t t |
11170 |
< |
s,@MKL_INC@,$MKL_INC,;t t |
8694 |
< |
s,@HAVE_MKL@,$HAVE_MKL,;t t |
11164 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
11165 |
> |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
11166 |
> |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
11167 |
> |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
11168 |
> |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
11169 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
11170 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
11171 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
11172 |
|
s,@DOT@,$DOT,;t t |
11173 |
|
s,@DOC@,$DOC,;t t |
11210 |
|
(echo ':t |
11211 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
11212 |
|
if test -z "$ac_sed_cmds"; then |
11213 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
11213 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
11214 |
|
else |
11215 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
11215 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
11216 |
|
fi |
11217 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
11218 |
|
ac_beg=$ac_end |
11230 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11231 |
|
case $ac_file in |
11232 |
|
- | *:- | *:-:* ) # input from stdin |
11233 |
< |
cat >$tmp/stdin |
11234 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11235 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11233 |
> |
cat >$tmp/stdin |
11234 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11235 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11236 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11237 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11237 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11238 |
|
* ) ac_file_in=$ac_file.in ;; |
11239 |
|
esac |
11240 |
|
|
11241 |
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
11242 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11243 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11244 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11245 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
11246 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
11247 |
< |
. : '\(.\)' 2>/dev/null || |
11244 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11245 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
11246 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
11247 |
> |
. : '\(.\)' 2>/dev/null || |
11248 |
|
echo X"$ac_file" | |
11249 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11250 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11260 |
|
as_dirs="$as_dir $as_dirs" |
11261 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
11262 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11263 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11264 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
11265 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
11266 |
< |
. : '\(.\)' 2>/dev/null || |
11263 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11264 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
11265 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
11266 |
> |
. : '\(.\)' 2>/dev/null || |
11267 |
|
echo X"$as_dir" | |
11268 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11269 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11301 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11302 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11303 |
|
esac |
8828 |
– |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
8829 |
– |
# absolute. |
8830 |
– |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
8831 |
– |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
8832 |
– |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
8833 |
– |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
11304 |
|
|
11305 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
11306 |
+ |
# the directories may not exist. |
11307 |
+ |
case `pwd` in |
11308 |
+ |
.) ac_abs_builddir="$ac_dir";; |
11309 |
+ |
*) |
11310 |
+ |
case "$ac_dir" in |
11311 |
+ |
.) ac_abs_builddir=`pwd`;; |
11312 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
11313 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
11314 |
+ |
esac;; |
11315 |
+ |
esac |
11316 |
+ |
case $ac_abs_builddir in |
11317 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
11318 |
+ |
*) |
11319 |
+ |
case ${ac_top_builddir}. in |
11320 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
11321 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
11322 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
11323 |
+ |
esac;; |
11324 |
+ |
esac |
11325 |
+ |
case $ac_abs_builddir in |
11326 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
11327 |
+ |
*) |
11328 |
+ |
case $ac_srcdir in |
11329 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
11330 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
11331 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
11332 |
+ |
esac;; |
11333 |
+ |
esac |
11334 |
+ |
case $ac_abs_builddir in |
11335 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
11336 |
+ |
*) |
11337 |
+ |
case $ac_top_srcdir in |
11338 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
11339 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
11340 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
11341 |
+ |
esac;; |
11342 |
+ |
esac |
11343 |
|
|
11344 |
+ |
|
11345 |
|
case $INSTALL in |
11346 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
11347 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
11361 |
|
configure_input="$ac_file. " |
11362 |
|
fi |
11363 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
11364 |
< |
sed 's,.*/,,'` by configure." |
11364 |
> |
sed 's,.*/,,'` by configure." |
11365 |
|
|
11366 |
|
# First look for the input files in the build tree, otherwise in the |
11367 |
|
# src tree. |
11370 |
|
case $f in |
11371 |
|
-) echo $tmp/stdin ;; |
11372 |
|
[\\/$]*) |
11373 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
11374 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11373 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
11374 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11375 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11376 |
|
{ (exit 1); exit 1; }; } |
11377 |
< |
echo $f;; |
11377 |
> |
echo "$f";; |
11378 |
|
*) # Relative |
11379 |
< |
if test -f "$f"; then |
11380 |
< |
# Build tree |
11381 |
< |
echo $f |
11382 |
< |
elif test -f "$srcdir/$f"; then |
11383 |
< |
# Source tree |
11384 |
< |
echo $srcdir/$f |
11385 |
< |
else |
11386 |
< |
# /dev/null tree |
11387 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11379 |
> |
if test -f "$f"; then |
11380 |
> |
# Build tree |
11381 |
> |
echo "$f" |
11382 |
> |
elif test -f "$srcdir/$f"; then |
11383 |
> |
# Source tree |
11384 |
> |
echo "$srcdir/$f" |
11385 |
> |
else |
11386 |
> |
# /dev/null tree |
11387 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11388 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11389 |
|
{ (exit 1); exit 1; }; } |
11390 |
< |
fi;; |
11390 |
> |
fi;; |
11391 |
|
esac |
11392 |
|
done` || { (exit 1); exit 1; } |
11393 |
|
_ACEOF |
11417 |
|
rm -f $tmp/out |
11418 |
|
fi |
11419 |
|
|
11420 |
+ |
# Run the commands associated with the file. |
11421 |
+ |
case $ac_file in |
11422 |
+ |
make/Makefile ) chmod 0755 scripts/* ;; |
11423 |
+ |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
11424 |
+ |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
11425 |
+ |
scripts/filepp ) chmod 0755 scripts/* ;; |
11426 |
+ |
esac |
11427 |
|
done |
11428 |
|
_ACEOF |
11429 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11436 |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
11437 |
|
# |
11438 |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
11439 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
11440 |
< |
ac_dB='[ ].*$,\1#\2' |
11439 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
11440 |
> |
ac_dB='[ ].*$,\1#\2' |
11441 |
|
ac_dC=' ' |
11442 |
|
ac_dD=',;t' |
11443 |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
11444 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
11444 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
11445 |
|
ac_uB='$,\1#\2define\3' |
11446 |
|
ac_uC=' ' |
11447 |
|
ac_uD=',;t' |
11450 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11451 |
|
case $ac_file in |
11452 |
|
- | *:- | *:-:* ) # input from stdin |
11453 |
< |
cat >$tmp/stdin |
11454 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11455 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11453 |
> |
cat >$tmp/stdin |
11454 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11455 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11456 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11457 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11457 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11458 |
|
* ) ac_file_in=$ac_file.in ;; |
11459 |
|
esac |
11460 |
|
|
11468 |
|
case $f in |
11469 |
|
-) echo $tmp/stdin ;; |
11470 |
|
[\\/$]*) |
11471 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
11472 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11471 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
11472 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11473 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11474 |
|
{ (exit 1); exit 1; }; } |
11475 |
< |
echo $f;; |
11475 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
11476 |
> |
echo "$f";; |
11477 |
|
*) # Relative |
11478 |
< |
if test -f "$f"; then |
11479 |
< |
# Build tree |
11480 |
< |
echo $f |
11481 |
< |
elif test -f "$srcdir/$f"; then |
11482 |
< |
# Source tree |
11483 |
< |
echo $srcdir/$f |
11484 |
< |
else |
11485 |
< |
# /dev/null tree |
11486 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11478 |
> |
if test -f "$f"; then |
11479 |
> |
# Build tree |
11480 |
> |
echo "$f" |
11481 |
> |
elif test -f "$srcdir/$f"; then |
11482 |
> |
# Source tree |
11483 |
> |
echo "$srcdir/$f" |
11484 |
> |
else |
11485 |
> |
# /dev/null tree |
11486 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11487 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11488 |
|
{ (exit 1); exit 1; }; } |
11489 |
< |
fi;; |
11489 |
> |
fi;; |
11490 |
|
esac |
11491 |
|
done` || { (exit 1); exit 1; } |
11492 |
|
# Remove the trailing spaces. |
11493 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
11493 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
11494 |
|
|
11495 |
|
_ACEOF |
11496 |
|
|
11513 |
|
s,[\\$`],\\&,g |
11514 |
|
t clear |
11515 |
|
: clear |
11516 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
11516 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
11517 |
|
t end |
11518 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
11518 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
11519 |
|
: end |
11520 |
|
_ACEOF |
11521 |
|
# If some macros were called several times there might be several times |
11529 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
11530 |
|
# on some systems where configure will not decide to define it. |
11531 |
|
cat >>conftest.undefs <<\_ACEOF |
11532 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
11532 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
11533 |
|
_ACEOF |
11534 |
|
|
11535 |
|
# Break up conftest.defines because some shells have a limit on the size |
11536 |
|
# of here documents, and old seds have small limits too (100 cmds). |
11537 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
11538 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
11538 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
11539 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
11540 |
|
echo ' :' >>$CONFIG_STATUS |
11541 |
|
rm -f conftest.tail |
11544 |
|
# Write a limited-size here document to $tmp/defines.sed. |
11545 |
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
11546 |
|
# Speed up: don't consider the non `#define' lines. |
11547 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
11547 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
11548 |
|
# Work around the forget-to-reset-the-flag bug. |
11549 |
|
echo 't clr' >>$CONFIG_STATUS |
11550 |
|
echo ': clr' >>$CONFIG_STATUS |
11571 |
|
# Write a limited-size here document to $tmp/undefs.sed. |
11572 |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
11573 |
|
# Speed up: don't consider the non `#undef' |
11574 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11574 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11575 |
|
# Work around the forget-to-reset-the-flag bug. |
11576 |
|
echo 't clr' >>$CONFIG_STATUS |
11577 |
|
echo ': clr' >>$CONFIG_STATUS |
11605 |
|
else |
11606 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11607 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11608 |
< |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11609 |
< |
X"$ac_file" : 'X\(//\)$' \| \ |
11610 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
11611 |
< |
. : '\(.\)' 2>/dev/null || |
11608 |
> |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11609 |
> |
X"$ac_file" : 'X\(//\)$' \| \ |
11610 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
11611 |
> |
. : '\(.\)' 2>/dev/null || |
11612 |
|
echo X"$ac_file" | |
11613 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11614 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11624 |
|
as_dirs="$as_dir $as_dirs" |
11625 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
11626 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11627 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11628 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
11629 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
11630 |
< |
. : '\(.\)' 2>/dev/null || |
11627 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11628 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
11629 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
11630 |
> |
. : '\(.\)' 2>/dev/null || |
11631 |
|
echo X"$as_dir" | |
11632 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11633 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11672 |
|
# Make relative symlinks. |
11673 |
|
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
11674 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11675 |
< |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
11676 |
< |
X"$ac_dest" : 'X\(//\)$' \| \ |
11677 |
< |
X"$ac_dest" : 'X\(/\)' \| \ |
11678 |
< |
. : '\(.\)' 2>/dev/null || |
11675 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
11676 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
11677 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
11678 |
> |
. : '\(.\)' 2>/dev/null || |
11679 |
|
echo X"$ac_dest" | |
11680 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11681 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11691 |
|
as_dirs="$as_dir $as_dirs" |
11692 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
11693 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11694 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11695 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
11696 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
11697 |
< |
. : '\(.\)' 2>/dev/null || |
11694 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11695 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
11696 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
11697 |
> |
. : '\(.\)' 2>/dev/null || |
11698 |
|
echo X"$as_dir" | |
11699 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11700 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11732 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11733 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11734 |
|
esac |
9218 |
– |
# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be |
9219 |
– |
# absolute. |
9220 |
– |
ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd` |
9221 |
– |
ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd` |
9222 |
– |
ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd` |
9223 |
– |
ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd` |
11735 |
|
|
11736 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
11737 |
+ |
# the directories may not exist. |
11738 |
+ |
case `pwd` in |
11739 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
11740 |
+ |
*) |
11741 |
+ |
case "$ac_dest_dir" in |
11742 |
+ |
.) ac_abs_builddir=`pwd`;; |
11743 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
11744 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
11745 |
+ |
esac;; |
11746 |
+ |
esac |
11747 |
+ |
case $ac_abs_builddir in |
11748 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
11749 |
+ |
*) |
11750 |
+ |
case ${ac_top_builddir}. in |
11751 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
11752 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
11753 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
11754 |
+ |
esac;; |
11755 |
+ |
esac |
11756 |
+ |
case $ac_abs_builddir in |
11757 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
11758 |
+ |
*) |
11759 |
+ |
case $ac_srcdir in |
11760 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
11761 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
11762 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
11763 |
+ |
esac;; |
11764 |
+ |
esac |
11765 |
+ |
case $ac_abs_builddir in |
11766 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
11767 |
+ |
*) |
11768 |
+ |
case $ac_top_srcdir in |
11769 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
11770 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
11771 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
11772 |
+ |
esac;; |
11773 |
+ |
esac |
11774 |
|
|
11775 |
+ |
|
11776 |
|
case $srcdir in |
11777 |
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
11778 |
|
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |