| 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 |
| 1896 |
|
|
| 1897 |
|
|
| 1898 |
|
|
| 1899 |
+ |
|
| 1900 |
+ |
|
| 1901 |
+ |
|
| 1902 |
+ |
|
| 1903 |
+ |
|
| 1904 |
+ |
|
| 1905 |
+ |
|
| 1906 |
+ |
|
| 1907 |
+ |
|
| 1908 |
+ |
|
| 1909 |
+ |
|
| 1910 |
+ |
|
| 1911 |
+ |
|
| 1912 |
+ |
|
| 1913 |
+ |
|
| 1914 |
+ |
|
| 1915 |
+ |
|
| 1916 |
+ |
|
| 1917 |
+ |
|
| 1918 |
+ |
|
| 1919 |
+ |
|
| 1920 |
+ |
|
| 1921 |
+ |
|
| 1922 |
+ |
|
| 1923 |
+ |
|
| 1924 |
+ |
|
| 1925 |
+ |
|
| 1926 |
+ |
|
| 1927 |
+ |
|
| 1928 |
+ |
|
| 1929 |
+ |
|
| 1930 |
+ |
|
| 1931 |
+ |
|
| 1932 |
+ |
|
| 1933 |
|
# set program name |
| 1934 |
|
PROGNAME="oopse" |
| 1935 |
|
|
| 2017 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2018 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2019 |
|
if test -n "$ac_tool_prefix"; then |
| 2020 |
< |
for ac_prog in icc xlc gcc cc |
| 2020 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 2021 |
|
do |
| 2022 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2023 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2059 |
|
fi |
| 2060 |
|
if test -z "$CC"; then |
| 2061 |
|
ac_ct_CC=$CC |
| 2062 |
< |
for ac_prog in icc xlc gcc cc |
| 2062 |
> |
for ac_prog in pathcc icc xlc gcc cc |
| 2063 |
|
do |
| 2064 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2065 |
|
set dummy $ac_prog; ac_word=$2 |
| 2731 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2732 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2733 |
|
if test -n "$ac_tool_prefix"; then |
| 2734 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2734 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2735 |
|
do |
| 2736 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2737 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2773 |
|
fi |
| 2774 |
|
if test -z "$CXX"; then |
| 2775 |
|
ac_ct_CXX=$CXX |
| 2776 |
< |
for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++ |
| 2776 |
> |
for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ |
| 2777 |
|
do |
| 2778 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2779 |
|
set dummy $ac_prog; ac_word=$2 |
| 3079 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3080 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3081 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3082 |
+ |
|
| 3083 |
+ |
|
| 3084 |
+ |
ac_ext=c |
| 3085 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3086 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3087 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3088 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3089 |
+ |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3090 |
+ |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3091 |
+ |
# On Suns, sometimes $CPP names a directory. |
| 3092 |
+ |
if test -n "$CPP" && test -d "$CPP"; then |
| 3093 |
+ |
CPP= |
| 3094 |
+ |
fi |
| 3095 |
+ |
if test -z "$CPP"; then |
| 3096 |
+ |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 3097 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3098 |
+ |
else |
| 3099 |
+ |
# Double quotes because CPP needs to be expanded |
| 3100 |
+ |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3101 |
+ |
do |
| 3102 |
+ |
ac_preproc_ok=false |
| 3103 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3104 |
+ |
do |
| 3105 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3106 |
+ |
# with a fresh cross-compiler works. |
| 3107 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3108 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3109 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3110 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3111 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3112 |
+ |
/* confdefs.h. */ |
| 3113 |
+ |
_ACEOF |
| 3114 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3115 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3116 |
+ |
/* end confdefs.h. */ |
| 3117 |
+ |
#ifdef __STDC__ |
| 3118 |
+ |
# include <limits.h> |
| 3119 |
+ |
#else |
| 3120 |
+ |
# include <assert.h> |
| 3121 |
+ |
#endif |
| 3122 |
+ |
Syntax error |
| 3123 |
+ |
_ACEOF |
| 3124 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3125 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3126 |
+ |
ac_status=$? |
| 3127 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3128 |
+ |
rm -f conftest.er1 |
| 3129 |
+ |
cat conftest.err >&5 |
| 3130 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3131 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3132 |
+ |
if test -s conftest.err; then |
| 3133 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3134 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3135 |
+ |
else |
| 3136 |
+ |
ac_cpp_err= |
| 3137 |
+ |
fi |
| 3138 |
+ |
else |
| 3139 |
+ |
ac_cpp_err=yes |
| 3140 |
+ |
fi |
| 3141 |
+ |
if test -z "$ac_cpp_err"; then |
| 3142 |
+ |
: |
| 3143 |
+ |
else |
| 3144 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3145 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3146 |
+ |
|
| 3147 |
+ |
# Broken: fails on valid input. |
| 3148 |
+ |
continue |
| 3149 |
+ |
fi |
| 3150 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3151 |
|
|
| 3152 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3153 |
+ |
# can be detected and how. |
| 3154 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3155 |
+ |
/* confdefs.h. */ |
| 3156 |
+ |
_ACEOF |
| 3157 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3158 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3159 |
+ |
/* end confdefs.h. */ |
| 3160 |
+ |
#include <ac_nonexistent.h> |
| 3161 |
+ |
_ACEOF |
| 3162 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3163 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3164 |
+ |
ac_status=$? |
| 3165 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3166 |
+ |
rm -f conftest.er1 |
| 3167 |
+ |
cat conftest.err >&5 |
| 3168 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3169 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3170 |
+ |
if test -s conftest.err; then |
| 3171 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3172 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3173 |
+ |
else |
| 3174 |
+ |
ac_cpp_err= |
| 3175 |
+ |
fi |
| 3176 |
+ |
else |
| 3177 |
+ |
ac_cpp_err=yes |
| 3178 |
+ |
fi |
| 3179 |
+ |
if test -z "$ac_cpp_err"; then |
| 3180 |
+ |
# Broken: success on invalid input. |
| 3181 |
+ |
continue |
| 3182 |
+ |
else |
| 3183 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3184 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3185 |
|
|
| 3186 |
+ |
# Passes both tests. |
| 3187 |
+ |
ac_preproc_ok=: |
| 3188 |
+ |
break |
| 3189 |
+ |
fi |
| 3190 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3191 |
+ |
|
| 3192 |
+ |
done |
| 3193 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3194 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3195 |
+ |
if $ac_preproc_ok; then |
| 3196 |
+ |
break |
| 3197 |
+ |
fi |
| 3198 |
+ |
|
| 3199 |
+ |
done |
| 3200 |
+ |
ac_cv_prog_CPP=$CPP |
| 3201 |
+ |
|
| 3202 |
+ |
fi |
| 3203 |
+ |
CPP=$ac_cv_prog_CPP |
| 3204 |
+ |
else |
| 3205 |
+ |
ac_cv_prog_CPP=$CPP |
| 3206 |
+ |
fi |
| 3207 |
+ |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3208 |
+ |
echo "${ECHO_T}$CPP" >&6 |
| 3209 |
+ |
ac_preproc_ok=false |
| 3210 |
+ |
for ac_c_preproc_warn_flag in '' yes |
| 3211 |
+ |
do |
| 3212 |
+ |
# Use a header file that comes with gcc, so configuring glibc |
| 3213 |
+ |
# with a fresh cross-compiler works. |
| 3214 |
+ |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3215 |
+ |
# <limits.h> exists even on freestanding compilers. |
| 3216 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3217 |
+ |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3218 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3219 |
+ |
/* confdefs.h. */ |
| 3220 |
+ |
_ACEOF |
| 3221 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3222 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3223 |
+ |
/* end confdefs.h. */ |
| 3224 |
+ |
#ifdef __STDC__ |
| 3225 |
+ |
# include <limits.h> |
| 3226 |
+ |
#else |
| 3227 |
+ |
# include <assert.h> |
| 3228 |
+ |
#endif |
| 3229 |
+ |
Syntax error |
| 3230 |
+ |
_ACEOF |
| 3231 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3232 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3233 |
+ |
ac_status=$? |
| 3234 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3235 |
+ |
rm -f conftest.er1 |
| 3236 |
+ |
cat conftest.err >&5 |
| 3237 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3238 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3239 |
+ |
if test -s conftest.err; then |
| 3240 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3241 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3242 |
+ |
else |
| 3243 |
+ |
ac_cpp_err= |
| 3244 |
+ |
fi |
| 3245 |
+ |
else |
| 3246 |
+ |
ac_cpp_err=yes |
| 3247 |
+ |
fi |
| 3248 |
+ |
if test -z "$ac_cpp_err"; then |
| 3249 |
+ |
: |
| 3250 |
+ |
else |
| 3251 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3252 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3253 |
+ |
|
| 3254 |
+ |
# Broken: fails on valid input. |
| 3255 |
+ |
continue |
| 3256 |
+ |
fi |
| 3257 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3258 |
+ |
|
| 3259 |
+ |
# OK, works on sane cases. Now check whether non-existent headers |
| 3260 |
+ |
# can be detected and how. |
| 3261 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 3262 |
+ |
/* confdefs.h. */ |
| 3263 |
+ |
_ACEOF |
| 3264 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 3265 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 3266 |
+ |
/* end confdefs.h. */ |
| 3267 |
+ |
#include <ac_nonexistent.h> |
| 3268 |
+ |
_ACEOF |
| 3269 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3270 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3271 |
+ |
ac_status=$? |
| 3272 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3273 |
+ |
rm -f conftest.er1 |
| 3274 |
+ |
cat conftest.err >&5 |
| 3275 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3276 |
+ |
(exit $ac_status); } >/dev/null; then |
| 3277 |
+ |
if test -s conftest.err; then |
| 3278 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3279 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3280 |
+ |
else |
| 3281 |
+ |
ac_cpp_err= |
| 3282 |
+ |
fi |
| 3283 |
+ |
else |
| 3284 |
+ |
ac_cpp_err=yes |
| 3285 |
+ |
fi |
| 3286 |
+ |
if test -z "$ac_cpp_err"; then |
| 3287 |
+ |
# Broken: success on invalid input. |
| 3288 |
+ |
continue |
| 3289 |
+ |
else |
| 3290 |
+ |
echo "$as_me: failed program was:" >&5 |
| 3291 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3292 |
+ |
|
| 3293 |
+ |
# Passes both tests. |
| 3294 |
+ |
ac_preproc_ok=: |
| 3295 |
+ |
break |
| 3296 |
+ |
fi |
| 3297 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3298 |
+ |
|
| 3299 |
+ |
done |
| 3300 |
+ |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3301 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3302 |
+ |
if $ac_preproc_ok; then |
| 3303 |
+ |
: |
| 3304 |
+ |
else |
| 3305 |
+ |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3306 |
+ |
See \`config.log' for more details." >&5 |
| 3307 |
+ |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 3308 |
+ |
See \`config.log' for more details." >&2;} |
| 3309 |
+ |
{ (exit 1); exit 1; }; } |
| 3310 |
+ |
fi |
| 3311 |
+ |
|
| 3312 |
+ |
ac_ext=c |
| 3313 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3314 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3315 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3316 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3317 |
+ |
|
| 3318 |
+ |
|
| 3319 |
+ |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3320 |
+ |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3321 |
+ |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3322 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3323 |
+ |
else |
| 3324 |
+ |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3325 |
+ |
then ac_cv_prog_egrep='grep -E' |
| 3326 |
+ |
else ac_cv_prog_egrep='egrep' |
| 3327 |
+ |
fi |
| 3328 |
+ |
fi |
| 3329 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3330 |
+ |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3331 |
+ |
EGREP=$ac_cv_prog_egrep |
| 3332 |
+ |
|
| 3333 |
+ |
|
| 3334 |
+ |
|
| 3335 |
|
OOPSE_TEMPLATE_FLAGS="" |
| 3336 |
|
if test $ac_cv_cxx_compiler_gnu = no; then |
| 3337 |
|
echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 |
| 3393 |
|
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3394 |
|
ac_compiler_gnu=$ac_cv_f90_compiler_gnu |
| 3395 |
|
if test -n "$ac_tool_prefix"; then |
| 3396 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3396 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3397 |
|
do |
| 3398 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3399 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3435 |
|
fi |
| 3436 |
|
if test -z "$F90"; then |
| 3437 |
|
ac_ct_F90=$F90 |
| 3438 |
< |
for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3438 |
> |
for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 |
| 3439 |
|
do |
| 3440 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3441 |
|
set dummy $ac_prog; ac_word=$2 |
| 3840 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3841 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3842 |
|
|
| 3843 |
< |
(eval echo $as_me:3558: \"$ac_link\") >&5 |
| 3843 |
> |
(eval echo $as_me:3843: \"$ac_link\") >&5 |
| 3844 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3845 |
|
echo "$ac_f90_v_output" >&5 |
| 3846 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 3917 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3918 |
|
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" |
| 3919 |
|
|
| 3920 |
< |
(eval echo $as_me:3635: \"$ac_link\") >&5 |
| 3920 |
> |
(eval echo $as_me:3920: \"$ac_link\") >&5 |
| 3921 |
|
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3922 |
|
echo "$ac_f90_v_output" >&5 |
| 3923 |
|
F90FLAGS=$ac_save_F90FLAGS |
| 4749 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4750 |
|
|
| 4751 |
|
|
| 4752 |
< |
ac_ext=c |
| 4753 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4754 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4755 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4756 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4752 |
> |
ac_ext=cc |
| 4753 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 4754 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4755 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4756 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4757 |
|
|
| 4758 |
< |
ac_ext=c |
| 4759 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4760 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4761 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4762 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4763 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4764 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4765 |
< |
# On Suns, sometimes $CPP names a directory. |
| 4766 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 4767 |
< |
CPP= |
| 4483 |
< |
fi |
| 4484 |
< |
if test -z "$CPP"; then |
| 4485 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 4758 |
> |
|
| 4759 |
> |
ac_ext=cc |
| 4760 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 4761 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4762 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4763 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4764 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 4765 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 4766 |
> |
if test -z "$CXXCPP"; then |
| 4767 |
> |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 4768 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4769 |
|
else |
| 4770 |
< |
# Double quotes because CPP needs to be expanded |
| 4771 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4770 |
> |
# Double quotes because CXXCPP needs to be expanded |
| 4771 |
> |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 4772 |
|
do |
| 4773 |
|
ac_preproc_ok=false |
| 4774 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 4774 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
| 4775 |
|
do |
| 4776 |
|
# Use a header file that comes with gcc, so configuring glibc |
| 4777 |
|
# with a fresh cross-compiler works. |
| 4801 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4802 |
|
(exit $ac_status); } >/dev/null; then |
| 4803 |
|
if test -s conftest.err; then |
| 4804 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4805 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4804 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 4805 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 4806 |
|
else |
| 4807 |
|
ac_cpp_err= |
| 4808 |
|
fi |
| 4839 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4840 |
|
(exit $ac_status); } >/dev/null; then |
| 4841 |
|
if test -s conftest.err; then |
| 4842 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4843 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4842 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 4843 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 4844 |
|
else |
| 4845 |
|
ac_cpp_err= |
| 4846 |
|
fi |
| 4868 |
|
fi |
| 4869 |
|
|
| 4870 |
|
done |
| 4871 |
< |
ac_cv_prog_CPP=$CPP |
| 4871 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
| 4872 |
|
|
| 4873 |
|
fi |
| 4874 |
< |
CPP=$ac_cv_prog_CPP |
| 4874 |
> |
CXXCPP=$ac_cv_prog_CXXCPP |
| 4875 |
|
else |
| 4876 |
< |
ac_cv_prog_CPP=$CPP |
| 4876 |
> |
ac_cv_prog_CXXCPP=$CXXCPP |
| 4877 |
|
fi |
| 4878 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4879 |
< |
echo "${ECHO_T}$CPP" >&6 |
| 4878 |
> |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 4879 |
> |
echo "${ECHO_T}$CXXCPP" >&6 |
| 4880 |
|
ac_preproc_ok=false |
| 4881 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 4881 |
> |
for ac_cxx_preproc_warn_flag in '' yes |
| 4882 |
|
do |
| 4883 |
|
# Use a header file that comes with gcc, so configuring glibc |
| 4884 |
|
# with a fresh cross-compiler works. |
| 4908 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4909 |
|
(exit $ac_status); } >/dev/null; then |
| 4910 |
|
if test -s conftest.err; then |
| 4911 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4912 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4911 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 4912 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 4913 |
|
else |
| 4914 |
|
ac_cpp_err= |
| 4915 |
|
fi |
| 4946 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4947 |
|
(exit $ac_status); } >/dev/null; then |
| 4948 |
|
if test -s conftest.err; then |
| 4949 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4950 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 4949 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 4950 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 4951 |
|
else |
| 4952 |
|
ac_cpp_err= |
| 4953 |
|
fi |
| 4973 |
|
if $ac_preproc_ok; then |
| 4974 |
|
: |
| 4975 |
|
else |
| 4976 |
< |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4976 |
> |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 4977 |
|
See \`config.log' for more details." >&5 |
| 4978 |
< |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4978 |
> |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 4979 |
|
See \`config.log' for more details." >&2;} |
| 4980 |
|
{ (exit 1); exit 1; }; } |
| 4981 |
|
fi |
| 4982 |
|
|
| 4983 |
< |
ac_ext=c |
| 4984 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4985 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4986 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4987 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4983 |
> |
ac_ext=cc |
| 4984 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 4985 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4986 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4987 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4988 |
|
|
| 4989 |
|
|
| 4990 |
< |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4991 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4992 |
< |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4990 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4991 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4992 |
> |
if test "${ac_cv_header_stdc+set}" = set; then |
| 4993 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4994 |
|
else |
| 4995 |
< |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4996 |
< |
then ac_cv_prog_egrep='grep -E' |
| 4997 |
< |
else ac_cv_prog_egrep='egrep' |
| 4998 |
< |
fi |
| 4999 |
< |
fi |
| 5000 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 5001 |
< |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 5002 |
< |
EGREP=$ac_cv_prog_egrep |
| 4995 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4996 |
> |
/* confdefs.h. */ |
| 4997 |
> |
_ACEOF |
| 4998 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 4999 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5000 |
> |
/* end confdefs.h. */ |
| 5001 |
> |
#include <stdlib.h> |
| 5002 |
> |
#include <stdarg.h> |
| 5003 |
> |
#include <string.h> |
| 5004 |
> |
#include <float.h> |
| 5005 |
> |
|
| 5006 |
> |
int |
| 5007 |
> |
main () |
| 5008 |
> |
{ |
| 5009 |
> |
|
| 5010 |
> |
; |
| 5011 |
> |
return 0; |
| 5012 |
> |
} |
| 5013 |
> |
_ACEOF |
| 5014 |
> |
rm -f conftest.$ac_objext |
| 5015 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5016 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5017 |
> |
ac_status=$? |
| 5018 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5019 |
> |
rm -f conftest.er1 |
| 5020 |
> |
cat conftest.err >&5 |
| 5021 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5022 |
> |
(exit $ac_status); } && |
| 5023 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5024 |
> |
|| test ! -s conftest.err' |
| 5025 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5026 |
> |
(eval $ac_try) 2>&5 |
| 5027 |
> |
ac_status=$? |
| 5028 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5029 |
> |
(exit $ac_status); }; } && |
| 5030 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5031 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5032 |
> |
(eval $ac_try) 2>&5 |
| 5033 |
> |
ac_status=$? |
| 5034 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5035 |
> |
(exit $ac_status); }; }; then |
| 5036 |
> |
ac_cv_header_stdc=yes |
| 5037 |
> |
else |
| 5038 |
> |
echo "$as_me: failed program was:" >&5 |
| 5039 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5040 |
> |
|
| 5041 |
> |
ac_cv_header_stdc=no |
| 5042 |
> |
fi |
| 5043 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5044 |
> |
|
| 5045 |
> |
if test $ac_cv_header_stdc = yes; then |
| 5046 |
> |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 5047 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5048 |
> |
/* confdefs.h. */ |
| 5049 |
> |
_ACEOF |
| 5050 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5051 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5052 |
> |
/* end confdefs.h. */ |
| 5053 |
> |
#include <string.h> |
| 5054 |
> |
|
| 5055 |
> |
_ACEOF |
| 5056 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5057 |
> |
$EGREP "memchr" >/dev/null 2>&1; then |
| 5058 |
> |
: |
| 5059 |
> |
else |
| 5060 |
> |
ac_cv_header_stdc=no |
| 5061 |
> |
fi |
| 5062 |
> |
rm -f conftest* |
| 5063 |
> |
|
| 5064 |
> |
fi |
| 5065 |
> |
|
| 5066 |
> |
if test $ac_cv_header_stdc = yes; then |
| 5067 |
> |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 5068 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5069 |
> |
/* confdefs.h. */ |
| 5070 |
> |
_ACEOF |
| 5071 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5072 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5073 |
> |
/* end confdefs.h. */ |
| 5074 |
> |
#include <stdlib.h> |
| 5075 |
> |
|
| 5076 |
> |
_ACEOF |
| 5077 |
> |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5078 |
> |
$EGREP "free" >/dev/null 2>&1; then |
| 5079 |
> |
: |
| 5080 |
> |
else |
| 5081 |
> |
ac_cv_header_stdc=no |
| 5082 |
> |
fi |
| 5083 |
> |
rm -f conftest* |
| 5084 |
> |
|
| 5085 |
> |
fi |
| 5086 |
> |
|
| 5087 |
> |
if test $ac_cv_header_stdc = yes; then |
| 5088 |
> |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 5089 |
> |
if test "$cross_compiling" = yes; then |
| 5090 |
> |
: |
| 5091 |
> |
else |
| 5092 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5093 |
> |
/* confdefs.h. */ |
| 5094 |
> |
_ACEOF |
| 5095 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5096 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5097 |
> |
/* end confdefs.h. */ |
| 5098 |
> |
#include <ctype.h> |
| 5099 |
> |
#if ((' ' & 0x0FF) == 0x020) |
| 5100 |
> |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5101 |
> |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5102 |
> |
#else |
| 5103 |
> |
# define ISLOWER(c) \ |
| 5104 |
> |
(('a' <= (c) && (c) <= 'i') \ |
| 5105 |
> |
|| ('j' <= (c) && (c) <= 'r') \ |
| 5106 |
> |
|| ('s' <= (c) && (c) <= 'z')) |
| 5107 |
> |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 5108 |
> |
#endif |
| 5109 |
> |
|
| 5110 |
> |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 5111 |
> |
int |
| 5112 |
> |
main () |
| 5113 |
> |
{ |
| 5114 |
> |
int i; |
| 5115 |
> |
for (i = 0; i < 256; i++) |
| 5116 |
> |
if (XOR (islower (i), ISLOWER (i)) |
| 5117 |
> |
|| toupper (i) != TOUPPER (i)) |
| 5118 |
> |
exit(2); |
| 5119 |
> |
exit (0); |
| 5120 |
> |
} |
| 5121 |
> |
_ACEOF |
| 5122 |
> |
rm -f conftest$ac_exeext |
| 5123 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5124 |
> |
(eval $ac_link) 2>&5 |
| 5125 |
> |
ac_status=$? |
| 5126 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5127 |
> |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5128 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5129 |
> |
(eval $ac_try) 2>&5 |
| 5130 |
> |
ac_status=$? |
| 5131 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5132 |
> |
(exit $ac_status); }; }; then |
| 5133 |
> |
: |
| 5134 |
> |
else |
| 5135 |
> |
echo "$as_me: program exited with status $ac_status" >&5 |
| 5136 |
> |
echo "$as_me: failed program was:" >&5 |
| 5137 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5138 |
> |
|
| 5139 |
> |
( exit $ac_status ) |
| 5140 |
> |
ac_cv_header_stdc=no |
| 5141 |
> |
fi |
| 5142 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5143 |
> |
fi |
| 5144 |
> |
fi |
| 5145 |
> |
fi |
| 5146 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5147 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 5148 |
> |
if test $ac_cv_header_stdc = yes; then |
| 5149 |
> |
|
| 5150 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5151 |
> |
#define STDC_HEADERS 1 |
| 5152 |
> |
_ACEOF |
| 5153 |
> |
|
| 5154 |
> |
fi |
| 5155 |
> |
|
| 5156 |
> |
echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 |
| 5157 |
> |
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 |
| 5158 |
> |
if test "${ac_cv_cxx_namespaces+set}" = set; then |
| 5159 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5160 |
> |
else |
| 5161 |
> |
|
| 5162 |
> |
|
| 5163 |
> |
ac_ext=cc |
| 5164 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5165 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5166 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5167 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5168 |
> |
|
| 5169 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5170 |
> |
/* confdefs.h. */ |
| 5171 |
> |
_ACEOF |
| 5172 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5173 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5174 |
> |
/* end confdefs.h. */ |
| 5175 |
> |
namespace Outer { namespace Inner { int i = 0; }} |
| 5176 |
> |
int |
| 5177 |
> |
main () |
| 5178 |
> |
{ |
| 5179 |
> |
using namespace Outer::Inner; return i; |
| 5180 |
> |
; |
| 5181 |
> |
return 0; |
| 5182 |
> |
} |
| 5183 |
> |
_ACEOF |
| 5184 |
> |
rm -f conftest.$ac_objext |
| 5185 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5186 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5187 |
> |
ac_status=$? |
| 5188 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5189 |
> |
rm -f conftest.er1 |
| 5190 |
> |
cat conftest.err >&5 |
| 5191 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5192 |
> |
(exit $ac_status); } && |
| 5193 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5194 |
> |
|| test ! -s conftest.err' |
| 5195 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5196 |
> |
(eval $ac_try) 2>&5 |
| 5197 |
> |
ac_status=$? |
| 5198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5199 |
> |
(exit $ac_status); }; } && |
| 5200 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5201 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5202 |
> |
(eval $ac_try) 2>&5 |
| 5203 |
> |
ac_status=$? |
| 5204 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5205 |
> |
(exit $ac_status); }; }; then |
| 5206 |
> |
ac_cv_cxx_namespaces=yes |
| 5207 |
> |
else |
| 5208 |
> |
echo "$as_me: failed program was:" >&5 |
| 5209 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5210 |
> |
|
| 5211 |
> |
ac_cv_cxx_namespaces=no |
| 5212 |
> |
fi |
| 5213 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5214 |
> |
ac_ext=cc |
| 5215 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5216 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5217 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5218 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5219 |
> |
|
| 5220 |
> |
|
| 5221 |
> |
fi |
| 5222 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 |
| 5223 |
> |
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 |
| 5224 |
> |
if test "$ac_cv_cxx_namespaces" = yes; then |
| 5225 |
> |
|
| 5226 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5227 |
> |
#define HAVE_NAMESPACES |
| 5228 |
> |
_ACEOF |
| 5229 |
> |
|
| 5230 |
> |
fi |
| 5231 |
> |
|
| 5232 |
> |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 5233 |
> |
|
| 5234 |
> |
|
| 5235 |
> |
|
| 5236 |
> |
|
| 5237 |
> |
|
| 5238 |
> |
|
| 5239 |
> |
|
| 5240 |
> |
|
| 5241 |
> |
|
| 5242 |
> |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 5243 |
> |
inttypes.h stdint.h unistd.h |
| 5244 |
> |
do |
| 5245 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5246 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5247 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5248 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5249 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5250 |
> |
else |
| 5251 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5252 |
> |
/* confdefs.h. */ |
| 5253 |
> |
_ACEOF |
| 5254 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5255 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5256 |
> |
/* end confdefs.h. */ |
| 5257 |
> |
$ac_includes_default |
| 5258 |
> |
|
| 5259 |
> |
#include <$ac_header> |
| 5260 |
> |
_ACEOF |
| 5261 |
> |
rm -f conftest.$ac_objext |
| 5262 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5263 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5264 |
> |
ac_status=$? |
| 5265 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5266 |
> |
rm -f conftest.er1 |
| 5267 |
> |
cat conftest.err >&5 |
| 5268 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5269 |
> |
(exit $ac_status); } && |
| 5270 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5271 |
> |
|| test ! -s conftest.err' |
| 5272 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5273 |
> |
(eval $ac_try) 2>&5 |
| 5274 |
> |
ac_status=$? |
| 5275 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5276 |
> |
(exit $ac_status); }; } && |
| 5277 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5278 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5279 |
> |
(eval $ac_try) 2>&5 |
| 5280 |
> |
ac_status=$? |
| 5281 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5282 |
> |
(exit $ac_status); }; }; then |
| 5283 |
> |
eval "$as_ac_Header=yes" |
| 5284 |
> |
else |
| 5285 |
> |
echo "$as_me: failed program was:" >&5 |
| 5286 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5287 |
> |
|
| 5288 |
> |
eval "$as_ac_Header=no" |
| 5289 |
> |
fi |
| 5290 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5291 |
> |
fi |
| 5292 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5293 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5294 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5295 |
> |
cat >>confdefs.h <<_ACEOF |
| 5296 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5297 |
> |
_ACEOF |
| 5298 |
> |
|
| 5299 |
> |
fi |
| 5300 |
> |
|
| 5301 |
> |
done |
| 5302 |
> |
|
| 5303 |
> |
|
| 5304 |
> |
echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 |
| 5305 |
> |
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6 |
| 5306 |
> |
if test "${ac_cv_cxx_have_stl+set}" = set; then |
| 5307 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5308 |
> |
else |
| 5309 |
> |
|
| 5310 |
> |
|
| 5311 |
> |
|
| 5312 |
> |
ac_ext=cc |
| 5313 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5314 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5315 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5316 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5317 |
> |
|
| 5318 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5319 |
> |
/* confdefs.h. */ |
| 5320 |
> |
_ACEOF |
| 5321 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5322 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5323 |
> |
/* end confdefs.h. */ |
| 5324 |
> |
#include <list> |
| 5325 |
> |
#include <deque> |
| 5326 |
> |
#ifdef HAVE_NAMESPACES |
| 5327 |
> |
using namespace std; |
| 5328 |
> |
#endif |
| 5329 |
> |
int |
| 5330 |
> |
main () |
| 5331 |
> |
{ |
| 5332 |
> |
list<int> x; x.push_back(5); |
| 5333 |
> |
list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; |
| 5334 |
> |
; |
| 5335 |
> |
return 0; |
| 5336 |
> |
} |
| 5337 |
> |
_ACEOF |
| 5338 |
> |
rm -f conftest.$ac_objext |
| 5339 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5340 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5341 |
> |
ac_status=$? |
| 5342 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5343 |
> |
rm -f conftest.er1 |
| 5344 |
> |
cat conftest.err >&5 |
| 5345 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5346 |
> |
(exit $ac_status); } && |
| 5347 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5348 |
> |
|| test ! -s conftest.err' |
| 5349 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5350 |
> |
(eval $ac_try) 2>&5 |
| 5351 |
> |
ac_status=$? |
| 5352 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5353 |
> |
(exit $ac_status); }; } && |
| 5354 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5355 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5356 |
> |
(eval $ac_try) 2>&5 |
| 5357 |
> |
ac_status=$? |
| 5358 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5359 |
> |
(exit $ac_status); }; }; then |
| 5360 |
> |
ac_cv_cxx_have_stl=yes |
| 5361 |
> |
else |
| 5362 |
> |
echo "$as_me: failed program was:" >&5 |
| 5363 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5364 |
> |
|
| 5365 |
> |
ac_cv_cxx_have_stl=no |
| 5366 |
> |
fi |
| 5367 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5368 |
> |
ac_ext=cc |
| 5369 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 5370 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5371 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5372 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 5373 |
> |
|
| 5374 |
> |
|
| 5375 |
> |
fi |
| 5376 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 |
| 5377 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6 |
| 5378 |
> |
if test "$ac_cv_cxx_have_stl" = yes; then |
| 5379 |
> |
|
| 5380 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5381 |
> |
#define HAVE_STL |
| 5382 |
> |
_ACEOF |
| 5383 |
> |
|
| 5384 |
> |
fi |
| 5385 |
> |
|
| 5386 |
> |
|
| 5387 |
> |
|
| 5388 |
> |
if test "${ac_cv_header_iostream+set}" = set; then |
| 5389 |
> |
echo "$as_me:$LINENO: checking for iostream" >&5 |
| 5390 |
> |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6 |
| 5391 |
> |
if test "${ac_cv_header_iostream+set}" = set; then |
| 5392 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5393 |
> |
fi |
| 5394 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 5395 |
> |
echo "${ECHO_T}$ac_cv_header_iostream" >&6 |
| 5396 |
> |
else |
| 5397 |
> |
# Is the header compilable? |
| 5398 |
> |
echo "$as_me:$LINENO: checking iostream usability" >&5 |
| 5399 |
> |
echo $ECHO_N "checking iostream usability... $ECHO_C" >&6 |
| 5400 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5401 |
> |
/* confdefs.h. */ |
| 5402 |
> |
_ACEOF |
| 5403 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5404 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5405 |
> |
/* end confdefs.h. */ |
| 5406 |
> |
$ac_includes_default |
| 5407 |
> |
#include <iostream> |
| 5408 |
> |
_ACEOF |
| 5409 |
> |
rm -f conftest.$ac_objext |
| 5410 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5411 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5412 |
> |
ac_status=$? |
| 5413 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5414 |
> |
rm -f conftest.er1 |
| 5415 |
> |
cat conftest.err >&5 |
| 5416 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5417 |
> |
(exit $ac_status); } && |
| 5418 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5419 |
> |
|| test ! -s conftest.err' |
| 5420 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5421 |
> |
(eval $ac_try) 2>&5 |
| 5422 |
> |
ac_status=$? |
| 5423 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5424 |
> |
(exit $ac_status); }; } && |
| 5425 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5426 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5427 |
> |
(eval $ac_try) 2>&5 |
| 5428 |
> |
ac_status=$? |
| 5429 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5430 |
> |
(exit $ac_status); }; }; then |
| 5431 |
> |
ac_header_compiler=yes |
| 5432 |
> |
else |
| 5433 |
> |
echo "$as_me: failed program was:" >&5 |
| 5434 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5435 |
> |
|
| 5436 |
> |
ac_header_compiler=no |
| 5437 |
> |
fi |
| 5438 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5439 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5440 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5441 |
> |
|
| 5442 |
> |
# Is the header present? |
| 5443 |
> |
echo "$as_me:$LINENO: checking iostream presence" >&5 |
| 5444 |
> |
echo $ECHO_N "checking iostream presence... $ECHO_C" >&6 |
| 5445 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5446 |
> |
/* confdefs.h. */ |
| 5447 |
> |
_ACEOF |
| 5448 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5449 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5450 |
> |
/* end confdefs.h. */ |
| 5451 |
> |
#include <iostream> |
| 5452 |
> |
_ACEOF |
| 5453 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5454 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5455 |
> |
ac_status=$? |
| 5456 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5457 |
> |
rm -f conftest.er1 |
| 5458 |
> |
cat conftest.err >&5 |
| 5459 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5460 |
> |
(exit $ac_status); } >/dev/null; then |
| 5461 |
> |
if test -s conftest.err; then |
| 5462 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5463 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5464 |
> |
else |
| 5465 |
> |
ac_cpp_err= |
| 5466 |
> |
fi |
| 5467 |
> |
else |
| 5468 |
> |
ac_cpp_err=yes |
| 5469 |
> |
fi |
| 5470 |
> |
if test -z "$ac_cpp_err"; then |
| 5471 |
> |
ac_header_preproc=yes |
| 5472 |
> |
else |
| 5473 |
> |
echo "$as_me: failed program was:" >&5 |
| 5474 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5475 |
> |
|
| 5476 |
> |
ac_header_preproc=no |
| 5477 |
> |
fi |
| 5478 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5479 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5480 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5481 |
> |
|
| 5482 |
> |
# So? What about this header? |
| 5483 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 5484 |
> |
yes:no: ) |
| 5485 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5486 |
> |
echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5487 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 |
| 5488 |
> |
echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} |
| 5489 |
> |
ac_header_preproc=yes |
| 5490 |
> |
;; |
| 5491 |
> |
no:yes:* ) |
| 5492 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 |
| 5493 |
> |
echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} |
| 5494 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: check for missing prerequisite headers?" >&5 |
| 5495 |
> |
echo "$as_me: WARNING: iostream: check for missing prerequisite headers?" >&2;} |
| 5496 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 |
| 5497 |
> |
echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} |
| 5498 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&5 |
| 5499 |
> |
echo "$as_me: WARNING: iostream: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5500 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 |
| 5501 |
> |
echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} |
| 5502 |
> |
{ echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 |
| 5503 |
> |
echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} |
| 5504 |
> |
( |
| 5505 |
> |
cat <<\_ASBOX |
| 5506 |
> |
## ------------------------------ ## |
| 5507 |
> |
## Report this to gezelter@nd.edu ## |
| 5508 |
> |
## ------------------------------ ## |
| 5509 |
> |
_ASBOX |
| 5510 |
> |
) | |
| 5511 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5512 |
> |
;; |
| 5513 |
> |
esac |
| 5514 |
> |
echo "$as_me:$LINENO: checking for iostream" >&5 |
| 5515 |
> |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6 |
| 5516 |
> |
if test "${ac_cv_header_iostream+set}" = set; then |
| 5517 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5518 |
> |
else |
| 5519 |
> |
ac_cv_header_iostream=$ac_header_preproc |
| 5520 |
> |
fi |
| 5521 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 5522 |
> |
echo "${ECHO_T}$ac_cv_header_iostream" >&6 |
| 5523 |
> |
|
| 5524 |
> |
fi |
| 5525 |
> |
if test $ac_cv_header_iostream = yes; then |
| 5526 |
> |
|
| 5527 |
> |
|
| 5528 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5529 |
> |
#define HAVE_IOSTREAM 1 |
| 5530 |
> |
_ACEOF |
| 5531 |
> |
|
| 5532 |
> |
|
| 5533 |
> |
else |
| 5534 |
> |
|
| 5535 |
> |
|
| 5536 |
> |
for ac_header in iostream.h |
| 5537 |
> |
do |
| 5538 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5539 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5540 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5541 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5542 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5543 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5544 |
> |
fi |
| 5545 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5546 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5547 |
> |
else |
| 5548 |
> |
# Is the header compilable? |
| 5549 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5550 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5551 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5552 |
> |
/* confdefs.h. */ |
| 5553 |
> |
_ACEOF |
| 5554 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5555 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5556 |
> |
/* end confdefs.h. */ |
| 5557 |
> |
$ac_includes_default |
| 5558 |
> |
#include <$ac_header> |
| 5559 |
> |
_ACEOF |
| 5560 |
> |
rm -f conftest.$ac_objext |
| 5561 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5562 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5563 |
> |
ac_status=$? |
| 5564 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5565 |
> |
rm -f conftest.er1 |
| 5566 |
> |
cat conftest.err >&5 |
| 5567 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5568 |
> |
(exit $ac_status); } && |
| 5569 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5570 |
> |
|| test ! -s conftest.err' |
| 5571 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5572 |
> |
(eval $ac_try) 2>&5 |
| 5573 |
> |
ac_status=$? |
| 5574 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5575 |
> |
(exit $ac_status); }; } && |
| 5576 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5577 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5578 |
> |
(eval $ac_try) 2>&5 |
| 5579 |
> |
ac_status=$? |
| 5580 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5581 |
> |
(exit $ac_status); }; }; then |
| 5582 |
> |
ac_header_compiler=yes |
| 5583 |
> |
else |
| 5584 |
> |
echo "$as_me: failed program was:" >&5 |
| 5585 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5586 |
> |
|
| 5587 |
> |
ac_header_compiler=no |
| 5588 |
> |
fi |
| 5589 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5590 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5591 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5592 |
> |
|
| 5593 |
> |
# Is the header present? |
| 5594 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5595 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5596 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5597 |
> |
/* confdefs.h. */ |
| 5598 |
> |
_ACEOF |
| 5599 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5600 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5601 |
> |
/* end confdefs.h. */ |
| 5602 |
> |
#include <$ac_header> |
| 5603 |
> |
_ACEOF |
| 5604 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5605 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5606 |
> |
ac_status=$? |
| 5607 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5608 |
> |
rm -f conftest.er1 |
| 5609 |
> |
cat conftest.err >&5 |
| 5610 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5611 |
> |
(exit $ac_status); } >/dev/null; then |
| 5612 |
> |
if test -s conftest.err; then |
| 5613 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5614 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5615 |
> |
else |
| 5616 |
> |
ac_cpp_err= |
| 5617 |
> |
fi |
| 5618 |
> |
else |
| 5619 |
> |
ac_cpp_err=yes |
| 5620 |
> |
fi |
| 5621 |
> |
if test -z "$ac_cpp_err"; then |
| 5622 |
> |
ac_header_preproc=yes |
| 5623 |
> |
else |
| 5624 |
> |
echo "$as_me: failed program was:" >&5 |
| 5625 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5626 |
> |
|
| 5627 |
> |
ac_header_preproc=no |
| 5628 |
> |
fi |
| 5629 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5630 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5631 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5632 |
> |
|
| 5633 |
> |
# So? What about this header? |
| 5634 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 5635 |
> |
yes:no: ) |
| 5636 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5637 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5638 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5639 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5640 |
> |
ac_header_preproc=yes |
| 5641 |
> |
;; |
| 5642 |
> |
no:yes:* ) |
| 5643 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5644 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5645 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5646 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5647 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5648 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5649 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5650 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5651 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5652 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5653 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5654 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5655 |
> |
( |
| 5656 |
> |
cat <<\_ASBOX |
| 5657 |
> |
## ------------------------------ ## |
| 5658 |
> |
## Report this to gezelter@nd.edu ## |
| 5659 |
> |
## ------------------------------ ## |
| 5660 |
> |
_ASBOX |
| 5661 |
> |
) | |
| 5662 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5663 |
> |
;; |
| 5664 |
> |
esac |
| 5665 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5666 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5667 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5668 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5669 |
> |
else |
| 5670 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5671 |
> |
fi |
| 5672 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5673 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5674 |
> |
|
| 5675 |
> |
fi |
| 5676 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5677 |
> |
cat >>confdefs.h <<_ACEOF |
| 5678 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5679 |
> |
_ACEOF |
| 5680 |
> |
|
| 5681 |
> |
fi |
| 5682 |
> |
|
| 5683 |
> |
done |
| 5684 |
> |
|
| 5685 |
> |
|
| 5686 |
> |
fi |
| 5687 |
> |
|
| 5688 |
> |
|
| 5689 |
> |
|
| 5690 |
> |
|
| 5691 |
> |
if test "${ac_cv_header_iomanip+set}" = set; then |
| 5692 |
> |
echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 5693 |
> |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 |
| 5694 |
> |
if test "${ac_cv_header_iomanip+set}" = set; then |
| 5695 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5696 |
> |
fi |
| 5697 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 5698 |
> |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6 |
| 5699 |
> |
else |
| 5700 |
> |
# Is the header compilable? |
| 5701 |
> |
echo "$as_me:$LINENO: checking iomanip usability" >&5 |
| 5702 |
> |
echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6 |
| 5703 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5704 |
> |
/* confdefs.h. */ |
| 5705 |
> |
_ACEOF |
| 5706 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5707 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5708 |
> |
/* end confdefs.h. */ |
| 5709 |
> |
$ac_includes_default |
| 5710 |
> |
#include <iomanip> |
| 5711 |
> |
_ACEOF |
| 5712 |
> |
rm -f conftest.$ac_objext |
| 5713 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5714 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5715 |
> |
ac_status=$? |
| 5716 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5717 |
> |
rm -f conftest.er1 |
| 5718 |
> |
cat conftest.err >&5 |
| 5719 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5720 |
> |
(exit $ac_status); } && |
| 5721 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5722 |
> |
|| test ! -s conftest.err' |
| 5723 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5724 |
> |
(eval $ac_try) 2>&5 |
| 5725 |
> |
ac_status=$? |
| 5726 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5727 |
> |
(exit $ac_status); }; } && |
| 5728 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5729 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5730 |
> |
(eval $ac_try) 2>&5 |
| 5731 |
> |
ac_status=$? |
| 5732 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5733 |
> |
(exit $ac_status); }; }; then |
| 5734 |
> |
ac_header_compiler=yes |
| 5735 |
> |
else |
| 5736 |
> |
echo "$as_me: failed program was:" >&5 |
| 5737 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5738 |
> |
|
| 5739 |
> |
ac_header_compiler=no |
| 5740 |
> |
fi |
| 5741 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5742 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5743 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5744 |
> |
|
| 5745 |
> |
# Is the header present? |
| 5746 |
> |
echo "$as_me:$LINENO: checking iomanip presence" >&5 |
| 5747 |
> |
echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6 |
| 5748 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5749 |
> |
/* confdefs.h. */ |
| 5750 |
> |
_ACEOF |
| 5751 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5752 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5753 |
> |
/* end confdefs.h. */ |
| 5754 |
> |
#include <iomanip> |
| 5755 |
> |
_ACEOF |
| 5756 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5757 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5758 |
> |
ac_status=$? |
| 5759 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5760 |
> |
rm -f conftest.er1 |
| 5761 |
> |
cat conftest.err >&5 |
| 5762 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5763 |
> |
(exit $ac_status); } >/dev/null; then |
| 5764 |
> |
if test -s conftest.err; then |
| 5765 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5766 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5767 |
> |
else |
| 5768 |
> |
ac_cpp_err= |
| 5769 |
> |
fi |
| 5770 |
> |
else |
| 5771 |
> |
ac_cpp_err=yes |
| 5772 |
> |
fi |
| 5773 |
> |
if test -z "$ac_cpp_err"; then |
| 5774 |
> |
ac_header_preproc=yes |
| 5775 |
> |
else |
| 5776 |
> |
echo "$as_me: failed program was:" >&5 |
| 5777 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5778 |
> |
|
| 5779 |
> |
ac_header_preproc=no |
| 5780 |
> |
fi |
| 5781 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5782 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5783 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5784 |
> |
|
| 5785 |
> |
# So? What about this header? |
| 5786 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 5787 |
> |
yes:no: ) |
| 5788 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5789 |
> |
echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5790 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 |
| 5791 |
> |
echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} |
| 5792 |
> |
ac_header_preproc=yes |
| 5793 |
> |
;; |
| 5794 |
> |
no:yes:* ) |
| 5795 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 |
| 5796 |
> |
echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} |
| 5797 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: check for missing prerequisite headers?" >&5 |
| 5798 |
> |
echo "$as_me: WARNING: iomanip: check for missing prerequisite headers?" >&2;} |
| 5799 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 |
| 5800 |
> |
echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} |
| 5801 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&5 |
| 5802 |
> |
echo "$as_me: WARNING: iomanip: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5803 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 |
| 5804 |
> |
echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} |
| 5805 |
> |
{ echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 |
| 5806 |
> |
echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} |
| 5807 |
> |
( |
| 5808 |
> |
cat <<\_ASBOX |
| 5809 |
> |
## ------------------------------ ## |
| 5810 |
> |
## Report this to gezelter@nd.edu ## |
| 5811 |
> |
## ------------------------------ ## |
| 5812 |
> |
_ASBOX |
| 5813 |
> |
) | |
| 5814 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5815 |
> |
;; |
| 5816 |
> |
esac |
| 5817 |
> |
echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 5818 |
> |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 |
| 5819 |
> |
if test "${ac_cv_header_iomanip+set}" = set; then |
| 5820 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5821 |
> |
else |
| 5822 |
> |
ac_cv_header_iomanip=$ac_header_preproc |
| 5823 |
> |
fi |
| 5824 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 5825 |
> |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6 |
| 5826 |
> |
|
| 5827 |
> |
fi |
| 5828 |
> |
if test $ac_cv_header_iomanip = yes; then |
| 5829 |
> |
|
| 5830 |
> |
|
| 5831 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5832 |
> |
#define HAVE_IOMANIP 1 |
| 5833 |
> |
_ACEOF |
| 5834 |
> |
|
| 5835 |
> |
|
| 5836 |
> |
else |
| 5837 |
> |
|
| 5838 |
> |
|
| 5839 |
> |
for ac_header in iomanip.h |
| 5840 |
> |
do |
| 5841 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5842 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5843 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5844 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5845 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5846 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5847 |
> |
fi |
| 5848 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5849 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5850 |
> |
else |
| 5851 |
> |
# Is the header compilable? |
| 5852 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5853 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 5854 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5855 |
> |
/* confdefs.h. */ |
| 5856 |
> |
_ACEOF |
| 5857 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5858 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5859 |
> |
/* end confdefs.h. */ |
| 5860 |
> |
$ac_includes_default |
| 5861 |
> |
#include <$ac_header> |
| 5862 |
> |
_ACEOF |
| 5863 |
> |
rm -f conftest.$ac_objext |
| 5864 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5865 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5866 |
> |
ac_status=$? |
| 5867 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5868 |
> |
rm -f conftest.er1 |
| 5869 |
> |
cat conftest.err >&5 |
| 5870 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5871 |
> |
(exit $ac_status); } && |
| 5872 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 5873 |
> |
|| test ! -s conftest.err' |
| 5874 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5875 |
> |
(eval $ac_try) 2>&5 |
| 5876 |
> |
ac_status=$? |
| 5877 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5878 |
> |
(exit $ac_status); }; } && |
| 5879 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5880 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5881 |
> |
(eval $ac_try) 2>&5 |
| 5882 |
> |
ac_status=$? |
| 5883 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5884 |
> |
(exit $ac_status); }; }; then |
| 5885 |
> |
ac_header_compiler=yes |
| 5886 |
> |
else |
| 5887 |
> |
echo "$as_me: failed program was:" >&5 |
| 5888 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5889 |
> |
|
| 5890 |
> |
ac_header_compiler=no |
| 5891 |
> |
fi |
| 5892 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5893 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5894 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5895 |
> |
|
| 5896 |
> |
# Is the header present? |
| 5897 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5898 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 5899 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 5900 |
> |
/* confdefs.h. */ |
| 5901 |
> |
_ACEOF |
| 5902 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 5903 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 5904 |
> |
/* end confdefs.h. */ |
| 5905 |
> |
#include <$ac_header> |
| 5906 |
> |
_ACEOF |
| 5907 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5908 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5909 |
> |
ac_status=$? |
| 5910 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5911 |
> |
rm -f conftest.er1 |
| 5912 |
> |
cat conftest.err >&5 |
| 5913 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5914 |
> |
(exit $ac_status); } >/dev/null; then |
| 5915 |
> |
if test -s conftest.err; then |
| 5916 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 5917 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 5918 |
> |
else |
| 5919 |
> |
ac_cpp_err= |
| 5920 |
> |
fi |
| 5921 |
> |
else |
| 5922 |
> |
ac_cpp_err=yes |
| 5923 |
> |
fi |
| 5924 |
> |
if test -z "$ac_cpp_err"; then |
| 5925 |
> |
ac_header_preproc=yes |
| 5926 |
> |
else |
| 5927 |
> |
echo "$as_me: failed program was:" >&5 |
| 5928 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5929 |
> |
|
| 5930 |
> |
ac_header_preproc=no |
| 5931 |
> |
fi |
| 5932 |
> |
rm -f conftest.err conftest.$ac_ext |
| 5933 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5934 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5935 |
> |
|
| 5936 |
> |
# So? What about this header? |
| 5937 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 5938 |
> |
yes:no: ) |
| 5939 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5940 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5941 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 5942 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 5943 |
> |
ac_header_preproc=yes |
| 5944 |
> |
;; |
| 5945 |
> |
no:yes:* ) |
| 5946 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 5947 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 5948 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 5949 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 5950 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 5951 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 5952 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 5953 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5954 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 5955 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5956 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5957 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5958 |
> |
( |
| 5959 |
> |
cat <<\_ASBOX |
| 5960 |
> |
## ------------------------------ ## |
| 5961 |
> |
## Report this to gezelter@nd.edu ## |
| 5962 |
> |
## ------------------------------ ## |
| 5963 |
> |
_ASBOX |
| 5964 |
> |
) | |
| 5965 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5966 |
> |
;; |
| 5967 |
> |
esac |
| 5968 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5969 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5970 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5971 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5972 |
> |
else |
| 5973 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 5974 |
> |
fi |
| 5975 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5976 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5977 |
> |
|
| 5978 |
> |
fi |
| 5979 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5980 |
> |
cat >>confdefs.h <<_ACEOF |
| 5981 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5982 |
> |
_ACEOF |
| 5983 |
> |
|
| 5984 |
> |
fi |
| 5985 |
> |
|
| 5986 |
> |
done |
| 5987 |
> |
|
| 5988 |
> |
|
| 5989 |
> |
fi |
| 5990 |
> |
|
| 5991 |
> |
|
| 5992 |
> |
|
| 5993 |
> |
|
| 5994 |
> |
for ac_header in cmath |
| 5995 |
> |
do |
| 5996 |
> |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5997 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5998 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5999 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6000 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6001 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6002 |
> |
fi |
| 6003 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6004 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6005 |
> |
else |
| 6006 |
> |
# Is the header compilable? |
| 6007 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6008 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6009 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6010 |
> |
/* confdefs.h. */ |
| 6011 |
> |
_ACEOF |
| 6012 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6013 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6014 |
> |
/* end confdefs.h. */ |
| 6015 |
> |
$ac_includes_default |
| 6016 |
> |
#include <$ac_header> |
| 6017 |
> |
_ACEOF |
| 6018 |
> |
rm -f conftest.$ac_objext |
| 6019 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6020 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6021 |
> |
ac_status=$? |
| 6022 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6023 |
> |
rm -f conftest.er1 |
| 6024 |
> |
cat conftest.err >&5 |
| 6025 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6026 |
> |
(exit $ac_status); } && |
| 6027 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6028 |
> |
|| test ! -s conftest.err' |
| 6029 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6030 |
> |
(eval $ac_try) 2>&5 |
| 6031 |
> |
ac_status=$? |
| 6032 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6033 |
> |
(exit $ac_status); }; } && |
| 6034 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6035 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6036 |
> |
(eval $ac_try) 2>&5 |
| 6037 |
> |
ac_status=$? |
| 6038 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6039 |
> |
(exit $ac_status); }; }; then |
| 6040 |
> |
ac_header_compiler=yes |
| 6041 |
> |
else |
| 6042 |
> |
echo "$as_me: failed program was:" >&5 |
| 6043 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6044 |
> |
|
| 6045 |
> |
ac_header_compiler=no |
| 6046 |
> |
fi |
| 6047 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6048 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6049 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6050 |
> |
|
| 6051 |
> |
# Is the header present? |
| 6052 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6053 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6054 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6055 |
> |
/* confdefs.h. */ |
| 6056 |
> |
_ACEOF |
| 6057 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6058 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6059 |
> |
/* end confdefs.h. */ |
| 6060 |
> |
#include <$ac_header> |
| 6061 |
> |
_ACEOF |
| 6062 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6063 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6064 |
> |
ac_status=$? |
| 6065 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6066 |
> |
rm -f conftest.er1 |
| 6067 |
> |
cat conftest.err >&5 |
| 6068 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6069 |
> |
(exit $ac_status); } >/dev/null; then |
| 6070 |
> |
if test -s conftest.err; then |
| 6071 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6072 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6073 |
> |
else |
| 6074 |
> |
ac_cpp_err= |
| 6075 |
> |
fi |
| 6076 |
> |
else |
| 6077 |
> |
ac_cpp_err=yes |
| 6078 |
> |
fi |
| 6079 |
> |
if test -z "$ac_cpp_err"; then |
| 6080 |
> |
ac_header_preproc=yes |
| 6081 |
> |
else |
| 6082 |
> |
echo "$as_me: failed program was:" >&5 |
| 6083 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6084 |
> |
|
| 6085 |
> |
ac_header_preproc=no |
| 6086 |
> |
fi |
| 6087 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6088 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6089 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6090 |
> |
|
| 6091 |
> |
# So? What about this header? |
| 6092 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 6093 |
> |
yes:no: ) |
| 6094 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6095 |
> |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6096 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6097 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6098 |
> |
ac_header_preproc=yes |
| 6099 |
> |
;; |
| 6100 |
> |
no:yes:* ) |
| 6101 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6102 |
> |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6103 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6104 |
> |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6105 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6106 |
> |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6107 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6108 |
> |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6109 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6110 |
> |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6111 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6112 |
> |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6113 |
> |
( |
| 6114 |
> |
cat <<\_ASBOX |
| 6115 |
> |
## ------------------------------ ## |
| 6116 |
> |
## Report this to gezelter@nd.edu ## |
| 6117 |
> |
## ------------------------------ ## |
| 6118 |
> |
_ASBOX |
| 6119 |
> |
) | |
| 6120 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6121 |
> |
;; |
| 6122 |
> |
esac |
| 6123 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6124 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6125 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6126 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6127 |
> |
else |
| 6128 |
> |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6129 |
> |
fi |
| 6130 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6131 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6132 |
> |
|
| 6133 |
> |
fi |
| 6134 |
> |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6135 |
> |
cat >>confdefs.h <<_ACEOF |
| 6136 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6137 |
> |
_ACEOF |
| 6138 |
> |
|
| 6139 |
> |
fi |
| 6140 |
> |
|
| 6141 |
> |
done |
| 6142 |
> |
|
| 6143 |
> |
|
| 6144 |
> |
|
| 6145 |
> |
|
| 6146 |
> |
echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 |
| 6147 |
> |
echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6 |
| 6148 |
> |
if test "${ac_cv_cxx_have_std_iostream+set}" = set; then |
| 6149 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6150 |
> |
else |
| 6151 |
> |
|
| 6152 |
> |
ac_cv_cxx_have_std_iostream=no |
| 6153 |
> |
ac_cv_cxx_need_use_std_iostream=no |
| 6154 |
> |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
| 6155 |
> |
|
| 6156 |
> |
|
| 6157 |
> |
ac_ext=cc |
| 6158 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6159 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6160 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6161 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6162 |
> |
|
| 6163 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6164 |
> |
/* confdefs.h. */ |
| 6165 |
> |
_ACEOF |
| 6166 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6167 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6168 |
> |
/* end confdefs.h. */ |
| 6169 |
> |
|
| 6170 |
> |
#ifdef HAVE_IOSTREAM |
| 6171 |
> |
#include <iostream> |
| 6172 |
> |
#else |
| 6173 |
> |
#include <iostream.h> |
| 6174 |
> |
#endif |
| 6175 |
> |
|
| 6176 |
> |
int |
| 6177 |
> |
main () |
| 6178 |
> |
{ |
| 6179 |
> |
std::cout<<"Hello World"<<std::endl;return 0; |
| 6180 |
> |
; |
| 6181 |
> |
return 0; |
| 6182 |
> |
} |
| 6183 |
> |
_ACEOF |
| 6184 |
> |
rm -f conftest.$ac_objext |
| 6185 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6186 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6187 |
> |
ac_status=$? |
| 6188 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6189 |
> |
rm -f conftest.er1 |
| 6190 |
> |
cat conftest.err >&5 |
| 6191 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6192 |
> |
(exit $ac_status); } && |
| 6193 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6194 |
> |
|| test ! -s conftest.err' |
| 6195 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6196 |
> |
(eval $ac_try) 2>&5 |
| 6197 |
> |
ac_status=$? |
| 6198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6199 |
> |
(exit $ac_status); }; } && |
| 6200 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6201 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6202 |
> |
(eval $ac_try) 2>&5 |
| 6203 |
> |
ac_status=$? |
| 6204 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6205 |
> |
(exit $ac_status); }; }; then |
| 6206 |
> |
ac_cv_cxx_have_std_iostream=yes |
| 6207 |
> |
else |
| 6208 |
> |
echo "$as_me: failed program was:" >&5 |
| 6209 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6210 |
> |
|
| 6211 |
> |
fi |
| 6212 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6213 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6214 |
> |
/* confdefs.h. */ |
| 6215 |
> |
_ACEOF |
| 6216 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6217 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6218 |
> |
/* end confdefs.h. */ |
| 6219 |
> |
|
| 6220 |
> |
#define __USE_STD_IOSTREAM 1 |
| 6221 |
> |
#ifdef HAVE_IOSTREAM |
| 6222 |
> |
#include <iostream> |
| 6223 |
> |
#else |
| 6224 |
> |
#include <iostream.h> |
| 6225 |
> |
#endif |
| 6226 |
> |
|
| 6227 |
> |
int |
| 6228 |
> |
main () |
| 6229 |
> |
{ |
| 6230 |
> |
std::cout<<"Hello World"<<std::endl;return 0; |
| 6231 |
> |
; |
| 6232 |
> |
return 0; |
| 6233 |
> |
} |
| 6234 |
> |
_ACEOF |
| 6235 |
> |
rm -f conftest.$ac_objext |
| 6236 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6237 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6238 |
> |
ac_status=$? |
| 6239 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6240 |
> |
rm -f conftest.er1 |
| 6241 |
> |
cat conftest.err >&5 |
| 6242 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6243 |
> |
(exit $ac_status); } && |
| 6244 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6245 |
> |
|| test ! -s conftest.err' |
| 6246 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6247 |
> |
(eval $ac_try) 2>&5 |
| 6248 |
> |
ac_status=$? |
| 6249 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6250 |
> |
(exit $ac_status); }; } && |
| 6251 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6252 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6253 |
> |
(eval $ac_try) 2>&5 |
| 6254 |
> |
ac_status=$? |
| 6255 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6256 |
> |
(exit $ac_status); }; }; then |
| 6257 |
> |
ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes |
| 6258 |
> |
else |
| 6259 |
> |
echo "$as_me: failed program was:" >&5 |
| 6260 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6261 |
> |
|
| 6262 |
> |
fi |
| 6263 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6264 |
> |
ac_ext=cc |
| 6265 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6266 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6267 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6268 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6269 |
> |
|
| 6270 |
> |
fi |
| 6271 |
> |
|
| 6272 |
> |
fi |
| 6273 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 |
| 6274 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6 |
| 6275 |
> |
if test "$ac_cv_cxx_have_std_iostream" = yes; then |
| 6276 |
> |
|
| 6277 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6278 |
> |
#define HAVE_STD_IOSTREAM 1 |
| 6279 |
> |
_ACEOF |
| 6280 |
> |
|
| 6281 |
> |
fi |
| 6282 |
> |
if test "$ac_cv_cxx_need_use_std_iostream" = yes; then |
| 6283 |
> |
|
| 6284 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6285 |
> |
#define __USE_STD_IOSTREAM 1 |
| 6286 |
> |
_ACEOF |
| 6287 |
> |
|
| 6288 |
> |
fi |
| 6289 |
> |
|
| 6290 |
> |
|
| 6291 |
> |
|
| 6292 |
> |
|
| 6293 |
> |
echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 |
| 6294 |
> |
echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6 |
| 6295 |
> |
if test "${ac_cv_cxx_have_std_stl+set}" = set; then |
| 6296 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6297 |
> |
else |
| 6298 |
> |
|
| 6299 |
> |
ac_cv_cxx_have_std_stl=no |
| 6300 |
> |
if test "x$ac_cv_cxx_namespaces" = xyes; then |
| 6301 |
> |
|
| 6302 |
> |
|
| 6303 |
> |
ac_ext=cc |
| 6304 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6305 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6306 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6307 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6308 |
> |
|
| 6309 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6310 |
> |
/* confdefs.h. */ |
| 6311 |
> |
_ACEOF |
| 6312 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6313 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6314 |
> |
/* end confdefs.h. */ |
| 6315 |
> |
#include <list> |
| 6316 |
> |
|
| 6317 |
> |
int |
| 6318 |
> |
main () |
| 6319 |
> |
{ |
| 6320 |
> |
std::list<int> foo;return 0; |
| 6321 |
> |
; |
| 6322 |
> |
return 0; |
| 6323 |
> |
} |
| 6324 |
> |
_ACEOF |
| 6325 |
> |
rm -f conftest.$ac_objext |
| 6326 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6327 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6328 |
> |
ac_status=$? |
| 6329 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6330 |
> |
rm -f conftest.er1 |
| 6331 |
> |
cat conftest.err >&5 |
| 6332 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6333 |
> |
(exit $ac_status); } && |
| 6334 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6335 |
> |
|| test ! -s conftest.err' |
| 6336 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6337 |
> |
(eval $ac_try) 2>&5 |
| 6338 |
> |
ac_status=$? |
| 6339 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6340 |
> |
(exit $ac_status); }; } && |
| 6341 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6342 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6343 |
> |
(eval $ac_try) 2>&5 |
| 6344 |
> |
ac_status=$? |
| 6345 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6346 |
> |
(exit $ac_status); }; }; then |
| 6347 |
> |
ac_cv_cxx_have_std_stl=yes |
| 6348 |
> |
else |
| 6349 |
> |
echo "$as_me: failed program was:" >&5 |
| 6350 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6351 |
> |
|
| 6352 |
> |
fi |
| 6353 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6354 |
> |
ac_ext=cc |
| 6355 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6356 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6357 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6358 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6359 |
> |
|
| 6360 |
> |
fi |
| 6361 |
> |
|
| 6362 |
> |
fi |
| 6363 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 |
| 6364 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6 |
| 6365 |
> |
if test "$ac_cv_cxx_have_std_stl" = yes; then |
| 6366 |
> |
|
| 6367 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6368 |
> |
#define HAVE_STD_STL 1 |
| 6369 |
> |
_ACEOF |
| 6370 |
> |
|
| 6371 |
> |
fi |
| 6372 |
> |
|
| 6373 |
> |
|
| 6374 |
> |
|
| 6375 |
> |
echo "$as_me:$LINENO: checking for fstream::attach()" >&5 |
| 6376 |
> |
echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6 |
| 6377 |
> |
if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then |
| 6378 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6379 |
> |
else |
| 6380 |
> |
|
| 6381 |
> |
ac_cv_cxx_have_fstream_attach=no |
| 6382 |
> |
|
| 6383 |
> |
|
| 6384 |
> |
ac_ext=cc |
| 6385 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6386 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6387 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6388 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6389 |
> |
|
| 6390 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6391 |
> |
/* confdefs.h. */ |
| 6392 |
> |
_ACEOF |
| 6393 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6394 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6395 |
> |
/* end confdefs.h. */ |
| 6396 |
> |
|
| 6397 |
> |
#ifdef HAVE_IOSTREAM |
| 6398 |
> |
#include <fstream> |
| 6399 |
> |
#else |
| 6400 |
> |
#include <fstream.h> |
| 6401 |
> |
#endif |
| 6402 |
> |
#ifdef HAVE_STD_IOSTREAM |
| 6403 |
> |
using namespace std; |
| 6404 |
> |
#endif |
| 6405 |
> |
|
| 6406 |
> |
int |
| 6407 |
> |
main () |
| 6408 |
> |
{ |
| 6409 |
> |
int fd=0;ofstream s;s.attach(fd); |
| 6410 |
> |
; |
| 6411 |
> |
return 0; |
| 6412 |
> |
} |
| 6413 |
> |
_ACEOF |
| 6414 |
> |
rm -f conftest.$ac_objext |
| 6415 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6416 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6417 |
> |
ac_status=$? |
| 6418 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6419 |
> |
rm -f conftest.er1 |
| 6420 |
> |
cat conftest.err >&5 |
| 6421 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6422 |
> |
(exit $ac_status); } && |
| 6423 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6424 |
> |
|| test ! -s conftest.err' |
| 6425 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6426 |
> |
(eval $ac_try) 2>&5 |
| 6427 |
> |
ac_status=$? |
| 6428 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6429 |
> |
(exit $ac_status); }; } && |
| 6430 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6431 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6432 |
> |
(eval $ac_try) 2>&5 |
| 6433 |
> |
ac_status=$? |
| 6434 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6435 |
> |
(exit $ac_status); }; }; then |
| 6436 |
> |
ac_cv_cxx_have_fstream_attach=yes |
| 6437 |
> |
else |
| 6438 |
> |
echo "$as_me: failed program was:" >&5 |
| 6439 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6440 |
> |
|
| 6441 |
> |
fi |
| 6442 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6443 |
> |
ac_ext=cc |
| 6444 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6445 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6446 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6447 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6448 |
> |
|
| 6449 |
> |
|
| 6450 |
> |
fi |
| 6451 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 |
| 6452 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6 |
| 6453 |
> |
if test "$ac_cv_cxx_have_fstream_attach" = yes; then |
| 6454 |
> |
|
| 6455 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6456 |
> |
#define HAVE_FSTREAM_ATTACH 1 |
| 6457 |
> |
_ACEOF |
| 6458 |
> |
|
| 6459 |
> |
fi |
| 6460 |
> |
|
| 6461 |
|
|
| 6462 |
|
|
| 6463 |
< |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6464 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 6465 |
< |
if test "${ac_cv_header_stdc+set}" = set; then |
| 6463 |
> |
echo "$as_me:$LINENO: checking for fstream::open()" >&5 |
| 6464 |
> |
echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6 |
| 6465 |
> |
if test "${ac_cv_cxx_have_fstream_open+set}" = set; then |
| 6466 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6467 |
|
else |
| 6468 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6468 |
> |
|
| 6469 |
> |
ac_cv_cxx_have_fstream_open=no |
| 6470 |
> |
ac_cv_cxx_fstream_open_prot=no |
| 6471 |
> |
|
| 6472 |
> |
|
| 6473 |
> |
ac_ext=cc |
| 6474 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6475 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6476 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6477 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6478 |
> |
|
| 6479 |
> |
# Try with 2 parameters |
| 6480 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6481 |
|
/* confdefs.h. */ |
| 6482 |
|
_ACEOF |
| 6483 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6484 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6485 |
|
/* end confdefs.h. */ |
| 4734 |
– |
#include <stdlib.h> |
| 4735 |
– |
#include <stdarg.h> |
| 4736 |
– |
#include <string.h> |
| 4737 |
– |
#include <float.h> |
| 6486 |
|
|
| 6487 |
+ |
#ifdef HAVE_IOSTREAM |
| 6488 |
+ |
#include <fstream> |
| 6489 |
+ |
#else |
| 6490 |
+ |
#include <fstream.h> |
| 6491 |
+ |
#endif |
| 6492 |
+ |
#ifdef HAVE_STD_IOSTREAM |
| 6493 |
+ |
using namespace std; |
| 6494 |
+ |
#endif |
| 6495 |
+ |
|
| 6496 |
|
int |
| 6497 |
|
main () |
| 6498 |
|
{ |
| 6499 |
< |
|
| 6499 |
> |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc); |
| 6500 |
|
; |
| 6501 |
|
return 0; |
| 6502 |
|
} |
| 6510 |
|
cat conftest.err >&5 |
| 6511 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6512 |
|
(exit $ac_status); } && |
| 6513 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6513 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6514 |
|
|| test ! -s conftest.err' |
| 6515 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6516 |
|
(eval $ac_try) 2>&5 |
| 6523 |
|
ac_status=$? |
| 6524 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6525 |
|
(exit $ac_status); }; }; then |
| 6526 |
< |
ac_cv_header_stdc=yes |
| 6526 |
> |
ac_cv_cxx_have_fstream_open=yes |
| 6527 |
|
else |
| 6528 |
|
echo "$as_me: failed program was:" >&5 |
| 6529 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6530 |
|
|
| 4774 |
– |
ac_cv_header_stdc=no |
| 6531 |
|
fi |
| 6532 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6533 |
< |
|
| 6534 |
< |
if test $ac_cv_header_stdc = yes; then |
| 4779 |
< |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4780 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6533 |
> |
# Try with mode parameter |
| 6534 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6535 |
|
/* confdefs.h. */ |
| 6536 |
|
_ACEOF |
| 6537 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6538 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6539 |
|
/* end confdefs.h. */ |
| 4786 |
– |
#include <string.h> |
| 6540 |
|
|
| 6541 |
< |
_ACEOF |
| 6542 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4790 |
< |
$EGREP "memchr" >/dev/null 2>&1; then |
| 4791 |
< |
: |
| 4792 |
< |
else |
| 4793 |
< |
ac_cv_header_stdc=no |
| 4794 |
< |
fi |
| 4795 |
< |
rm -f conftest* |
| 4796 |
< |
|
| 4797 |
< |
fi |
| 4798 |
< |
|
| 4799 |
< |
if test $ac_cv_header_stdc = yes; then |
| 4800 |
< |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4801 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4802 |
< |
/* confdefs.h. */ |
| 4803 |
< |
_ACEOF |
| 4804 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4805 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4806 |
< |
/* end confdefs.h. */ |
| 4807 |
< |
#include <stdlib.h> |
| 4808 |
< |
|
| 4809 |
< |
_ACEOF |
| 4810 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4811 |
< |
$EGREP "free" >/dev/null 2>&1; then |
| 4812 |
< |
: |
| 4813 |
< |
else |
| 4814 |
< |
ac_cv_header_stdc=no |
| 4815 |
< |
fi |
| 4816 |
< |
rm -f conftest* |
| 4817 |
< |
|
| 4818 |
< |
fi |
| 4819 |
< |
|
| 4820 |
< |
if test $ac_cv_header_stdc = yes; then |
| 4821 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4822 |
< |
if test "$cross_compiling" = yes; then |
| 4823 |
< |
: |
| 4824 |
< |
else |
| 4825 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4826 |
< |
/* confdefs.h. */ |
| 4827 |
< |
_ACEOF |
| 4828 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4829 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4830 |
< |
/* end confdefs.h. */ |
| 4831 |
< |
#include <ctype.h> |
| 4832 |
< |
#if ((' ' & 0x0FF) == 0x020) |
| 4833 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4834 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 6541 |
> |
#ifdef HAVE_IOSTREAM |
| 6542 |
> |
#include <fstream> |
| 6543 |
|
#else |
| 6544 |
< |
# define ISLOWER(c) \ |
| 4837 |
< |
(('a' <= (c) && (c) <= 'i') \ |
| 4838 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4839 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
| 4840 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 6544 |
> |
#include <fstream.h> |
| 6545 |
|
#endif |
| 6546 |
+ |
#ifdef HAVE_STD_IOSTREAM |
| 6547 |
+ |
using namespace std; |
| 6548 |
+ |
#endif |
| 6549 |
|
|
| 4843 |
– |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 6550 |
|
int |
| 6551 |
|
main () |
| 6552 |
|
{ |
| 6553 |
< |
int i; |
| 6554 |
< |
for (i = 0; i < 256; i++) |
| 6555 |
< |
if (XOR (islower (i), ISLOWER (i)) |
| 4850 |
< |
|| toupper (i) != TOUPPER (i)) |
| 4851 |
< |
exit(2); |
| 4852 |
< |
exit (0); |
| 6553 |
> |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); |
| 6554 |
> |
; |
| 6555 |
> |
return 0; |
| 6556 |
|
} |
| 6557 |
|
_ACEOF |
| 6558 |
< |
rm -f conftest$ac_exeext |
| 6559 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6560 |
< |
(eval $ac_link) 2>&5 |
| 6558 |
> |
rm -f conftest.$ac_objext |
| 6559 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6560 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6561 |
|
ac_status=$? |
| 6562 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6563 |
+ |
rm -f conftest.er1 |
| 6564 |
+ |
cat conftest.err >&5 |
| 6565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6566 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6566 |
> |
(exit $ac_status); } && |
| 6567 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6568 |
> |
|| test ! -s conftest.err' |
| 6569 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6570 |
|
(eval $ac_try) 2>&5 |
| 6571 |
|
ac_status=$? |
| 6572 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6573 |
< |
(exit $ac_status); }; }; then |
| 6574 |
< |
: |
| 6573 |
> |
(exit $ac_status); }; } && |
| 6574 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6575 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6576 |
> |
(eval $ac_try) 2>&5 |
| 6577 |
> |
ac_status=$? |
| 6578 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6579 |
> |
(exit $ac_status); }; }; then |
| 6580 |
> |
ac_cv_cxx_fstream_open_prot=yes |
| 6581 |
|
else |
| 6582 |
< |
echo "$as_me: program exited with status $ac_status" >&5 |
| 4869 |
< |
echo "$as_me: failed program was:" >&5 |
| 6582 |
> |
echo "$as_me: failed program was:" >&5 |
| 6583 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6584 |
|
|
| 4872 |
– |
( exit $ac_status ) |
| 4873 |
– |
ac_cv_header_stdc=no |
| 6585 |
|
fi |
| 6586 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6586 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6587 |
> |
ac_ext=cc |
| 6588 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6589 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6590 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6591 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6592 |
> |
|
| 6593 |
> |
|
| 6594 |
|
fi |
| 6595 |
< |
fi |
| 6596 |
< |
fi |
| 6597 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4880 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 4881 |
< |
if test $ac_cv_header_stdc = yes; then |
| 6595 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 |
| 6596 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6 |
| 6597 |
> |
if test "$ac_cv_cxx_have_fstream_open" = yes; then |
| 6598 |
|
|
| 6599 |
|
cat >>confdefs.h <<\_ACEOF |
| 6600 |
< |
#define STDC_HEADERS 1 |
| 6600 |
> |
#define HAVE_FSTREAM_OPEN 1 |
| 6601 |
|
_ACEOF |
| 6602 |
|
|
| 6603 |
< |
fi |
| 6603 |
> |
fi |
| 6604 |
> |
if test "$ac_cv_cxx_fstream_open_prot" = yes; then |
| 6605 |
|
|
| 6606 |
< |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 6606 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6607 |
> |
#define FSTREAM_OPEN_PROT 1 |
| 6608 |
> |
_ACEOF |
| 6609 |
|
|
| 6610 |
+ |
fi |
| 6611 |
|
|
| 6612 |
|
|
| 6613 |
|
|
| 6614 |
|
|
| 6615 |
< |
|
| 6616 |
< |
|
| 6617 |
< |
|
| 4898 |
< |
|
| 4899 |
< |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4900 |
< |
inttypes.h stdint.h unistd.h |
| 4901 |
< |
do |
| 4902 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4903 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4904 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4905 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6615 |
> |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 6616 |
> |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
| 6617 |
> |
if test "${ac_cv_lib_m_asin+set}" = set; then |
| 6618 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6619 |
|
else |
| 6620 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6620 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6621 |
> |
LIBS="-lm $LIBS" |
| 6622 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6623 |
|
/* confdefs.h. */ |
| 6624 |
|
_ACEOF |
| 6625 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6626 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6627 |
|
/* end confdefs.h. */ |
| 4914 |
– |
$ac_includes_default |
| 6628 |
|
|
| 6629 |
< |
#include <$ac_header> |
| 6629 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6630 |
> |
#ifdef __cplusplus |
| 6631 |
> |
extern "C" |
| 6632 |
> |
#endif |
| 6633 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6634 |
> |
builtin and then its argument prototype would still apply. */ |
| 6635 |
> |
char asin (); |
| 6636 |
> |
int |
| 6637 |
> |
main () |
| 6638 |
> |
{ |
| 6639 |
> |
asin (); |
| 6640 |
> |
; |
| 6641 |
> |
return 0; |
| 6642 |
> |
} |
| 6643 |
|
_ACEOF |
| 6644 |
< |
rm -f conftest.$ac_objext |
| 6645 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6646 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6644 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6645 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6646 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6647 |
|
ac_status=$? |
| 6648 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6649 |
|
rm -f conftest.er1 |
| 6650 |
|
cat conftest.err >&5 |
| 6651 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6652 |
|
(exit $ac_status); } && |
| 6653 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6653 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 6654 |
|
|| test ! -s conftest.err' |
| 6655 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6656 |
|
(eval $ac_try) 2>&5 |
| 6657 |
|
ac_status=$? |
| 6658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6659 |
|
(exit $ac_status); }; } && |
| 6660 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6660 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6661 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6662 |
|
(eval $ac_try) 2>&5 |
| 6663 |
|
ac_status=$? |
| 6664 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6665 |
|
(exit $ac_status); }; }; then |
| 6666 |
< |
eval "$as_ac_Header=yes" |
| 6666 |
> |
ac_cv_lib_m_asin=yes |
| 6667 |
|
else |
| 6668 |
|
echo "$as_me: failed program was:" >&5 |
| 6669 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6670 |
|
|
| 6671 |
< |
eval "$as_ac_Header=no" |
| 6671 |
> |
ac_cv_lib_m_asin=no |
| 6672 |
|
fi |
| 6673 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6673 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6674 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6675 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 6676 |
|
fi |
| 6677 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6678 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6679 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6677 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 6678 |
> |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
| 6679 |
> |
if test $ac_cv_lib_m_asin = yes; then |
| 6680 |
|
cat >>confdefs.h <<_ACEOF |
| 6681 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6681 |
> |
#define HAVE_LIBM 1 |
| 6682 |
|
_ACEOF |
| 6683 |
|
|
| 6684 |
+ |
LIBS="-lm $LIBS" |
| 6685 |
+ |
|
| 6686 |
+ |
else |
| 6687 |
+ |
exit |
| 6688 |
|
fi |
| 6689 |
|
|
| 4958 |
– |
done |
| 6690 |
|
|
| 6691 |
+ |
ac_ext=c |
| 6692 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 6693 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6694 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6695 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6696 |
+ |
|
| 6697 |
|
|
| 6698 |
|
# |
| 6699 |
|
# Handle user hints |
| 7072 |
|
|
| 7073 |
|
|
| 7074 |
|
|
| 7075 |
< |
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 |
| 7075 |
> |
|
| 7076 |
> |
|
| 7077 |
> |
|
| 7078 |
> |
|
| 7079 |
> |
|
| 7080 |
> |
|
| 7081 |
> |
|
| 7082 |
> |
|
| 7083 |
> |
|
| 7084 |
> |
|
| 7085 |
> |
for ac_header in stdlib.h string.h sys/param.h unistd.h sys/time.h stdio.h conio.h strstream.h iostream.h fstream.h math.h time.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h |
| 7086 |
|
do |
| 7087 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7088 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7231 |
|
|
| 7232 |
|
done |
| 7233 |
|
|
| 7234 |
+ |
ac_ext=cc |
| 7235 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 7236 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7237 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7238 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 7239 |
|
|
| 7240 |
|
|
| 7241 |
|
|
| 7242 |
|
|
| 7243 |
|
|
| 7244 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 7244 |
> |
|
| 7245 |
> |
for ac_header in ctype.h iostream fstream sstream strstream |
| 7246 |
|
do |
| 7247 |
+ |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7248 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7249 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7250 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7251 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7252 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7253 |
+ |
fi |
| 7254 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7255 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7256 |
+ |
else |
| 7257 |
+ |
# Is the header compilable? |
| 7258 |
+ |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 7259 |
+ |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 7260 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7261 |
+ |
/* confdefs.h. */ |
| 7262 |
+ |
_ACEOF |
| 7263 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7264 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7265 |
+ |
/* end confdefs.h. */ |
| 7266 |
+ |
$ac_includes_default |
| 7267 |
+ |
#include <$ac_header> |
| 7268 |
+ |
_ACEOF |
| 7269 |
+ |
rm -f conftest.$ac_objext |
| 7270 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7271 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7272 |
+ |
ac_status=$? |
| 7273 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7274 |
+ |
rm -f conftest.er1 |
| 7275 |
+ |
cat conftest.err >&5 |
| 7276 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7277 |
+ |
(exit $ac_status); } && |
| 7278 |
+ |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 7279 |
+ |
|| test ! -s conftest.err' |
| 7280 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7281 |
+ |
(eval $ac_try) 2>&5 |
| 7282 |
+ |
ac_status=$? |
| 7283 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7284 |
+ |
(exit $ac_status); }; } && |
| 7285 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7286 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7287 |
+ |
(eval $ac_try) 2>&5 |
| 7288 |
+ |
ac_status=$? |
| 7289 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7290 |
+ |
(exit $ac_status); }; }; then |
| 7291 |
+ |
ac_header_compiler=yes |
| 7292 |
+ |
else |
| 7293 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7294 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7295 |
+ |
|
| 7296 |
+ |
ac_header_compiler=no |
| 7297 |
+ |
fi |
| 7298 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7299 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7300 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7301 |
+ |
|
| 7302 |
+ |
# Is the header present? |
| 7303 |
+ |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 7304 |
+ |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 7305 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7306 |
+ |
/* confdefs.h. */ |
| 7307 |
+ |
_ACEOF |
| 7308 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7309 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7310 |
+ |
/* end confdefs.h. */ |
| 7311 |
+ |
#include <$ac_header> |
| 7312 |
+ |
_ACEOF |
| 7313 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 7314 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 7315 |
+ |
ac_status=$? |
| 7316 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7317 |
+ |
rm -f conftest.er1 |
| 7318 |
+ |
cat conftest.err >&5 |
| 7319 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7320 |
+ |
(exit $ac_status); } >/dev/null; then |
| 7321 |
+ |
if test -s conftest.err; then |
| 7322 |
+ |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 7323 |
+ |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 7324 |
+ |
else |
| 7325 |
+ |
ac_cpp_err= |
| 7326 |
+ |
fi |
| 7327 |
+ |
else |
| 7328 |
+ |
ac_cpp_err=yes |
| 7329 |
+ |
fi |
| 7330 |
+ |
if test -z "$ac_cpp_err"; then |
| 7331 |
+ |
ac_header_preproc=yes |
| 7332 |
+ |
else |
| 7333 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7334 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7335 |
+ |
|
| 7336 |
+ |
ac_header_preproc=no |
| 7337 |
+ |
fi |
| 7338 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 7339 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7340 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7341 |
+ |
|
| 7342 |
+ |
# So? What about this header? |
| 7343 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 7344 |
+ |
yes:no: ) |
| 7345 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7346 |
+ |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7347 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 7348 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 7349 |
+ |
ac_header_preproc=yes |
| 7350 |
+ |
;; |
| 7351 |
+ |
no:yes:* ) |
| 7352 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 7353 |
+ |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 7354 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 7355 |
+ |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 7356 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 7357 |
+ |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 7358 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 7359 |
+ |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 7360 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 7361 |
+ |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 7362 |
+ |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 7363 |
+ |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 7364 |
+ |
( |
| 7365 |
+ |
cat <<\_ASBOX |
| 7366 |
+ |
## ------------------------------ ## |
| 7367 |
+ |
## Report this to gezelter@nd.edu ## |
| 7368 |
+ |
## ------------------------------ ## |
| 7369 |
+ |
_ASBOX |
| 7370 |
+ |
) | |
| 7371 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7372 |
+ |
;; |
| 7373 |
+ |
esac |
| 7374 |
+ |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7375 |
+ |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7376 |
+ |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7377 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7378 |
+ |
else |
| 7379 |
+ |
eval "$as_ac_Header=\$ac_header_preproc" |
| 7380 |
+ |
fi |
| 7381 |
+ |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7382 |
+ |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7383 |
+ |
|
| 7384 |
+ |
fi |
| 7385 |
+ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 7386 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7387 |
+ |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7388 |
+ |
_ACEOF |
| 7389 |
+ |
|
| 7390 |
+ |
fi |
| 7391 |
+ |
|
| 7392 |
+ |
done |
| 7393 |
+ |
|
| 7394 |
+ |
ac_ext=c |
| 7395 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 7396 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7397 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7398 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7399 |
+ |
|
| 7400 |
+ |
|
| 7401 |
+ |
|
| 7402 |
+ |
|
| 7403 |
+ |
|
| 7404 |
+ |
|
| 7405 |
+ |
|
| 7406 |
+ |
|
| 7407 |
+ |
|
| 7408 |
+ |
|
| 7409 |
+ |
|
| 7410 |
+ |
|
| 7411 |
+ |
|
| 7412 |
+ |
for ac_func in rint snprintf sranddev strcasecmp strncasecmp stricmp strnicmp pstat_getstatic sysmp getsysinfo sysctl table |
| 7413 |
+ |
do |
| 7414 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7415 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7416 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7566 |
|
echo "${ECHO_T}no" >&6 |
| 7567 |
|
fi |
| 7568 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7569 |
+ |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 7570 |
+ |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 7571 |
+ |
if test "${ac_cv_header_time+set}" = set; then |
| 7572 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7573 |
+ |
else |
| 7574 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7575 |
+ |
/* confdefs.h. */ |
| 7576 |
+ |
_ACEOF |
| 7577 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7578 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7579 |
+ |
/* end confdefs.h. */ |
| 7580 |
+ |
#include <sys/types.h> |
| 7581 |
+ |
#include <sys/time.h> |
| 7582 |
+ |
#include <time.h> |
| 7583 |
|
|
| 7584 |
+ |
int |
| 7585 |
+ |
main () |
| 7586 |
+ |
{ |
| 7587 |
+ |
if ((struct tm *) 0) |
| 7588 |
+ |
return 0; |
| 7589 |
+ |
; |
| 7590 |
+ |
return 0; |
| 7591 |
+ |
} |
| 7592 |
+ |
_ACEOF |
| 7593 |
+ |
rm -f conftest.$ac_objext |
| 7594 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7595 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7596 |
+ |
ac_status=$? |
| 7597 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7598 |
+ |
rm -f conftest.er1 |
| 7599 |
+ |
cat conftest.err >&5 |
| 7600 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7601 |
+ |
(exit $ac_status); } && |
| 7602 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7603 |
+ |
|| test ! -s conftest.err' |
| 7604 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7605 |
+ |
(eval $ac_try) 2>&5 |
| 7606 |
+ |
ac_status=$? |
| 7607 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7608 |
+ |
(exit $ac_status); }; } && |
| 7609 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7610 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7611 |
+ |
(eval $ac_try) 2>&5 |
| 7612 |
+ |
ac_status=$? |
| 7613 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7614 |
+ |
(exit $ac_status); }; }; then |
| 7615 |
+ |
ac_cv_header_time=yes |
| 7616 |
+ |
else |
| 7617 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7618 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7619 |
+ |
|
| 7620 |
+ |
ac_cv_header_time=no |
| 7621 |
+ |
fi |
| 7622 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7623 |
+ |
fi |
| 7624 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 7625 |
+ |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 7626 |
+ |
if test $ac_cv_header_time = yes; then |
| 7627 |
+ |
|
| 7628 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 7629 |
+ |
#define TIME_WITH_SYS_TIME 1 |
| 7630 |
+ |
_ACEOF |
| 7631 |
+ |
|
| 7632 |
+ |
fi |
| 7633 |
+ |
|
| 7634 |
+ |
|
| 7635 |
+ |
echo "$as_me:$LINENO: checking for clock_t" >&5 |
| 7636 |
+ |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
| 7637 |
+ |
if test "${ac_cv_type_clock_t+set}" = set; then |
| 7638 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7639 |
+ |
else |
| 7640 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7641 |
+ |
/* confdefs.h. */ |
| 7642 |
+ |
_ACEOF |
| 7643 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7644 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7645 |
+ |
/* end confdefs.h. */ |
| 7646 |
+ |
$ac_includes_default |
| 7647 |
+ |
int |
| 7648 |
+ |
main () |
| 7649 |
+ |
{ |
| 7650 |
+ |
if ((clock_t *) 0) |
| 7651 |
+ |
return 0; |
| 7652 |
+ |
if (sizeof (clock_t)) |
| 7653 |
+ |
return 0; |
| 7654 |
+ |
; |
| 7655 |
+ |
return 0; |
| 7656 |
+ |
} |
| 7657 |
+ |
_ACEOF |
| 7658 |
+ |
rm -f conftest.$ac_objext |
| 7659 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7660 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7661 |
+ |
ac_status=$? |
| 7662 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7663 |
+ |
rm -f conftest.er1 |
| 7664 |
+ |
cat conftest.err >&5 |
| 7665 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7666 |
+ |
(exit $ac_status); } && |
| 7667 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7668 |
+ |
|| test ! -s conftest.err' |
| 7669 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7670 |
+ |
(eval $ac_try) 2>&5 |
| 7671 |
+ |
ac_status=$? |
| 7672 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7673 |
+ |
(exit $ac_status); }; } && |
| 7674 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7675 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7676 |
+ |
(eval $ac_try) 2>&5 |
| 7677 |
+ |
ac_status=$? |
| 7678 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7679 |
+ |
(exit $ac_status); }; }; then |
| 7680 |
+ |
ac_cv_type_clock_t=yes |
| 7681 |
+ |
else |
| 7682 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7683 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7684 |
+ |
|
| 7685 |
+ |
ac_cv_type_clock_t=no |
| 7686 |
+ |
fi |
| 7687 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7688 |
+ |
fi |
| 7689 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
| 7690 |
+ |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6 |
| 7691 |
+ |
if test $ac_cv_type_clock_t = yes; then |
| 7692 |
+ |
|
| 7693 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7694 |
+ |
#define HAVE_CLOCK_T 1 |
| 7695 |
+ |
_ACEOF |
| 7696 |
+ |
|
| 7697 |
+ |
|
| 7698 |
+ |
fi |
| 7699 |
+ |
|
| 7700 |
+ |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 7701 |
+ |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 7702 |
+ |
if test "${ac_cv_c_const+set}" = set; then |
| 7703 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7704 |
+ |
else |
| 7705 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7706 |
+ |
/* confdefs.h. */ |
| 7707 |
+ |
_ACEOF |
| 7708 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7709 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7710 |
+ |
/* end confdefs.h. */ |
| 7711 |
+ |
|
| 7712 |
+ |
int |
| 7713 |
+ |
main () |
| 7714 |
+ |
{ |
| 7715 |
+ |
/* FIXME: Include the comments suggested by Paul. */ |
| 7716 |
+ |
#ifndef __cplusplus |
| 7717 |
+ |
/* Ultrix mips cc rejects this. */ |
| 7718 |
+ |
typedef int charset[2]; |
| 7719 |
+ |
const charset x; |
| 7720 |
+ |
/* SunOS 4.1.1 cc rejects this. */ |
| 7721 |
+ |
char const *const *ccp; |
| 7722 |
+ |
char **p; |
| 7723 |
+ |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 7724 |
+ |
struct point {int x, y;}; |
| 7725 |
+ |
static struct point const zero = {0,0}; |
| 7726 |
+ |
/* AIX XL C 1.02.0.0 rejects this. |
| 7727 |
+ |
It does not let you subtract one const X* pointer from another in |
| 7728 |
+ |
an arm of an if-expression whose if-part is not a constant |
| 7729 |
+ |
expression */ |
| 7730 |
+ |
const char *g = "string"; |
| 7731 |
+ |
ccp = &g + (g ? g-g : 0); |
| 7732 |
+ |
/* HPUX 7.0 cc rejects these. */ |
| 7733 |
+ |
++ccp; |
| 7734 |
+ |
p = (char**) ccp; |
| 7735 |
+ |
ccp = (char const *const *) p; |
| 7736 |
+ |
{ /* SCO 3.2v4 cc rejects this. */ |
| 7737 |
+ |
char *t; |
| 7738 |
+ |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 7739 |
+ |
|
| 7740 |
+ |
*t++ = 0; |
| 7741 |
+ |
} |
| 7742 |
+ |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 7743 |
+ |
int x[] = {25, 17}; |
| 7744 |
+ |
const int *foo = &x[0]; |
| 7745 |
+ |
++foo; |
| 7746 |
+ |
} |
| 7747 |
+ |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 7748 |
+ |
typedef const int *iptr; |
| 7749 |
+ |
iptr p = 0; |
| 7750 |
+ |
++p; |
| 7751 |
+ |
} |
| 7752 |
+ |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 7753 |
+ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 7754 |
+ |
struct s { int j; const int *ap[3]; }; |
| 7755 |
+ |
struct s *b; b->j = 5; |
| 7756 |
+ |
} |
| 7757 |
+ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 7758 |
+ |
const int foo = 10; |
| 7759 |
+ |
} |
| 7760 |
+ |
#endif |
| 7761 |
+ |
|
| 7762 |
+ |
; |
| 7763 |
+ |
return 0; |
| 7764 |
+ |
} |
| 7765 |
+ |
_ACEOF |
| 7766 |
+ |
rm -f conftest.$ac_objext |
| 7767 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7768 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7769 |
+ |
ac_status=$? |
| 7770 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7771 |
+ |
rm -f conftest.er1 |
| 7772 |
+ |
cat conftest.err >&5 |
| 7773 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7774 |
+ |
(exit $ac_status); } && |
| 7775 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7776 |
+ |
|| test ! -s conftest.err' |
| 7777 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7778 |
+ |
(eval $ac_try) 2>&5 |
| 7779 |
+ |
ac_status=$? |
| 7780 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7781 |
+ |
(exit $ac_status); }; } && |
| 7782 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7783 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7784 |
+ |
(eval $ac_try) 2>&5 |
| 7785 |
+ |
ac_status=$? |
| 7786 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7787 |
+ |
(exit $ac_status); }; }; then |
| 7788 |
+ |
ac_cv_c_const=yes |
| 7789 |
+ |
else |
| 7790 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7791 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7792 |
+ |
|
| 7793 |
+ |
ac_cv_c_const=no |
| 7794 |
+ |
fi |
| 7795 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7796 |
+ |
fi |
| 7797 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 7798 |
+ |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 7799 |
+ |
if test $ac_cv_c_const = no; then |
| 7800 |
+ |
|
| 7801 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 7802 |
+ |
#define const |
| 7803 |
+ |
_ACEOF |
| 7804 |
+ |
|
| 7805 |
+ |
fi |
| 7806 |
+ |
|
| 7807 |
+ |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 7808 |
+ |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 7809 |
+ |
if test "${ac_cv_c_inline+set}" = set; then |
| 7810 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7811 |
+ |
else |
| 7812 |
+ |
ac_cv_c_inline=no |
| 7813 |
+ |
for ac_kw in inline __inline__ __inline; do |
| 7814 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 7815 |
+ |
/* confdefs.h. */ |
| 7816 |
+ |
_ACEOF |
| 7817 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 7818 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 7819 |
+ |
/* end confdefs.h. */ |
| 7820 |
+ |
#ifndef __cplusplus |
| 7821 |
+ |
typedef int foo_t; |
| 7822 |
+ |
static $ac_kw foo_t static_foo () {return 0; } |
| 7823 |
+ |
$ac_kw foo_t foo () {return 0; } |
| 7824 |
+ |
#endif |
| 7825 |
+ |
|
| 7826 |
+ |
_ACEOF |
| 7827 |
+ |
rm -f conftest.$ac_objext |
| 7828 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7829 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 7830 |
+ |
ac_status=$? |
| 7831 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7832 |
+ |
rm -f conftest.er1 |
| 7833 |
+ |
cat conftest.err >&5 |
| 7834 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7835 |
+ |
(exit $ac_status); } && |
| 7836 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7837 |
+ |
|| test ! -s conftest.err' |
| 7838 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7839 |
+ |
(eval $ac_try) 2>&5 |
| 7840 |
+ |
ac_status=$? |
| 7841 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7842 |
+ |
(exit $ac_status); }; } && |
| 7843 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 7844 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7845 |
+ |
(eval $ac_try) 2>&5 |
| 7846 |
+ |
ac_status=$? |
| 7847 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7848 |
+ |
(exit $ac_status); }; }; then |
| 7849 |
+ |
ac_cv_c_inline=$ac_kw; break |
| 7850 |
+ |
else |
| 7851 |
+ |
echo "$as_me: failed program was:" >&5 |
| 7852 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7853 |
+ |
|
| 7854 |
+ |
fi |
| 7855 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7856 |
+ |
done |
| 7857 |
+ |
|
| 7858 |
+ |
fi |
| 7859 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 7860 |
+ |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 7861 |
+ |
|
| 7862 |
+ |
|
| 7863 |
+ |
case $ac_cv_c_inline in |
| 7864 |
+ |
inline | yes) ;; |
| 7865 |
+ |
*) |
| 7866 |
+ |
case $ac_cv_c_inline in |
| 7867 |
+ |
no) ac_val=;; |
| 7868 |
+ |
*) ac_val=$ac_cv_c_inline;; |
| 7869 |
+ |
esac |
| 7870 |
+ |
cat >>confdefs.h <<_ACEOF |
| 7871 |
+ |
#ifndef __cplusplus |
| 7872 |
+ |
#define inline $ac_val |
| 7873 |
+ |
#endif |
| 7874 |
+ |
_ACEOF |
| 7875 |
+ |
;; |
| 7876 |
+ |
esac |
| 7877 |
+ |
|
| 7878 |
+ |
|
| 7879 |
+ |
|
| 7880 |
|
# clean out junk possibly left behind by a previous configuration |
| 7881 |
|
rm -f src/getopt.h |
| 7882 |
|
# Check for getopt_long support |
| 8245 |
|
|
| 8246 |
|
cat > conftest.c <<EOF |
| 8247 |
|
#ifdef __GNUC__ |
| 8248 |
< |
#ifndef __INTEL_COMPILER |
| 8248 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 8249 |
> |
no; |
| 8250 |
> |
#else |
| 8251 |
|
yes; |
| 8252 |
|
#endif |
| 8253 |
|
#endif |
| 8708 |
|
|
| 8709 |
|
cat > conftest.cpp <<EOF |
| 8710 |
|
#ifdef __GNUC__ |
| 8711 |
< |
#ifndef __INTEL_COMPILER |
| 8711 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 8712 |
> |
no; |
| 8713 |
> |
#else |
| 8714 |
|
yes; |
| 8715 |
|
#endif |
| 8716 |
|
#endif |
| 10063 |
|
|
| 10064 |
|
cat >>confdefs.h <<_ACEOF |
| 10065 |
|
#define PSCOMMAND $PS |
| 10066 |
+ |
_ACEOF |
| 10067 |
+ |
|
| 10068 |
+ |
|
| 10069 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 10070 |
+ |
#define OBAPI |
| 10071 |
|
_ACEOF |
| 10072 |
|
|
| 10073 |
|
|
| 10074 |
+ |
|
| 10075 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 10076 |
< |
cat >>confdefs.h <<\_ACEOF |
| 10076 |
> |
|
| 10077 |
> |
cat >>confdefs.h <<\_ACEOF |
| 10078 |
|
#define PSTYPE_IS_BSD 1 |
| 10079 |
|
_ACEOF |
| 10080 |
|
|
| 10081 |
|
else |
| 10082 |
|
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 10083 |
< |
cat >>confdefs.h <<\_ACEOF |
| 10083 |
> |
|
| 10084 |
> |
cat >>confdefs.h <<\_ACEOF |
| 10085 |
|
#define PSTYPE_IS_POSIX 1 |
| 10086 |
|
_ACEOF |
| 10087 |
|
|
| 10673 |
|
|
| 10674 |
|
save_CXXFLAGS="$CXXFLAGS" |
| 10675 |
|
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 10676 |
< |
|
| 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 |
| 10676 |
> |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 10677 |
|
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 10678 |
|
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 10679 |
|
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 11857 |
|
s,@CXX@,$CXX,;t t |
| 11858 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 11859 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 11860 |
+ |
s,@CPP@,$CPP,;t t |
| 11861 |
+ |
s,@EGREP@,$EGREP,;t t |
| 11862 |
|
s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t |
| 11863 |
|
s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t |
| 11864 |
|
s,@F90@,$F90,;t t |
| 11874 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 11875 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 11876 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 11877 |
< |
s,@CPP@,$CPP,;t t |
| 9866 |
< |
s,@EGREP@,$EGREP,;t t |
| 11877 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
| 11878 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
| 11879 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 11880 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 11897 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 11898 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 11899 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 9889 |
– |
s,@CXXCPP@,$CXXCPP,;t t |
| 11900 |
|
s,@USE_CGAL@,$USE_CGAL,;t t |
| 11901 |
|
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
| 11902 |
|
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |