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} |
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 |
901 |
– |
CPP C preprocessor |
902 |
|
CXXCPP C++ preprocessor |
903 |
|
|
904 |
|
Use these variables to override the choices made by `configure' or to help |
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 |
3806 |
|
ac_save_F90FLAGS=$F90FLAGS |
3807 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
3808 |
|
|
3809 |
< |
(eval echo $as_me:3558: \"$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:3635: \"$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 |
4478 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4479 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4480 |
< |
# On Suns, sometimes $CPP names a directory. |
4481 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
4482 |
< |
CPP= |
4483 |
< |
fi |
4484 |
< |
if test -z "$CPP"; then |
4485 |
< |
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 |
4491 |
< |
ac_preproc_ok=false |
4492 |
< |
for ac_c_preproc_warn_flag in '' yes |
4493 |
< |
do |
4494 |
< |
# Use a header file that comes with gcc, so configuring glibc |
4495 |
< |
# with a fresh cross-compiler works. |
4496 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4497 |
< |
# <limits.h> exists even on freestanding compilers. |
4498 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4499 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
4500 |
< |
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> |
4739 |
> |
|
4740 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
4741 |
> |
#ifdef __cplusplus |
4742 |
> |
extern "C" |
4743 |
|
#endif |
4744 |
< |
Syntax error |
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 |
4525 |
< |
ac_cpp_err= |
4526 |
< |
fi |
4527 |
< |
else |
4528 |
< |
ac_cpp_err=yes |
4529 |
< |
fi |
4530 |
< |
if test -z "$ac_cpp_err"; then |
4531 |
< |
: |
4532 |
< |
else |
4533 |
< |
echo "$as_me: failed program was:" >&5 |
4534 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4535 |
< |
|
4536 |
< |
# Broken: fails on valid input. |
4537 |
< |
continue |
4538 |
< |
fi |
4539 |
< |
rm -f conftest.err conftest.$ac_ext |
4540 |
< |
|
4541 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
4542 |
< |
# can be detected and how. |
4543 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4544 |
< |
/* confdefs.h. */ |
4545 |
< |
_ACEOF |
4546 |
< |
cat confdefs.h >>conftest.$ac_ext |
4547 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4548 |
< |
/* end confdefs.h. */ |
4549 |
< |
#include <ac_nonexistent.h> |
4550 |
< |
_ACEOF |
4551 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4552 |
< |
(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=$? |
4554 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4555 |
– |
rm -f conftest.er1 |
4556 |
– |
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 |
4562 |
< |
else |
4563 |
< |
ac_cpp_err= |
4564 |
< |
fi |
4565 |
< |
else |
4566 |
< |
ac_cpp_err=yes |
4567 |
< |
fi |
4568 |
< |
if test -z "$ac_cpp_err"; then |
4569 |
< |
# Broken: success on invalid input. |
4570 |
< |
continue |
4571 |
< |
else |
4572 |
< |
echo "$as_me: failed program was:" >&5 |
4573 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
4574 |
< |
|
4575 |
< |
# Passes both tests. |
4576 |
< |
ac_preproc_ok=: |
4577 |
< |
break |
4578 |
< |
fi |
4579 |
< |
rm -f conftest.err conftest.$ac_ext |
4580 |
< |
|
4581 |
< |
done |
4582 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4583 |
< |
rm -f conftest.err conftest.$ac_ext |
4584 |
< |
if $ac_preproc_ok; then |
4585 |
< |
break |
4586 |
< |
fi |
4587 |
< |
|
4588 |
< |
done |
4589 |
< |
ac_cv_prog_CPP=$CPP |
4590 |
< |
|
4591 |
< |
fi |
4592 |
< |
CPP=$ac_cv_prog_CPP |
4593 |
< |
else |
4594 |
< |
ac_cv_prog_CPP=$CPP |
4595 |
< |
fi |
4596 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
4597 |
< |
echo "${ECHO_T}$CPP" >&6 |
4598 |
< |
ac_preproc_ok=false |
4599 |
< |
for ac_c_preproc_warn_flag in '' yes |
4600 |
< |
do |
4601 |
< |
# Use a header file that comes with gcc, so configuring glibc |
4602 |
< |
# with a fresh cross-compiler works. |
4603 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4604 |
< |
# <limits.h> exists even on freestanding compilers. |
4605 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
4606 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
4607 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4608 |
< |
/* confdefs.h. */ |
4609 |
< |
_ACEOF |
4610 |
< |
cat confdefs.h >>conftest.$ac_ext |
4611 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4612 |
< |
/* end confdefs.h. */ |
4613 |
< |
#ifdef __STDC__ |
4614 |
< |
# include <limits.h> |
4615 |
< |
#else |
4616 |
< |
# include <assert.h> |
4617 |
< |
#endif |
4618 |
< |
Syntax error |
4619 |
< |
_ACEOF |
4620 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4621 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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=$? |
4623 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
4624 |
– |
rm -f conftest.er1 |
4625 |
– |
cat conftest.err >&5 |
4775 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4776 |
< |
(exit $ac_status); } >/dev/null; then |
4777 |
< |
if test -s conftest.err; then |
4629 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
4630 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4631 |
< |
else |
4632 |
< |
ac_cpp_err= |
4633 |
< |
fi |
4776 |
> |
(exit $ac_status); }; }; then |
4777 |
> |
ac_cv_lib_m_asin=yes |
4778 |
|
else |
4635 |
– |
ac_cpp_err=yes |
4636 |
– |
fi |
4637 |
– |
if test -z "$ac_cpp_err"; then |
4638 |
– |
: |
4639 |
– |
else |
4779 |
|
echo "$as_me: failed program was:" >&5 |
4780 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4781 |
|
|
4782 |
< |
# Broken: fails on valid input. |
4644 |
< |
continue |
4782 |
> |
ac_cv_lib_m_asin=no |
4783 |
|
fi |
4784 |
< |
rm -f conftest.err conftest.$ac_ext |
4785 |
< |
|
4786 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
4649 |
< |
# can be detected and how. |
4650 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4651 |
< |
/* confdefs.h. */ |
4652 |
< |
_ACEOF |
4653 |
< |
cat confdefs.h >>conftest.$ac_ext |
4654 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
4655 |
< |
/* end confdefs.h. */ |
4656 |
< |
#include <ac_nonexistent.h> |
4657 |
< |
_ACEOF |
4658 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4659 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4660 |
< |
ac_status=$? |
4661 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4662 |
< |
rm -f conftest.er1 |
4663 |
< |
cat conftest.err >&5 |
4664 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4665 |
< |
(exit $ac_status); } >/dev/null; then |
4666 |
< |
if test -s conftest.err; then |
4667 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
4668 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4669 |
< |
else |
4670 |
< |
ac_cpp_err= |
4671 |
< |
fi |
4672 |
< |
else |
4673 |
< |
ac_cpp_err=yes |
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 |
< |
if test -z "$ac_cpp_err"; then |
4789 |
< |
# Broken: success on invalid input. |
4790 |
< |
continue |
4791 |
< |
else |
4792 |
< |
echo "$as_me: failed program was:" >&5 |
4793 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
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 |
4794 |
|
|
4795 |
< |
# Passes both tests. |
4683 |
< |
ac_preproc_ok=: |
4684 |
< |
break |
4685 |
< |
fi |
4686 |
< |
rm -f conftest.err conftest.$ac_ext |
4795 |
> |
LIBS="-lm $LIBS" |
4796 |
|
|
4688 |
– |
done |
4689 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4690 |
– |
rm -f conftest.err conftest.$ac_ext |
4691 |
– |
if $ac_preproc_ok; then |
4692 |
– |
: |
4797 |
|
else |
4798 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4695 |
< |
See \`config.log' for more details." >&5 |
4696 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4697 |
< |
See \`config.log' for more details." >&2;} |
4698 |
< |
{ (exit 1); exit 1; }; } |
4798 |
> |
exit |
4799 |
|
fi |
4800 |
|
|
4801 |
+ |
|
4802 |
|
ac_ext=c |
4803 |
|
ac_cpp='$CPP $CPPFLAGS' |
4804 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4806 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4807 |
|
|
4808 |
|
|
4708 |
– |
echo "$as_me:$LINENO: checking for egrep" >&5 |
4709 |
– |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4710 |
– |
if test "${ac_cv_prog_egrep+set}" = set; then |
4711 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4712 |
– |
else |
4713 |
– |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4714 |
– |
then ac_cv_prog_egrep='grep -E' |
4715 |
– |
else ac_cv_prog_egrep='egrep' |
4716 |
– |
fi |
4717 |
– |
fi |
4718 |
– |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4719 |
– |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4720 |
– |
EGREP=$ac_cv_prog_egrep |
4721 |
– |
|
4722 |
– |
|
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 |
5418 |
|
|
5419 |
|
|
5420 |
|
|
5421 |
< |
|
5336 |
< |
|
5337 |
< |
|
5338 |
< |
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 |
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 |
5572 |
|
|
5573 |
|
|
5574 |
|
|
5575 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
5575 |
> |
for ac_header in strstream.h iostream.h fstream.h math.h time.h |
5576 |
|
do |
5577 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5578 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5579 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5580 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5577 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5578 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5579 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5580 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5581 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5582 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5583 |
+ |
fi |
5584 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5585 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5586 |
|
else |
5587 |
< |
cat >conftest.$ac_ext <<_ACEOF |
5587 |
> |
# Is the header compilable? |
5588 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5589 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5590 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5591 |
|
/* confdefs.h. */ |
5592 |
|
_ACEOF |
5593 |
|
cat confdefs.h >>conftest.$ac_ext |
5594 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5595 |
|
/* end confdefs.h. */ |
5596 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
5597 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
5508 |
< |
#define $ac_func innocuous_$ac_func |
5509 |
< |
|
5510 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
5511 |
< |
which can conflict with char $ac_func (); below. |
5512 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5513 |
< |
<limits.h> exists even on freestanding compilers. */ |
5514 |
< |
|
5515 |
< |
#ifdef __STDC__ |
5516 |
< |
# include <limits.h> |
5517 |
< |
#else |
5518 |
< |
# include <assert.h> |
5519 |
< |
#endif |
5520 |
< |
|
5521 |
< |
#undef $ac_func |
5522 |
< |
|
5523 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
5524 |
< |
#ifdef __cplusplus |
5525 |
< |
extern "C" |
5526 |
< |
{ |
5527 |
< |
#endif |
5528 |
< |
/* We use char because int might match the return type of a gcc2 |
5529 |
< |
builtin and then its argument prototype would still apply. */ |
5530 |
< |
char $ac_func (); |
5531 |
< |
/* The GNU C library defines this for functions which it implements |
5532 |
< |
to always fail with ENOSYS. Some functions are actually named |
5533 |
< |
something starting with __ and the normal name is an alias. */ |
5534 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5535 |
< |
choke me |
5536 |
< |
#else |
5537 |
< |
char (*f) () = $ac_func; |
5538 |
< |
#endif |
5539 |
< |
#ifdef __cplusplus |
5540 |
< |
} |
5541 |
< |
#endif |
5542 |
< |
|
5543 |
< |
int |
5544 |
< |
main () |
5545 |
< |
{ |
5546 |
< |
return f != $ac_func; |
5547 |
< |
; |
5548 |
< |
return 0; |
5549 |
< |
} |
5596 |
> |
$ac_includes_default |
5597 |
> |
#include <$ac_header> |
5598 |
|
_ACEOF |
5599 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
5600 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5601 |
< |
(eval $ac_link) 2>conftest.er1 |
5599 |
> |
rm -f conftest.$ac_objext |
5600 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5601 |
> |
(eval $ac_compile) 2>conftest.er1 |
5602 |
|
ac_status=$? |
5603 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5604 |
|
rm -f conftest.er1 |
5612 |
|
ac_status=$? |
5613 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5614 |
|
(exit $ac_status); }; } && |
5615 |
< |
{ ac_try='test -s conftest$ac_exeext' |
5615 |
> |
{ ac_try='test -s conftest.$ac_objext' |
5616 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5617 |
|
(eval $ac_try) 2>&5 |
5618 |
|
ac_status=$? |
5619 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5620 |
|
(exit $ac_status); }; }; then |
5621 |
< |
eval "$as_ac_var=yes" |
5621 |
> |
ac_header_compiler=yes |
5622 |
|
else |
5623 |
|
echo "$as_me: failed program was:" >&5 |
5624 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5625 |
|
|
5626 |
< |
eval "$as_ac_var=no" |
5626 |
> |
ac_header_compiler=no |
5627 |
|
fi |
5628 |
< |
rm -f conftest.err conftest.$ac_objext \ |
5629 |
< |
conftest$ac_exeext conftest.$ac_ext |
5628 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5629 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5630 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5631 |
> |
|
5632 |
> |
# Is the header present? |
5633 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5634 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5635 |
> |
cat >conftest.$ac_ext <<_ACEOF |
5636 |
> |
/* confdefs.h. */ |
5637 |
> |
_ACEOF |
5638 |
> |
cat confdefs.h >>conftest.$ac_ext |
5639 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
5640 |
> |
/* end confdefs.h. */ |
5641 |
> |
#include <$ac_header> |
5642 |
> |
_ACEOF |
5643 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5644 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5645 |
> |
ac_status=$? |
5646 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
5647 |
> |
rm -f conftest.er1 |
5648 |
> |
cat conftest.err >&5 |
5649 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5650 |
> |
(exit $ac_status); } >/dev/null; then |
5651 |
> |
if test -s conftest.err; then |
5652 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
5653 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5654 |
> |
else |
5655 |
> |
ac_cpp_err= |
5656 |
> |
fi |
5657 |
> |
else |
5658 |
> |
ac_cpp_err=yes |
5659 |
|
fi |
5660 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5661 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5662 |
< |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5660 |
> |
if test -z "$ac_cpp_err"; then |
5661 |
> |
ac_header_preproc=yes |
5662 |
> |
else |
5663 |
> |
echo "$as_me: failed program was:" >&5 |
5664 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
5665 |
> |
|
5666 |
> |
ac_header_preproc=no |
5667 |
> |
fi |
5668 |
> |
rm -f conftest.err conftest.$ac_ext |
5669 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5670 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5671 |
> |
|
5672 |
> |
# So? What about this header? |
5673 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5674 |
> |
yes:no: ) |
5675 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5676 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5677 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
5678 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
5679 |
> |
ac_header_preproc=yes |
5680 |
> |
;; |
5681 |
> |
no:yes:* ) |
5682 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5683 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5684 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5685 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5686 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
5687 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
5688 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
5689 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5690 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5691 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5692 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5693 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5694 |
> |
( |
5695 |
> |
cat <<\_ASBOX |
5696 |
> |
## ------------------------------ ## |
5697 |
> |
## Report this to gezelter@nd.edu ## |
5698 |
> |
## ------------------------------ ## |
5699 |
> |
_ASBOX |
5700 |
> |
) | |
5701 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
5702 |
> |
;; |
5703 |
> |
esac |
5704 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5705 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5706 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5707 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5708 |
> |
else |
5709 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
5710 |
> |
fi |
5711 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5712 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5713 |
> |
|
5714 |
> |
fi |
5715 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5716 |
|
cat >>confdefs.h <<_ACEOF |
5717 |
< |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5717 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5718 |
|
_ACEOF |
5719 |
|
|
5720 |
|
fi |
5721 |
+ |
|
5722 |
|
done |
5723 |
|
|
5724 |
< |
# special check for _system_configuration because AIX <4.3.2 do not |
5725 |
< |
# contain the `physmem' member. |
5726 |
< |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
5727 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
5728 |
< |
cat >conftest.$ac_ext <<_ACEOF |
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 |
> |
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 |
< |
#include <sys/systemcfg.h> |
5760 |
< |
int |
5761 |
< |
main () |
5762 |
< |
{ |
5763 |
< |
double x = _system_configuration.physmem; |
5764 |
< |
; |
5609 |
< |
return 0; |
5610 |
< |
} |
5759 |
> |
#ifdef __STDC__ |
5760 |
> |
# include <limits.h> |
5761 |
> |
#else |
5762 |
> |
# include <assert.h> |
5763 |
> |
#endif |
5764 |
> |
Syntax error |
5765 |
|
_ACEOF |
5766 |
< |
rm -f conftest.$ac_objext |
5767 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5614 |
< |
(eval $ac_compile) 2>conftest.er1 |
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); } && |
5774 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
5775 |
< |
|| test ! -s conftest.err' |
5776 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5777 |
< |
(eval $ac_try) 2>&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); }; } && |
5812 |
< |
{ ac_try='test -s conftest.$ac_objext' |
5813 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5814 |
< |
(eval $ac_try) 2>&5 |
5815 |
< |
ac_status=$? |
5816 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5817 |
< |
(exit $ac_status); }; }; then |
5818 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
5819 |
< |
echo "${ECHO_T}yes" >&6 |
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 |
< |
cat >>confdefs.h <<\_ACEOF |
5829 |
< |
#define HAVE__SYSTEM_CONFIGURATION 1 |
5830 |
< |
_ACEOF |
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 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
5897 |
< |
echo "${ECHO_T}no" >&6 |
5896 |
> |
# Broken: fails on valid input. |
5897 |
> |
continue |
5898 |
|
fi |
5899 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
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 |
< |
# clean out junk possibly left behind by a previous configuration |
5936 |
< |
rm -f src/getopt.h |
5937 |
< |
# Check for getopt_long support |
5935 |
> |
# Passes both tests. |
5936 |
> |
ac_preproc_ok=: |
5937 |
> |
break |
5938 |
> |
fi |
5939 |
> |
rm -f conftest.err conftest.$ac_ext |
5940 |
|
|
5941 |
< |
for ac_header in getopt.h |
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 |
5996 |
|
cat conftest.err >&5 |
5997 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5998 |
|
(exit $ac_status); } && |
5999 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
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 |
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_c_preproc_warn_flag |
6044 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
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 |
6061 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6062 |
|
|
6063 |
|
# So? What about this header? |
6064 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
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;} |
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 |
< |
for ac_func in getopt_long |
6121 |
> |
|
6122 |
> |
|
6123 |
> |
|
6124 |
> |
for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h |
6125 |
|
do |
6126 |
< |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6127 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6128 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6129 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
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 |
< |
cat >conftest.$ac_ext <<_ACEOF |
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 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6146 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6147 |
< |
#define $ac_func innocuous_$ac_func |
6148 |
< |
|
6149 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
6150 |
< |
which can conflict with char $ac_func (); below. |
6151 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6152 |
< |
<limits.h> exists even on freestanding compilers. */ |
6153 |
< |
|
6154 |
< |
#ifdef __STDC__ |
6155 |
< |
# include <limits.h> |
6156 |
< |
#else |
6157 |
< |
# include <assert.h> |
6158 |
< |
#endif |
6159 |
< |
|
6160 |
< |
#undef $ac_func |
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 |
6601 |
> |
<limits.h> exists even on freestanding compilers. */ |
6602 |
> |
|
6603 |
> |
#ifdef __STDC__ |
6604 |
> |
# include <limits.h> |
6605 |
> |
#else |
6606 |
> |
# include <assert.h> |
6607 |
> |
#endif |
6608 |
> |
|
6609 |
> |
#undef $ac_func |
6610 |
> |
|
6611 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
6612 |
> |
#ifdef __cplusplus |
6613 |
> |
extern "C" |
6614 |
> |
{ |
6615 |
> |
#endif |
6616 |
> |
/* We use char because int might match the return type of a gcc2 |
6617 |
> |
builtin and then its argument prototype would still apply. */ |
6618 |
> |
char $ac_func (); |
6619 |
> |
/* The GNU C library defines this for functions which it implements |
6620 |
> |
to always fail with ENOSYS. Some functions are actually named |
6621 |
> |
something starting with __ and the normal name is an alias. */ |
6622 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6623 |
> |
choke me |
6624 |
> |
#else |
6625 |
> |
char (*f) () = $ac_func; |
6626 |
> |
#endif |
6627 |
> |
#ifdef __cplusplus |
6628 |
> |
} |
6629 |
> |
#endif |
6630 |
> |
|
6631 |
> |
int |
6632 |
> |
main () |
6633 |
> |
{ |
6634 |
> |
return f != $ac_func; |
6635 |
> |
; |
6636 |
> |
return 0; |
6637 |
> |
} |
6638 |
> |
_ACEOF |
6639 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
6640 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6641 |
> |
(eval $ac_link) 2>conftest.er1 |
6642 |
> |
ac_status=$? |
6643 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
6644 |
> |
rm -f conftest.er1 |
6645 |
> |
cat conftest.err >&5 |
6646 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6647 |
> |
(exit $ac_status); } && |
6648 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
6649 |
> |
|| test ! -s conftest.err' |
6650 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6651 |
> |
(eval $ac_try) 2>&5 |
6652 |
> |
ac_status=$? |
6653 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6654 |
> |
(exit $ac_status); }; } && |
6655 |
> |
{ ac_try='test -s conftest$ac_exeext' |
6656 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6657 |
> |
(eval $ac_try) 2>&5 |
6658 |
> |
ac_status=$? |
6659 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6660 |
> |
(exit $ac_status); }; }; then |
6661 |
> |
eval "$as_ac_var=yes" |
6662 |
> |
else |
6663 |
> |
echo "$as_me: failed program was:" >&5 |
6664 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
6665 |
> |
|
6666 |
> |
eval "$as_ac_var=no" |
6667 |
> |
fi |
6668 |
> |
rm -f conftest.err conftest.$ac_objext \ |
6669 |
> |
conftest$ac_exeext conftest.$ac_ext |
6670 |
> |
fi |
6671 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6672 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6673 |
> |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6674 |
> |
cat >>confdefs.h <<_ACEOF |
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" |
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 |
9450 |
|
#define PSTYPE_IS_BSD 1 |
10044 |
|
|
10045 |
|
save_CXXFLAGS="$CXXFLAGS" |
10046 |
|
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
10047 |
< |
|
8435 |
< |
ac_ext=cc |
8436 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
8437 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8438 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8439 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8440 |
< |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
8441 |
< |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
8442 |
< |
if test -z "$CXXCPP"; then |
8443 |
< |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
8444 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8445 |
< |
else |
8446 |
< |
# Double quotes because CXXCPP needs to be expanded |
8447 |
< |
for CXXCPP in "$CXX -E" "/lib/cpp" |
8448 |
< |
do |
8449 |
< |
ac_preproc_ok=false |
8450 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
8451 |
< |
do |
8452 |
< |
# Use a header file that comes with gcc, so configuring glibc |
8453 |
< |
# with a fresh cross-compiler works. |
8454 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8455 |
< |
# <limits.h> exists even on freestanding compilers. |
8456 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8457 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
8458 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8459 |
< |
/* confdefs.h. */ |
8460 |
< |
_ACEOF |
8461 |
< |
cat confdefs.h >>conftest.$ac_ext |
8462 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8463 |
< |
/* end confdefs.h. */ |
8464 |
< |
#ifdef __STDC__ |
8465 |
< |
# include <limits.h> |
8466 |
< |
#else |
8467 |
< |
# include <assert.h> |
8468 |
< |
#endif |
8469 |
< |
Syntax error |
8470 |
< |
_ACEOF |
8471 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8472 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8473 |
< |
ac_status=$? |
8474 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8475 |
< |
rm -f conftest.er1 |
8476 |
< |
cat conftest.err >&5 |
8477 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8478 |
< |
(exit $ac_status); } >/dev/null; then |
8479 |
< |
if test -s conftest.err; then |
8480 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8481 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8482 |
< |
else |
8483 |
< |
ac_cpp_err= |
8484 |
< |
fi |
8485 |
< |
else |
8486 |
< |
ac_cpp_err=yes |
8487 |
< |
fi |
8488 |
< |
if test -z "$ac_cpp_err"; then |
8489 |
< |
: |
8490 |
< |
else |
8491 |
< |
echo "$as_me: failed program was:" >&5 |
8492 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
8493 |
< |
|
8494 |
< |
# Broken: fails on valid input. |
8495 |
< |
continue |
8496 |
< |
fi |
8497 |
< |
rm -f conftest.err conftest.$ac_ext |
8498 |
< |
|
8499 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
8500 |
< |
# can be detected and how. |
8501 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8502 |
< |
/* confdefs.h. */ |
8503 |
< |
_ACEOF |
8504 |
< |
cat confdefs.h >>conftest.$ac_ext |
8505 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8506 |
< |
/* end confdefs.h. */ |
8507 |
< |
#include <ac_nonexistent.h> |
8508 |
< |
_ACEOF |
8509 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8510 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8511 |
< |
ac_status=$? |
8512 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8513 |
< |
rm -f conftest.er1 |
8514 |
< |
cat conftest.err >&5 |
8515 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8516 |
< |
(exit $ac_status); } >/dev/null; then |
8517 |
< |
if test -s conftest.err; then |
8518 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8519 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8520 |
< |
else |
8521 |
< |
ac_cpp_err= |
8522 |
< |
fi |
8523 |
< |
else |
8524 |
< |
ac_cpp_err=yes |
8525 |
< |
fi |
8526 |
< |
if test -z "$ac_cpp_err"; then |
8527 |
< |
# Broken: success on invalid input. |
8528 |
< |
continue |
8529 |
< |
else |
8530 |
< |
echo "$as_me: failed program was:" >&5 |
8531 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
8532 |
< |
|
8533 |
< |
# Passes both tests. |
8534 |
< |
ac_preproc_ok=: |
8535 |
< |
break |
8536 |
< |
fi |
8537 |
< |
rm -f conftest.err conftest.$ac_ext |
8538 |
< |
|
8539 |
< |
done |
8540 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8541 |
< |
rm -f conftest.err conftest.$ac_ext |
8542 |
< |
if $ac_preproc_ok; then |
8543 |
< |
break |
8544 |
< |
fi |
8545 |
< |
|
8546 |
< |
done |
8547 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
8548 |
< |
|
8549 |
< |
fi |
8550 |
< |
CXXCPP=$ac_cv_prog_CXXCPP |
8551 |
< |
else |
8552 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
8553 |
< |
fi |
8554 |
< |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
8555 |
< |
echo "${ECHO_T}$CXXCPP" >&6 |
8556 |
< |
ac_preproc_ok=false |
8557 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
8558 |
< |
do |
8559 |
< |
# Use a header file that comes with gcc, so configuring glibc |
8560 |
< |
# with a fresh cross-compiler works. |
8561 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8562 |
< |
# <limits.h> exists even on freestanding compilers. |
8563 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
8564 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
8565 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8566 |
< |
/* confdefs.h. */ |
8567 |
< |
_ACEOF |
8568 |
< |
cat confdefs.h >>conftest.$ac_ext |
8569 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8570 |
< |
/* end confdefs.h. */ |
8571 |
< |
#ifdef __STDC__ |
8572 |
< |
# include <limits.h> |
8573 |
< |
#else |
8574 |
< |
# include <assert.h> |
8575 |
< |
#endif |
8576 |
< |
Syntax error |
8577 |
< |
_ACEOF |
8578 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8579 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8580 |
< |
ac_status=$? |
8581 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8582 |
< |
rm -f conftest.er1 |
8583 |
< |
cat conftest.err >&5 |
8584 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8585 |
< |
(exit $ac_status); } >/dev/null; then |
8586 |
< |
if test -s conftest.err; then |
8587 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8588 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8589 |
< |
else |
8590 |
< |
ac_cpp_err= |
8591 |
< |
fi |
8592 |
< |
else |
8593 |
< |
ac_cpp_err=yes |
8594 |
< |
fi |
8595 |
< |
if test -z "$ac_cpp_err"; then |
8596 |
< |
: |
8597 |
< |
else |
8598 |
< |
echo "$as_me: failed program was:" >&5 |
8599 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
8600 |
< |
|
8601 |
< |
# Broken: fails on valid input. |
8602 |
< |
continue |
8603 |
< |
fi |
8604 |
< |
rm -f conftest.err conftest.$ac_ext |
8605 |
< |
|
8606 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
8607 |
< |
# can be detected and how. |
8608 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8609 |
< |
/* confdefs.h. */ |
8610 |
< |
_ACEOF |
8611 |
< |
cat confdefs.h >>conftest.$ac_ext |
8612 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8613 |
< |
/* end confdefs.h. */ |
8614 |
< |
#include <ac_nonexistent.h> |
8615 |
< |
_ACEOF |
8616 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8617 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8618 |
< |
ac_status=$? |
8619 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8620 |
< |
rm -f conftest.er1 |
8621 |
< |
cat conftest.err >&5 |
8622 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 |
< |
(exit $ac_status); } >/dev/null; then |
8624 |
< |
if test -s conftest.err; then |
8625 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
8626 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
8627 |
< |
else |
8628 |
< |
ac_cpp_err= |
8629 |
< |
fi |
8630 |
< |
else |
8631 |
< |
ac_cpp_err=yes |
8632 |
< |
fi |
8633 |
< |
if test -z "$ac_cpp_err"; then |
8634 |
< |
# Broken: success on invalid input. |
8635 |
< |
continue |
8636 |
< |
else |
8637 |
< |
echo "$as_me: failed program was:" >&5 |
8638 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
8639 |
< |
|
8640 |
< |
# Passes both tests. |
8641 |
< |
ac_preproc_ok=: |
8642 |
< |
break |
8643 |
< |
fi |
8644 |
< |
rm -f conftest.err conftest.$ac_ext |
8645 |
< |
|
8646 |
< |
done |
8647 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
8648 |
< |
rm -f conftest.err conftest.$ac_ext |
8649 |
< |
if $ac_preproc_ok; then |
8650 |
< |
: |
8651 |
< |
else |
8652 |
< |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8653 |
< |
See \`config.log' for more details." >&5 |
8654 |
< |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
8655 |
< |
See \`config.log' for more details." >&2;} |
8656 |
< |
{ (exit 1); exit 1; }; } |
8657 |
< |
fi |
8658 |
< |
|
8659 |
< |
ac_ext=cc |
8660 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
8661 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8662 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8663 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8664 |
< |
|
8665 |
< |
|
8666 |
< |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
10047 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
10048 |
|
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
10049 |
|
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
10050 |
|
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
11228 |
|
s,@CXX@,$CXX,;t t |
11229 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
11230 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
11231 |
+ |
s,@CPP@,$CPP,;t t |
11232 |
+ |
s,@EGREP@,$EGREP,;t t |
11233 |
|
s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t |
11234 |
|
s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t |
11235 |
|
s,@F90@,$F90,;t t |
11245 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
11246 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
11247 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
11248 |
< |
s,@CPP@,$CPP,;t t |
9866 |
< |
s,@EGREP@,$EGREP,;t t |
11248 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
11249 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
11250 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
11251 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
11268 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
11269 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
11270 |
|
s,@USE_MPI@,$USE_MPI,;t t |
9889 |
– |
s,@CXXCPP@,$CXXCPP,;t t |
11271 |
|
s,@USE_CGAL@,$USE_CGAL,;t t |
11272 |
|
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
11273 |
|
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |