| 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 CPP EGREP 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 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. |
| 777 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 778 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 779 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 780 |
+ |
ac_env_CPP_set=${CPP+set} |
| 781 |
+ |
ac_env_CPP_value=$CPP |
| 782 |
+ |
ac_cv_env_CPP_set=${CPP+set} |
| 783 |
+ |
ac_cv_env_CPP_value=$CPP |
| 784 |
|
ac_env_F90_set=${F90+set} |
| 785 |
|
ac_env_F90_value=$F90 |
| 786 |
|
ac_cv_env_F90_set=${F90+set} |
| 789 |
|
ac_env_F90FLAGS_value=$F90FLAGS |
| 790 |
|
ac_cv_env_F90FLAGS_set=${F90FLAGS+set} |
| 791 |
|
ac_cv_env_F90FLAGS_value=$F90FLAGS |
| 788 |
– |
ac_env_CPP_set=${CPP+set} |
| 789 |
– |
ac_env_CPP_value=$CPP |
| 790 |
– |
ac_cv_env_CPP_set=${CPP+set} |
| 791 |
– |
ac_cv_env_CPP_value=$CPP |
| 792 |
|
ac_env_CXXCPP_set=${CXXCPP+set} |
| 793 |
|
ac_env_CXXCPP_value=$CXXCPP |
| 794 |
|
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
| 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] |
| 896 |
|
headers in a nonstandard directory <include dir> |
| 897 |
|
CXX C++ compiler command |
| 898 |
|
CXXFLAGS C++ compiler flags |
| 899 |
+ |
CPP C preprocessor |
| 900 |
|
F90 Fortran 90 compiler command |
| 901 |
|
F90FLAGS Fortran 90 compiler flags |
| 898 |
– |
CPP C preprocessor |
| 902 |
|
CXXCPP C++ preprocessor |
| 903 |
|
|
| 904 |
|
Use these variables to override the choices made by `configure' or to help |
| 1894 |
|
|
| 1895 |
|
|
| 1896 |
|
|
| 1897 |
+ |
|
| 1898 |
+ |
|
| 1899 |
|
# set program name |
| 1900 |
|
PROGNAME="oopse" |
| 1901 |
|
|
| 1983 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1984 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1985 |
|
if test -n "$ac_tool_prefix"; then |
| 1986 |
< |
for ac_prog in icc xlc gcc cc |
| 1986 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 1987 |
|
do |
| 1988 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1989 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2025 |
|
fi |
| 2026 |
|
if test -z "$CC"; then |
| 2027 |
|
ac_ct_CC=$CC |
| 2028 |
< |
for ac_prog in icc xlc gcc cc |
| 2028 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 2029 |
|
do |
| 2030 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2031 |
|
set dummy $ac_prog; ac_word=$2 |
| 2697 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2698 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2699 |
|
if test -n "$ac_tool_prefix"; then |
| 2700 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2700 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2701 |
|
do |
| 2702 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2703 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2739 |
|
fi |
| 2740 |
|
if test -z "$CXX"; then |
| 2741 |
|
ac_ct_CXX=$CXX |
| 2742 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2742 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2743 |
|
do |
| 2744 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2745 |
|
set dummy $ac_prog; ac_word=$2 |
| 3045 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3046 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3047 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3048 |
+ |
|
| 3049 |
+ |
|
| 3050 |
+ |
ac_ext=c |
| 3051 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3052 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3053 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3054 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3055 |
+ |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3056 |
+ |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3057 |
+ |
# On Suns, sometimes $CPP names a directory. |
| 3058 |
+ |
if test -n "$CPP" && test -d "$CPP"; then |
| 3059 |
+ |
CPP= |
| 3060 |
+ |
fi |
| 3061 |
+ |
if test -z "$CPP"; then |
| 3062 |
+ |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 3063 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3064 |
+ |
else |
| 3065 |
+ |
# Double quotes because CPP needs to be expanded |
| 3066 |
+ |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3067 |
+ |
do |
| 3068 |
+ |
ac_preproc_ok=false |
| 3069 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3070 |
+ |
do |
| 3071 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3072 |
+ |
# with a fresh cross-compiler works. |
| 3073 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3074 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3075 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3076 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3077 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3078 |
+ |
/* confdefs.h. */ |
| 3079 |
+ |
_ACEOF |
| 3080 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3081 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3082 |
+ |
/* end confdefs.h. */ |
| 3083 |
+ |
#ifdef __STDC__ |
| 3084 |
+ |
# include <limits.h> |
| 3085 |
+ |
#else |
| 3086 |
+ |
# include <assert.h> |
| 3087 |
+ |
#endif |
| 3088 |
+ |
Syntax error |
| 3089 |
+ |
_ACEOF |
| 3090 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3091 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3092 |
+ |
ac_status=$? |
| 3093 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3094 |
+ |
rm -f conftest.er1 |
| 3095 |
+ |
cat conftest.err >&5 |
| 3096 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3097 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3098 |
+ |
if test -s conftest.err; then |
| 3099 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3100 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3101 |
+ |
else |
| 3102 |
+ |
ac_cpp_err= |
| 3103 |
+ |
fi |
| 3104 |
+ |
else |
| 3105 |
+ |
ac_cpp_err=yes |
| 3106 |
+ |
fi |
| 3107 |
+ |
if test -z "$ac_cpp_err"; then |
| 3108 |
+ |
: |
| 3109 |
+ |
else |
| 3110 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3111 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3112 |
+ |
|
| 3113 |
+ |
# Broken: fails on valid input. |
| 3114 |
+ |
continue |
| 3115 |
+ |
fi |
| 3116 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3117 |
+ |
|
| 3118 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3119 |
+ |
# can be detected and how. |
| 3120 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3121 |
+ |
/* confdefs.h. */ |
| 3122 |
+ |
_ACEOF |
| 3123 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3124 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3125 |
+ |
/* end confdefs.h. */ |
| 3126 |
+ |
#include <ac_nonexistent.h> |
| 3127 |
+ |
_ACEOF |
| 3128 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3129 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3130 |
+ |
ac_status=$? |
| 3131 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3132 |
+ |
rm -f conftest.er1 |
| 3133 |
+ |
cat conftest.err >&5 |
| 3134 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3135 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3136 |
+ |
if test -s conftest.err; then |
| 3137 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3138 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3139 |
+ |
else |
| 3140 |
+ |
ac_cpp_err= |
| 3141 |
+ |
fi |
| 3142 |
+ |
else |
| 3143 |
+ |
ac_cpp_err=yes |
| 3144 |
+ |
fi |
| 3145 |
+ |
if test -z "$ac_cpp_err"; then |
| 3146 |
+ |
# Broken: success on invalid input. |
| 3147 |
+ |
continue |
| 3148 |
+ |
else |
| 3149 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3150 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3151 |
+ |
|
| 3152 |
+ |
# Passes both tests. |
| 3153 |
+ |
ac_preproc_ok=: |
| 3154 |
+ |
break |
| 3155 |
+ |
fi |
| 3156 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3157 |
+ |
|
| 3158 |
+ |
done |
| 3159 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3160 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3161 |
+ |
if $ac_preproc_ok; then |
| 3162 |
+ |
break |
| 3163 |
+ |
fi |
| 3164 |
+ |
|
| 3165 |
+ |
done |
| 3166 |
+ |
ac_cv_prog_CPP=$CPP |
| 3167 |
+ |
|
| 3168 |
+ |
fi |
| 3169 |
+ |
CPP=$ac_cv_prog_CPP |
| 3170 |
+ |
else |
| 3171 |
+ |
ac_cv_prog_CPP=$CPP |
| 3172 |
+ |
fi |
| 3173 |
+ |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3174 |
+ |
echo "${ECHO_T}$CPP" >&6 |
| 3175 |
+ |
ac_preproc_ok=false |
| 3176 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3177 |
+ |
do |
| 3178 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3179 |
+ |
# with a fresh cross-compiler works. |
| 3180 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3181 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3182 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3183 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3184 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3185 |
+ |
/* confdefs.h. */ |
| 3186 |
+ |
_ACEOF |
| 3187 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3188 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3189 |
+ |
/* end confdefs.h. */ |
| 3190 |
+ |
#ifdef __STDC__ |
| 3191 |
+ |
# include <limits.h> |
| 3192 |
+ |
#else |
| 3193 |
+ |
# include <assert.h> |
| 3194 |
+ |
#endif |
| 3195 |
+ |
Syntax error |
| 3196 |
+ |
_ACEOF |
| 3197 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3198 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3199 |
+ |
ac_status=$? |
| 3200 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3201 |
+ |
rm -f conftest.er1 |
| 3202 |
+ |
cat conftest.err >&5 |
| 3203 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3204 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3205 |
+ |
if test -s conftest.err; then |
| 3206 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3207 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3208 |
+ |
else |
| 3209 |
+ |
ac_cpp_err= |
| 3210 |
+ |
fi |
| 3211 |
+ |
else |
| 3212 |
+ |
ac_cpp_err=yes |
| 3213 |
+ |
fi |
| 3214 |
+ |
if test -z "$ac_cpp_err"; then |
| 3215 |
+ |
: |
| 3216 |
+ |
else |
| 3217 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3218 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3219 |
+ |
|
| 3220 |
+ |
# Broken: fails on valid input. |
| 3221 |
+ |
continue |
| 3222 |
+ |
fi |
| 3223 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3224 |
+ |
|
| 3225 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3226 |
+ |
# can be detected and how. |
| 3227 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3228 |
+ |
/* confdefs.h. */ |
| 3229 |
+ |
_ACEOF |
| 3230 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3231 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3232 |
+ |
/* end confdefs.h. */ |
| 3233 |
+ |
#include <ac_nonexistent.h> |
| 3234 |
+ |
_ACEOF |
| 3235 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3236 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3237 |
+ |
ac_status=$? |
| 3238 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3239 |
+ |
rm -f conftest.er1 |
| 3240 |
+ |
cat conftest.err >&5 |
| 3241 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3242 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3243 |
+ |
if test -s conftest.err; then |
| 3244 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3245 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3246 |
+ |
else |
| 3247 |
+ |
ac_cpp_err= |
| 3248 |
+ |
fi |
| 3249 |
+ |
else |
| 3250 |
+ |
ac_cpp_err=yes |
| 3251 |
+ |
fi |
| 3252 |
+ |
if test -z "$ac_cpp_err"; then |
| 3253 |
+ |
# Broken: success on invalid input. |
| 3254 |
+ |
continue |
| 3255 |
+ |
else |
| 3256 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3257 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3258 |
+ |
|
| 3259 |
+ |
# Passes both tests. |
| 3260 |
+ |
ac_preproc_ok=: |
| 3261 |
+ |
break |
| 3262 |
+ |
fi |
| 3263 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3264 |
+ |
|
| 3265 |
+ |
done |
| 3266 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3267 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3268 |
+ |
if $ac_preproc_ok; then |
| 3269 |
+ |
: |
| 3270 |
+ |
else |
| 3271 |
+ |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3272 |
+ |
See \`config.log' for more details." >&5 |
| 3273 |
+ |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 3274 |
+ |
See \`config.log' for more details." >&2;} |
| 3275 |
+ |
{ (exit 1); exit 1; }; } |
| 3276 |
+ |
fi |
| 3277 |
+ |
|
| 3278 |
+ |
ac_ext=c |
| 3279 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3280 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3281 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3282 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3283 |
+ |
|
| 3284 |
+ |
|
| 3285 |
+ |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3286 |
+ |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3287 |
+ |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3288 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3289 |
+ |
else |
| 3290 |
+ |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3291 |
+ |
then ac_cv_prog_egrep='grep -E' |
| 3292 |
+ |
else ac_cv_prog_egrep='egrep' |
| 3293 |
+ |
fi |
| 3294 |
+ |
fi |
| 3295 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3296 |
+ |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3297 |
+ |
EGREP=$ac_cv_prog_egrep |
| 3298 |
|
|
| 3299 |
|
|
| 3300 |
+ |
|
| 3301 |
|
OOPSE_TEMPLATE_FLAGS="" |
| 3302 |
|
if test $ac_cv_cxx_compiler_gnu = no; then |
| 3303 |
|
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
| 3359 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3360 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
| 3361 |
|
if test -n "$ac_tool_prefix"; then |
| 3362 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3362 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3363 |
|
do |
| 3364 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3365 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3401 |
|
fi |
| 3402 |
|
if test -z "$F90"; then |
| 3403 |
|
ac_ct_F90=$F90 |
| 3404 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3404 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3405 |
|
do |
| 3406 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3407 |
|
set dummy $ac_prog; ac_word=$2 |
| 3806 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3807 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3808 |
|
|
| 3809 |
< |
(eval echo $as_me:3553: \"$ac_link\") >&5 |
| 3809 |
> |
(eval echo $as_me:3809: \"$ac_link\") >&5 |
| 3810 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3811 |
|
echo "$ac_f90_v_output" >&5 |
| 3812 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3883 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3884 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3885 |
|
|
| 3886 |
< |
(eval echo $as_me:3630: \"$ac_link\") >&5 |
| 3886 |
> |
(eval echo $as_me:3886: \"$ac_link\") >&5 |
| 3887 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3888 |
|
echo "$ac_f90_v_output" >&5 |
| 3889 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 4715 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4716 |
|
|
| 4717 |
|
|
| 4718 |
< |
ac_ext=c |
| 4719 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4720 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4721 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4722 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4718 |
> |
ac_ext=cc |
| 4719 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 4720 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4721 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4722 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4723 |
|
|
| 4724 |
< |
ac_ext=c |
| 4725 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4726 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4727 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4728 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4473 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4474 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4475 |
< |
# On Suns, sometimes $CPP names a directory. |
| 4476 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 4477 |
< |
CPP= |
| 4478 |
< |
fi |
| 4479 |
< |
if test -z "$CPP"; then |
| 4480 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 4724 |
> |
|
| 4725 |
> |
|
| 4726 |
> |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 4727 |
> |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
| 4728 |
> |
if test "${ac_cv_lib_m_asin+set}" = set; then |
| 4729 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4730 |
|
else |
| 4731 |
< |
# Double quotes because CPP needs to be expanded |
| 4732 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4733 |
< |
do |
| 4486 |
< |
ac_preproc_ok=false |
| 4487 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 4488 |
< |
do |
| 4489 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 4490 |
< |
# with a fresh cross-compiler works. |
| 4491 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4492 |
< |
# <limits.h> exists even on freestanding compilers. |
| 4493 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4494 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4495 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4731 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 4732 |
> |
LIBS="-lm $LIBS" |
| 4733 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4734 |
|
/* confdefs.h. */ |
| 4735 |
|
_ACEOF |
| 4736 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4737 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4738 |
|
/* end confdefs.h. */ |
| 4739 |
< |
#ifdef __STDC__ |
| 4740 |
< |
# include <limits.h> |
| 4741 |
< |
#else |
| 4742 |
< |
# include <assert.h> |
| 4743 |
< |
#endif |
| 4744 |
< |
Syntax error |
| 4739 |
> |
|
| 4740 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4741 |
> |
#ifdef __cplusplus |
| 4742 |
> |
extern "C" |
| 4743 |
> |
#endif |
| 4744 |
> |
/* We use char because int might match the return type of a gcc2 |
| 4745 |
> |
builtin and then its argument prototype would still apply. */ |
| 4746 |
> |
char asin (); |
| 4747 |
> |
int |
| 4748 |
> |
main () |
| 4749 |
> |
{ |
| 4750 |
> |
asin (); |
| 4751 |
> |
; |
| 4752 |
> |
return 0; |
| 4753 |
> |
} |
| 4754 |
|
_ACEOF |
| 4755 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4756 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4755 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4756 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4757 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4758 |
|
ac_status=$? |
| 4759 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4760 |
|
rm -f conftest.er1 |
| 4761 |
|
cat conftest.err >&5 |
| 4762 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4763 |
< |
(exit $ac_status); } >/dev/null; then |
| 4764 |
< |
if test -s conftest.err; then |
| 4765 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4766 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4767 |
< |
else |
| 4520 |
< |
ac_cpp_err= |
| 4521 |
< |
fi |
| 4522 |
< |
else |
| 4523 |
< |
ac_cpp_err=yes |
| 4524 |
< |
fi |
| 4525 |
< |
if test -z "$ac_cpp_err"; then |
| 4526 |
< |
: |
| 4527 |
< |
else |
| 4528 |
< |
echo "$as_me: failed program was:" >&5 |
| 4529 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4530 |
< |
|
| 4531 |
< |
# Broken: fails on valid input. |
| 4532 |
< |
continue |
| 4533 |
< |
fi |
| 4534 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4535 |
< |
|
| 4536 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 4537 |
< |
# can be detected and how. |
| 4538 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4539 |
< |
/* confdefs.h. */ |
| 4540 |
< |
_ACEOF |
| 4541 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4542 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4543 |
< |
/* end confdefs.h. */ |
| 4544 |
< |
#include <ac_nonexistent.h> |
| 4545 |
< |
_ACEOF |
| 4546 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4547 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4763 |
> |
(exit $ac_status); } && |
| 4764 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 4765 |
> |
|| test ! -s conftest.err' |
| 4766 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4767 |
> |
(eval $ac_try) 2>&5 |
| 4768 |
|
ac_status=$? |
| 4549 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4550 |
– |
rm -f conftest.er1 |
| 4551 |
– |
cat conftest.err >&5 |
| 4769 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4770 |
< |
(exit $ac_status); } >/dev/null; then |
| 4771 |
< |
if test -s conftest.err; then |
| 4772 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4773 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4774 |
< |
else |
| 4775 |
< |
ac_cpp_err= |
| 4776 |
< |
fi |
| 4770 |
> |
(exit $ac_status); }; } && |
| 4771 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4772 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4773 |
> |
(eval $ac_try) 2>&5 |
| 4774 |
> |
ac_status=$? |
| 4775 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4776 |
> |
(exit $ac_status); }; }; then |
| 4777 |
> |
ac_cv_lib_m_asin=yes |
| 4778 |
|
else |
| 4561 |
– |
ac_cpp_err=yes |
| 4562 |
– |
fi |
| 4563 |
– |
if test -z "$ac_cpp_err"; then |
| 4564 |
– |
# Broken: success on invalid input. |
| 4565 |
– |
continue |
| 4566 |
– |
else |
| 4779 |
|
echo "$as_me: failed program was:" >&5 |
| 4780 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4781 |
|
|
| 4782 |
< |
# Passes both tests. |
| 4571 |
< |
ac_preproc_ok=: |
| 4572 |
< |
break |
| 4782 |
> |
ac_cv_lib_m_asin=no |
| 4783 |
|
fi |
| 4784 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4785 |
< |
|
| 4786 |
< |
done |
| 4577 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4578 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4579 |
< |
if $ac_preproc_ok; then |
| 4580 |
< |
break |
| 4784 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4785 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4786 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 4787 |
|
fi |
| 4788 |
< |
|
| 4789 |
< |
done |
| 4790 |
< |
ac_cv_prog_CPP=$CPP |
| 4791 |
< |
|
| 4792 |
< |
fi |
| 4587 |
< |
CPP=$ac_cv_prog_CPP |
| 4588 |
< |
else |
| 4589 |
< |
ac_cv_prog_CPP=$CPP |
| 4590 |
< |
fi |
| 4591 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4592 |
< |
echo "${ECHO_T}$CPP" >&6 |
| 4593 |
< |
ac_preproc_ok=false |
| 4594 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 4595 |
< |
do |
| 4596 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 4597 |
< |
# with a fresh cross-compiler works. |
| 4598 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4599 |
< |
# <limits.h> exists even on freestanding compilers. |
| 4600 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4601 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4602 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4603 |
< |
/* confdefs.h. */ |
| 4788 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 4789 |
> |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
| 4790 |
> |
if test $ac_cv_lib_m_asin = yes; then |
| 4791 |
> |
cat >>confdefs.h <<_ACEOF |
| 4792 |
> |
#define HAVE_LIBM 1 |
| 4793 |
|
_ACEOF |
| 4605 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4606 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4607 |
– |
/* end confdefs.h. */ |
| 4608 |
– |
#ifdef __STDC__ |
| 4609 |
– |
# include <limits.h> |
| 4610 |
– |
#else |
| 4611 |
– |
# include <assert.h> |
| 4612 |
– |
#endif |
| 4613 |
– |
Syntax error |
| 4614 |
– |
_ACEOF |
| 4615 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4616 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4617 |
– |
ac_status=$? |
| 4618 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4619 |
– |
rm -f conftest.er1 |
| 4620 |
– |
cat conftest.err >&5 |
| 4621 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4622 |
– |
(exit $ac_status); } >/dev/null; then |
| 4623 |
– |
if test -s conftest.err; then |
| 4624 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4625 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4626 |
– |
else |
| 4627 |
– |
ac_cpp_err= |
| 4628 |
– |
fi |
| 4629 |
– |
else |
| 4630 |
– |
ac_cpp_err=yes |
| 4631 |
– |
fi |
| 4632 |
– |
if test -z "$ac_cpp_err"; then |
| 4633 |
– |
: |
| 4634 |
– |
else |
| 4635 |
– |
echo "$as_me: failed program was:" >&5 |
| 4636 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4794 |
|
|
| 4795 |
< |
# Broken: fails on valid input. |
| 4639 |
< |
continue |
| 4640 |
< |
fi |
| 4641 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4795 |
> |
LIBS="-lm $LIBS" |
| 4796 |
|
|
| 4643 |
– |
# OK, works on sane cases. Now check whether non-existent headers |
| 4644 |
– |
# can be detected and how. |
| 4645 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4646 |
– |
/* confdefs.h. */ |
| 4647 |
– |
_ACEOF |
| 4648 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4649 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4650 |
– |
/* end confdefs.h. */ |
| 4651 |
– |
#include <ac_nonexistent.h> |
| 4652 |
– |
_ACEOF |
| 4653 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4654 |
– |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4655 |
– |
ac_status=$? |
| 4656 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4657 |
– |
rm -f conftest.er1 |
| 4658 |
– |
cat conftest.err >&5 |
| 4659 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4660 |
– |
(exit $ac_status); } >/dev/null; then |
| 4661 |
– |
if test -s conftest.err; then |
| 4662 |
– |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4663 |
– |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4664 |
– |
else |
| 4665 |
– |
ac_cpp_err= |
| 4666 |
– |
fi |
| 4797 |
|
else |
| 4798 |
< |
ac_cpp_err=yes |
| 4669 |
< |
fi |
| 4670 |
< |
if test -z "$ac_cpp_err"; then |
| 4671 |
< |
# Broken: success on invalid input. |
| 4672 |
< |
continue |
| 4673 |
< |
else |
| 4674 |
< |
echo "$as_me: failed program was:" >&5 |
| 4675 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4676 |
< |
|
| 4677 |
< |
# Passes both tests. |
| 4678 |
< |
ac_preproc_ok=: |
| 4679 |
< |
break |
| 4798 |
> |
exit |
| 4799 |
|
fi |
| 4681 |
– |
rm -f conftest.err conftest.$ac_ext |
| 4800 |
|
|
| 4683 |
– |
done |
| 4684 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4685 |
– |
rm -f conftest.err conftest.$ac_ext |
| 4686 |
– |
if $ac_preproc_ok; then |
| 4687 |
– |
: |
| 4688 |
– |
else |
| 4689 |
– |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4690 |
– |
See \`config.log' for more details." >&5 |
| 4691 |
– |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4692 |
– |
See \`config.log' for more details." >&2;} |
| 4693 |
– |
{ (exit 1); exit 1; }; } |
| 4694 |
– |
fi |
| 4801 |
|
|
| 4802 |
|
ac_ext=c |
| 4803 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 4806 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4807 |
|
|
| 4808 |
|
|
| 4703 |
– |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4704 |
– |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4705 |
– |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4706 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4707 |
– |
else |
| 4708 |
– |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4709 |
– |
then ac_cv_prog_egrep='grep -E' |
| 4710 |
– |
else ac_cv_prog_egrep='egrep' |
| 4711 |
– |
fi |
| 4712 |
– |
fi |
| 4713 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 4714 |
– |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 4715 |
– |
EGREP=$ac_cv_prog_egrep |
| 4716 |
– |
|
| 4717 |
– |
|
| 4809 |
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4810 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4811 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
| 5044 |
|
done |
| 5045 |
|
|
| 5046 |
|
|
| 5047 |
+ |
# |
| 5048 |
+ |
# Handle user hints |
| 5049 |
+ |
# |
| 5050 |
+ |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 5051 |
+ |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 5052 |
|
|
| 5053 |
+ |
# Check whether --with-zlib or --without-zlib was given. |
| 5054 |
+ |
if test "${with_zlib+set}" = set; then |
| 5055 |
+ |
withval="$with_zlib" |
| 5056 |
+ |
if test "$withval" != no ; then |
| 5057 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5058 |
+ |
echo "${ECHO_T}yes" >&6 |
| 5059 |
+ |
if test -d "$withval" |
| 5060 |
+ |
then |
| 5061 |
+ |
ZLIB_HOME="$withval" |
| 5062 |
+ |
else |
| 5063 |
+ |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 5064 |
+ |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 5065 |
+ |
fi |
| 5066 |
+ |
else |
| 5067 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 5068 |
+ |
echo "${ECHO_T}no" >&6 |
| 5069 |
+ |
fi |
| 5070 |
+ |
fi; |
| 5071 |
|
|
| 5072 |
+ |
ZLIB_HOME=/usr/local |
| 5073 |
+ |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 5074 |
+ |
then |
| 5075 |
+ |
ZLIB_HOME=/usr |
| 5076 |
+ |
fi |
| 5077 |
|
|
| 5078 |
+ |
# |
| 5079 |
+ |
# Locate zlib, if wanted |
| 5080 |
+ |
# |
| 5081 |
+ |
if test -n "${ZLIB_HOME}" |
| 5082 |
+ |
then |
| 5083 |
+ |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 5084 |
+ |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 5085 |
+ |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5086 |
+ |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5087 |
|
|
| 5088 |
|
|
| 5089 |
+ |
ac_ext=c |
| 5090 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 5091 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5092 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5093 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5094 |
|
|
| 5095 |
+ |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5096 |
+ |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5097 |
+ |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5098 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5099 |
+ |
else |
| 5100 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 5101 |
+ |
LIBS="-lz $LIBS" |
| 5102 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 5103 |
+ |
/* confdefs.h. */ |
| 5104 |
+ |
_ACEOF |
| 5105 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 5106 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 5107 |
+ |
/* end confdefs.h. */ |
| 5108 |
|
|
| 5109 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5110 |
+ |
#ifdef __cplusplus |
| 5111 |
+ |
extern "C" |
| 5112 |
+ |
#endif |
| 5113 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 5114 |
+ |
builtin and then its argument prototype would still apply. */ |
| 5115 |
+ |
char inflateEnd (); |
| 5116 |
+ |
int |
| 5117 |
+ |
main () |
| 5118 |
+ |
{ |
| 5119 |
+ |
inflateEnd (); |
| 5120 |
+ |
; |
| 5121 |
+ |
return 0; |
| 5122 |
+ |
} |
| 5123 |
+ |
_ACEOF |
| 5124 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5125 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5126 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 5127 |
+ |
ac_status=$? |
| 5128 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5129 |
+ |
rm -f conftest.er1 |
| 5130 |
+ |
cat conftest.err >&5 |
| 5131 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5132 |
+ |
(exit $ac_status); } && |
| 5133 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5134 |
+ |
|| test ! -s conftest.err' |
| 5135 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5136 |
+ |
(eval $ac_try) 2>&5 |
| 5137 |
+ |
ac_status=$? |
| 5138 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5139 |
+ |
(exit $ac_status); }; } && |
| 5140 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 5141 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5142 |
+ |
(eval $ac_try) 2>&5 |
| 5143 |
+ |
ac_status=$? |
| 5144 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5145 |
+ |
(exit $ac_status); }; }; then |
| 5146 |
+ |
ac_cv_lib_z_inflateEnd=yes |
| 5147 |
+ |
else |
| 5148 |
+ |
echo "$as_me: failed program was:" >&5 |
| 5149 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5150 |
|
|
| 5151 |
+ |
ac_cv_lib_z_inflateEnd=no |
| 5152 |
+ |
fi |
| 5153 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 5154 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 5155 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 5156 |
+ |
fi |
| 5157 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5158 |
+ |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5159 |
+ |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5160 |
+ |
zlib_cv_libz=yes |
| 5161 |
+ |
else |
| 5162 |
+ |
zlib_cv_libz=no |
| 5163 |
+ |
fi |
| 5164 |
|
|
| 5165 |
< |
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 |
| 5166 |
< |
do |
| 5167 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5168 |
< |
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 |
| 5165 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5166 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5167 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5168 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5169 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5170 |
|
fi |
| 5171 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5172 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5171 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5172 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5173 |
|
else |
| 5174 |
|
# Is the header compilable? |
| 5175 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5176 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5175 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 5176 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 5177 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5178 |
|
/* confdefs.h. */ |
| 5179 |
|
_ACEOF |
| 5181 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5182 |
|
/* end confdefs.h. */ |
| 5183 |
|
$ac_includes_default |
| 5184 |
< |
#include <$ac_header> |
| 5184 |
> |
#include <zlib.h> |
| 5185 |
|
_ACEOF |
| 5186 |
|
rm -f conftest.$ac_objext |
| 5187 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5217 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5218 |
|
|
| 5219 |
|
# Is the header present? |
| 5220 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5221 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5220 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 5221 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 5222 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5223 |
|
/* confdefs.h. */ |
| 5224 |
|
_ACEOF |
| 5225 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5226 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5227 |
|
/* end confdefs.h. */ |
| 5228 |
< |
#include <$ac_header> |
| 5228 |
> |
#include <zlib.h> |
| 5229 |
|
_ACEOF |
| 5230 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5231 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5259 |
|
# So? What about this header? |
| 5260 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5261 |
|
yes:no: ) |
| 5262 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5263 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5264 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5265 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5262 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5263 |
> |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5264 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 5265 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 5266 |
|
ac_header_preproc=yes |
| 5267 |
|
;; |
| 5268 |
|
no:yes:* ) |
| 5269 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5270 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5271 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5272 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5273 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5274 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5275 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5276 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5277 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5278 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5279 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5280 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5269 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
| 5270 |
> |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 5271 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 5272 |
> |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 5273 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 5274 |
> |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 5275 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 5276 |
> |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5277 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 5278 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 5279 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 5280 |
> |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 5281 |
|
( |
| 5282 |
|
cat <<\_ASBOX |
| 5283 |
|
## ------------------------------ ## |
| 5288 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 5289 |
|
;; |
| 5290 |
|
esac |
| 5291 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5292 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5293 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5291 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5292 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5293 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5294 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5295 |
|
else |
| 5296 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5296 |
> |
ac_cv_header_zlib_h=$ac_header_preproc |
| 5297 |
|
fi |
| 5298 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5299 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5298 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5299 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 5300 |
|
|
| 5301 |
|
fi |
| 5302 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5303 |
< |
cat >>confdefs.h <<_ACEOF |
| 5304 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5305 |
< |
_ACEOF |
| 5109 |
< |
|
| 5302 |
> |
if test $ac_cv_header_zlib_h = yes; then |
| 5303 |
> |
zlib_cv_zlib_h=yes |
| 5304 |
> |
else |
| 5305 |
> |
zlib_cv_zlib_h=no |
| 5306 |
|
fi |
| 5307 |
|
|
| 5112 |
– |
done |
| 5308 |
|
|
| 5309 |
+ |
ac_ext=c |
| 5310 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 5311 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5312 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5313 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5314 |
|
|
| 5315 |
+ |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 5316 |
+ |
then |
| 5317 |
+ |
# |
| 5318 |
+ |
# If both library and header were found, use them |
| 5319 |
+ |
# |
| 5320 |
|
|
| 5321 |
< |
|
| 5322 |
< |
|
| 5323 |
< |
|
| 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 |
| 5321 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5322 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5323 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5324 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5325 |
|
else |
| 5326 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 5326 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 5327 |
> |
LIBS="-lz $LIBS" |
| 5328 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5329 |
|
/* confdefs.h. */ |
| 5330 |
|
_ACEOF |
| 5331 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5332 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5333 |
|
/* 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 |
| 5136 |
– |
|
| 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. */ |
| 5334 |
|
|
| 5142 |
– |
#ifdef __STDC__ |
| 5143 |
– |
# include <limits.h> |
| 5144 |
– |
#else |
| 5145 |
– |
# include <assert.h> |
| 5146 |
– |
#endif |
| 5147 |
– |
|
| 5148 |
– |
#undef $ac_func |
| 5149 |
– |
|
| 5335 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5336 |
|
#ifdef __cplusplus |
| 5337 |
|
extern "C" |
| 5153 |
– |
{ |
| 5338 |
|
#endif |
| 5339 |
|
/* We use char because int might match the return type of a gcc2 |
| 5340 |
|
builtin and then its argument prototype would still apply. */ |
| 5341 |
< |
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 |
< |
|
| 5341 |
> |
char inflateEnd (); |
| 5342 |
|
int |
| 5343 |
|
main () |
| 5344 |
|
{ |
| 5345 |
< |
return f != $ac_func; |
| 5345 |
> |
inflateEnd (); |
| 5346 |
|
; |
| 5347 |
|
return 0; |
| 5348 |
|
} |
| 5369 |
|
ac_status=$? |
| 5370 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5371 |
|
(exit $ac_status); }; }; then |
| 5372 |
< |
eval "$as_ac_var=yes" |
| 5372 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 5373 |
|
else |
| 5374 |
|
echo "$as_me: failed program was:" >&5 |
| 5375 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5376 |
|
|
| 5377 |
< |
eval "$as_ac_var=no" |
| 5377 |
> |
ac_cv_lib_z_inflateEnd=no |
| 5378 |
|
fi |
| 5379 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 5380 |
|
conftest$ac_exeext conftest.$ac_ext |
| 5381 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 5382 |
|
fi |
| 5383 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 5384 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 5385 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 5383 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5384 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5385 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5386 |
|
cat >>confdefs.h <<_ACEOF |
| 5387 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5387 |
> |
#define HAVE_LIBZ 1 |
| 5388 |
|
_ACEOF |
| 5389 |
|
|
| 5390 |
+ |
LIBS="-lz $LIBS" |
| 5391 |
+ |
|
| 5392 |
|
fi |
| 5218 |
– |
done |
| 5393 |
|
|
| 5394 |
< |
# special check for _system_configuration because AIX <4.3.2 do not |
| 5395 |
< |
# contain the `physmem' member. |
| 5396 |
< |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 5397 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 5394 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5395 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5396 |
> |
echo "$as_me:$LINENO: result: ok" >&5 |
| 5397 |
> |
echo "${ECHO_T}ok" >&6 |
| 5398 |
> |
else |
| 5399 |
> |
# |
| 5400 |
> |
# If either header or library was not found, revert and bomb |
| 5401 |
> |
# |
| 5402 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5403 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5404 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 5405 |
> |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 5406 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 5407 |
> |
echo "${ECHO_T}failed" >&6 |
| 5408 |
> |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 5409 |
> |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 5410 |
> |
{ (exit 1); exit 1; }; } |
| 5411 |
> |
fi |
| 5412 |
> |
fi |
| 5413 |
> |
|
| 5414 |
> |
|
| 5415 |
> |
|
| 5416 |
> |
|
| 5417 |
> |
|
| 5418 |
> |
|
| 5419 |
> |
|
| 5420 |
> |
|
| 5421 |
> |
for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h |
| 5422 |
> |
do |
| 5423 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5424 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5425 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5426 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5427 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5428 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5429 |
> |
fi |
| 5430 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5431 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5432 |
> |
else |
| 5433 |
> |
# Is the header compilable? |
| 5434 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5435 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5436 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5437 |
|
/* confdefs.h. */ |
| 5438 |
|
_ACEOF |
| 5439 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5440 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5441 |
|
/* end confdefs.h. */ |
| 5442 |
< |
#include <sys/systemcfg.h> |
| 5443 |
< |
int |
| 5232 |
< |
main () |
| 5233 |
< |
{ |
| 5234 |
< |
double x = _system_configuration.physmem; |
| 5235 |
< |
; |
| 5236 |
< |
return 0; |
| 5237 |
< |
} |
| 5442 |
> |
$ac_includes_default |
| 5443 |
> |
#include <$ac_header> |
| 5444 |
|
_ACEOF |
| 5445 |
|
rm -f conftest.$ac_objext |
| 5446 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5464 |
|
ac_status=$? |
| 5465 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5466 |
|
(exit $ac_status); }; }; then |
| 5467 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5262 |
< |
echo "${ECHO_T}yes" >&6 |
| 5263 |
< |
|
| 5264 |
< |
cat >>confdefs.h <<\_ACEOF |
| 5265 |
< |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 5266 |
< |
_ACEOF |
| 5267 |
< |
|
| 5467 |
> |
ac_header_compiler=yes |
| 5468 |
|
else |
| 5469 |
|
echo "$as_me: failed program was:" >&5 |
| 5470 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5471 |
|
|
| 5472 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5273 |
< |
echo "${ECHO_T}no" >&6 |
| 5472 |
> |
ac_header_compiler=no |
| 5473 |
|
fi |
| 5474 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5475 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5476 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5477 |
|
|
| 5478 |
< |
# clean out junk possibly left behind by a previous configuration |
| 5479 |
< |
rm -f src/getopt.h |
| 5480 |
< |
# Check for getopt_long support |
| 5478 |
> |
# Is the header present? |
| 5479 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5480 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5481 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5482 |
> |
/* confdefs.h. */ |
| 5483 |
> |
_ACEOF |
| 5484 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5485 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5486 |
> |
/* end confdefs.h. */ |
| 5487 |
> |
#include <$ac_header> |
| 5488 |
> |
_ACEOF |
| 5489 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5490 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5491 |
> |
ac_status=$? |
| 5492 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5493 |
> |
rm -f conftest.er1 |
| 5494 |
> |
cat conftest.err >&5 |
| 5495 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5496 |
> |
(exit $ac_status); } >/dev/null; then |
| 5497 |
> |
if test -s conftest.err; then |
| 5498 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5499 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5500 |
> |
else |
| 5501 |
> |
ac_cpp_err= |
| 5502 |
> |
fi |
| 5503 |
> |
else |
| 5504 |
> |
ac_cpp_err=yes |
| 5505 |
> |
fi |
| 5506 |
> |
if test -z "$ac_cpp_err"; then |
| 5507 |
> |
ac_header_preproc=yes |
| 5508 |
> |
else |
| 5509 |
> |
echo "$as_me: failed program was:" >&5 |
| 5510 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5511 |
|
|
| 5512 |
< |
for ac_header in getopt.h |
| 5512 |
> |
ac_header_preproc=no |
| 5513 |
> |
fi |
| 5514 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5515 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5516 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5517 |
> |
|
| 5518 |
> |
# So? What about this header? |
| 5519 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5520 |
> |
yes:no: ) |
| 5521 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5522 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5523 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5524 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5525 |
> |
ac_header_preproc=yes |
| 5526 |
> |
;; |
| 5527 |
> |
no:yes:* ) |
| 5528 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5529 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5530 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5531 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5532 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5533 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5534 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5535 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5536 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5537 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5538 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5539 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5540 |
> |
( |
| 5541 |
> |
cat <<\_ASBOX |
| 5542 |
> |
## ------------------------------ ## |
| 5543 |
> |
## Report this to gezelter@nd.edu ## |
| 5544 |
> |
## ------------------------------ ## |
| 5545 |
> |
_ASBOX |
| 5546 |
> |
) | |
| 5547 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5548 |
> |
;; |
| 5549 |
> |
esac |
| 5550 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5551 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5552 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5553 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5554 |
> |
else |
| 5555 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5556 |
> |
fi |
| 5557 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5558 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5559 |
> |
|
| 5560 |
> |
fi |
| 5561 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5562 |
> |
cat >>confdefs.h <<_ACEOF |
| 5563 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5564 |
> |
_ACEOF |
| 5565 |
> |
|
| 5566 |
> |
fi |
| 5567 |
> |
|
| 5568 |
> |
done |
| 5569 |
> |
|
| 5570 |
> |
|
| 5571 |
> |
|
| 5572 |
> |
|
| 5573 |
> |
|
| 5574 |
> |
|
| 5575 |
> |
for ac_header in strstream.h iostream.h fstream.h math.h time.h |
| 5576 |
|
do |
| 5577 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5578 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5721 |
|
|
| 5722 |
|
done |
| 5723 |
|
|
| 5724 |
+ |
ac_ext=cc |
| 5725 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5726 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5727 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5728 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5729 |
|
|
| 5730 |
< |
for ac_func in getopt_long |
| 5731 |
< |
do |
| 5732 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5733 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5734 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5735 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5730 |
> |
ac_ext=cc |
| 5731 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5732 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5733 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5734 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5735 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 5736 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 5737 |
> |
if test -z "$CXXCPP"; then |
| 5738 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 5739 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5740 |
|
else |
| 5741 |
+ |
# Double quotes because CXXCPP needs to be expanded |
| 5742 |
+ |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 5743 |
+ |
do |
| 5744 |
+ |
ac_preproc_ok=false |
| 5745 |
+ |
for ac_cxx_preproc_warn_flag in '' yes |
| 5746 |
+ |
do |
| 5747 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 5748 |
+ |
# with a fresh cross-compiler works. |
| 5749 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5750 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 5751 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5752 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5753 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5754 |
|
/* confdefs.h. */ |
| 5755 |
|
_ACEOF |
| 5756 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5757 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5758 |
|
/* end confdefs.h. */ |
| 5759 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 5760 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 5761 |
< |
#define $ac_func innocuous_$ac_func |
| 5759 |
> |
#ifdef __STDC__ |
| 5760 |
> |
# include <limits.h> |
| 5761 |
> |
#else |
| 5762 |
> |
# include <assert.h> |
| 5763 |
> |
#endif |
| 5764 |
> |
Syntax error |
| 5765 |
> |
_ACEOF |
| 5766 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5767 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5768 |
> |
ac_status=$? |
| 5769 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5770 |
> |
rm -f conftest.er1 |
| 5771 |
> |
cat conftest.err >&5 |
| 5772 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5773 |
> |
(exit $ac_status); } >/dev/null; then |
| 5774 |
> |
if test -s conftest.err; then |
| 5775 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5776 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5777 |
> |
else |
| 5778 |
> |
ac_cpp_err= |
| 5779 |
> |
fi |
| 5780 |
> |
else |
| 5781 |
> |
ac_cpp_err=yes |
| 5782 |
> |
fi |
| 5783 |
> |
if test -z "$ac_cpp_err"; then |
| 5784 |
> |
: |
| 5785 |
> |
else |
| 5786 |
> |
echo "$as_me: failed program was:" >&5 |
| 5787 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5788 |
> |
|
| 5789 |
> |
# Broken: fails on valid input. |
| 5790 |
> |
continue |
| 5791 |
> |
fi |
| 5792 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5793 |
> |
|
| 5794 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 5795 |
> |
# can be detected and how. |
| 5796 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5797 |
> |
/* confdefs.h. */ |
| 5798 |
> |
_ACEOF |
| 5799 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5800 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5801 |
> |
/* end confdefs.h. */ |
| 5802 |
> |
#include <ac_nonexistent.h> |
| 5803 |
> |
_ACEOF |
| 5804 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5805 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5806 |
> |
ac_status=$? |
| 5807 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5808 |
> |
rm -f conftest.er1 |
| 5809 |
> |
cat conftest.err >&5 |
| 5810 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5811 |
> |
(exit $ac_status); } >/dev/null; then |
| 5812 |
> |
if test -s conftest.err; then |
| 5813 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5814 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5815 |
> |
else |
| 5816 |
> |
ac_cpp_err= |
| 5817 |
> |
fi |
| 5818 |
> |
else |
| 5819 |
> |
ac_cpp_err=yes |
| 5820 |
> |
fi |
| 5821 |
> |
if test -z "$ac_cpp_err"; then |
| 5822 |
> |
# Broken: success on invalid input. |
| 5823 |
> |
continue |
| 5824 |
> |
else |
| 5825 |
> |
echo "$as_me: failed program was:" >&5 |
| 5826 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5827 |
> |
|
| 5828 |
> |
# Passes both tests. |
| 5829 |
> |
ac_preproc_ok=: |
| 5830 |
> |
break |
| 5831 |
> |
fi |
| 5832 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5833 |
> |
|
| 5834 |
> |
done |
| 5835 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5836 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5837 |
> |
if $ac_preproc_ok; then |
| 5838 |
> |
break |
| 5839 |
> |
fi |
| 5840 |
> |
|
| 5841 |
> |
done |
| 5842 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
| 5843 |
> |
|
| 5844 |
> |
fi |
| 5845 |
> |
CXXCPP=$ac_cv_prog_CXXCPP |
| 5846 |
> |
else |
| 5847 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
| 5848 |
> |
fi |
| 5849 |
> |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 5850 |
> |
echo "${ECHO_T}$CXXCPP" >&6 |
| 5851 |
> |
ac_preproc_ok=false |
| 5852 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
| 5853 |
> |
do |
| 5854 |
> |
# Use a header file that comes with gcc, so configuring glibc |
| 5855 |
> |
# with a fresh cross-compiler works. |
| 5856 |
> |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5857 |
> |
# <limits.h> exists even on freestanding compilers. |
| 5858 |
> |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 5859 |
> |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5860 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5861 |
> |
/* confdefs.h. */ |
| 5862 |
> |
_ACEOF |
| 5863 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5864 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5865 |
> |
/* end confdefs.h. */ |
| 5866 |
> |
#ifdef __STDC__ |
| 5867 |
> |
# include <limits.h> |
| 5868 |
> |
#else |
| 5869 |
> |
# include <assert.h> |
| 5870 |
> |
#endif |
| 5871 |
> |
Syntax error |
| 5872 |
> |
_ACEOF |
| 5873 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5874 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5875 |
> |
ac_status=$? |
| 5876 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5877 |
> |
rm -f conftest.er1 |
| 5878 |
> |
cat conftest.err >&5 |
| 5879 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5880 |
> |
(exit $ac_status); } >/dev/null; then |
| 5881 |
> |
if test -s conftest.err; then |
| 5882 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5883 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5884 |
> |
else |
| 5885 |
> |
ac_cpp_err= |
| 5886 |
> |
fi |
| 5887 |
> |
else |
| 5888 |
> |
ac_cpp_err=yes |
| 5889 |
> |
fi |
| 5890 |
> |
if test -z "$ac_cpp_err"; then |
| 5891 |
> |
: |
| 5892 |
> |
else |
| 5893 |
> |
echo "$as_me: failed program was:" >&5 |
| 5894 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5895 |
> |
|
| 5896 |
> |
# Broken: fails on valid input. |
| 5897 |
> |
continue |
| 5898 |
> |
fi |
| 5899 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5900 |
> |
|
| 5901 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 5902 |
> |
# can be detected and how. |
| 5903 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5904 |
> |
/* confdefs.h. */ |
| 5905 |
> |
_ACEOF |
| 5906 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5907 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5908 |
> |
/* end confdefs.h. */ |
| 5909 |
> |
#include <ac_nonexistent.h> |
| 5910 |
> |
_ACEOF |
| 5911 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5912 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5913 |
> |
ac_status=$? |
| 5914 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5915 |
> |
rm -f conftest.er1 |
| 5916 |
> |
cat conftest.err >&5 |
| 5917 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5918 |
> |
(exit $ac_status); } >/dev/null; then |
| 5919 |
> |
if test -s conftest.err; then |
| 5920 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5921 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5922 |
> |
else |
| 5923 |
> |
ac_cpp_err= |
| 5924 |
> |
fi |
| 5925 |
> |
else |
| 5926 |
> |
ac_cpp_err=yes |
| 5927 |
> |
fi |
| 5928 |
> |
if test -z "$ac_cpp_err"; then |
| 5929 |
> |
# Broken: success on invalid input. |
| 5930 |
> |
continue |
| 5931 |
> |
else |
| 5932 |
> |
echo "$as_me: failed program was:" >&5 |
| 5933 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5934 |
> |
|
| 5935 |
> |
# Passes both tests. |
| 5936 |
> |
ac_preproc_ok=: |
| 5937 |
> |
break |
| 5938 |
> |
fi |
| 5939 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5940 |
> |
|
| 5941 |
> |
done |
| 5942 |
> |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5943 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5944 |
> |
if $ac_preproc_ok; then |
| 5945 |
> |
: |
| 5946 |
> |
else |
| 5947 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5948 |
> |
See \`config.log' for more details." >&5 |
| 5949 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5950 |
> |
See \`config.log' for more details." >&2;} |
| 5951 |
> |
{ (exit 1); exit 1; }; } |
| 5952 |
> |
fi |
| 5953 |
> |
|
| 5954 |
> |
ac_ext=cc |
| 5955 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5956 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5957 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5958 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5959 |
> |
|
| 5960 |
> |
|
| 5961 |
> |
|
| 5962 |
> |
|
| 5963 |
> |
|
| 5964 |
> |
|
| 5965 |
> |
|
| 5966 |
> |
for ac_header in ctype.h iostream fstream sstream strstream |
| 5967 |
> |
do |
| 5968 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5969 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5970 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5971 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5972 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5973 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5974 |
> |
fi |
| 5975 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5976 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5977 |
> |
else |
| 5978 |
> |
# Is the header compilable? |
| 5979 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5980 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5981 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5982 |
> |
/* confdefs.h. */ |
| 5983 |
> |
_ACEOF |
| 5984 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5985 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5986 |
> |
/* end confdefs.h. */ |
| 5987 |
> |
$ac_includes_default |
| 5988 |
> |
#include <$ac_header> |
| 5989 |
> |
_ACEOF |
| 5990 |
> |
rm -f conftest.$ac_objext |
| 5991 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5992 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5993 |
> |
ac_status=$? |
| 5994 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5995 |
> |
rm -f conftest.er1 |
| 5996 |
> |
cat conftest.err >&5 |
| 5997 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5998 |
> |
(exit $ac_status); } && |
| 5999 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6000 |
> |
|| test ! -s conftest.err' |
| 6001 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6002 |
> |
(eval $ac_try) 2>&5 |
| 6003 |
> |
ac_status=$? |
| 6004 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6005 |
> |
(exit $ac_status); }; } && |
| 6006 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6007 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6008 |
> |
(eval $ac_try) 2>&5 |
| 6009 |
> |
ac_status=$? |
| 6010 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6011 |
> |
(exit $ac_status); }; }; then |
| 6012 |
> |
ac_header_compiler=yes |
| 6013 |
> |
else |
| 6014 |
> |
echo "$as_me: failed program was:" >&5 |
| 6015 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6016 |
> |
|
| 6017 |
> |
ac_header_compiler=no |
| 6018 |
> |
fi |
| 6019 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6020 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6021 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6022 |
> |
|
| 6023 |
> |
# Is the header present? |
| 6024 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6025 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6026 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6027 |
> |
/* confdefs.h. */ |
| 6028 |
> |
_ACEOF |
| 6029 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6030 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6031 |
> |
/* end confdefs.h. */ |
| 6032 |
> |
#include <$ac_header> |
| 6033 |
> |
_ACEOF |
| 6034 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6035 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6036 |
> |
ac_status=$? |
| 6037 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6038 |
> |
rm -f conftest.er1 |
| 6039 |
> |
cat conftest.err >&5 |
| 6040 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6041 |
> |
(exit $ac_status); } >/dev/null; then |
| 6042 |
> |
if test -s conftest.err; then |
| 6043 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6044 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6045 |
> |
else |
| 6046 |
> |
ac_cpp_err= |
| 6047 |
> |
fi |
| 6048 |
> |
else |
| 6049 |
> |
ac_cpp_err=yes |
| 6050 |
> |
fi |
| 6051 |
> |
if test -z "$ac_cpp_err"; then |
| 6052 |
> |
ac_header_preproc=yes |
| 6053 |
> |
else |
| 6054 |
> |
echo "$as_me: failed program was:" >&5 |
| 6055 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6056 |
> |
|
| 6057 |
> |
ac_header_preproc=no |
| 6058 |
> |
fi |
| 6059 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6060 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6061 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6062 |
> |
|
| 6063 |
> |
# So? What about this header? |
| 6064 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 6065 |
> |
yes:no: ) |
| 6066 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6067 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6068 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6069 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6070 |
> |
ac_header_preproc=yes |
| 6071 |
> |
;; |
| 6072 |
> |
no:yes:* ) |
| 6073 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6074 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6075 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6076 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6077 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6078 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6079 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6080 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6081 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6082 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6083 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6084 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6085 |
> |
( |
| 6086 |
> |
cat <<\_ASBOX |
| 6087 |
> |
## ------------------------------ ## |
| 6088 |
> |
## Report this to gezelter@nd.edu ## |
| 6089 |
> |
## ------------------------------ ## |
| 6090 |
> |
_ASBOX |
| 6091 |
> |
) | |
| 6092 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6093 |
> |
;; |
| 6094 |
> |
esac |
| 6095 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6096 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6097 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6098 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6099 |
> |
else |
| 6100 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6101 |
> |
fi |
| 6102 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6103 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6104 |
> |
|
| 6105 |
> |
fi |
| 6106 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6107 |
> |
cat >>confdefs.h <<_ACEOF |
| 6108 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6109 |
> |
_ACEOF |
| 6110 |
> |
|
| 6111 |
> |
fi |
| 6112 |
> |
|
| 6113 |
> |
done |
| 6114 |
> |
|
| 6115 |
> |
ac_ext=c |
| 6116 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6117 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6118 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6119 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6120 |
> |
|
| 6121 |
> |
|
| 6122 |
> |
|
| 6123 |
> |
|
| 6124 |
> |
for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h |
| 6125 |
> |
do |
| 6126 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6127 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6128 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6129 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6130 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6131 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6132 |
> |
fi |
| 6133 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6134 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6135 |
> |
else |
| 6136 |
> |
# Is the header compilable? |
| 6137 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6138 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6139 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6140 |
> |
/* confdefs.h. */ |
| 6141 |
> |
_ACEOF |
| 6142 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6143 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6144 |
> |
/* end confdefs.h. */ |
| 6145 |
> |
$ac_includes_default |
| 6146 |
> |
#include <$ac_header> |
| 6147 |
> |
_ACEOF |
| 6148 |
> |
rm -f conftest.$ac_objext |
| 6149 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6150 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6151 |
> |
ac_status=$? |
| 6152 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6153 |
> |
rm -f conftest.er1 |
| 6154 |
> |
cat conftest.err >&5 |
| 6155 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6156 |
> |
(exit $ac_status); } && |
| 6157 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6158 |
> |
|| test ! -s conftest.err' |
| 6159 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6160 |
> |
(eval $ac_try) 2>&5 |
| 6161 |
> |
ac_status=$? |
| 6162 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6163 |
> |
(exit $ac_status); }; } && |
| 6164 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6165 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6166 |
> |
(eval $ac_try) 2>&5 |
| 6167 |
> |
ac_status=$? |
| 6168 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6169 |
> |
(exit $ac_status); }; }; then |
| 6170 |
> |
ac_header_compiler=yes |
| 6171 |
> |
else |
| 6172 |
> |
echo "$as_me: failed program was:" >&5 |
| 6173 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6174 |
> |
|
| 6175 |
> |
ac_header_compiler=no |
| 6176 |
> |
fi |
| 6177 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6178 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6179 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6180 |
> |
|
| 6181 |
> |
# Is the header present? |
| 6182 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6183 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6184 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6185 |
> |
/* confdefs.h. */ |
| 6186 |
> |
_ACEOF |
| 6187 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6188 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6189 |
> |
/* end confdefs.h. */ |
| 6190 |
> |
#include <$ac_header> |
| 6191 |
> |
_ACEOF |
| 6192 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6193 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6194 |
> |
ac_status=$? |
| 6195 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6196 |
> |
rm -f conftest.er1 |
| 6197 |
> |
cat conftest.err >&5 |
| 6198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6199 |
> |
(exit $ac_status); } >/dev/null; then |
| 6200 |
> |
if test -s conftest.err; then |
| 6201 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6202 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6203 |
> |
else |
| 6204 |
> |
ac_cpp_err= |
| 6205 |
> |
fi |
| 6206 |
> |
else |
| 6207 |
> |
ac_cpp_err=yes |
| 6208 |
> |
fi |
| 6209 |
> |
if test -z "$ac_cpp_err"; then |
| 6210 |
> |
ac_header_preproc=yes |
| 6211 |
> |
else |
| 6212 |
> |
echo "$as_me: failed program was:" >&5 |
| 6213 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6214 |
> |
|
| 6215 |
> |
ac_header_preproc=no |
| 6216 |
> |
fi |
| 6217 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6218 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6219 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6220 |
> |
|
| 6221 |
> |
# So? What about this header? |
| 6222 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6223 |
> |
yes:no: ) |
| 6224 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6225 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6226 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6227 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6228 |
> |
ac_header_preproc=yes |
| 6229 |
> |
;; |
| 6230 |
> |
no:yes:* ) |
| 6231 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6232 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6233 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6234 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6235 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6236 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6237 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6238 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6239 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6240 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6241 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6242 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6243 |
> |
( |
| 6244 |
> |
cat <<\_ASBOX |
| 6245 |
> |
## ------------------------------ ## |
| 6246 |
> |
## Report this to gezelter@nd.edu ## |
| 6247 |
> |
## ------------------------------ ## |
| 6248 |
> |
_ASBOX |
| 6249 |
> |
) | |
| 6250 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6251 |
> |
;; |
| 6252 |
> |
esac |
| 6253 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6254 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6255 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6256 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6257 |
> |
else |
| 6258 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6259 |
> |
fi |
| 6260 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6261 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6262 |
|
|
| 6263 |
+ |
fi |
| 6264 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6265 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6266 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6267 |
+ |
_ACEOF |
| 6268 |
+ |
|
| 6269 |
+ |
fi |
| 6270 |
+ |
|
| 6271 |
+ |
done |
| 6272 |
+ |
|
| 6273 |
+ |
|
| 6274 |
+ |
|
| 6275 |
+ |
|
| 6276 |
+ |
|
| 6277 |
+ |
for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h |
| 6278 |
+ |
do |
| 6279 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6280 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6281 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6282 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6283 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6284 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6285 |
+ |
fi |
| 6286 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6287 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6288 |
+ |
else |
| 6289 |
+ |
# Is the header compilable? |
| 6290 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6291 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6292 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6293 |
+ |
/* confdefs.h. */ |
| 6294 |
+ |
_ACEOF |
| 6295 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6296 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6297 |
+ |
/* end confdefs.h. */ |
| 6298 |
+ |
$ac_includes_default |
| 6299 |
+ |
#include <$ac_header> |
| 6300 |
+ |
_ACEOF |
| 6301 |
+ |
rm -f conftest.$ac_objext |
| 6302 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6303 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6304 |
+ |
ac_status=$? |
| 6305 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6306 |
+ |
rm -f conftest.er1 |
| 6307 |
+ |
cat conftest.err >&5 |
| 6308 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6309 |
+ |
(exit $ac_status); } && |
| 6310 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6311 |
+ |
|| test ! -s conftest.err' |
| 6312 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6313 |
+ |
(eval $ac_try) 2>&5 |
| 6314 |
+ |
ac_status=$? |
| 6315 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6316 |
+ |
(exit $ac_status); }; } && |
| 6317 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6318 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6319 |
+ |
(eval $ac_try) 2>&5 |
| 6320 |
+ |
ac_status=$? |
| 6321 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6322 |
+ |
(exit $ac_status); }; }; then |
| 6323 |
+ |
ac_header_compiler=yes |
| 6324 |
+ |
else |
| 6325 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6326 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6327 |
+ |
|
| 6328 |
+ |
ac_header_compiler=no |
| 6329 |
+ |
fi |
| 6330 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6331 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6332 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6333 |
+ |
|
| 6334 |
+ |
# Is the header present? |
| 6335 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6336 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6337 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6338 |
+ |
/* confdefs.h. */ |
| 6339 |
+ |
_ACEOF |
| 6340 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6341 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6342 |
+ |
/* end confdefs.h. */ |
| 6343 |
+ |
#include <$ac_header> |
| 6344 |
+ |
_ACEOF |
| 6345 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6346 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6347 |
+ |
ac_status=$? |
| 6348 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6349 |
+ |
rm -f conftest.er1 |
| 6350 |
+ |
cat conftest.err >&5 |
| 6351 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6352 |
+ |
(exit $ac_status); } >/dev/null; then |
| 6353 |
+ |
if test -s conftest.err; then |
| 6354 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6355 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6356 |
+ |
else |
| 6357 |
+ |
ac_cpp_err= |
| 6358 |
+ |
fi |
| 6359 |
+ |
else |
| 6360 |
+ |
ac_cpp_err=yes |
| 6361 |
+ |
fi |
| 6362 |
+ |
if test -z "$ac_cpp_err"; then |
| 6363 |
+ |
ac_header_preproc=yes |
| 6364 |
+ |
else |
| 6365 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6366 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6367 |
+ |
|
| 6368 |
+ |
ac_header_preproc=no |
| 6369 |
+ |
fi |
| 6370 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 6371 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6372 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6373 |
+ |
|
| 6374 |
+ |
# So? What about this header? |
| 6375 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6376 |
+ |
yes:no: ) |
| 6377 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6378 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6379 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6380 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6381 |
+ |
ac_header_preproc=yes |
| 6382 |
+ |
;; |
| 6383 |
+ |
no:yes:* ) |
| 6384 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6385 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6386 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6387 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6388 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6389 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6390 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6391 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6392 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6393 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6394 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6395 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6396 |
+ |
( |
| 6397 |
+ |
cat <<\_ASBOX |
| 6398 |
+ |
## ------------------------------ ## |
| 6399 |
+ |
## Report this to gezelter@nd.edu ## |
| 6400 |
+ |
## ------------------------------ ## |
| 6401 |
+ |
_ASBOX |
| 6402 |
+ |
) | |
| 6403 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6404 |
+ |
;; |
| 6405 |
+ |
esac |
| 6406 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6407 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6408 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6409 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6410 |
+ |
else |
| 6411 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6412 |
+ |
fi |
| 6413 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6414 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6415 |
+ |
|
| 6416 |
+ |
fi |
| 6417 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6418 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6419 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6420 |
+ |
_ACEOF |
| 6421 |
+ |
|
| 6422 |
+ |
fi |
| 6423 |
+ |
|
| 6424 |
+ |
done |
| 6425 |
+ |
|
| 6426 |
+ |
|
| 6427 |
+ |
for ac_header in machine/hal_sysinfo.h |
| 6428 |
+ |
do |
| 6429 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6430 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6431 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6432 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6433 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6434 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6435 |
+ |
fi |
| 6436 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6437 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6438 |
+ |
else |
| 6439 |
+ |
# Is the header compilable? |
| 6440 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6441 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6442 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6443 |
+ |
/* confdefs.h. */ |
| 6444 |
+ |
_ACEOF |
| 6445 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6446 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6447 |
+ |
/* end confdefs.h. */ |
| 6448 |
+ |
$ac_includes_default |
| 6449 |
+ |
#include <$ac_header> |
| 6450 |
+ |
_ACEOF |
| 6451 |
+ |
rm -f conftest.$ac_objext |
| 6452 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6453 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6454 |
+ |
ac_status=$? |
| 6455 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6456 |
+ |
rm -f conftest.er1 |
| 6457 |
+ |
cat conftest.err >&5 |
| 6458 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6459 |
+ |
(exit $ac_status); } && |
| 6460 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6461 |
+ |
|| test ! -s conftest.err' |
| 6462 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6463 |
+ |
(eval $ac_try) 2>&5 |
| 6464 |
+ |
ac_status=$? |
| 6465 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6466 |
+ |
(exit $ac_status); }; } && |
| 6467 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6468 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6469 |
+ |
(eval $ac_try) 2>&5 |
| 6470 |
+ |
ac_status=$? |
| 6471 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6472 |
+ |
(exit $ac_status); }; }; then |
| 6473 |
+ |
ac_header_compiler=yes |
| 6474 |
+ |
else |
| 6475 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6476 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6477 |
+ |
|
| 6478 |
+ |
ac_header_compiler=no |
| 6479 |
+ |
fi |
| 6480 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6481 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6482 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6483 |
+ |
|
| 6484 |
+ |
# Is the header present? |
| 6485 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6486 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6487 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6488 |
+ |
/* confdefs.h. */ |
| 6489 |
+ |
_ACEOF |
| 6490 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6491 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6492 |
+ |
/* end confdefs.h. */ |
| 6493 |
+ |
#include <$ac_header> |
| 6494 |
+ |
_ACEOF |
| 6495 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6496 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6497 |
+ |
ac_status=$? |
| 6498 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6499 |
+ |
rm -f conftest.er1 |
| 6500 |
+ |
cat conftest.err >&5 |
| 6501 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6502 |
+ |
(exit $ac_status); } >/dev/null; then |
| 6503 |
+ |
if test -s conftest.err; then |
| 6504 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6505 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6506 |
+ |
else |
| 6507 |
+ |
ac_cpp_err= |
| 6508 |
+ |
fi |
| 6509 |
+ |
else |
| 6510 |
+ |
ac_cpp_err=yes |
| 6511 |
+ |
fi |
| 6512 |
+ |
if test -z "$ac_cpp_err"; then |
| 6513 |
+ |
ac_header_preproc=yes |
| 6514 |
+ |
else |
| 6515 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6516 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6517 |
+ |
|
| 6518 |
+ |
ac_header_preproc=no |
| 6519 |
+ |
fi |
| 6520 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 6521 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6522 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6523 |
+ |
|
| 6524 |
+ |
# So? What about this header? |
| 6525 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6526 |
+ |
yes:no: ) |
| 6527 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6528 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6529 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6530 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6531 |
+ |
ac_header_preproc=yes |
| 6532 |
+ |
;; |
| 6533 |
+ |
no:yes:* ) |
| 6534 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6535 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6536 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6537 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6538 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6539 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6540 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6541 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6542 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6543 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6544 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6545 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6546 |
+ |
( |
| 6547 |
+ |
cat <<\_ASBOX |
| 6548 |
+ |
## ------------------------------ ## |
| 6549 |
+ |
## Report this to gezelter@nd.edu ## |
| 6550 |
+ |
## ------------------------------ ## |
| 6551 |
+ |
_ASBOX |
| 6552 |
+ |
) | |
| 6553 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6554 |
+ |
;; |
| 6555 |
+ |
esac |
| 6556 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6557 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6558 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6559 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6560 |
+ |
else |
| 6561 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6562 |
+ |
fi |
| 6563 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6564 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6565 |
+ |
|
| 6566 |
+ |
fi |
| 6567 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6568 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6569 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6570 |
+ |
_ACEOF |
| 6571 |
+ |
|
| 6572 |
+ |
fi |
| 6573 |
+ |
|
| 6574 |
+ |
done |
| 6575 |
+ |
|
| 6576 |
+ |
|
| 6577 |
+ |
|
| 6578 |
+ |
|
| 6579 |
+ |
|
| 6580 |
+ |
for ac_func in rint snprintf sranddev strncasecmp |
| 6581 |
+ |
do |
| 6582 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6583 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 6584 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 6585 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 6586 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6587 |
+ |
else |
| 6588 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6589 |
+ |
/* confdefs.h. */ |
| 6590 |
+ |
_ACEOF |
| 6591 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6592 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6593 |
+ |
/* end confdefs.h. */ |
| 6594 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6595 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6596 |
+ |
#define $ac_func innocuous_$ac_func |
| 6597 |
+ |
|
| 6598 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 6599 |
|
which can conflict with char $ac_func (); below. |
| 6600 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6675 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6676 |
|
_ACEOF |
| 6677 |
|
|
| 6678 |
+ |
fi |
| 6679 |
+ |
done |
| 6680 |
+ |
|
| 6681 |
+ |
|
| 6682 |
+ |
|
| 6683 |
+ |
|
| 6684 |
+ |
|
| 6685 |
+ |
|
| 6686 |
+ |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 6687 |
+ |
do |
| 6688 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6689 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 6690 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 6691 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 6692 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6693 |
|
else |
| 6694 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6695 |
+ |
/* confdefs.h. */ |
| 6696 |
+ |
_ACEOF |
| 6697 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6698 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6699 |
+ |
/* end confdefs.h. */ |
| 6700 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6701 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6702 |
+ |
#define $ac_func innocuous_$ac_func |
| 6703 |
+ |
|
| 6704 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 6705 |
+ |
which can conflict with char $ac_func (); below. |
| 6706 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6707 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 6708 |
+ |
|
| 6709 |
+ |
#ifdef __STDC__ |
| 6710 |
+ |
# include <limits.h> |
| 6711 |
+ |
#else |
| 6712 |
+ |
# include <assert.h> |
| 6713 |
+ |
#endif |
| 6714 |
+ |
|
| 6715 |
+ |
#undef $ac_func |
| 6716 |
+ |
|
| 6717 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6718 |
+ |
#ifdef __cplusplus |
| 6719 |
+ |
extern "C" |
| 6720 |
+ |
{ |
| 6721 |
+ |
#endif |
| 6722 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 6723 |
+ |
builtin and then its argument prototype would still apply. */ |
| 6724 |
+ |
char $ac_func (); |
| 6725 |
+ |
/* The GNU C library defines this for functions which it implements |
| 6726 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 6727 |
+ |
something starting with __ and the normal name is an alias. */ |
| 6728 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 6729 |
+ |
choke me |
| 6730 |
+ |
#else |
| 6731 |
+ |
char (*f) () = $ac_func; |
| 6732 |
+ |
#endif |
| 6733 |
+ |
#ifdef __cplusplus |
| 6734 |
+ |
} |
| 6735 |
+ |
#endif |
| 6736 |
+ |
|
| 6737 |
+ |
int |
| 6738 |
+ |
main () |
| 6739 |
+ |
{ |
| 6740 |
+ |
return f != $ac_func; |
| 6741 |
+ |
; |
| 6742 |
+ |
return 0; |
| 6743 |
+ |
} |
| 6744 |
+ |
_ACEOF |
| 6745 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6746 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6747 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 6748 |
+ |
ac_status=$? |
| 6749 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6750 |
+ |
rm -f conftest.er1 |
| 6751 |
+ |
cat conftest.err >&5 |
| 6752 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6753 |
+ |
(exit $ac_status); } && |
| 6754 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6755 |
+ |
|| test ! -s conftest.err' |
| 6756 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6757 |
+ |
(eval $ac_try) 2>&5 |
| 6758 |
+ |
ac_status=$? |
| 6759 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6760 |
+ |
(exit $ac_status); }; } && |
| 6761 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 6762 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6763 |
+ |
(eval $ac_try) 2>&5 |
| 6764 |
+ |
ac_status=$? |
| 6765 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6766 |
+ |
(exit $ac_status); }; }; then |
| 6767 |
+ |
eval "$as_ac_var=yes" |
| 6768 |
+ |
else |
| 6769 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6770 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6771 |
+ |
|
| 6772 |
+ |
eval "$as_ac_var=no" |
| 6773 |
+ |
fi |
| 6774 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 6775 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 6776 |
+ |
fi |
| 6777 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 6778 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 6779 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 6780 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6781 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6782 |
+ |
_ACEOF |
| 6783 |
+ |
|
| 6784 |
+ |
fi |
| 6785 |
+ |
done |
| 6786 |
+ |
|
| 6787 |
+ |
# special check for _system_configuration because AIX <4.3.2 do not |
| 6788 |
+ |
# contain the `physmem' member. |
| 6789 |
+ |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 6790 |
+ |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 6791 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6792 |
+ |
/* confdefs.h. */ |
| 6793 |
+ |
_ACEOF |
| 6794 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6795 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6796 |
+ |
/* end confdefs.h. */ |
| 6797 |
+ |
#include <sys/systemcfg.h> |
| 6798 |
+ |
int |
| 6799 |
+ |
main () |
| 6800 |
+ |
{ |
| 6801 |
+ |
double x = _system_configuration.physmem; |
| 6802 |
+ |
; |
| 6803 |
+ |
return 0; |
| 6804 |
+ |
} |
| 6805 |
+ |
_ACEOF |
| 6806 |
+ |
rm -f conftest.$ac_objext |
| 6807 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6808 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6809 |
+ |
ac_status=$? |
| 6810 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6811 |
+ |
rm -f conftest.er1 |
| 6812 |
+ |
cat conftest.err >&5 |
| 6813 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6814 |
+ |
(exit $ac_status); } && |
| 6815 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6816 |
+ |
|| test ! -s conftest.err' |
| 6817 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6818 |
+ |
(eval $ac_try) 2>&5 |
| 6819 |
+ |
ac_status=$? |
| 6820 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6821 |
+ |
(exit $ac_status); }; } && |
| 6822 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6823 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6824 |
+ |
(eval $ac_try) 2>&5 |
| 6825 |
+ |
ac_status=$? |
| 6826 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6827 |
+ |
(exit $ac_status); }; }; then |
| 6828 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
| 6829 |
+ |
echo "${ECHO_T}yes" >&6 |
| 6830 |
+ |
|
| 6831 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 6832 |
+ |
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 6833 |
+ |
_ACEOF |
| 6834 |
+ |
|
| 6835 |
+ |
else |
| 6836 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6837 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6838 |
+ |
|
| 6839 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 6840 |
+ |
echo "${ECHO_T}no" >&6 |
| 6841 |
+ |
fi |
| 6842 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6843 |
+ |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6844 |
+ |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 6845 |
+ |
if test "${ac_cv_header_time+set}" = set; then |
| 6846 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6847 |
+ |
else |
| 6848 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6849 |
+ |
/* confdefs.h. */ |
| 6850 |
+ |
_ACEOF |
| 6851 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6852 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6853 |
+ |
/* end confdefs.h. */ |
| 6854 |
+ |
#include <sys/types.h> |
| 6855 |
+ |
#include <sys/time.h> |
| 6856 |
+ |
#include <time.h> |
| 6857 |
+ |
|
| 6858 |
+ |
int |
| 6859 |
+ |
main () |
| 6860 |
+ |
{ |
| 6861 |
+ |
if ((struct tm *) 0) |
| 6862 |
+ |
return 0; |
| 6863 |
+ |
; |
| 6864 |
+ |
return 0; |
| 6865 |
+ |
} |
| 6866 |
+ |
_ACEOF |
| 6867 |
+ |
rm -f conftest.$ac_objext |
| 6868 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6869 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6870 |
+ |
ac_status=$? |
| 6871 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6872 |
+ |
rm -f conftest.er1 |
| 6873 |
+ |
cat conftest.err >&5 |
| 6874 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6875 |
+ |
(exit $ac_status); } && |
| 6876 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6877 |
+ |
|| test ! -s conftest.err' |
| 6878 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6879 |
+ |
(eval $ac_try) 2>&5 |
| 6880 |
+ |
ac_status=$? |
| 6881 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6882 |
+ |
(exit $ac_status); }; } && |
| 6883 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6884 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6885 |
+ |
(eval $ac_try) 2>&5 |
| 6886 |
+ |
ac_status=$? |
| 6887 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6888 |
+ |
(exit $ac_status); }; }; then |
| 6889 |
+ |
ac_cv_header_time=yes |
| 6890 |
+ |
else |
| 6891 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6892 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6893 |
+ |
|
| 6894 |
+ |
ac_cv_header_time=no |
| 6895 |
+ |
fi |
| 6896 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6897 |
+ |
fi |
| 6898 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6899 |
+ |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 6900 |
+ |
if test $ac_cv_header_time = yes; then |
| 6901 |
+ |
|
| 6902 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 6903 |
+ |
#define TIME_WITH_SYS_TIME 1 |
| 6904 |
+ |
_ACEOF |
| 6905 |
+ |
|
| 6906 |
+ |
fi |
| 6907 |
+ |
|
| 6908 |
+ |
|
| 6909 |
+ |
echo "$as_me:$LINENO: checking for clock_t" >&5 |
| 6910 |
+ |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
| 6911 |
+ |
if test "${ac_cv_type_clock_t+set}" = set; then |
| 6912 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6913 |
+ |
else |
| 6914 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6915 |
+ |
/* confdefs.h. */ |
| 6916 |
+ |
_ACEOF |
| 6917 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6918 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6919 |
+ |
/* end confdefs.h. */ |
| 6920 |
+ |
$ac_includes_default |
| 6921 |
+ |
int |
| 6922 |
+ |
main () |
| 6923 |
+ |
{ |
| 6924 |
+ |
if ((clock_t *) 0) |
| 6925 |
+ |
return 0; |
| 6926 |
+ |
if (sizeof (clock_t)) |
| 6927 |
+ |
return 0; |
| 6928 |
+ |
; |
| 6929 |
+ |
return 0; |
| 6930 |
+ |
} |
| 6931 |
+ |
_ACEOF |
| 6932 |
+ |
rm -f conftest.$ac_objext |
| 6933 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6934 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 6935 |
+ |
ac_status=$? |
| 6936 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6937 |
+ |
rm -f conftest.er1 |
| 6938 |
+ |
cat conftest.err >&5 |
| 6939 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6940 |
+ |
(exit $ac_status); } && |
| 6941 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6942 |
+ |
|| test ! -s conftest.err' |
| 6943 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6944 |
+ |
(eval $ac_try) 2>&5 |
| 6945 |
+ |
ac_status=$? |
| 6946 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6947 |
+ |
(exit $ac_status); }; } && |
| 6948 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 6949 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6950 |
+ |
(eval $ac_try) 2>&5 |
| 6951 |
+ |
ac_status=$? |
| 6952 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6953 |
+ |
(exit $ac_status); }; }; then |
| 6954 |
+ |
ac_cv_type_clock_t=yes |
| 6955 |
+ |
else |
| 6956 |
+ |
echo "$as_me: failed program was:" >&5 |
| 6957 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6958 |
+ |
|
| 6959 |
+ |
ac_cv_type_clock_t=no |
| 6960 |
+ |
fi |
| 6961 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6962 |
+ |
fi |
| 6963 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
| 6964 |
+ |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6 |
| 6965 |
+ |
if test $ac_cv_type_clock_t = yes; then |
| 6966 |
+ |
|
| 6967 |
+ |
cat >>confdefs.h <<_ACEOF |
| 6968 |
+ |
#define HAVE_CLOCK_T 1 |
| 6969 |
+ |
_ACEOF |
| 6970 |
+ |
|
| 6971 |
+ |
|
| 6972 |
+ |
fi |
| 6973 |
+ |
|
| 6974 |
+ |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 6975 |
+ |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 6976 |
+ |
if test "${ac_cv_c_const+set}" = set; then |
| 6977 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6978 |
+ |
else |
| 6979 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 6980 |
+ |
/* confdefs.h. */ |
| 6981 |
+ |
_ACEOF |
| 6982 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 6983 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 6984 |
+ |
/* end confdefs.h. */ |
| 6985 |
+ |
|
| 6986 |
+ |
int |
| 6987 |
+ |
main () |
| 6988 |
+ |
{ |
| 6989 |
+ |
/* FIXME: Include the comments suggested by Paul. */ |
| 6990 |
+ |
#ifndef __cplusplus |
| 6991 |
+ |
/* Ultrix mips cc rejects this. */ |
| 6992 |
+ |
typedef int charset[2]; |
| 6993 |
+ |
const charset x; |
| 6994 |
+ |
/* SunOS 4.1.1 cc rejects this. */ |
| 6995 |
+ |
char const *const *ccp; |
| 6996 |
+ |
char **p; |
| 6997 |
+ |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 6998 |
+ |
struct point {int x, y;}; |
| 6999 |
+ |
static struct point const zero = {0,0}; |
| 7000 |
+ |
/* AIX XL C 1.02.0.0 rejects this. |
| 7001 |
+ |
It does not let you subtract one const X* pointer from another in |
| 7002 |
+ |
an arm of an if-expression whose if-part is not a constant |
| 7003 |
+ |
expression */ |
| 7004 |
+ |
const char *g = "string"; |
| 7005 |
+ |
ccp = &g + (g ? g-g : 0); |
| 7006 |
+ |
/* HPUX 7.0 cc rejects these. */ |
| 7007 |
+ |
++ccp; |
| 7008 |
+ |
p = (char**) ccp; |
| 7009 |
+ |
ccp = (char const *const *) p; |
| 7010 |
+ |
{ /* SCO 3.2v4 cc rejects this. */ |
| 7011 |
+ |
char *t; |
| 7012 |
+ |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 7013 |
+ |
|
| 7014 |
+ |
*t++ = 0; |
| 7015 |
+ |
} |
| 7016 |
+ |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 7017 |
+ |
int x[] = {25, 17}; |
| 7018 |
+ |
const int *foo = &x[0]; |
| 7019 |
+ |
++foo; |
| 7020 |
+ |
} |
| 7021 |
+ |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 7022 |
+ |
typedef const int *iptr; |
| 7023 |
+ |
iptr p = 0; |
| 7024 |
+ |
++p; |
| 7025 |
+ |
} |
| 7026 |
+ |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 7027 |
+ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 7028 |
+ |
struct s { int j; const int *ap[3]; }; |
| 7029 |
+ |
struct s *b; b->j = 5; |
| 7030 |
+ |
} |
| 7031 |
+ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 7032 |
+ |
const int foo = 10; |
| 7033 |
+ |
} |
| 7034 |
+ |
#endif |
| 7035 |
+ |
|
| 7036 |
+ |
; |
| 7037 |
+ |
return 0; |
| 7038 |
+ |
} |
| 7039 |
+ |
_ACEOF |
| 7040 |
+ |
rm -f conftest.$ac_objext |
| 7041 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7042 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7043 |
+ |
ac_status=$? |
| 7044 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7045 |
+ |
rm -f conftest.er1 |
| 7046 |
+ |
cat conftest.err >&5 |
| 7047 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7048 |
+ |
(exit $ac_status); } && |
| 7049 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7050 |
+ |
|| test ! -s conftest.err' |
| 7051 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7052 |
+ |
(eval $ac_try) 2>&5 |
| 7053 |
+ |
ac_status=$? |
| 7054 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7055 |
+ |
(exit $ac_status); }; } && |
| 7056 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7057 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7058 |
+ |
(eval $ac_try) 2>&5 |
| 7059 |
+ |
ac_status=$? |
| 7060 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7061 |
+ |
(exit $ac_status); }; }; then |
| 7062 |
+ |
ac_cv_c_const=yes |
| 7063 |
+ |
else |
| 7064 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7065 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7066 |
+ |
|
| 7067 |
+ |
ac_cv_c_const=no |
| 7068 |
+ |
fi |
| 7069 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7070 |
+ |
fi |
| 7071 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 7072 |
+ |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 7073 |
+ |
if test $ac_cv_c_const = no; then |
| 7074 |
+ |
|
| 7075 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 7076 |
+ |
#define const |
| 7077 |
+ |
_ACEOF |
| 7078 |
+ |
|
| 7079 |
+ |
fi |
| 7080 |
+ |
|
| 7081 |
+ |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 7082 |
+ |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 7083 |
+ |
if test "${ac_cv_c_inline+set}" = set; then |
| 7084 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7085 |
+ |
else |
| 7086 |
+ |
ac_cv_c_inline=no |
| 7087 |
+ |
for ac_kw in inline __inline__ __inline; do |
| 7088 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7089 |
+ |
/* confdefs.h. */ |
| 7090 |
+ |
_ACEOF |
| 7091 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7092 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7093 |
+ |
/* end confdefs.h. */ |
| 7094 |
+ |
#ifndef __cplusplus |
| 7095 |
+ |
typedef int foo_t; |
| 7096 |
+ |
static $ac_kw foo_t static_foo () {return 0; } |
| 7097 |
+ |
$ac_kw foo_t foo () {return 0; } |
| 7098 |
+ |
#endif |
| 7099 |
+ |
|
| 7100 |
+ |
_ACEOF |
| 7101 |
+ |
rm -f conftest.$ac_objext |
| 7102 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7103 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7104 |
+ |
ac_status=$? |
| 7105 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7106 |
+ |
rm -f conftest.er1 |
| 7107 |
+ |
cat conftest.err >&5 |
| 7108 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7109 |
+ |
(exit $ac_status); } && |
| 7110 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7111 |
+ |
|| test ! -s conftest.err' |
| 7112 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7113 |
+ |
(eval $ac_try) 2>&5 |
| 7114 |
+ |
ac_status=$? |
| 7115 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7116 |
+ |
(exit $ac_status); }; } && |
| 7117 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 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); }; }; then |
| 7123 |
+ |
ac_cv_c_inline=$ac_kw; break |
| 7124 |
+ |
else |
| 7125 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7126 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7127 |
+ |
|
| 7128 |
+ |
fi |
| 7129 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7130 |
+ |
done |
| 7131 |
+ |
|
| 7132 |
+ |
fi |
| 7133 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 7134 |
+ |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 7135 |
+ |
|
| 7136 |
+ |
|
| 7137 |
+ |
case $ac_cv_c_inline in |
| 7138 |
+ |
inline | yes) ;; |
| 7139 |
+ |
*) |
| 7140 |
+ |
case $ac_cv_c_inline in |
| 7141 |
+ |
no) ac_val=;; |
| 7142 |
+ |
*) ac_val=$ac_cv_c_inline;; |
| 7143 |
+ |
esac |
| 7144 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7145 |
+ |
#ifndef __cplusplus |
| 7146 |
+ |
#define inline $ac_val |
| 7147 |
+ |
#endif |
| 7148 |
+ |
_ACEOF |
| 7149 |
+ |
;; |
| 7150 |
+ |
esac |
| 7151 |
+ |
|
| 7152 |
+ |
|
| 7153 |
+ |
|
| 7154 |
+ |
|
| 7155 |
+ |
for ac_func in rint sranddev |
| 7156 |
+ |
do |
| 7157 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7158 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7159 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7160 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7161 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7162 |
+ |
else |
| 7163 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7164 |
+ |
/* confdefs.h. */ |
| 7165 |
+ |
_ACEOF |
| 7166 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7167 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7168 |
+ |
/* end confdefs.h. */ |
| 7169 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 7170 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7171 |
+ |
#define $ac_func innocuous_$ac_func |
| 7172 |
+ |
|
| 7173 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 7174 |
+ |
which can conflict with char $ac_func (); below. |
| 7175 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7176 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 7177 |
+ |
|
| 7178 |
+ |
#ifdef __STDC__ |
| 7179 |
+ |
# include <limits.h> |
| 7180 |
+ |
#else |
| 7181 |
+ |
# include <assert.h> |
| 7182 |
+ |
#endif |
| 7183 |
+ |
|
| 7184 |
+ |
#undef $ac_func |
| 7185 |
+ |
|
| 7186 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7187 |
+ |
#ifdef __cplusplus |
| 7188 |
+ |
extern "C" |
| 7189 |
+ |
{ |
| 7190 |
+ |
#endif |
| 7191 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 7192 |
+ |
builtin and then its argument prototype would still apply. */ |
| 7193 |
+ |
char $ac_func (); |
| 7194 |
+ |
/* The GNU C library defines this for functions which it implements |
| 7195 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 7196 |
+ |
something starting with __ and the normal name is an alias. */ |
| 7197 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7198 |
+ |
choke me |
| 7199 |
+ |
#else |
| 7200 |
+ |
char (*f) () = $ac_func; |
| 7201 |
+ |
#endif |
| 7202 |
+ |
#ifdef __cplusplus |
| 7203 |
+ |
} |
| 7204 |
+ |
#endif |
| 7205 |
+ |
|
| 7206 |
+ |
int |
| 7207 |
+ |
main () |
| 7208 |
+ |
{ |
| 7209 |
+ |
return f != $ac_func; |
| 7210 |
+ |
; |
| 7211 |
+ |
return 0; |
| 7212 |
+ |
} |
| 7213 |
+ |
_ACEOF |
| 7214 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7215 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7216 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 7217 |
+ |
ac_status=$? |
| 7218 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7219 |
+ |
rm -f conftest.er1 |
| 7220 |
+ |
cat conftest.err >&5 |
| 7221 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7222 |
+ |
(exit $ac_status); } && |
| 7223 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7224 |
+ |
|| test ! -s conftest.err' |
| 7225 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7226 |
+ |
(eval $ac_try) 2>&5 |
| 7227 |
+ |
ac_status=$? |
| 7228 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7229 |
+ |
(exit $ac_status); }; } && |
| 7230 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7231 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7232 |
+ |
(eval $ac_try) 2>&5 |
| 7233 |
+ |
ac_status=$? |
| 7234 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7235 |
+ |
(exit $ac_status); }; }; then |
| 7236 |
+ |
eval "$as_ac_var=yes" |
| 7237 |
+ |
else |
| 7238 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7239 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7240 |
+ |
|
| 7241 |
+ |
eval "$as_ac_var=no" |
| 7242 |
+ |
fi |
| 7243 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 7244 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 7245 |
+ |
fi |
| 7246 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7247 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7248 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7249 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7250 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7251 |
+ |
_ACEOF |
| 7252 |
+ |
|
| 7253 |
+ |
fi |
| 7254 |
+ |
done |
| 7255 |
+ |
|
| 7256 |
+ |
|
| 7257 |
+ |
# clean out junk possibly left behind by a previous configuration |
| 7258 |
+ |
rm -f src/getopt.h |
| 7259 |
+ |
# Check for getopt_long support |
| 7260 |
+ |
|
| 7261 |
+ |
for ac_header in getopt.h |
| 7262 |
+ |
do |
| 7263 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7264 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7265 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7266 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7267 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7268 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7269 |
+ |
fi |
| 7270 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7271 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7272 |
+ |
else |
| 7273 |
+ |
# Is the header compilable? |
| 7274 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 7275 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 7276 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7277 |
+ |
/* confdefs.h. */ |
| 7278 |
+ |
_ACEOF |
| 7279 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7280 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7281 |
+ |
/* end confdefs.h. */ |
| 7282 |
+ |
$ac_includes_default |
| 7283 |
+ |
#include <$ac_header> |
| 7284 |
+ |
_ACEOF |
| 7285 |
+ |
rm -f conftest.$ac_objext |
| 7286 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7287 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7288 |
+ |
ac_status=$? |
| 7289 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7290 |
+ |
rm -f conftest.er1 |
| 7291 |
+ |
cat conftest.err >&5 |
| 7292 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7293 |
+ |
(exit $ac_status); } && |
| 7294 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7295 |
+ |
|| test ! -s conftest.err' |
| 7296 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7297 |
+ |
(eval $ac_try) 2>&5 |
| 7298 |
+ |
ac_status=$? |
| 7299 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7300 |
+ |
(exit $ac_status); }; } && |
| 7301 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7302 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7303 |
+ |
(eval $ac_try) 2>&5 |
| 7304 |
+ |
ac_status=$? |
| 7305 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7306 |
+ |
(exit $ac_status); }; }; then |
| 7307 |
+ |
ac_header_compiler=yes |
| 7308 |
+ |
else |
| 7309 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7310 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7311 |
+ |
|
| 7312 |
+ |
ac_header_compiler=no |
| 7313 |
+ |
fi |
| 7314 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7315 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7316 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7317 |
+ |
|
| 7318 |
+ |
# Is the header present? |
| 7319 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 7320 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 7321 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7322 |
+ |
/* confdefs.h. */ |
| 7323 |
+ |
_ACEOF |
| 7324 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7325 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7326 |
+ |
/* end confdefs.h. */ |
| 7327 |
+ |
#include <$ac_header> |
| 7328 |
+ |
_ACEOF |
| 7329 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 7330 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 7331 |
+ |
ac_status=$? |
| 7332 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7333 |
+ |
rm -f conftest.er1 |
| 7334 |
+ |
cat conftest.err >&5 |
| 7335 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7336 |
+ |
(exit $ac_status); } >/dev/null; then |
| 7337 |
+ |
if test -s conftest.err; then |
| 7338 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7339 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7340 |
+ |
else |
| 7341 |
+ |
ac_cpp_err= |
| 7342 |
+ |
fi |
| 7343 |
+ |
else |
| 7344 |
+ |
ac_cpp_err=yes |
| 7345 |
+ |
fi |
| 7346 |
+ |
if test -z "$ac_cpp_err"; then |
| 7347 |
+ |
ac_header_preproc=yes |
| 7348 |
+ |
else |
| 7349 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7350 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7351 |
+ |
|
| 7352 |
+ |
ac_header_preproc=no |
| 7353 |
+ |
fi |
| 7354 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 7355 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7356 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7357 |
+ |
|
| 7358 |
+ |
# So? What about this header? |
| 7359 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7360 |
+ |
yes:no: ) |
| 7361 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7362 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7363 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 7364 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 7365 |
+ |
ac_header_preproc=yes |
| 7366 |
+ |
;; |
| 7367 |
+ |
no:yes:* ) |
| 7368 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 7369 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 7370 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 7371 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 7372 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 7373 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 7374 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 7375 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 7376 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 7377 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 7378 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 7379 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 7380 |
+ |
( |
| 7381 |
+ |
cat <<\_ASBOX |
| 7382 |
+ |
## ------------------------------ ## |
| 7383 |
+ |
## Report this to gezelter@nd.edu ## |
| 7384 |
+ |
## ------------------------------ ## |
| 7385 |
+ |
_ASBOX |
| 7386 |
+ |
) | |
| 7387 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7388 |
+ |
;; |
| 7389 |
+ |
esac |
| 7390 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7391 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7392 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7393 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7394 |
+ |
else |
| 7395 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 7396 |
+ |
fi |
| 7397 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7398 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7399 |
+ |
|
| 7400 |
+ |
fi |
| 7401 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 7402 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7403 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7404 |
+ |
_ACEOF |
| 7405 |
+ |
|
| 7406 |
+ |
fi |
| 7407 |
+ |
|
| 7408 |
+ |
done |
| 7409 |
+ |
|
| 7410 |
+ |
|
| 7411 |
+ |
for ac_func in getopt_long |
| 7412 |
+ |
do |
| 7413 |
+ |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7414 |
+ |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7415 |
+ |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7416 |
+ |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7417 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7418 |
+ |
else |
| 7419 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7420 |
+ |
/* confdefs.h. */ |
| 7421 |
+ |
_ACEOF |
| 7422 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7423 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7424 |
+ |
/* end confdefs.h. */ |
| 7425 |
+ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 7426 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7427 |
+ |
#define $ac_func innocuous_$ac_func |
| 7428 |
+ |
|
| 7429 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 7430 |
+ |
which can conflict with char $ac_func (); below. |
| 7431 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7432 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 7433 |
+ |
|
| 7434 |
+ |
#ifdef __STDC__ |
| 7435 |
+ |
# include <limits.h> |
| 7436 |
+ |
#else |
| 7437 |
+ |
# include <assert.h> |
| 7438 |
+ |
#endif |
| 7439 |
+ |
|
| 7440 |
+ |
#undef $ac_func |
| 7441 |
+ |
|
| 7442 |
+ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7443 |
+ |
#ifdef __cplusplus |
| 7444 |
+ |
extern "C" |
| 7445 |
+ |
{ |
| 7446 |
+ |
#endif |
| 7447 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 7448 |
+ |
builtin and then its argument prototype would still apply. */ |
| 7449 |
+ |
char $ac_func (); |
| 7450 |
+ |
/* The GNU C library defines this for functions which it implements |
| 7451 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 7452 |
+ |
something starting with __ and the normal name is an alias. */ |
| 7453 |
+ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7454 |
+ |
choke me |
| 7455 |
+ |
#else |
| 7456 |
+ |
char (*f) () = $ac_func; |
| 7457 |
+ |
#endif |
| 7458 |
+ |
#ifdef __cplusplus |
| 7459 |
+ |
} |
| 7460 |
+ |
#endif |
| 7461 |
+ |
|
| 7462 |
+ |
int |
| 7463 |
+ |
main () |
| 7464 |
+ |
{ |
| 7465 |
+ |
return f != $ac_func; |
| 7466 |
+ |
; |
| 7467 |
+ |
return 0; |
| 7468 |
+ |
} |
| 7469 |
+ |
_ACEOF |
| 7470 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7471 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7472 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 7473 |
+ |
ac_status=$? |
| 7474 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7475 |
+ |
rm -f conftest.er1 |
| 7476 |
+ |
cat conftest.err >&5 |
| 7477 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7478 |
+ |
(exit $ac_status); } && |
| 7479 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7480 |
+ |
|| test ! -s conftest.err' |
| 7481 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7482 |
+ |
(eval $ac_try) 2>&5 |
| 7483 |
+ |
ac_status=$? |
| 7484 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7485 |
+ |
(exit $ac_status); }; } && |
| 7486 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 7487 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7488 |
+ |
(eval $ac_try) 2>&5 |
| 7489 |
+ |
ac_status=$? |
| 7490 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7491 |
+ |
(exit $ac_status); }; }; then |
| 7492 |
+ |
eval "$as_ac_var=yes" |
| 7493 |
+ |
else |
| 7494 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7495 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7496 |
+ |
|
| 7497 |
+ |
eval "$as_ac_var=no" |
| 7498 |
+ |
fi |
| 7499 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 7500 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 7501 |
+ |
fi |
| 7502 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7503 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7504 |
+ |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7505 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7506 |
+ |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7507 |
+ |
_ACEOF |
| 7508 |
+ |
|
| 7509 |
+ |
else |
| 7510 |
|
# FreeBSD has a gnugetopt library for this |
| 7511 |
|
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 7512 |
|
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 9436 |
|
|
| 9437 |
|
cat >>confdefs.h <<_ACEOF |
| 9438 |
|
#define PSCOMMAND $PS |
| 9439 |
+ |
_ACEOF |
| 9440 |
+ |
|
| 9441 |
+ |
|
| 9442 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 9443 |
+ |
#define OBAPI |
| 9444 |
|
_ACEOF |
| 9445 |
|
|
| 9446 |
|
|
| 9447 |
+ |
|
| 9448 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 9449 |
< |
cat >>confdefs.h <<\_ACEOF |
| 9449 |
> |
|
| 9450 |
> |
cat >>confdefs.h <<\_ACEOF |
| 9451 |
|
#define PSTYPE_IS_BSD 1 |
| 9452 |
|
_ACEOF |
| 9453 |
|
|
| 9454 |
|
else |
| 9455 |
|
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 9456 |
< |
cat >>confdefs.h <<\_ACEOF |
| 9456 |
> |
|
| 9457 |
> |
cat >>confdefs.h <<\_ACEOF |
| 9458 |
|
#define PSTYPE_IS_POSIX 1 |
| 9459 |
|
_ACEOF |
| 9460 |
|
|
| 10046 |
|
|
| 10047 |
|
save_CXXFLAGS="$CXXFLAGS" |
| 10048 |
|
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 10049 |
< |
|
| 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 |
| 10049 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 10050 |
|
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 10051 |
|
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 10052 |
|
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 11230 |
|
s,@CXX@,$CXX,;t t |
| 11231 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 11232 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 11233 |
+ |
s,@CPP@,$CPP,;t t |
| 11234 |
+ |
s,@EGREP@,$EGREP,;t t |
| 11235 |
|
s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t |
| 11236 |
|
s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t |
| 11237 |
|
s,@F90@,$F90,;t t |
| 11247 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 11248 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 11249 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 11250 |
< |
s,@CPP@,$CPP,;t t |
| 9493 |
< |
s,@EGREP@,$EGREP,;t t |
| 11250 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
| 11251 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
| 11252 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 11253 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 11270 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 11271 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 11272 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 9516 |
– |
s,@CXXCPP@,$CXXCPP,;t t |
| 11273 |
|
s,@USE_CGAL@,$USE_CGAL,;t t |
| 11274 |
|
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
| 11275 |
|
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |