| 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 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' |
| 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 __func__ 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 |
| 993 |
|
else |
| 994 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 995 |
|
fi |
| 996 |
< |
cd "$ac_popdir" |
| 996 |
> |
cd $ac_popdir |
| 997 |
|
done |
| 998 |
|
fi |
| 999 |
|
|
| 1888 |
|
# |
| 1889 |
|
# |
| 1890 |
|
# |
| 1891 |
+ |
|
| 1892 |
+ |
|
| 1893 |
+ |
|
| 1894 |
+ |
|
| 1895 |
+ |
|
| 1896 |
+ |
|
| 1897 |
+ |
|
| 1898 |
|
|
| 1899 |
|
|
| 1900 |
|
|
| 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 |
| 2362 |
|
cat conftest.err >&5 |
| 2363 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2364 |
|
(exit $ac_status); } && |
| 2365 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2365 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2366 |
> |
|| test ! -s conftest.err' |
| 2367 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2368 |
|
(eval $ac_try) 2>&5 |
| 2369 |
|
ac_status=$? |
| 2421 |
|
cat conftest.err >&5 |
| 2422 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2423 |
|
(exit $ac_status); } && |
| 2424 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2424 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2425 |
> |
|| test ! -s conftest.err' |
| 2426 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2427 |
|
(eval $ac_try) 2>&5 |
| 2428 |
|
ac_status=$? |
| 2538 |
|
cat conftest.err >&5 |
| 2539 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2540 |
|
(exit $ac_status); } && |
| 2541 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2541 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2542 |
> |
|| test ! -s conftest.err' |
| 2543 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2544 |
|
(eval $ac_try) 2>&5 |
| 2545 |
|
ac_status=$? |
| 2593 |
|
cat conftest.err >&5 |
| 2594 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2595 |
|
(exit $ac_status); } && |
| 2596 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2596 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2597 |
> |
|| test ! -s conftest.err' |
| 2598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2599 |
|
(eval $ac_try) 2>&5 |
| 2600 |
|
ac_status=$? |
| 2639 |
|
cat conftest.err >&5 |
| 2640 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2641 |
|
(exit $ac_status); } && |
| 2642 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2642 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2643 |
> |
|| test ! -s conftest.err' |
| 2644 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2645 |
|
(eval $ac_try) 2>&5 |
| 2646 |
|
ac_status=$? |
| 2684 |
|
cat conftest.err >&5 |
| 2685 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2686 |
|
(exit $ac_status); } && |
| 2687 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 2687 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2688 |
> |
|| test ! -s conftest.err' |
| 2689 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2690 |
|
(eval $ac_try) 2>&5 |
| 2691 |
|
ac_status=$? |
| 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 |
| 2870 |
|
cat conftest.err >&5 |
| 2871 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2872 |
|
(exit $ac_status); } && |
| 2873 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 2873 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2874 |
> |
|| test ! -s conftest.err' |
| 2875 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2876 |
|
(eval $ac_try) 2>&5 |
| 2877 |
|
ac_status=$? |
| 2929 |
|
cat conftest.err >&5 |
| 2930 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2931 |
|
(exit $ac_status); } && |
| 2932 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 2932 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2933 |
> |
|| test ! -s conftest.err' |
| 2934 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2935 |
|
(eval $ac_try) 2>&5 |
| 2936 |
|
ac_status=$? |
| 3001 |
|
cat conftest.err >&5 |
| 3002 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3003 |
|
(exit $ac_status); } && |
| 3004 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3004 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3005 |
> |
|| test ! -s conftest.err' |
| 3006 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3007 |
|
(eval $ac_try) 2>&5 |
| 3008 |
|
ac_status=$? |
| 3046 |
|
cat conftest.err >&5 |
| 3047 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3048 |
|
(exit $ac_status); } && |
| 3049 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3049 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3050 |
> |
|| test ! -s conftest.err' |
| 3051 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3052 |
|
(eval $ac_try) 2>&5 |
| 3053 |
|
ac_status=$? |
| 3072 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
| 3073 |
|
echo $ac_declaration >>confdefs.h |
| 3074 |
|
echo '#endif' >>confdefs.h |
| 3075 |
+ |
fi |
| 3076 |
+ |
|
| 3077 |
+ |
ac_ext=c |
| 3078 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 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 |
| 3508 |
|
cat conftest.err >&5 |
| 3509 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3510 |
|
(exit $ac_status); } && |
| 3511 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 3511 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3512 |
> |
|| test ! -s conftest.err' |
| 3513 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3514 |
|
(eval $ac_try) 2>&5 |
| 3515 |
|
ac_status=$? |
| 3609 |
|
cat conftest.err >&5 |
| 3610 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3611 |
|
(exit $ac_status); } && |
| 3612 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 3612 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3613 |
> |
|| test ! -s conftest.err' |
| 3614 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3615 |
|
(eval $ac_try) 2>&5 |
| 3616 |
|
ac_status=$? |
| 3724 |
|
cat conftest.err >&5 |
| 3725 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3726 |
|
(exit $ac_status); } && |
| 3727 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 3727 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3728 |
> |
|| test ! -s conftest.err' |
| 3729 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3730 |
|
(eval $ac_try) 2>&5 |
| 3731 |
|
ac_status=$? |
| 3803 |
|
cat conftest.err >&5 |
| 3804 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3805 |
|
(exit $ac_status); } && |
| 3806 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 3806 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 3807 |
> |
|| test ! -s conftest.err' |
| 3808 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3809 |
|
(eval $ac_try) 2>&5 |
| 3810 |
|
ac_status=$? |
| 3840 |
|
ac_save_F90FLAGS=$F90FLAGS |
| 3841 |
|
F90FLAGS="$F90FLAGS $ac_verb" |
| 3842 |
|
|
| 3843 |
< |
(eval echo $as_me:3544: \"$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:3621: \"$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 |
| 4106 |
|
cat conftest.err >&5 |
| 4107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4108 |
|
(exit $ac_status); } && |
| 4109 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 4109 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 4110 |
> |
|| test ! -s conftest.err' |
| 4111 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4112 |
|
(eval $ac_try) 2>&5 |
| 4113 |
|
ac_status=$? |
| 4165 |
|
cat conftest.err >&5 |
| 4166 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4167 |
|
(exit $ac_status); } && |
| 4168 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4168 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4169 |
> |
|| test ! -s conftest.err' |
| 4170 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4171 |
|
(eval $ac_try) 2>&5 |
| 4172 |
|
ac_status=$? |
| 4236 |
|
cat conftest.err >&5 |
| 4237 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4238 |
|
(exit $ac_status); } && |
| 4239 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 4239 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4240 |
> |
|| test ! -s conftest.err' |
| 4241 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4242 |
|
(eval $ac_try) 2>&5 |
| 4243 |
|
ac_status=$? |
| 4541 |
|
cat conftest.err >&5 |
| 4542 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4543 |
|
(exit $ac_status); } && |
| 4544 |
< |
{ ac_try='test -z "$ac_f90_werror_flag" || test ! -s conftest.err' |
| 4544 |
> |
{ ac_try='test -z "$ac_f90_werror_flag" |
| 4545 |
> |
|| test ! -s conftest.err' |
| 4546 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4547 |
|
(eval $ac_try) 2>&5 |
| 4548 |
|
ac_status=$? |
| 4756 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 4757 |
|
|
| 4758 |
|
|
| 4759 |
< |
|
| 4760 |
< |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 4761 |
< |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
| 4762 |
< |
if test "${ac_cv_lib_m_asin+set}" = set; then |
| 4763 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4764 |
< |
else |
| 4765 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 4766 |
< |
LIBS="-lm $LIBS" |
| 4767 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4465 |
< |
/* confdefs.h. */ |
| 4466 |
< |
_ACEOF |
| 4467 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 4468 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 4469 |
< |
/* end confdefs.h. */ |
| 4470 |
< |
|
| 4471 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4472 |
< |
#ifdef __cplusplus |
| 4473 |
< |
extern "C" |
| 4474 |
< |
#endif |
| 4475 |
< |
/* We use char because int might match the return type of a gcc2 |
| 4476 |
< |
builtin and then its argument prototype would still apply. */ |
| 4477 |
< |
char asin (); |
| 4478 |
< |
int |
| 4479 |
< |
main () |
| 4480 |
< |
{ |
| 4481 |
< |
asin (); |
| 4482 |
< |
; |
| 4483 |
< |
return 0; |
| 4484 |
< |
} |
| 4485 |
< |
_ACEOF |
| 4486 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4487 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4488 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4489 |
< |
ac_status=$? |
| 4490 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4491 |
< |
rm -f conftest.er1 |
| 4492 |
< |
cat conftest.err >&5 |
| 4493 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4494 |
< |
(exit $ac_status); } && |
| 4495 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 4496 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4497 |
< |
(eval $ac_try) 2>&5 |
| 4498 |
< |
ac_status=$? |
| 4499 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4500 |
< |
(exit $ac_status); }; } && |
| 4501 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4502 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4503 |
< |
(eval $ac_try) 2>&5 |
| 4504 |
< |
ac_status=$? |
| 4505 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4506 |
< |
(exit $ac_status); }; }; then |
| 4507 |
< |
ac_cv_lib_m_asin=yes |
| 4508 |
< |
else |
| 4509 |
< |
echo "$as_me: failed program was:" >&5 |
| 4510 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4511 |
< |
|
| 4512 |
< |
ac_cv_lib_m_asin=no |
| 4513 |
< |
fi |
| 4514 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 4515 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4516 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 4517 |
< |
fi |
| 4518 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 4519 |
< |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
| 4520 |
< |
if test $ac_cv_lib_m_asin = yes; then |
| 4521 |
< |
cat >>confdefs.h <<_ACEOF |
| 4522 |
< |
#define HAVE_LIBM 1 |
| 4523 |
< |
_ACEOF |
| 4524 |
< |
|
| 4525 |
< |
LIBS="-lm $LIBS" |
| 4526 |
< |
|
| 4527 |
< |
else |
| 4528 |
< |
exit |
| 4529 |
< |
fi |
| 4530 |
< |
|
| 4531 |
< |
|
| 4532 |
< |
ac_ext=c |
| 4533 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4534 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4535 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4536 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4537 |
< |
|
| 4538 |
< |
ac_ext=c |
| 4539 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 4540 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4541 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4542 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4543 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4544 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 4545 |
< |
# On Suns, sometimes $CPP names a directory. |
| 4546 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 4547 |
< |
CPP= |
| 4548 |
< |
fi |
| 4549 |
< |
if test -z "$CPP"; then |
| 4550 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 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 |
| 4771 |
< |
|
| 4772 |
< |
|
| 4773 |
< |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4774 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 4775 |
< |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 4776 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4777 |
< |
else |
| 4778 |
< |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 4779 |
< |
then ac_cv_prog_egrep='grep -E' |
| 4780 |
< |
else ac_cv_prog_egrep='egrep' |
| 4781 |
< |
fi |
| 4782 |
< |
fi |
| 4783 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 4784 |
< |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 4785 |
< |
EGREP=$ac_cv_prog_egrep |
| 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 ANSI C header files" >&5 |
| 5020 |
|
cat conftest.err >&5 |
| 5021 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5022 |
|
(exit $ac_status); } && |
| 5023 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 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=$? |
| 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 |
|
|
| 5267 |
|
cat conftest.err >&5 |
| 5268 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5269 |
|
(exit $ac_status); } && |
| 5270 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 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=$? |
| 5301 |
|
done |
| 5302 |
|
|
| 5303 |
|
|
| 5304 |
< |
# |
| 5305 |
< |
# Handle user hints |
| 5306 |
< |
# |
| 5307 |
< |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 5308 |
< |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 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 |
< |
# Check whether --with-zlib or --without-zlib was given. |
| 5031 |
< |
if test "${with_zlib+set}" = set; then |
| 5032 |
< |
withval="$with_zlib" |
| 5033 |
< |
if test "$withval" != no ; then |
| 5034 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5035 |
< |
echo "${ECHO_T}yes" >&6 |
| 5036 |
< |
if test -d "$withval" |
| 5037 |
< |
then |
| 5038 |
< |
ZLIB_HOME="$withval" |
| 5039 |
< |
else |
| 5040 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 5041 |
< |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 5042 |
< |
fi |
| 5043 |
< |
else |
| 5044 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5045 |
< |
echo "${ECHO_T}no" >&6 |
| 5046 |
< |
fi |
| 5047 |
< |
fi; |
| 5310 |
> |
|
| 5311 |
|
|
| 5312 |
< |
ZLIB_HOME=/usr/local |
| 5313 |
< |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 5314 |
< |
then |
| 5315 |
< |
ZLIB_HOME=/usr |
| 5316 |
< |
fi |
| 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 |
< |
# |
| 5056 |
< |
# Locate zlib, if wanted |
| 5057 |
< |
# |
| 5058 |
< |
if test -n "${ZLIB_HOME}" |
| 5059 |
< |
then |
| 5060 |
< |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 5061 |
< |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 5062 |
< |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5063 |
< |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5064 |
< |
|
| 5065 |
< |
|
| 5066 |
< |
ac_ext=c |
| 5067 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 5068 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5069 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5070 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5071 |
< |
|
| 5072 |
< |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5073 |
< |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5074 |
< |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5075 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5076 |
< |
else |
| 5077 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 5078 |
< |
LIBS="-lz $LIBS" |
| 5079 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 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 |
< |
|
| 5325 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5326 |
< |
#ifdef __cplusplus |
| 5327 |
< |
extern "C" |
| 5324 |
> |
#include <list> |
| 5325 |
> |
#include <deque> |
| 5326 |
> |
#ifdef HAVE_NAMESPACES |
| 5327 |
> |
using namespace std; |
| 5328 |
|
#endif |
| 5090 |
– |
/* We use char because int might match the return type of a gcc2 |
| 5091 |
– |
builtin and then its argument prototype would still apply. */ |
| 5092 |
– |
char inflateEnd (); |
| 5329 |
|
int |
| 5330 |
|
main () |
| 5331 |
|
{ |
| 5332 |
< |
inflateEnd (); |
| 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 conftest$ac_exeext |
| 5339 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5340 |
< |
(eval $ac_link) 2>conftest.er1 |
| 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_c_werror_flag" || test ! -s conftest.err' |
| 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_exeext' |
| 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_lib_z_inflateEnd=yes |
| 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_lib_z_inflateEnd=no |
| 5365 |
> |
ac_cv_cxx_have_stl=no |
| 5366 |
|
fi |
| 5367 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5368 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 5369 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 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_lib_z_inflateEnd" >&5 |
| 5377 |
< |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5378 |
< |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 5379 |
< |
zlib_cv_libz=yes |
| 5380 |
< |
else |
| 5381 |
< |
zlib_cv_libz=no |
| 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 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 5387 |
< |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5388 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5389 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 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_zlib_h" >&5 |
| 5395 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 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 zlib.h usability" >&5 |
| 5399 |
< |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 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 |
| 5404 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5405 |
|
/* end confdefs.h. */ |
| 5406 |
|
$ac_includes_default |
| 5407 |
< |
#include <zlib.h> |
| 5407 |
> |
#include <iostream> |
| 5408 |
|
_ACEOF |
| 5409 |
|
rm -f conftest.$ac_objext |
| 5410 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5415 |
|
cat conftest.err >&5 |
| 5416 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5417 |
|
(exit $ac_status); } && |
| 5418 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 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=$? |
| 5440 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5441 |
|
|
| 5442 |
|
# Is the header present? |
| 5443 |
< |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 5444 |
< |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 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 <zlib.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 |
| 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_c_preproc_warn_flag |
| 5463 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 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 |
| 5480 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5481 |
|
|
| 5482 |
|
# So? What about this header? |
| 5483 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5483 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 5484 |
|
yes:no: ) |
| 5485 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 5486 |
< |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 5487 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 5488 |
< |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 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: zlib.h: present but cannot be compiled" >&5 |
| 5493 |
< |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 5494 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 5495 |
< |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 5496 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 5497 |
< |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 5498 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 5499 |
< |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 5500 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 5501 |
< |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 5502 |
< |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 5503 |
< |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 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 |
|
## ------------------------------ ## |
| 5511 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 5512 |
|
;; |
| 5513 |
|
esac |
| 5514 |
< |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 5515 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 5516 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 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_zlib_h=$ac_header_preproc |
| 5519 |
> |
ac_cv_header_iostream=$ac_header_preproc |
| 5520 |
|
fi |
| 5521 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 5522 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 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_zlib_h = yes; then |
| 5278 |
< |
zlib_cv_zlib_h=yes |
| 5279 |
< |
else |
| 5280 |
< |
zlib_cv_zlib_h=no |
| 5281 |
< |
fi |
| 5525 |
> |
if test $ac_cv_header_iostream = yes; then |
| 5526 |
|
|
| 5527 |
|
|
| 5528 |
< |
ac_ext=c |
| 5529 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 5530 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5287 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5288 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5528 |
> |
cat >>confdefs.h <<\_ACEOF |
| 5529 |
> |
#define HAVE_IOSTREAM 1 |
| 5530 |
> |
_ACEOF |
| 5531 |
|
|
| 5290 |
– |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 5291 |
– |
then |
| 5292 |
– |
# |
| 5293 |
– |
# If both library and header were found, use them |
| 5294 |
– |
# |
| 5532 |
|
|
| 5533 |
< |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5534 |
< |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5535 |
< |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 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 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 5549 |
< |
LIBS="-lz $LIBS" |
| 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 |
< |
|
| 5558 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5311 |
< |
#ifdef __cplusplus |
| 5312 |
< |
extern "C" |
| 5313 |
< |
#endif |
| 5314 |
< |
/* We use char because int might match the return type of a gcc2 |
| 5315 |
< |
builtin and then its argument prototype would still apply. */ |
| 5316 |
< |
char inflateEnd (); |
| 5317 |
< |
int |
| 5318 |
< |
main () |
| 5319 |
< |
{ |
| 5320 |
< |
inflateEnd (); |
| 5321 |
< |
; |
| 5322 |
< |
return 0; |
| 5323 |
< |
} |
| 5557 |
> |
$ac_includes_default |
| 5558 |
> |
#include <$ac_header> |
| 5559 |
|
_ACEOF |
| 5560 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5561 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5562 |
< |
(eval $ac_link) 2>conftest.er1 |
| 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_c_werror_flag" || test ! -s conftest.err' |
| 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_exeext' |
| 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_cv_lib_z_inflateEnd=yes |
| 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_cv_lib_z_inflateEnd=no |
| 5587 |
> |
ac_header_compiler=no |
| 5588 |
|
fi |
| 5589 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5590 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 5591 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 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 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 5622 |
< |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 5623 |
< |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 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 HAVE_LIBZ 1 |
| 5678 |
> |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5679 |
|
_ACEOF |
| 5680 |
|
|
| 5681 |
< |
LIBS="-lz $LIBS" |
| 5681 |
> |
fi |
| 5682 |
|
|
| 5683 |
+ |
done |
| 5684 |
+ |
|
| 5685 |
+ |
|
| 5686 |
|
fi |
| 5687 |
|
|
| 5688 |
< |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5689 |
< |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5690 |
< |
echo "$as_me:$LINENO: result: ok" >&5 |
| 5691 |
< |
echo "${ECHO_T}ok" >&6 |
| 5692 |
< |
else |
| 5693 |
< |
# |
| 5694 |
< |
# If either header or library was not found, revert and bomb |
| 5695 |
< |
# |
| 5696 |
< |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 5697 |
< |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 5698 |
< |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 5699 |
< |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 5700 |
< |
echo "$as_me:$LINENO: result: failed" >&5 |
| 5701 |
< |
echo "${ECHO_T}failed" >&6 |
| 5702 |
< |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 5703 |
< |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 5704 |
< |
{ (exit 1); exit 1; }; } |
| 5705 |
< |
fi |
| 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 |
< |
for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h |
| 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 |
| 5869 |
|
cat conftest.err >&5 |
| 5870 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5871 |
|
(exit $ac_status); } && |
| 5872 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 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=$? |
| 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_c_preproc_warn_flag |
| 5917 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 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 |
| 5934 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5935 |
|
|
| 5936 |
|
# So? What about this header? |
| 5937 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 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;} |
| 5986 |
|
done |
| 5987 |
|
|
| 5988 |
|
|
| 5989 |
+ |
fi |
| 5990 |
|
|
| 5991 |
|
|
| 5992 |
|
|
| 5993 |
|
|
| 5994 |
< |
for ac_header in strstream.h iostream.h fstream.h math.h time.h |
| 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 |
| 6024 |
|
cat conftest.err >&5 |
| 6025 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6026 |
|
(exit $ac_status); } && |
| 6027 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 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=$? |
| 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_c_preproc_warn_flag |
| 6072 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 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 |
| 6089 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6090 |
|
|
| 6091 |
|
# So? What about this header? |
| 6092 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 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;} |
| 6140 |
|
|
| 6141 |
|
done |
| 6142 |
|
|
| 6143 |
< |
ac_ext=cc |
| 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 |
< |
ac_ext=cc |
| 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 |
< |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 6270 |
< |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 6271 |
< |
if test -z "$CXXCPP"; then |
| 6272 |
< |
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 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 |
< |
# Double quotes because CXXCPP needs to be expanded |
| 6299 |
< |
for CXXCPP in "$CXX -E" "/lib/cpp" |
| 6300 |
< |
do |
| 6301 |
< |
ac_preproc_ok=false |
| 6302 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
| 6303 |
< |
do |
| 6304 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 6305 |
< |
# with a fresh cross-compiler works. |
| 6306 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6307 |
< |
# <limits.h> exists even on freestanding compilers. |
| 6308 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 6309 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5725 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 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 |
< |
#ifdef __STDC__ |
| 6316 |
< |
# include <limits.h> |
| 6317 |
< |
#else |
| 6318 |
< |
# include <assert.h> |
| 6319 |
< |
#endif |
| 6320 |
< |
Syntax error |
| 6315 |
> |
#include <list> |
| 6316 |
> |
|
| 6317 |
> |
int |
| 6318 |
> |
main () |
| 6319 |
> |
{ |
| 6320 |
> |
std::list<int> foo;return 0; |
| 6321 |
> |
; |
| 6322 |
> |
return 0; |
| 6323 |
> |
} |
| 6324 |
|
_ACEOF |
| 6325 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6326 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 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); } >/dev/null; then |
| 6334 |
< |
if test -s conftest.err; then |
| 6335 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6336 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6337 |
< |
else |
| 6338 |
< |
ac_cpp_err= |
| 6339 |
< |
fi |
| 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 |
| 5753 |
– |
ac_cpp_err=yes |
| 5754 |
– |
fi |
| 5755 |
– |
if test -z "$ac_cpp_err"; then |
| 5756 |
– |
: |
| 5757 |
– |
else |
| 6349 |
|
echo "$as_me: failed program was:" >&5 |
| 6350 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6351 |
|
|
| 5761 |
– |
# Broken: fails on valid input. |
| 5762 |
– |
continue |
| 6352 |
|
fi |
| 6353 |
< |
rm -f conftest.err conftest.$ac_ext |
| 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 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 6361 |
< |
# can be detected and how. |
| 6362 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 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 |
< |
#include <ac_nonexistent.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 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6415 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 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); } >/dev/null; then |
| 6423 |
< |
if test -s conftest.err; then |
| 6424 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6425 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6426 |
< |
else |
| 6427 |
< |
ac_cpp_err= |
| 6428 |
< |
fi |
| 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 |
| 5791 |
– |
ac_cpp_err=yes |
| 5792 |
– |
fi |
| 5793 |
– |
if test -z "$ac_cpp_err"; then |
| 5794 |
– |
# Broken: success on invalid input. |
| 5795 |
– |
continue |
| 5796 |
– |
else |
| 6438 |
|
echo "$as_me: failed program was:" >&5 |
| 6439 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6440 |
|
|
| 5800 |
– |
# Passes both tests. |
| 5801 |
– |
ac_preproc_ok=: |
| 5802 |
– |
break |
| 6441 |
|
fi |
| 6442 |
< |
rm -f conftest.err conftest.$ac_ext |
| 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 |
< |
done |
| 5807 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5808 |
< |
rm -f conftest.err conftest.$ac_ext |
| 5809 |
< |
if $ac_preproc_ok; then |
| 5810 |
< |
break |
| 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 |
< |
done |
| 6456 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
| 6455 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6456 |
> |
#define HAVE_FSTREAM_ATTACH 1 |
| 6457 |
> |
_ACEOF |
| 6458 |
|
|
| 6459 |
< |
fi |
| 6460 |
< |
CXXCPP=$ac_cv_prog_CXXCPP |
| 6459 |
> |
fi |
| 6460 |
> |
|
| 6461 |
> |
|
| 6462 |
> |
|
| 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 |
< |
ac_cv_prog_CXXCPP=$CXXCPP |
| 6469 |
< |
fi |
| 6470 |
< |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 6471 |
< |
echo "${ECHO_T}$CXXCPP" >&6 |
| 6472 |
< |
ac_preproc_ok=false |
| 6473 |
< |
for ac_cxx_preproc_warn_flag in '' yes |
| 6474 |
< |
do |
| 6475 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 6476 |
< |
# with a fresh cross-compiler works. |
| 6477 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6478 |
< |
# <limits.h> exists even on freestanding compilers. |
| 6479 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 6480 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 5832 |
< |
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. */ |
| 6486 |
< |
#ifdef __STDC__ |
| 6487 |
< |
# include <limits.h> |
| 6486 |
> |
|
| 6487 |
> |
#ifdef HAVE_IOSTREAM |
| 6488 |
> |
#include <fstream> |
| 6489 |
|
#else |
| 6490 |
< |
# include <assert.h> |
| 6490 |
> |
#include <fstream.h> |
| 6491 |
|
#endif |
| 6492 |
< |
Syntax error |
| 6492 |
> |
#ifdef HAVE_STD_IOSTREAM |
| 6493 |
> |
using namespace std; |
| 6494 |
> |
#endif |
| 6495 |
> |
|
| 6496 |
> |
int |
| 6497 |
> |
main () |
| 6498 |
> |
{ |
| 6499 |
> |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc); |
| 6500 |
> |
; |
| 6501 |
> |
return 0; |
| 6502 |
> |
} |
| 6503 |
|
_ACEOF |
| 6504 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6505 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6504 |
> |
rm -f conftest.$ac_objext |
| 6505 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6506 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6507 |
|
ac_status=$? |
| 6508 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6509 |
|
rm -f conftest.er1 |
| 6510 |
|
cat conftest.err >&5 |
| 6511 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6512 |
< |
(exit $ac_status); } >/dev/null; then |
| 6513 |
< |
if test -s conftest.err; then |
| 6514 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6515 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6516 |
< |
else |
| 6517 |
< |
ac_cpp_err= |
| 6518 |
< |
fi |
| 6512 |
> |
(exit $ac_status); } && |
| 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 |
| 6517 |
> |
ac_status=$? |
| 6518 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6519 |
> |
(exit $ac_status); }; } && |
| 6520 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6521 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6522 |
> |
(eval $ac_try) 2>&5 |
| 6523 |
> |
ac_status=$? |
| 6524 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6525 |
> |
(exit $ac_status); }; }; then |
| 6526 |
> |
ac_cv_cxx_have_fstream_open=yes |
| 6527 |
|
else |
| 5860 |
– |
ac_cpp_err=yes |
| 5861 |
– |
fi |
| 5862 |
– |
if test -z "$ac_cpp_err"; then |
| 5863 |
– |
: |
| 5864 |
– |
else |
| 6528 |
|
echo "$as_me: failed program was:" >&5 |
| 6529 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6530 |
|
|
| 5868 |
– |
# Broken: fails on valid input. |
| 5869 |
– |
continue |
| 6531 |
|
fi |
| 6532 |
< |
rm -f conftest.err conftest.$ac_ext |
| 6533 |
< |
|
| 6534 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 5874 |
< |
# can be detected and how. |
| 5875 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6532 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 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. */ |
| 6540 |
< |
#include <ac_nonexistent.h> |
| 6540 |
> |
|
| 6541 |
> |
#ifdef HAVE_IOSTREAM |
| 6542 |
> |
#include <fstream> |
| 6543 |
> |
#else |
| 6544 |
> |
#include <fstream.h> |
| 6545 |
> |
#endif |
| 6546 |
> |
#ifdef HAVE_STD_IOSTREAM |
| 6547 |
> |
using namespace std; |
| 6548 |
> |
#endif |
| 6549 |
> |
|
| 6550 |
> |
int |
| 6551 |
> |
main () |
| 6552 |
> |
{ |
| 6553 |
> |
ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); |
| 6554 |
> |
; |
| 6555 |
> |
return 0; |
| 6556 |
> |
} |
| 6557 |
|
_ACEOF |
| 6558 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6559 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 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); } >/dev/null; then |
| 6567 |
< |
if test -s conftest.err; then |
| 6568 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6569 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6570 |
< |
else |
| 6571 |
< |
ac_cpp_err= |
| 6572 |
< |
fi |
| 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); }; } && |
| 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 |
| 5898 |
– |
ac_cpp_err=yes |
| 5899 |
– |
fi |
| 5900 |
– |
if test -z "$ac_cpp_err"; then |
| 5901 |
– |
# Broken: success on invalid input. |
| 5902 |
– |
continue |
| 5903 |
– |
else |
| 6582 |
|
echo "$as_me: failed program was:" >&5 |
| 6583 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6584 |
|
|
| 5907 |
– |
# Passes both tests. |
| 5908 |
– |
ac_preproc_ok=: |
| 5909 |
– |
break |
| 6585 |
|
fi |
| 6586 |
< |
rm -f conftest.err conftest.$ac_ext |
| 6587 |
< |
|
| 5913 |
< |
done |
| 5914 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5915 |
< |
rm -f conftest.err conftest.$ac_ext |
| 5916 |
< |
if $ac_preproc_ok; then |
| 5917 |
< |
: |
| 5918 |
< |
else |
| 5919 |
< |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5920 |
< |
See \`config.log' for more details." >&5 |
| 5921 |
< |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
| 5922 |
< |
See \`config.log' for more details." >&2;} |
| 5923 |
< |
{ (exit 1); exit 1; }; } |
| 5924 |
< |
fi |
| 5925 |
< |
|
| 5926 |
< |
ac_ext=cc |
| 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 |
+ |
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 HAVE_FSTREAM_OPEN 1 |
| 6601 |
+ |
_ACEOF |
| 6602 |
|
|
| 6603 |
+ |
fi |
| 6604 |
+ |
if test "$ac_cv_cxx_fstream_open_prot" = yes; then |
| 6605 |
|
|
| 6606 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 6607 |
+ |
#define FSTREAM_OPEN_PROT 1 |
| 6608 |
+ |
_ACEOF |
| 6609 |
|
|
| 6610 |
+ |
fi |
| 6611 |
|
|
| 6612 |
< |
for ac_header in ctype.h iostream fstream sstream strstream |
| 6613 |
< |
do |
| 6614 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6615 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6616 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6617 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5944 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6612 |
> |
|
| 6613 |
> |
|
| 6614 |
> |
|
| 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 |
| 5946 |
– |
fi |
| 5947 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5948 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6619 |
|
else |
| 6620 |
< |
# Is the header compilable? |
| 6621 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5952 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 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. */ |
| 6628 |
< |
$ac_includes_default |
| 6629 |
< |
#include <$ac_header> |
| 6628 |
> |
|
| 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_cxx_werror_flag" || test ! -s conftest.err' |
| 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 |
< |
ac_header_compiler=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 |
< |
ac_header_compiler=no |
| 6671 |
> |
ac_cv_lib_m_asin=no |
| 6672 |
|
fi |
| 6673 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6674 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6675 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 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: $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 HAVE_LIBM 1 |
| 6682 |
> |
_ACEOF |
| 6683 |
|
|
| 6684 |
< |
# Is the header present? |
| 6685 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6686 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6684 |
> |
LIBS="-lm $LIBS" |
| 6685 |
> |
|
| 6686 |
> |
else |
| 6687 |
> |
exit |
| 6688 |
> |
fi |
| 6689 |
> |
|
| 6690 |
> |
|
| 6691 |
> |
|
| 6692 |
> |
# |
| 6693 |
> |
# Handle user hints |
| 6694 |
> |
# |
| 6695 |
> |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 6696 |
> |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 6697 |
> |
|
| 6698 |
> |
# Check whether --with-zlib or --without-zlib was given. |
| 6699 |
> |
if test "${with_zlib+set}" = set; then |
| 6700 |
> |
withval="$with_zlib" |
| 6701 |
> |
if test "$withval" != no ; then |
| 6702 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 6703 |
> |
echo "${ECHO_T}yes" >&6 |
| 6704 |
> |
if test -d "$withval" |
| 6705 |
> |
then |
| 6706 |
> |
ZLIB_HOME="$withval" |
| 6707 |
> |
else |
| 6708 |
> |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 6709 |
> |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 6710 |
> |
fi |
| 6711 |
> |
else |
| 6712 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 6713 |
> |
echo "${ECHO_T}no" >&6 |
| 6714 |
> |
fi |
| 6715 |
> |
fi; |
| 6716 |
> |
|
| 6717 |
> |
ZLIB_HOME=/usr/local |
| 6718 |
> |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 6719 |
> |
then |
| 6720 |
> |
ZLIB_HOME=/usr |
| 6721 |
> |
fi |
| 6722 |
> |
|
| 6723 |
> |
# |
| 6724 |
> |
# Locate zlib, if wanted |
| 6725 |
> |
# |
| 6726 |
> |
if test -n "${ZLIB_HOME}" |
| 6727 |
> |
then |
| 6728 |
> |
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 6729 |
> |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 6730 |
> |
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 6731 |
> |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 6732 |
> |
|
| 6733 |
> |
|
| 6734 |
> |
ac_ext=c |
| 6735 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6736 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6737 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6738 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6739 |
> |
|
| 6740 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 6741 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 6742 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 6743 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6744 |
> |
else |
| 6745 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6746 |
> |
LIBS="-lz $LIBS" |
| 6747 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6748 |
|
/* confdefs.h. */ |
| 6749 |
|
_ACEOF |
| 6750 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6751 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6752 |
|
/* end confdefs.h. */ |
| 6753 |
< |
#include <$ac_header> |
| 6753 |
> |
|
| 6754 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6755 |
> |
#ifdef __cplusplus |
| 6756 |
> |
extern "C" |
| 6757 |
> |
#endif |
| 6758 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6759 |
> |
builtin and then its argument prototype would still apply. */ |
| 6760 |
> |
char inflateEnd (); |
| 6761 |
> |
int |
| 6762 |
> |
main () |
| 6763 |
> |
{ |
| 6764 |
> |
inflateEnd (); |
| 6765 |
> |
; |
| 6766 |
> |
return 0; |
| 6767 |
> |
} |
| 6768 |
|
_ACEOF |
| 6769 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6770 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6769 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6770 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6771 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6772 |
|
ac_status=$? |
| 6773 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6774 |
|
rm -f conftest.er1 |
| 6775 |
|
cat conftest.err >&5 |
| 6776 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6777 |
< |
(exit $ac_status); } >/dev/null; then |
| 6778 |
< |
if test -s conftest.err; then |
| 6779 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 6780 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 6781 |
< |
else |
| 6782 |
< |
ac_cpp_err= |
| 6783 |
< |
fi |
| 6784 |
< |
else |
| 6785 |
< |
ac_cpp_err=yes |
| 6786 |
< |
fi |
| 6787 |
< |
if test -z "$ac_cpp_err"; then |
| 6788 |
< |
ac_header_preproc=yes |
| 6777 |
> |
(exit $ac_status); } && |
| 6778 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6779 |
> |
|| test ! -s conftest.err' |
| 6780 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6781 |
> |
(eval $ac_try) 2>&5 |
| 6782 |
> |
ac_status=$? |
| 6783 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6784 |
> |
(exit $ac_status); }; } && |
| 6785 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6786 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6787 |
> |
(eval $ac_try) 2>&5 |
| 6788 |
> |
ac_status=$? |
| 6789 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6790 |
> |
(exit $ac_status); }; }; then |
| 6791 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 6792 |
|
else |
| 6793 |
|
echo "$as_me: failed program was:" >&5 |
| 6794 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6795 |
|
|
| 6796 |
< |
ac_header_preproc=no |
| 6796 |
> |
ac_cv_lib_z_inflateEnd=no |
| 6797 |
|
fi |
| 6798 |
< |
rm -f conftest.err conftest.$ac_ext |
| 6799 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6800 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6801 |
< |
|
| 6802 |
< |
# So? What about this header? |
| 6803 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 6804 |
< |
yes:no: ) |
| 6805 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6038 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6039 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6040 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6041 |
< |
ac_header_preproc=yes |
| 6042 |
< |
;; |
| 6043 |
< |
no:yes:* ) |
| 6044 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6045 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6046 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6047 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6048 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6049 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6050 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6051 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6052 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6053 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6054 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6055 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6056 |
< |
( |
| 6057 |
< |
cat <<\_ASBOX |
| 6058 |
< |
## ------------------------------ ## |
| 6059 |
< |
## Report this to gezelter@nd.edu ## |
| 6060 |
< |
## ------------------------------ ## |
| 6061 |
< |
_ASBOX |
| 6062 |
< |
) | |
| 6063 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6064 |
< |
;; |
| 6065 |
< |
esac |
| 6066 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6067 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6068 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6069 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6798 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6799 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6800 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 6801 |
> |
fi |
| 6802 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 6803 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 6804 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 6805 |
> |
zlib_cv_libz=yes |
| 6806 |
|
else |
| 6807 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6807 |
> |
zlib_cv_libz=no |
| 6808 |
|
fi |
| 6073 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6074 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6809 |
|
|
| 6810 |
< |
fi |
| 6811 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6812 |
< |
cat >>confdefs.h <<_ACEOF |
| 6813 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6080 |
< |
_ACEOF |
| 6081 |
< |
|
| 6082 |
< |
fi |
| 6083 |
< |
|
| 6084 |
< |
done |
| 6085 |
< |
|
| 6086 |
< |
ac_ext=c |
| 6087 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 6088 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6089 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6090 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6091 |
< |
|
| 6092 |
< |
|
| 6093 |
< |
|
| 6094 |
< |
|
| 6095 |
< |
for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h |
| 6096 |
< |
do |
| 6097 |
< |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6098 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6099 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6100 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6101 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6810 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6811 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6812 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 6813 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6814 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6815 |
|
fi |
| 6816 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6817 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6816 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6817 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 6818 |
|
else |
| 6819 |
|
# Is the header compilable? |
| 6820 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6821 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 6820 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 6821 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 6822 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6823 |
|
/* confdefs.h. */ |
| 6824 |
|
_ACEOF |
| 6826 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6827 |
|
/* end confdefs.h. */ |
| 6828 |
|
$ac_includes_default |
| 6829 |
< |
#include <$ac_header> |
| 6829 |
> |
#include <zlib.h> |
| 6830 |
|
_ACEOF |
| 6831 |
|
rm -f conftest.$ac_objext |
| 6832 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6837 |
|
cat conftest.err >&5 |
| 6838 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6839 |
|
(exit $ac_status); } && |
| 6840 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6840 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6841 |
> |
|| test ! -s conftest.err' |
| 6842 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6843 |
|
(eval $ac_try) 2>&5 |
| 6844 |
|
ac_status=$? |
| 6862 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6863 |
|
|
| 6864 |
|
# Is the header present? |
| 6865 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6866 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 6865 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 6866 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 6867 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6868 |
|
/* confdefs.h. */ |
| 6869 |
|
_ACEOF |
| 6870 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6871 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6872 |
|
/* end confdefs.h. */ |
| 6873 |
< |
#include <$ac_header> |
| 6873 |
> |
#include <zlib.h> |
| 6874 |
|
_ACEOF |
| 6875 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6876 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6904 |
|
# So? What about this header? |
| 6905 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6906 |
|
yes:no: ) |
| 6907 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6908 |
< |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6909 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 6910 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 6907 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6908 |
> |
echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6909 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 6910 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 6911 |
|
ac_header_preproc=yes |
| 6912 |
|
;; |
| 6913 |
|
no:yes:* ) |
| 6914 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 6915 |
< |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 6916 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 6917 |
< |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 6918 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 6919 |
< |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 6920 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 6921 |
< |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6922 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 6923 |
< |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6924 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6925 |
< |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6914 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
| 6915 |
> |
echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 6916 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 6917 |
> |
echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 6918 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 6919 |
> |
echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 6920 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 6921 |
> |
echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6922 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 6923 |
> |
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 6924 |
> |
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 6925 |
> |
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 6926 |
|
( |
| 6927 |
|
cat <<\_ASBOX |
| 6928 |
|
## ------------------------------ ## |
| 6933 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 6934 |
|
;; |
| 6935 |
|
esac |
| 6936 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6937 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 6938 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 6936 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6937 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 6938 |
> |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6939 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6940 |
|
else |
| 6941 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
| 6941 |
> |
ac_cv_header_zlib_h=$ac_header_preproc |
| 6942 |
|
fi |
| 6943 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 6944 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 6943 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6944 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 6945 |
|
|
| 6946 |
|
fi |
| 6947 |
< |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6947 |
> |
if test $ac_cv_header_zlib_h = yes; then |
| 6948 |
> |
zlib_cv_zlib_h=yes |
| 6949 |
> |
else |
| 6950 |
> |
zlib_cv_zlib_h=no |
| 6951 |
> |
fi |
| 6952 |
> |
|
| 6953 |
> |
|
| 6954 |
> |
ac_ext=cc |
| 6955 |
> |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 6956 |
> |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6957 |
> |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6958 |
> |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 6959 |
> |
|
| 6960 |
> |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 6961 |
> |
then |
| 6962 |
> |
# |
| 6963 |
> |
# If both library and header were found, use them |
| 6964 |
> |
# |
| 6965 |
> |
|
| 6966 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 6967 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 6968 |
> |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 6969 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6970 |
> |
else |
| 6971 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6972 |
> |
LIBS="-lz $LIBS" |
| 6973 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6974 |
> |
/* confdefs.h. */ |
| 6975 |
> |
_ACEOF |
| 6976 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6977 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6978 |
> |
/* end confdefs.h. */ |
| 6979 |
> |
|
| 6980 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6981 |
> |
#ifdef __cplusplus |
| 6982 |
> |
extern "C" |
| 6983 |
> |
#endif |
| 6984 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6985 |
> |
builtin and then its argument prototype would still apply. */ |
| 6986 |
> |
char inflateEnd (); |
| 6987 |
> |
int |
| 6988 |
> |
main () |
| 6989 |
> |
{ |
| 6990 |
> |
inflateEnd (); |
| 6991 |
> |
; |
| 6992 |
> |
return 0; |
| 6993 |
> |
} |
| 6994 |
> |
_ACEOF |
| 6995 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6996 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6997 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6998 |
> |
ac_status=$? |
| 6999 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7000 |
> |
rm -f conftest.er1 |
| 7001 |
> |
cat conftest.err >&5 |
| 7002 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7003 |
> |
(exit $ac_status); } && |
| 7004 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 7005 |
> |
|| test ! -s conftest.err' |
| 7006 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7007 |
> |
(eval $ac_try) 2>&5 |
| 7008 |
> |
ac_status=$? |
| 7009 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7010 |
> |
(exit $ac_status); }; } && |
| 7011 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 7012 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7013 |
> |
(eval $ac_try) 2>&5 |
| 7014 |
> |
ac_status=$? |
| 7015 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7016 |
> |
(exit $ac_status); }; }; then |
| 7017 |
> |
ac_cv_lib_z_inflateEnd=yes |
| 7018 |
> |
else |
| 7019 |
> |
echo "$as_me: failed program was:" >&5 |
| 7020 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7021 |
> |
|
| 7022 |
> |
ac_cv_lib_z_inflateEnd=no |
| 7023 |
> |
fi |
| 7024 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7025 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7026 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 7027 |
> |
fi |
| 7028 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 7029 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 7030 |
> |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 7031 |
|
cat >>confdefs.h <<_ACEOF |
| 7032 |
< |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7032 |
> |
#define HAVE_LIBZ 1 |
| 7033 |
|
_ACEOF |
| 7034 |
|
|
| 7035 |
+ |
LIBS="-lz $LIBS" |
| 7036 |
+ |
|
| 7037 |
|
fi |
| 7038 |
|
|
| 7039 |
< |
done |
| 7039 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 7040 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 7041 |
> |
echo "$as_me:$LINENO: result: ok" >&5 |
| 7042 |
> |
echo "${ECHO_T}ok" >&6 |
| 7043 |
> |
else |
| 7044 |
> |
# |
| 7045 |
> |
# If either header or library was not found, revert and bomb |
| 7046 |
> |
# |
| 7047 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 7048 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 7049 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 7050 |
> |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 7051 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 7052 |
> |
echo "${ECHO_T}failed" >&6 |
| 7053 |
> |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 7054 |
> |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 7055 |
> |
{ (exit 1); exit 1; }; } |
| 7056 |
> |
fi |
| 7057 |
> |
fi |
| 7058 |
|
|
| 7059 |
|
|
| 7060 |
|
|
| 7061 |
|
|
| 7062 |
|
|
| 7063 |
< |
for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h |
| 7063 |
> |
|
| 7064 |
> |
|
| 7065 |
> |
|
| 7066 |
> |
|
| 7067 |
> |
|
| 7068 |
> |
|
| 7069 |
> |
|
| 7070 |
> |
|
| 7071 |
> |
|
| 7072 |
> |
|
| 7073 |
> |
|
| 7074 |
> |
|
| 7075 |
> |
|
| 7076 |
> |
|
| 7077 |
> |
|
| 7078 |
> |
|
| 7079 |
> |
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 |
| 7080 |
|
do |
| 7081 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7082 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7109 |
|
cat conftest.err >&5 |
| 7110 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7111 |
|
(exit $ac_status); } && |
| 7112 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7112 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 7113 |
> |
|| test ! -s conftest.err' |
| 7114 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7115 |
|
(eval $ac_try) 2>&5 |
| 7116 |
|
ac_status=$? |
| 7153 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7154 |
|
(exit $ac_status); } >/dev/null; then |
| 7155 |
|
if test -s conftest.err; then |
| 7156 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7157 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7156 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 7157 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 7158 |
|
else |
| 7159 |
|
ac_cpp_err= |
| 7160 |
|
fi |
| 7174 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7175 |
|
|
| 7176 |
|
# So? What about this header? |
| 7177 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7177 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 7178 |
|
yes:no: ) |
| 7179 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7180 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7225 |
|
|
| 7226 |
|
done |
| 7227 |
|
|
| 7228 |
+ |
ac_ext=cc |
| 7229 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 7230 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7231 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7232 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 7233 |
|
|
| 7234 |
< |
for ac_header in machine/hal_sysinfo.h |
| 7234 |
> |
|
| 7235 |
> |
|
| 7236 |
> |
|
| 7237 |
> |
|
| 7238 |
> |
|
| 7239 |
> |
for ac_header in ctype.h iostream fstream sstream strstream |
| 7240 |
|
do |
| 7241 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7242 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7269 |
|
cat conftest.err >&5 |
| 7270 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7271 |
|
(exit $ac_status); } && |
| 7272 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7272 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 7273 |
> |
|| test ! -s conftest.err' |
| 7274 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7275 |
|
(eval $ac_try) 2>&5 |
| 7276 |
|
ac_status=$? |
| 7313 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7314 |
|
(exit $ac_status); } >/dev/null; then |
| 7315 |
|
if test -s conftest.err; then |
| 7316 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7317 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7316 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 7317 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 7318 |
|
else |
| 7319 |
|
ac_cpp_err= |
| 7320 |
|
fi |
| 7334 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7335 |
|
|
| 7336 |
|
# So? What about this header? |
| 7337 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7337 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 7338 |
|
yes:no: ) |
| 7339 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7340 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7385 |
|
|
| 7386 |
|
done |
| 7387 |
|
|
| 7388 |
+ |
ac_ext=c |
| 7389 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 7390 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7391 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7392 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7393 |
|
|
| 7394 |
|
|
| 7395 |
|
|
| 7396 |
|
|
| 6548 |
– |
for ac_func in rint snprintf sranddev strncasecmp |
| 6549 |
– |
do |
| 6550 |
– |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6551 |
– |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 6552 |
– |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 6553 |
– |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 6554 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6555 |
– |
else |
| 6556 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 6557 |
– |
/* confdefs.h. */ |
| 6558 |
– |
_ACEOF |
| 6559 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 6560 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 6561 |
– |
/* end confdefs.h. */ |
| 6562 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 6563 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 6564 |
– |
#define $ac_func innocuous_$ac_func |
| 6565 |
– |
|
| 6566 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 6567 |
– |
which can conflict with char $ac_func (); below. |
| 6568 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 6569 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 6570 |
– |
|
| 6571 |
– |
#ifdef __STDC__ |
| 6572 |
– |
# include <limits.h> |
| 6573 |
– |
#else |
| 6574 |
– |
# include <assert.h> |
| 6575 |
– |
#endif |
| 6576 |
– |
|
| 6577 |
– |
#undef $ac_func |
| 6578 |
– |
|
| 6579 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6580 |
– |
#ifdef __cplusplus |
| 6581 |
– |
extern "C" |
| 6582 |
– |
{ |
| 6583 |
– |
#endif |
| 6584 |
– |
/* We use char because int might match the return type of a gcc2 |
| 6585 |
– |
builtin and then its argument prototype would still apply. */ |
| 6586 |
– |
char $ac_func (); |
| 6587 |
– |
/* The GNU C library defines this for functions which it implements |
| 6588 |
– |
to always fail with ENOSYS. Some functions are actually named |
| 6589 |
– |
something starting with __ and the normal name is an alias. */ |
| 6590 |
– |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 6591 |
– |
choke me |
| 6592 |
– |
#else |
| 6593 |
– |
char (*f) () = $ac_func; |
| 6594 |
– |
#endif |
| 6595 |
– |
#ifdef __cplusplus |
| 6596 |
– |
} |
| 6597 |
– |
#endif |
| 7397 |
|
|
| 6599 |
– |
int |
| 6600 |
– |
main () |
| 6601 |
– |
{ |
| 6602 |
– |
return f != $ac_func; |
| 6603 |
– |
; |
| 6604 |
– |
return 0; |
| 6605 |
– |
} |
| 6606 |
– |
_ACEOF |
| 6607 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6608 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6609 |
– |
(eval $ac_link) 2>conftest.er1 |
| 6610 |
– |
ac_status=$? |
| 6611 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6612 |
– |
rm -f conftest.er1 |
| 6613 |
– |
cat conftest.err >&5 |
| 6614 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6615 |
– |
(exit $ac_status); } && |
| 6616 |
– |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 6617 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6618 |
– |
(eval $ac_try) 2>&5 |
| 6619 |
– |
ac_status=$? |
| 6620 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6621 |
– |
(exit $ac_status); }; } && |
| 6622 |
– |
{ ac_try='test -s conftest$ac_exeext' |
| 6623 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6624 |
– |
(eval $ac_try) 2>&5 |
| 6625 |
– |
ac_status=$? |
| 6626 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6627 |
– |
(exit $ac_status); }; }; then |
| 6628 |
– |
eval "$as_ac_var=yes" |
| 6629 |
– |
else |
| 6630 |
– |
echo "$as_me: failed program was:" >&5 |
| 6631 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7398 |
|
|
| 6633 |
– |
eval "$as_ac_var=no" |
| 6634 |
– |
fi |
| 6635 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 6636 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 6637 |
– |
fi |
| 6638 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 6639 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 6640 |
– |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 6641 |
– |
cat >>confdefs.h <<_ACEOF |
| 6642 |
– |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6643 |
– |
_ACEOF |
| 7399 |
|
|
| 6645 |
– |
fi |
| 6646 |
– |
done |
| 7400 |
|
|
| 7401 |
|
|
| 7402 |
|
|
| 7403 |
|
|
| 7404 |
|
|
| 7405 |
|
|
| 7406 |
< |
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table |
| 7406 |
> |
for ac_func in rint snprintf sranddev strcasecmp strncasecmp stricmp strnicmp pstat_getstatic sysmp getsysinfo sysctl table |
| 7407 |
|
do |
| 7408 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7409 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7471 |
|
cat conftest.err >&5 |
| 7472 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7473 |
|
(exit $ac_status); } && |
| 7474 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7474 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7475 |
> |
|| test ! -s conftest.err' |
| 7476 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7477 |
|
(eval $ac_try) 2>&5 |
| 7478 |
|
ac_status=$? |
| 7532 |
|
cat conftest.err >&5 |
| 7533 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7534 |
|
(exit $ac_status); } && |
| 7535 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7535 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7536 |
> |
|| test ! -s conftest.err' |
| 7537 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7538 |
|
(eval $ac_try) 2>&5 |
| 7539 |
|
ac_status=$? |
| 7593 |
|
cat conftest.err >&5 |
| 7594 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7595 |
|
(exit $ac_status); } && |
| 7596 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7596 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7597 |
> |
|| test ! -s conftest.err' |
| 7598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7599 |
|
(eval $ac_try) 2>&5 |
| 7600 |
|
ac_status=$? |
| 7658 |
|
cat conftest.err >&5 |
| 7659 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7660 |
|
(exit $ac_status); } && |
| 7661 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7661 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7662 |
> |
|| test ! -s conftest.err' |
| 7663 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7664 |
|
(eval $ac_try) 2>&5 |
| 7665 |
|
ac_status=$? |
| 7766 |
|
cat conftest.err >&5 |
| 7767 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7768 |
|
(exit $ac_status); } && |
| 7769 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7769 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7770 |
> |
|| test ! -s conftest.err' |
| 7771 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7772 |
|
(eval $ac_try) 2>&5 |
| 7773 |
|
ac_status=$? |
| 7827 |
|
cat conftest.err >&5 |
| 7828 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7829 |
|
(exit $ac_status); } && |
| 7830 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7830 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7831 |
> |
|| test ! -s conftest.err' |
| 7832 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7833 |
|
(eval $ac_try) 2>&5 |
| 7834 |
|
ac_status=$? |
| 7868 |
|
_ACEOF |
| 7869 |
|
;; |
| 7870 |
|
esac |
| 7112 |
– |
|
| 7113 |
– |
|
| 7114 |
– |
|
| 7115 |
– |
|
| 7116 |
– |
for ac_func in rint sranddev |
| 7117 |
– |
do |
| 7118 |
– |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7119 |
– |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7120 |
– |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7121 |
– |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7122 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7123 |
– |
else |
| 7124 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 7125 |
– |
/* confdefs.h. */ |
| 7126 |
– |
_ACEOF |
| 7127 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 7128 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 7129 |
– |
/* end confdefs.h. */ |
| 7130 |
– |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 7131 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 7132 |
– |
#define $ac_func innocuous_$ac_func |
| 7133 |
– |
|
| 7134 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 7135 |
– |
which can conflict with char $ac_func (); below. |
| 7136 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7137 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 7138 |
– |
|
| 7139 |
– |
#ifdef __STDC__ |
| 7140 |
– |
# include <limits.h> |
| 7141 |
– |
#else |
| 7142 |
– |
# include <assert.h> |
| 7143 |
– |
#endif |
| 7144 |
– |
|
| 7145 |
– |
#undef $ac_func |
| 7146 |
– |
|
| 7147 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7148 |
– |
#ifdef __cplusplus |
| 7149 |
– |
extern "C" |
| 7150 |
– |
{ |
| 7151 |
– |
#endif |
| 7152 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7153 |
– |
builtin and then its argument prototype would still apply. */ |
| 7154 |
– |
char $ac_func (); |
| 7155 |
– |
/* The GNU C library defines this for functions which it implements |
| 7156 |
– |
to always fail with ENOSYS. Some functions are actually named |
| 7157 |
– |
something starting with __ and the normal name is an alias. */ |
| 7158 |
– |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7159 |
– |
choke me |
| 7160 |
– |
#else |
| 7161 |
– |
char (*f) () = $ac_func; |
| 7162 |
– |
#endif |
| 7163 |
– |
#ifdef __cplusplus |
| 7164 |
– |
} |
| 7165 |
– |
#endif |
| 7166 |
– |
|
| 7167 |
– |
int |
| 7168 |
– |
main () |
| 7169 |
– |
{ |
| 7170 |
– |
return f != $ac_func; |
| 7171 |
– |
; |
| 7172 |
– |
return 0; |
| 7173 |
– |
} |
| 7174 |
– |
_ACEOF |
| 7175 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7176 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7177 |
– |
(eval $ac_link) 2>conftest.er1 |
| 7178 |
– |
ac_status=$? |
| 7179 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7180 |
– |
rm -f conftest.er1 |
| 7181 |
– |
cat conftest.err >&5 |
| 7182 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7183 |
– |
(exit $ac_status); } && |
| 7184 |
– |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7185 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7186 |
– |
(eval $ac_try) 2>&5 |
| 7187 |
– |
ac_status=$? |
| 7188 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7189 |
– |
(exit $ac_status); }; } && |
| 7190 |
– |
{ ac_try='test -s conftest$ac_exeext' |
| 7191 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7192 |
– |
(eval $ac_try) 2>&5 |
| 7193 |
– |
ac_status=$? |
| 7194 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7195 |
– |
(exit $ac_status); }; }; then |
| 7196 |
– |
eval "$as_ac_var=yes" |
| 7197 |
– |
else |
| 7198 |
– |
echo "$as_me: failed program was:" >&5 |
| 7199 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7200 |
– |
|
| 7201 |
– |
eval "$as_ac_var=no" |
| 7202 |
– |
fi |
| 7203 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 7204 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 7205 |
– |
fi |
| 7206 |
– |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7207 |
– |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7208 |
– |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7209 |
– |
cat >>confdefs.h <<_ACEOF |
| 7210 |
– |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7211 |
– |
_ACEOF |
| 7871 |
|
|
| 7213 |
– |
fi |
| 7214 |
– |
done |
| 7872 |
|
|
| 7873 |
|
|
| 7874 |
|
# clean out junk possibly left behind by a previous configuration |
| 7908 |
|
cat conftest.err >&5 |
| 7909 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7910 |
|
(exit $ac_status); } && |
| 7911 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 7911 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7912 |
> |
|| test ! -s conftest.err' |
| 7913 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7914 |
|
(eval $ac_try) 2>&5 |
| 7915 |
|
ac_status=$? |
| 8093 |
|
cat conftest.err >&5 |
| 8094 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8095 |
|
(exit $ac_status); } && |
| 8096 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8096 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8097 |
> |
|| test ! -s conftest.err' |
| 8098 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8099 |
|
(eval $ac_try) 2>&5 |
| 8100 |
|
ac_status=$? |
| 8163 |
|
cat conftest.err >&5 |
| 8164 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8165 |
|
(exit $ac_status); } && |
| 8166 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 8166 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8167 |
> |
|| test ! -s conftest.err' |
| 8168 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8169 |
|
(eval $ac_try) 2>&5 |
| 8170 |
|
ac_status=$? |
| 8239 |
|
|
| 8240 |
|
cat > conftest.c <<EOF |
| 8241 |
|
#ifdef __GNUC__ |
| 8242 |
< |
#ifndef __INTEL_COMPILER |
| 8242 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 8243 |
> |
no; |
| 8244 |
> |
#else |
| 8245 |
|
yes; |
| 8246 |
|
#endif |
| 8247 |
|
#endif |
| 8279 |
|
CFLAGS="-O" |
| 8280 |
|
fi;; |
| 8281 |
|
sparc-solaris2*) if test "$CC" = cc; then |
| 8282 |
< |
CFLAGS="-native -fast -xO5 -dalign" |
| 8282 |
> |
CFLAGS="-O -dalign" |
| 8283 |
|
fi;; |
| 8284 |
|
|
| 8285 |
|
alpha*-osf*) if test "$CC" = cc; then |
| 8702 |
|
|
| 8703 |
|
cat > conftest.cpp <<EOF |
| 8704 |
|
#ifdef __GNUC__ |
| 8705 |
< |
#ifndef __INTEL_COMPILER |
| 8705 |
> |
#if defined(__INTEL_COMPILER) || defined(__PATHCC__) |
| 8706 |
> |
no; |
| 8707 |
> |
#else |
| 8708 |
|
yes; |
| 8709 |
|
#endif |
| 8710 |
|
#endif |
| 8742 |
|
CXXFLAGS="-O" |
| 8743 |
|
fi;; |
| 8744 |
|
sparc-solaris2*) if test "$CXX" = CC; then |
| 8745 |
< |
CXXFLAGS="-native -fast -xO5 -dalign" |
| 8745 |
> |
CXXFLAGS="-features=extensions -O -dalign" |
| 8746 |
|
fi;; |
| 8747 |
|
rs6000*-aix*) if test "$CXX" = xlC; then |
| 8748 |
|
CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
| 9253 |
|
;; |
| 9254 |
|
esac |
| 9255 |
|
|
| 9256 |
+ |
ac_ext=cc |
| 9257 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 9258 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9259 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9260 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 9261 |
+ |
|
| 9262 |
+ |
# AC_CPP_FUNC |
| 9263 |
+ |
# ------------------ # |
| 9264 |
+ |
# Checks to see if ANSI C99 CPP variable __func__ works. |
| 9265 |
+ |
# If not, perhaps __FUNCTION__ works instead. |
| 9266 |
+ |
# If not, we'll just define __func__ to "". |
| 9267 |
+ |
# AC_CPP_FUNC |
| 9268 |
+ |
|
| 9269 |
+ |
|
| 9270 |
+ |
echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 |
| 9271 |
+ |
echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6 |
| 9272 |
+ |
if test "${ac_cv_cpp_func+set}" = set; then |
| 9273 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9274 |
+ |
else |
| 9275 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 9276 |
+ |
/* confdefs.h. */ |
| 9277 |
+ |
_ACEOF |
| 9278 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 9279 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 9280 |
+ |
/* end confdefs.h. */ |
| 9281 |
+ |
|
| 9282 |
+ |
int |
| 9283 |
+ |
main () |
| 9284 |
+ |
{ |
| 9285 |
+ |
const char *foo = __func__; |
| 9286 |
+ |
; |
| 9287 |
+ |
return 0; |
| 9288 |
+ |
} |
| 9289 |
+ |
_ACEOF |
| 9290 |
+ |
rm -f conftest.$ac_objext |
| 9291 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9292 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 9293 |
+ |
ac_status=$? |
| 9294 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9295 |
+ |
rm -f conftest.er1 |
| 9296 |
+ |
cat conftest.err >&5 |
| 9297 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9298 |
+ |
(exit $ac_status); } && |
| 9299 |
+ |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 9300 |
+ |
|| test ! -s conftest.err' |
| 9301 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9302 |
+ |
(eval $ac_try) 2>&5 |
| 9303 |
+ |
ac_status=$? |
| 9304 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9305 |
+ |
(exit $ac_status); }; } && |
| 9306 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 9307 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9308 |
+ |
(eval $ac_try) 2>&5 |
| 9309 |
+ |
ac_status=$? |
| 9310 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9311 |
+ |
(exit $ac_status); }; }; then |
| 9312 |
+ |
ac_cv_cpp_func=yes |
| 9313 |
+ |
else |
| 9314 |
+ |
echo "$as_me: failed program was:" >&5 |
| 9315 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9316 |
+ |
|
| 9317 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 9318 |
+ |
/* confdefs.h. */ |
| 9319 |
+ |
_ACEOF |
| 9320 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 9321 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 9322 |
+ |
/* end confdefs.h. */ |
| 9323 |
+ |
|
| 9324 |
+ |
int |
| 9325 |
+ |
main () |
| 9326 |
+ |
{ |
| 9327 |
+ |
const char *foo = __FUNCTION__; |
| 9328 |
+ |
; |
| 9329 |
+ |
return 0; |
| 9330 |
+ |
} |
| 9331 |
+ |
_ACEOF |
| 9332 |
+ |
rm -f conftest.$ac_objext |
| 9333 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9334 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 9335 |
+ |
ac_status=$? |
| 9336 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9337 |
+ |
rm -f conftest.er1 |
| 9338 |
+ |
cat conftest.err >&5 |
| 9339 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9340 |
+ |
(exit $ac_status); } && |
| 9341 |
+ |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 9342 |
+ |
|| test ! -s conftest.err' |
| 9343 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9344 |
+ |
(eval $ac_try) 2>&5 |
| 9345 |
+ |
ac_status=$? |
| 9346 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9347 |
+ |
(exit $ac_status); }; } && |
| 9348 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 9349 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9350 |
+ |
(eval $ac_try) 2>&5 |
| 9351 |
+ |
ac_status=$? |
| 9352 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9353 |
+ |
(exit $ac_status); }; }; then |
| 9354 |
+ |
ac_cv_cpp_func=__FUNCTION__ |
| 9355 |
+ |
else |
| 9356 |
+ |
echo "$as_me: failed program was:" >&5 |
| 9357 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9358 |
+ |
|
| 9359 |
+ |
ac_cv_cpp_func=no |
| 9360 |
+ |
fi |
| 9361 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9362 |
+ |
fi |
| 9363 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9364 |
+ |
fi |
| 9365 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 |
| 9366 |
+ |
echo "${ECHO_T}$ac_cv_cpp_func" >&6 |
| 9367 |
+ |
if test $ac_cv_cpp_func = __FUNCTION__; then |
| 9368 |
+ |
|
| 9369 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 9370 |
+ |
#define __func__ __FUNCTION__ |
| 9371 |
+ |
_ACEOF |
| 9372 |
+ |
|
| 9373 |
+ |
elif test $ac_cv_cpp_func = no; then |
| 9374 |
+ |
|
| 9375 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 9376 |
+ |
#define __func__ "" |
| 9377 |
+ |
_ACEOF |
| 9378 |
+ |
|
| 9379 |
+ |
fi |
| 9380 |
+ |
|
| 9381 |
+ |
|
| 9382 |
+ |
ac_ext=c |
| 9383 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 9384 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9385 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9386 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9387 |
+ |
|
| 9388 |
+ |
|
| 9389 |
|
# Find a good install program. We prefer a C program (faster), |
| 9390 |
|
# so one script is as good as another. But avoid the broken or |
| 9391 |
|
# incompatible versions: |
| 9707 |
|
cat conftest.err >&5 |
| 9708 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9709 |
|
(exit $ac_status); } && |
| 9710 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9710 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9711 |
> |
|| test ! -s conftest.err' |
| 9712 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9713 |
|
(eval $ac_try) 2>&5 |
| 9714 |
|
ac_status=$? |
| 9774 |
|
cat conftest.err >&5 |
| 9775 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9776 |
|
(exit $ac_status); } && |
| 9777 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9777 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9778 |
> |
|| test ! -s conftest.err' |
| 9779 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9780 |
|
(eval $ac_try) 2>&5 |
| 9781 |
|
ac_status=$? |
| 9864 |
|
cat conftest.err >&5 |
| 9865 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9866 |
|
(exit $ac_status); } && |
| 9867 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 9867 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9868 |
> |
|| test ! -s conftest.err' |
| 9869 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9870 |
|
(eval $ac_try) 2>&5 |
| 9871 |
|
ac_status=$? |
| 10200 |
|
|
| 10201 |
|
|
| 10202 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 10203 |
< |
cat >>confdefs.h <<\_ACEOF |
| 10203 |
> |
|
| 10204 |
> |
cat >>confdefs.h <<\_ACEOF |
| 10205 |
|
#define PSTYPE_IS_BSD 1 |
| 10206 |
|
_ACEOF |
| 10207 |
|
|
| 10208 |
|
else |
| 10209 |
|
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 10210 |
< |
cat >>confdefs.h <<\_ACEOF |
| 10210 |
> |
|
| 10211 |
> |
cat >>confdefs.h <<\_ACEOF |
| 10212 |
|
#define PSTYPE_IS_POSIX 1 |
| 10213 |
|
_ACEOF |
| 10214 |
|
|
| 10351 |
|
cat conftest.err >&5 |
| 10352 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10353 |
|
(exit $ac_status); } && |
| 10354 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10354 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10355 |
> |
|| test ! -s conftest.err' |
| 10356 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10357 |
|
(eval $ac_try) 2>&5 |
| 10358 |
|
ac_status=$? |
| 10421 |
|
cat conftest.err >&5 |
| 10422 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10423 |
|
(exit $ac_status); } && |
| 10424 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10424 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10425 |
> |
|| test ! -s conftest.err' |
| 10426 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10427 |
|
(eval $ac_try) 2>&5 |
| 10428 |
|
ac_status=$? |
| 10492 |
|
cat conftest.err >&5 |
| 10493 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10494 |
|
(exit $ac_status); } && |
| 10495 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10495 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10496 |
> |
|| test ! -s conftest.err' |
| 10497 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10498 |
|
(eval $ac_try) 2>&5 |
| 10499 |
|
ac_status=$? |
| 10563 |
|
cat conftest.err >&5 |
| 10564 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10565 |
|
(exit $ac_status); } && |
| 10566 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10566 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10567 |
> |
|| test ! -s conftest.err' |
| 10568 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10569 |
|
(eval $ac_try) 2>&5 |
| 10570 |
|
ac_status=$? |
| 10635 |
|
cat conftest.err >&5 |
| 10636 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10637 |
|
(exit $ac_status); } && |
| 10638 |
< |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
| 10638 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10639 |
> |
|| test ! -s conftest.err' |
| 10640 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10641 |
|
(eval $ac_try) 2>&5 |
| 10642 |
|
ac_status=$? |
| 10830 |
|
cat conftest.err >&5 |
| 10831 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10832 |
|
(exit $ac_status); } && |
| 10833 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 10833 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10834 |
> |
|| test ! -s conftest.err' |
| 10835 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10836 |
|
(eval $ac_try) 2>&5 |
| 10837 |
|
ac_status=$? |
| 11053 |
|
cat conftest.err >&5 |
| 11054 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11055 |
|
(exit $ac_status); } && |
| 11056 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 11056 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11057 |
> |
|| test ! -s conftest.err' |
| 11058 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11059 |
|
(eval $ac_try) 2>&5 |
| 11060 |
|
ac_status=$? |
| 11984 |
|
s,@CXX@,$CXX,;t t |
| 11985 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 11986 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 11987 |
+ |
s,@CPP@,$CPP,;t t |
| 11988 |
+ |
s,@EGREP@,$EGREP,;t t |
| 11989 |
|
s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t |
| 11990 |
|
s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t |
| 11991 |
|
s,@F90@,$F90,;t t |
| 12001 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 12002 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 12003 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 11193 |
– |
s,@CPP@,$CPP,;t t |
| 11194 |
– |
s,@EGREP@,$EGREP,;t t |
| 12004 |
|
s,@CXXCPP@,$CXXCPP,;t t |
| 12005 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
| 12006 |
+ |
s,@__func__@,$__func__,;t t |
| 12007 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 12008 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 12009 |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 12211 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 12212 |
|
esac |
| 12213 |
|
|
| 12214 |
+ |
if test x"$ac_file" != x-; then |
| 12215 |
+ |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 12216 |
+ |
echo "$as_me: creating $ac_file" >&6;} |
| 12217 |
+ |
rm -f "$ac_file" |
| 12218 |
+ |
fi |
| 12219 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 12220 |
|
# use $as_me), people would be surprised to read: |
| 12221 |
|
# /* config.h. Generated by config.status. */ |
| 12254 |
|
fi;; |
| 12255 |
|
esac |
| 12256 |
|
done` || { (exit 1); exit 1; } |
| 11442 |
– |
|
| 11443 |
– |
if test x"$ac_file" != x-; then |
| 11444 |
– |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 11445 |
– |
echo "$as_me: creating $ac_file" >&6;} |
| 11446 |
– |
rm -f "$ac_file" |
| 11447 |
– |
fi |
| 12257 |
|
_ACEOF |
| 12258 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 12259 |
|
sed "$ac_vpsub |