| 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 PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP 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' |
| 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. |
| 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] |
| 1888 |
|
# |
| 1889 |
|
# |
| 1890 |
|
# |
| 1891 |
+ |
|
| 1892 |
+ |
|
| 1893 |
|
|
| 1894 |
|
|
| 1895 |
|
|
| 3555 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3556 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3557 |
|
|
| 3558 |
< |
(eval echo $as_me:3553: \"$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 |
| 3632 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3633 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3634 |
|
|
| 3635 |
< |
(eval echo $as_me:3630: \"$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 |
| 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' |
| 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 |
| 4969 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4970 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4971 |
< |
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 |
| 5176 |
|
/* confdefs.h. */ |
| 5177 |
|
_ACEOF |
| 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 |
| 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 |
| 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 |
| 5257 |
|
# So? What about this header? |
| 5258 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag 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 compiler's result" >&5 |
| 5263 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 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: see the Autoconf documentation" >&5 |
| 5272 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5273 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5274 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5275 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5276 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5277 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5278 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 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 |
|
## ------------------------------ ## |
| 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 |
| 5109 |
< |
|
| 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 |
|
|
| 5112 |
– |
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 |
< |
|
| 5119 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 5120 |
< |
do |
| 5121 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5122 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5123 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5124 |
< |
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 |
| 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. */ |
| 5133 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5134 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5135 |
– |
#define $ac_func innocuous_$ac_func |
| 5332 |
|
|
| 5137 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 5138 |
– |
which can conflict with char $ac_func (); below. |
| 5139 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5140 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 5141 |
– |
|
| 5142 |
– |
#ifdef __STDC__ |
| 5143 |
– |
# include <limits.h> |
| 5144 |
– |
#else |
| 5145 |
– |
# include <assert.h> |
| 5146 |
– |
#endif |
| 5147 |
– |
|
| 5148 |
– |
#undef $ac_func |
| 5149 |
– |
|
| 5333 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5334 |
|
#ifdef __cplusplus |
| 5335 |
|
extern "C" |
| 5153 |
– |
{ |
| 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 (); |
| 5158 |
< |
/* The GNU C library defines this for functions which it implements |
| 5159 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 5160 |
< |
something starting with __ and the normal name is an alias. */ |
| 5161 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5162 |
< |
choke me |
| 5163 |
< |
#else |
| 5164 |
< |
char (*f) () = $ac_func; |
| 5165 |
< |
#endif |
| 5166 |
< |
#ifdef __cplusplus |
| 5167 |
< |
} |
| 5168 |
< |
#endif |
| 5169 |
< |
|
| 5339 |
> |
char inflateEnd (); |
| 5340 |
|
int |
| 5341 |
|
main () |
| 5342 |
|
{ |
| 5343 |
< |
return f != $ac_func; |
| 5343 |
> |
inflateEnd (); |
| 5344 |
|
; |
| 5345 |
|
return 0; |
| 5346 |
|
} |
| 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.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 |
| 5218 |
– |
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 |
| 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 |
| 5232 |
< |
main () |
| 5233 |
< |
{ |
| 5234 |
< |
double x = _system_configuration.physmem; |
| 5235 |
< |
; |
| 5236 |
< |
return 0; |
| 5237 |
< |
} |
| 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 |
| 5462 |
|
ac_status=$? |
| 5463 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5464 |
|
(exit $ac_status); }; }; then |
| 5465 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5466 |
< |
echo "${ECHO_T}yes" >&6 |
| 5465 |
> |
ac_header_compiler=yes |
| 5466 |
> |
else |
| 5467 |
> |
echo "$as_me: failed program was:" >&5 |
| 5468 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5469 |
|
|
| 5470 |
< |
cat >>confdefs.h <<\_ACEOF |
| 5471 |
< |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 5472 |
< |
_ACEOF |
| 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 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5273 |
< |
echo "${ECHO_T}no" >&6 |
| 5510 |
> |
ac_header_preproc=no |
| 5511 |
|
fi |
| 5512 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 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 |
< |
# clean out junk possibly left behind by a previous configuration |
| 5517 |
< |
rm -f src/getopt.h |
| 5518 |
< |
# Check for getopt_long support |
| 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 |
< |
for ac_header in getopt.h |
| 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 |
| 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 |
< |
for ac_func in getopt_long |
| 5729 |
< |
do |
| 5730 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5731 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5732 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5733 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 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. */ |
| 5445 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5446 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5447 |
– |
#define $ac_func innocuous_$ac_func |
| 5448 |
– |
|
| 5449 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 5450 |
– |
which can conflict with char $ac_func (); below. |
| 5451 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5452 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 5453 |
– |
|
| 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 |
< |
#undef $ac_func |
| 5787 |
> |
# Broken: fails on valid input. |
| 5788 |
> |
continue |
| 5789 |
> |
fi |
| 5790 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5791 |
|
|
| 5792 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5793 |
< |
#ifdef __cplusplus |
| 5794 |
< |
extern "C" |
| 5795 |
< |
{ |
| 5796 |
< |
#endif |
| 5797 |
< |
/* We use char because int might match the return type of a gcc2 |
| 5798 |
< |
builtin and then its argument prototype would still apply. */ |
| 5799 |
< |
char $ac_func (); |
| 5800 |
< |
/* The GNU C library defines this for functions which it implements |
| 5801 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 5802 |
< |
something starting with __ and the normal name is an alias. */ |
| 5803 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5804 |
< |
choke me |
| 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 |
< |
char (*f) () = $ac_func; |
| 5867 |
> |
# include <assert.h> |
| 5868 |
|
#endif |
| 5869 |
< |
#ifdef __cplusplus |
| 5479 |
< |
} |
| 5480 |
< |
#endif |
| 5481 |
< |
|
| 5482 |
< |
int |
| 5483 |
< |
main () |
| 5484 |
< |
{ |
| 5485 |
< |
return f != $ac_func; |
| 5486 |
< |
; |
| 5487 |
< |
return 0; |
| 5488 |
< |
} |
| 5869 |
> |
Syntax error |
| 5870 |
|
_ACEOF |
| 5871 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5872 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5492 |
< |
(eval $ac_link) 2>conftest.er1 |
| 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); } && |
| 5879 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5880 |
< |
|| test ! -s conftest.err' |
| 5881 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5882 |
< |
(eval $ac_try) 2>&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); }; } && |
| 5917 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5918 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5919 |
< |
(eval $ac_try) 2>&5 |
| 5920 |
< |
ac_status=$? |
| 5921 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5922 |
< |
(exit $ac_status); }; }; then |
| 5512 |
< |
eval "$as_ac_var=yes" |
| 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 |
< |
eval "$as_ac_var=no" |
| 5933 |
> |
# Passes both tests. |
| 5934 |
> |
ac_preproc_ok=: |
| 5935 |
> |
break |
| 5936 |
|
fi |
| 5937 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5520 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 5521 |
< |
fi |
| 5522 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5523 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5524 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5525 |
< |
cat >>confdefs.h <<_ACEOF |
| 5526 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5527 |
< |
_ACEOF |
| 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 |
< |
# FreeBSD has a gnugetopt library for this |
| 5946 |
< |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 5947 |
< |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 5948 |
< |
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
| 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 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 5977 |
< |
LIBS="-lgnugetopt $LIBS" |
| 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 |
< |
|
| 5986 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5546 |
< |
#ifdef __cplusplus |
| 5547 |
< |
extern "C" |
| 5548 |
< |
#endif |
| 5549 |
< |
/* We use char because int might match the return type of a gcc2 |
| 5550 |
< |
builtin and then its argument prototype would still apply. */ |
| 5551 |
< |
char getopt_long (); |
| 5552 |
< |
int |
| 5553 |
< |
main () |
| 5554 |
< |
{ |
| 5555 |
< |
getopt_long (); |
| 5556 |
< |
; |
| 5557 |
< |
return 0; |
| 5558 |
< |
} |
| 5985 |
> |
$ac_includes_default |
| 5986 |
> |
#include <$ac_header> |
| 5987 |
|
_ACEOF |
| 5988 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5989 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5990 |
< |
(eval $ac_link) 2>conftest.er1 |
| 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_c_werror_flag" |
| 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_exeext' |
| 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_cv_lib_gnugetopt_getopt_long=yes |
| 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_cv_lib_gnugetopt_getopt_long=no |
| 6015 |
> |
ac_header_compiler=no |
| 6016 |
|
fi |
| 6017 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 6018 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 6019 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 5592 |
< |
fi |
| 5593 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 5594 |
< |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
| 5595 |
< |
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
| 5596 |
< |
cat >>confdefs.h <<\_ACEOF |
| 5597 |
< |
#define HAVE_GETOPT_LONG 1 |
| 5598 |
< |
_ACEOF |
| 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 |
< |
# use the GNU replacement |
| 6048 |
< |
case $LIBOBJS in |
| 6049 |
< |
"getopt.$ac_objext" | \ |
| 6050 |
< |
*" getopt.$ac_objext" | \ |
| 6051 |
< |
"getopt.$ac_objext "* | \ |
| 6052 |
< |
*" getopt.$ac_objext "* ) ;; |
| 6053 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
| 5608 |
< |
esac |
| 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 |
< |
case $LIBOBJS in |
| 6056 |
< |
"getopt1.$ac_objext" | \ |
| 6057 |
< |
*" getopt1.$ac_objext" | \ |
| 6058 |
< |
"getopt1.$ac_objext "* | \ |
| 6059 |
< |
*" getopt1.$ac_objext "* ) ;; |
| 6060 |
< |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
| 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 |
|
|
| 5618 |
– |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
| 5619 |
– |
|
| 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 |
|
|
| 5627 |
– |
case $debug in |
| 5628 |
– |
1) |
| 5629 |
– |
;; |
| 5630 |
– |
*) |
| 6120 |
|
|
| 6121 |
|
|
| 6122 |
< |
|
| 6123 |
< |
|
| 6124 |
< |
|
| 6125 |
< |
|
| 6126 |
< |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 6127 |
< |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
| 6128 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
| 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 |
< |
|
| 6135 |
< |
cat > conftest.c <<EOF |
| 6136 |
< |
#ifdef __GNUC__ |
| 6137 |
< |
#ifndef __INTEL_COMPILER |
| 6138 |
< |
yes; |
| 6139 |
< |
#endif |
| 6140 |
< |
#endif |
| 6141 |
< |
EOF |
| 6142 |
< |
if { ac_try='${CC-cc} -E conftest.c' |
| 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); }; } | egrep yes >/dev/null 2>&1; then |
| 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 -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 |
> |
|
| 6724 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6725 |
> |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 6726 |
> |
_ACEOF |
| 6727 |
> |
|
| 6728 |
> |
else |
| 6729 |
> |
echo "$as_me: failed program was:" >&5 |
| 6730 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6731 |
> |
|
| 6732 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 6733 |
> |
echo "${ECHO_T}no" >&6 |
| 6734 |
> |
fi |
| 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 |
| 7153 |
> |
|
| 7154 |
> |
for ac_header in getopt.h |
| 7155 |
> |
do |
| 7156 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7157 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7158 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7159 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7160 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7161 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7162 |
> |
fi |
| 7163 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7164 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7165 |
> |
else |
| 7166 |
> |
# Is the header compilable? |
| 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 |
| 7170 |
> |
/* confdefs.h. */ |
| 7171 |
> |
_ACEOF |
| 7172 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7173 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7174 |
> |
/* end confdefs.h. */ |
| 7175 |
> |
$ac_includes_default |
| 7176 |
> |
#include <$ac_header> |
| 7177 |
> |
_ACEOF |
| 7178 |
> |
rm -f conftest.$ac_objext |
| 7179 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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 -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 |
| 7202 |
> |
echo "$as_me: failed program was:" >&5 |
| 7203 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7204 |
> |
|
| 7205 |
> |
ac_header_compiler=no |
| 7206 |
> |
fi |
| 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 |
> |
|
| 7211 |
> |
# Is the header present? |
| 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 |
| 7215 |
> |
/* confdefs.h. */ |
| 7216 |
> |
_ACEOF |
| 7217 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7218 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7219 |
> |
/* end confdefs.h. */ |
| 7220 |
> |
#include <$ac_header> |
| 7221 |
> |
_ACEOF |
| 7222 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 7223 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 7224 |
> |
ac_status=$? |
| 7225 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7226 |
> |
rm -f conftest.er1 |
| 7227 |
> |
cat conftest.err >&5 |
| 7228 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 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 |
| 7236 |
> |
else |
| 7237 |
> |
ac_cpp_err=yes |
| 7238 |
> |
fi |
| 7239 |
> |
if test -z "$ac_cpp_err"; then |
| 7240 |
> |
ac_header_preproc=yes |
| 7241 |
> |
else |
| 7242 |
> |
echo "$as_me: failed program was:" >&5 |
| 7243 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7244 |
> |
|
| 7245 |
> |
ac_header_preproc=no |
| 7246 |
> |
fi |
| 7247 |
> |
rm -f conftest.err conftest.$ac_ext |
| 7248 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7249 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7250 |
> |
|
| 7251 |
> |
# So? What about this header? |
| 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 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:* ) |
| 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;} |
| 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 gezelter@nd.edu ## |
| 7277 |
> |
## ------------------------------ ## |
| 7278 |
> |
_ASBOX |
| 7279 |
> |
) | |
| 7280 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7281 |
> |
;; |
| 7282 |
> |
esac |
| 7283 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7284 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 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" |
| 7289 |
> |
fi |
| 7290 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7291 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7292 |
> |
|
| 7293 |
> |
fi |
| 7294 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 7295 |
> |
cat >>confdefs.h <<_ACEOF |
| 7296 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7297 |
> |
_ACEOF |
| 7298 |
> |
|
| 7299 |
> |
fi |
| 7300 |
> |
|
| 7301 |
> |
done |
| 7302 |
> |
|
| 7303 |
> |
|
| 7304 |
> |
for ac_func in getopt_long |
| 7305 |
> |
do |
| 7306 |
> |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7307 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7308 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7309 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7310 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7311 |
> |
else |
| 7312 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 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" |
| 7338 |
> |
{ |
| 7339 |
> |
#endif |
| 7340 |
> |
/* We use char because int might match the return type of a gcc2 |
| 7341 |
> |
builtin and then its argument prototype would still apply. */ |
| 7342 |
> |
char $ac_func (); |
| 7343 |
> |
/* The GNU C library defines this for functions which it implements |
| 7344 |
> |
to always fail with ENOSYS. Some functions are actually named |
| 7345 |
> |
something starting with __ and the normal name is an alias. */ |
| 7346 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7347 |
> |
choke me |
| 7348 |
> |
#else |
| 7349 |
> |
char (*f) () = $ac_func; |
| 7350 |
> |
#endif |
| 7351 |
> |
#ifdef __cplusplus |
| 7352 |
> |
} |
| 7353 |
> |
#endif |
| 7354 |
> |
|
| 7355 |
> |
int |
| 7356 |
> |
main () |
| 7357 |
> |
{ |
| 7358 |
> |
return f != $ac_func; |
| 7359 |
> |
; |
| 7360 |
> |
return 0; |
| 7361 |
> |
} |
| 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>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 -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 |
| 7387 |
> |
echo "$as_me: failed program was:" >&5 |
| 7388 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7389 |
> |
|
| 7390 |
> |
eval "$as_ac_var=no" |
| 7391 |
> |
fi |
| 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 |
| 7397 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7398 |
> |
cat >>confdefs.h <<_ACEOF |
| 7399 |
> |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7400 |
> |
_ACEOF |
| 7401 |
> |
|
| 7402 |
> |
else |
| 7403 |
> |
# FreeBSD has a gnugetopt library for this |
| 7404 |
> |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 7405 |
> |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 7406 |
> |
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
| 7407 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7408 |
> |
else |
| 7409 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 7410 |
> |
LIBS="-lgnugetopt $LIBS" |
| 7411 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 7412 |
> |
/* confdefs.h. */ |
| 7413 |
> |
_ACEOF |
| 7414 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7415 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7416 |
> |
/* end confdefs.h. */ |
| 7417 |
> |
|
| 7418 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7419 |
> |
#ifdef __cplusplus |
| 7420 |
> |
extern "C" |
| 7421 |
> |
#endif |
| 7422 |
> |
/* We use char because int might match the return type of a gcc2 |
| 7423 |
> |
builtin and then its argument prototype would still apply. */ |
| 7424 |
> |
char getopt_long (); |
| 7425 |
> |
int |
| 7426 |
> |
main () |
| 7427 |
> |
{ |
| 7428 |
> |
getopt_long (); |
| 7429 |
> |
; |
| 7430 |
> |
return 0; |
| 7431 |
> |
} |
| 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>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 -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 |
| 7457 |
> |
echo "$as_me: failed program was:" >&5 |
| 7458 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7459 |
> |
|
| 7460 |
> |
ac_cv_lib_gnugetopt_getopt_long=no |
| 7461 |
> |
fi |
| 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 |
| 7467 |
> |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
| 7468 |
> |
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
| 7469 |
> |
cat >>confdefs.h <<\_ACEOF |
| 7470 |
> |
#define HAVE_GETOPT_LONG 1 |
| 7471 |
> |
_ACEOF |
| 7472 |
> |
|
| 7473 |
> |
else |
| 7474 |
> |
# use the GNU replacement |
| 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 |
| 7494 |
> |
|
| 7495 |
> |
fi |
| 7496 |
> |
done |
| 7497 |
> |
|
| 7498 |
> |
|
| 7499 |
> |
|
| 7500 |
> |
case $debug in |
| 7501 |
> |
1) |
| 7502 |
> |
;; |
| 7503 |
> |
*) |
| 7504 |
> |
|
| 7505 |
> |
|
| 7506 |
> |
|
| 7507 |
> |
|
| 7508 |
> |
|
| 7509 |
> |
|
| 7510 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 7511 |
> |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
| 7512 |
> |
if test "${ac_cv_prog_really_gcc+set}" = set; then |
| 7513 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7514 |
> |
else |
| 7515 |
> |
|
| 7516 |
> |
cat > conftest.c <<EOF |
| 7517 |
> |
#ifdef __GNUC__ |
| 7518 |
> |
#ifndef __INTEL_COMPILER |
| 7519 |
> |
yes; |
| 7520 |
> |
#endif |
| 7521 |
> |
#endif |
| 7522 |
> |
EOF |
| 7523 |
> |
if { ac_try='${CC-cc} -E conftest.c' |
| 7524 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7525 |
> |
(eval $ac_try) 2>&5 |
| 7526 |
> |
ac_status=$? |
| 7527 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7528 |
> |
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then |
| 7529 |
|
ac_cv_prog_really_gcc=yes |
| 7530 |
|
else |
| 7531 |
|
ac_cv_prog_really_gcc=no |
| 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 |
+ |
|
| 9339 |
|
|
| 9340 |
|
|
| 9341 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 9937 |
|
|
| 9938 |
|
save_CXXFLAGS="$CXXFLAGS" |
| 9939 |
|
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 9940 |
< |
|
| 8062 |
< |
ac_ext=cc |
| 8063 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 8064 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8065 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8066 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 8067 |
< |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 8068 |
< |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 8069 |
< |
if test -z "$CXXCPP"; then |
| 8070 |
< |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 8071 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8072 |
< |
else |
| 8073 |
< |
# Double quotes because CXXCPP needs to be expanded |
| 8074 |
< |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 8075 |
< |
do |
| 8076 |
< |
ac_preproc_ok=false |
| 8077 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
| 8078 |
< |
do |
| 8079 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 8080 |
< |
# with a fresh cross-compiler works. |
| 8081 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8082 |
< |
# <limits.h> exists even on freestanding compilers. |
| 8083 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8084 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8085 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8086 |
< |
/* confdefs.h. */ |
| 8087 |
< |
_ACEOF |
| 8088 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 8089 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8090 |
< |
/* end confdefs.h. */ |
| 8091 |
< |
#ifdef __STDC__ |
| 8092 |
< |
# include <limits.h> |
| 8093 |
< |
#else |
| 8094 |
< |
# include <assert.h> |
| 8095 |
< |
#endif |
| 8096 |
< |
Syntax error |
| 8097 |
< |
_ACEOF |
| 8098 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8099 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8100 |
< |
ac_status=$? |
| 8101 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8102 |
< |
rm -f conftest.er1 |
| 8103 |
< |
cat conftest.err >&5 |
| 8104 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8105 |
< |
(exit $ac_status); } >/dev/null; then |
| 8106 |
< |
if test -s conftest.err; then |
| 8107 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8108 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8109 |
< |
else |
| 8110 |
< |
ac_cpp_err= |
| 8111 |
< |
fi |
| 8112 |
< |
else |
| 8113 |
< |
ac_cpp_err=yes |
| 8114 |
< |
fi |
| 8115 |
< |
if test -z "$ac_cpp_err"; then |
| 8116 |
< |
: |
| 8117 |
< |
else |
| 8118 |
< |
echo "$as_me: failed program was:" >&5 |
| 8119 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8120 |
< |
|
| 8121 |
< |
# Broken: fails on valid input. |
| 8122 |
< |
continue |
| 8123 |
< |
fi |
| 8124 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8125 |
< |
|
| 8126 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 8127 |
< |
# can be detected and how. |
| 8128 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8129 |
< |
/* confdefs.h. */ |
| 8130 |
< |
_ACEOF |
| 8131 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 8132 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8133 |
< |
/* end confdefs.h. */ |
| 8134 |
< |
#include <ac_nonexistent.h> |
| 8135 |
< |
_ACEOF |
| 8136 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8137 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8138 |
< |
ac_status=$? |
| 8139 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8140 |
< |
rm -f conftest.er1 |
| 8141 |
< |
cat conftest.err >&5 |
| 8142 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8143 |
< |
(exit $ac_status); } >/dev/null; then |
| 8144 |
< |
if test -s conftest.err; then |
| 8145 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8146 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8147 |
< |
else |
| 8148 |
< |
ac_cpp_err= |
| 8149 |
< |
fi |
| 8150 |
< |
else |
| 8151 |
< |
ac_cpp_err=yes |
| 8152 |
< |
fi |
| 8153 |
< |
if test -z "$ac_cpp_err"; then |
| 8154 |
< |
# Broken: success on invalid input. |
| 8155 |
< |
continue |
| 8156 |
< |
else |
| 8157 |
< |
echo "$as_me: failed program was:" >&5 |
| 8158 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8159 |
< |
|
| 8160 |
< |
# Passes both tests. |
| 8161 |
< |
ac_preproc_ok=: |
| 8162 |
< |
break |
| 8163 |
< |
fi |
| 8164 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8165 |
< |
|
| 8166 |
< |
done |
| 8167 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8168 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8169 |
< |
if $ac_preproc_ok; then |
| 8170 |
< |
break |
| 8171 |
< |
fi |
| 8172 |
< |
|
| 8173 |
< |
done |
| 8174 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
| 8175 |
< |
|
| 8176 |
< |
fi |
| 8177 |
< |
CXXCPP=$ac_cv_prog_CXXCPP |
| 8178 |
< |
else |
| 8179 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
| 8180 |
< |
fi |
| 8181 |
< |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 8182 |
< |
echo "${ECHO_T}$CXXCPP" >&6 |
| 8183 |
< |
ac_preproc_ok=false |
| 8184 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
| 8185 |
< |
do |
| 8186 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 8187 |
< |
# with a fresh cross-compiler works. |
| 8188 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8189 |
< |
# <limits.h> exists even on freestanding compilers. |
| 8190 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8191 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8192 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8193 |
< |
/* confdefs.h. */ |
| 8194 |
< |
_ACEOF |
| 8195 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 8196 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8197 |
< |
/* end confdefs.h. */ |
| 8198 |
< |
#ifdef __STDC__ |
| 8199 |
< |
# include <limits.h> |
| 8200 |
< |
#else |
| 8201 |
< |
# include <assert.h> |
| 8202 |
< |
#endif |
| 8203 |
< |
Syntax error |
| 8204 |
< |
_ACEOF |
| 8205 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8206 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8207 |
< |
ac_status=$? |
| 8208 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8209 |
< |
rm -f conftest.er1 |
| 8210 |
< |
cat conftest.err >&5 |
| 8211 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8212 |
< |
(exit $ac_status); } >/dev/null; then |
| 8213 |
< |
if test -s conftest.err; then |
| 8214 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8215 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8216 |
< |
else |
| 8217 |
< |
ac_cpp_err= |
| 8218 |
< |
fi |
| 8219 |
< |
else |
| 8220 |
< |
ac_cpp_err=yes |
| 8221 |
< |
fi |
| 8222 |
< |
if test -z "$ac_cpp_err"; then |
| 8223 |
< |
: |
| 8224 |
< |
else |
| 8225 |
< |
echo "$as_me: failed program was:" >&5 |
| 8226 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8227 |
< |
|
| 8228 |
< |
# Broken: fails on valid input. |
| 8229 |
< |
continue |
| 8230 |
< |
fi |
| 8231 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8232 |
< |
|
| 8233 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 8234 |
< |
# can be detected and how. |
| 8235 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8236 |
< |
/* confdefs.h. */ |
| 8237 |
< |
_ACEOF |
| 8238 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 8239 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8240 |
< |
/* end confdefs.h. */ |
| 8241 |
< |
#include <ac_nonexistent.h> |
| 8242 |
< |
_ACEOF |
| 8243 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8244 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8245 |
< |
ac_status=$? |
| 8246 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8247 |
< |
rm -f conftest.er1 |
| 8248 |
< |
cat conftest.err >&5 |
| 8249 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8250 |
< |
(exit $ac_status); } >/dev/null; then |
| 8251 |
< |
if test -s conftest.err; then |
| 8252 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 8253 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 8254 |
< |
else |
| 8255 |
< |
ac_cpp_err= |
| 8256 |
< |
fi |
| 8257 |
< |
else |
| 8258 |
< |
ac_cpp_err=yes |
| 8259 |
< |
fi |
| 8260 |
< |
if test -z "$ac_cpp_err"; then |
| 8261 |
< |
# Broken: success on invalid input. |
| 8262 |
< |
continue |
| 8263 |
< |
else |
| 8264 |
< |
echo "$as_me: failed program was:" >&5 |
| 8265 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8266 |
< |
|
| 8267 |
< |
# Passes both tests. |
| 8268 |
< |
ac_preproc_ok=: |
| 8269 |
< |
break |
| 8270 |
< |
fi |
| 8271 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8272 |
< |
|
| 8273 |
< |
done |
| 8274 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8275 |
< |
rm -f conftest.err conftest.$ac_ext |
| 8276 |
< |
if $ac_preproc_ok; then |
| 8277 |
< |
: |
| 8278 |
< |
else |
| 8279 |
< |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 8280 |
< |
See \`config.log' for more details." >&5 |
| 8281 |
< |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 8282 |
< |
See \`config.log' for more details." >&2;} |
| 8283 |
< |
{ (exit 1); exit 1; }; } |
| 8284 |
< |
fi |
| 8285 |
< |
|
| 8286 |
< |
ac_ext=cc |
| 8287 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 8288 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8289 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8290 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 8291 |
< |
|
| 8292 |
< |
|
| 8293 |
< |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 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 |
| 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 |
| 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 |
| 9516 |
– |
s,@CXXCPP@,$CXXCPP,;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 |