|
|
| version 1.66, 2003/01/16 07:57:07 | version 1.72, 2003/11/21 12:36:14 |
|---|---|
| Line 309 ac_includes_default="\ | Line 309 ac_includes_default="\ |
| # include <unistd.h> | # include <unistd.h> |
| #endif" | #endif" |
| 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE P3S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB YACC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE commentcharset_windows1251 commentcharset_windows1250 commentcharset_windows1257 commentcharset_koi8r dll_extension mysql_client pgsql_client oracle_client DO_NOT_LINK_LIBSTDCPP_TRUE DO_NOT_LINK_LIBSTDCPP_FALSE XML_INCLUDES XML_LIBS MIME_INCLUDES MIME_LIBS APACHE13 COMPILE_APACHE13_MODULE_TRUE COMPILE_APACHE13_MODULE_FALSE INCLTDL LIBLTDL subdirs LIBADD_DL CPP EGREP CXXCPP APACHE_LIBS charsetsdir sqldriversdir LIBOBJS LTLIBOBJS' | 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE P3S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB YACC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE commentcharset_windows1251 commentcharset_windows1250 commentcharset_windows1257 commentcharset_koi8r dll_extension mysql_client pgsql_client oracle_client CPP_LIBS GC_LIBS XML_INCLUDES XML_LIBS MIME_INCLUDES MIME_LIBS APACHE13 COMPILE_APACHE13_MODULE_TRUE COMPILE_APACHE13_MODULE_FALSE INCLTDL LIBLTDL subdirs LIBADD_DL CPP EGREP charsetsdir sqldriversdir LIBOBJS LTLIBOBJS' |
| ac_subst_files='' | ac_subst_files='' |
| # Initialize some variables set by options. | # Initialize some variables set by options. |
| Line 778 ac_env_CPP_set=${CPP+set} | Line 778 ac_env_CPP_set=${CPP+set} |
| ac_env_CPP_value=$CPP | ac_env_CPP_value=$CPP |
| ac_cv_env_CPP_set=${CPP+set} | ac_cv_env_CPP_set=${CPP+set} |
| ac_cv_env_CPP_value=$CPP | ac_cv_env_CPP_value=$CPP |
| ac_env_CXXCPP_set=${CXXCPP+set} | |
| ac_env_CXXCPP_value=$CXXCPP | |
| ac_cv_env_CXXCPP_set=${CXXCPP+set} | |
| ac_cv_env_CXXCPP_value=$CXXCPP | |
| # | # |
| # Report the --help message. | # Report the --help message. |
| Line 863 Optional Features: | Line 859 Optional Features: |
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| --disable-dependency-tracking Speeds up one-time builds | --disable-dependency-tracking Speeds up one-time builds |
| --enable-dependency-tracking Do not reject slow dependency extractors | --enable-dependency-tracking Do not reject slow dependency extractors |
| --disable-safe-mode to enable reading and executing | --disable-safe-mode to enable reading and executing |
| files belonging to group+user other then effective | files belonging to group+user other then effective |
| --disable-execs to disable any execs | --disable-execs to disable any execs |
| (file::exec, file::cgi, unix mail:send) | (file::exec, file::cgi, unix mail:send) |
| --disable-string-origins to switch off string origin tracking | |
| Optional Packages: | Optional Packages: |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| --with-build-warnings to enable build-time compiler warnings if gcc is used | |
| --with-assertions to enable assertions | |
| --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251, | --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251, |
| windows-1250 windows-1257 koi8-r; Default is windows-1251) | windows-1250 windows-1257 koi8-r; Default is windows-1251) |
| --with-mysql-client=mysqlclientlib?withparams | --with-mysql-client=mysqlclientlib?withparams |
| Line 882 Optional Packages: | Line 879 Optional Packages: |
| Oracle client dynamic library | Oracle client dynamic library |
| --with-pathlink=LKEY put dynamic libraries paths to binary | --with-pathlink=LKEY put dynamic libraries paths to binary |
| using linker key (-R, -rpath-link) | using linker key (-R, -rpath-link) |
| --with-link-stdcpp=PATH to directory with libstdc++ | --with-dynamic-stdcpp link libstdc++ dynamically |
| --without-link-stdcpp to disable libstdc++ linkage, | by default, libstdc++ is linked statically |
| if you belive you do not need one | |
| --with-sjlj-exceptions enable simple 'throw' from dynamic library | --with-sjlj-exceptions enable simple 'throw' from dynamic library |
| --with-shared-gc=D D is the directory where | |
| Boehm garbage collecting library is installed (shared lib) | |
| --with-static-gc=D D is the directory where | |
| Boehm garbage collecting library is installed (static lib) | |
| --with-glib-config=FILE FILE is glib library | --with-glib-config=FILE FILE is glib library |
| configuration file (search for glib*-config) | configuration file (search for glib*-config) |
| --with-shared-xml=D D is the directory where | --with-shared-xml=D D is the directory where |
| Line 893 Optional Packages: | Line 893 Optional Packages: |
| --with-static-xml=D D is the directory where | --with-static-xml=D D is the directory where |
| Gnome XML libraries are installed (static libs) | Gnome XML libraries are installed (static libs) |
| --with-shared-mailreceive=D is the directory where | --with-shared-mailreceive=D is the directory where |
| Gnome MIME library is installed (shared lib) | Gnome MIME library is installed (shared lib) |
| --with-static-mailreceive=D is the directory where | --with-static-mailreceive=D is the directory where |
| Gnome MIME library is installed (static lib) | Gnome MIME library is installed (static lib) |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | \"--with-sendmail=COMMAND\" forces this command to send mail. |
| Line 913 Some influential environment variables: | Line 913 Some influential environment variables: |
| CC C compiler command | CC C compiler command |
| CFLAGS C compiler flags | CFLAGS C compiler flags |
| CPP C preprocessor | CPP C preprocessor |
| CXXCPP C++ preprocessor | |
| Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
| Line 1587 fi | Line 1586 fi |
| # Define the identity of the package. | # Define the identity of the package. |
| PACKAGE=parser | PACKAGE=parser |
| VERSION=3.0.HEAD | VERSION=3.1.2beta |
| # Some tools Automake needs. | # Some tools Automake needs. |
| Line 1714 echo "/* edit configure.in to change ver | Line 1713 echo "/* edit configure.in to change ver |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new |
| cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 | cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 |
| if test $? -ne 0 ; then | if test $? -ne 0 ; then |
| rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ | rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ |
| echo Updated $srcdir/src/include/pa_version.h | echo Updated $srcdir/src/include/pa_version.h |
| else | else |
| rm -f $srcdir/src/include/pa_version.h.new | rm -f $srcdir/src/include/pa_version.h.new |
| fi | fi |
| # Make sure we can run config.sub. | # Make sure we can run config.sub. |
| $ac_config_sub sun4 >/dev/null 2>&1 || | $ac_config_sub sun4 >/dev/null 2>&1 || |
| { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| Line 1776 host_os=`echo $ac_cv_host | sed 's/^\([^ | Line 1776 host_os=`echo $ac_cv_host | sed 's/^\([^ |
| case $host_os in | |
| *cygwin* ) | |
| cat >>confdefs.h <<\_ACEOF | |
| #define CYGWIN | |
| _ACEOF | |
| ;; | |
| esac | |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| # so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or |
| Line 2046 done | Line 2053 done |
| test -n "$YACC" || YACC="yacc" | test -n "$YACC" || YACC="yacc" |
| if test "$YACC" != "bison -y"; then | if test "$YACC" != "bison -y"; then |
| { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5 | { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5 |
| echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;} | echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;} |
| else | else |
| echo "$as_me:$LINENO: checking bison version" >&5 | echo "$as_me:$LINENO: checking bison version" >&5 |
| echo $ECHO_N "checking bison version... $ECHO_C" >&6 | echo $ECHO_N "checking bison version... $ECHO_C" >&6 |
| oldIFS=$IFS; IFS=. | oldIFS=$IFS; IFS=. |
| set `bison -V | sed -e 's/^GNU Bison version //'` | set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'` |
| IFS=$oldIFS | IFS=$oldIFS |
| if test "$1" = "1" -a "$2" -lt "25"; then | if test "$1" = "1" -a "$2" -lt "25"; then |
| { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5 | { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5 |
| echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;} | echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;} |
| fi | fi |
| echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5 | echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5 |
| echo "${ECHO_T}$1.$2 (ok)" >&6 | echo "${ECHO_T}$1.$2 (ok)" >&6 |
| fi | fi |
| Line 3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS con | Line 3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS con |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| echo "$as_me:$LINENO: checking for inline" >&5 | echo "$as_me:$LINENO: checking for inline" >&5 |
| echo $ECHO_N "checking for inline... $ECHO_C" >&6 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| if test "${ac_cv_c_inline+set}" = set; then | if test "${ac_cv_c_inline+set}" = set; then |
| Line 3551 esac | Line 3559 esac |
| # Check whether --with-build-warnings or --without-build-warnings was given. | |
| if test "${with_build_warnings+set}" = set; then | |
| withval="$with_build_warnings" | |
| { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5 | |
| echo "$as_me: WARNING: enabling compiler warnings" >&2;} | |
| CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes" | |
| fi; | |
| # Check whether --with-assertions or --without-assertions was given. | |
| if test "${with_assertions+set}" = set; then | |
| withval="$with_assertions" | |
| { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5 | |
| echo "$as_me: WARNING: enabling assertions" >&2;} | |
| else | |
| cat >>confdefs.h <<\_ACEOF | |
| #define NDEBUG | |
| _ACEOF | |
| fi; | |
| # Check whether --enable-safe-mode or --disable-safe-mode was given. | # Check whether --enable-safe-mode or --disable-safe-mode was given. |
| if test "${enable_safe_mode+set}" = set; then | if test "${enable_safe_mode+set}" = set; then |
| enableval="$enable_safe_mode" | enableval="$enable_safe_mode" |
| SAFE_MODE=$enableval | SAFE_MODE=$enableval |
| fi; | fi; |
| Line 3587 fi | Line 3622 fi |
| fi; | fi; |
| # Check whether --enable-string-origins or --disable-string-origins was given. | |
| if test "${enable_string_origins+set}" = set; then | |
| enableval="$enable_string_origins" | |
| if test "$enableval" = "no"; then | |
| { echo "$as_me:$LINENO: WARNING: disabling string origin tracking" >&5 | |
| echo "$as_me: WARNING: disabling string origin tracking" >&2;} | |
| cat >>confdefs.h <<\_ACEOF | |
| #define NO_STRING_ORIGIN | |
| _ACEOF | |
| fi | |
| fi; | |
| srccharsetsdir=$srcdir/etc/parser3.charsets | srccharsetsdir=$srcdir/etc/parser3.charsets |
| CHARSETS_REQUESTED="windows-1251" | CHARSETS_REQUESTED="windows-1251" |
| Line 3675 echo "$as_me:$LINENO: checking for dynam | Line 3693 echo "$as_me:$LINENO: checking for dynam |
| echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6 | echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6 |
| case "$host_os" in | case "$host_os" in |
| hpux9* | hpux10* | hpux11*) | hpux9* | hpux10* | hpux11*) |
| dll_extension=sl | dll_extension=sl |
| ;; | ;; |
| cygwin) | cygwin) |
| dll_extension=dll | dll_extension=dll |
| ;; | ;; |
| *) | *) |
| dll_extension=so | dll_extension=so |
| esac | esac |
| echo "$as_me:$LINENO: result: $dll_extension" >&5 | echo "$as_me:$LINENO: result: $dll_extension" >&5 |
| echo "${ECHO_T}$dll_extension" >&6 | echo "${ECHO_T}$dll_extension" >&6 |
| Line 3781 if test "${with_pathlink+set}" = set; th | Line 3799 if test "${with_pathlink+set}" = set; th |
| fi; | fi; |
| # Check whether --with-link-stdcpp or --without-link-stdcpp was given. | # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given. |
| if test "${with_link_stdcpp+set}" = set; then | if test "${with_dynamic_stdcpp+set}" = set; then |
| withval="$with_link_stdcpp" | withval="$with_dynamic_stdcpp" |
| LIBSTDCPP_PATH=$withval | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| { echo "$as_me:$LINENO: WARNING: disabling libstdc++ linkage" >&5 | |
| echo "$as_me: WARNING: disabling libstdc++ linkage" >&2;} | |
| else | |
| if test -z "$LD_PATHLINK"; then | |
| { { echo "$as_me:$LINENO: error: when using --with-link-stdcpp one must specify --with-pathlink" >&5 | |
| echo "$as_me: error: when using --with-link-stdcpp one must specify --with-pathlink" >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| LIBS="$LIBS -Wl,$LD_PATHLINK -Wl,$LIBSTDCPP_PATH" | |
| fi | |
| else | |
| #pseudo path, meaning still link libstdcpp. value needed to trick next _CONDITIONAL | |
| LIBSTDCPP_PATH=" " | |
| fi; | |
| { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&5 | |
| echo "$as_me: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&2;} | |
| # this is for apache, it's linked with gcc and need to know | |
| # and it would not harm linking with c++ toolchain | |
| CPP_LIBS="-lstdc++" | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| DO_NOT_LINK_LIBSTDCPP_TRUE= | |
| DO_NOT_LINK_LIBSTDCPP_FALSE='#' | |
| else | else |
| DO_NOT_LINK_LIBSTDCPP_TRUE='#' | |
| DO_NOT_LINK_LIBSTDCPP_FALSE= | |
| fi | |
| CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" | |
| fi; | |
| Line 3828 _ACEOF | Line 3828 _ACEOF |
| fi; | fi; |
| GC_LIB_NAME=gc | |
| # Check whether --with-shared-gc or --without-shared-gc was given. | |
| if test "${with_shared_gc+set}" = set; then | |
| withval="$with_shared_gc" | |
| GC_LIBS="-L$withval -l$GC_LIB_NAME" | |
| fi; | |
| # Check whether --with-static-gc or --without-static-gc was given. | |
| if test "${with_static_gc+set}" = set; then | |
| withval="$with_static_gc" | |
| GC_LIBS="-L$withval -Wl,-Bstatic -l$GC_LIB_NAME -Wl,-Bdynamic" | |
| fi; | |
| if test -z "$GC_LIBS"; then | |
| #undefined? use any found in system | |
| GC_LIBS="-l$GC_LIB_NAME" | |
| { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5 | |
| echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;} | |
| fi | |
| echo "$as_me:$LINENO: checking for libgc" >&5 | |
| echo $ECHO_N "checking for libgc... $ECHO_C" >&6 | |
| SAVE_LIBS=$LIBS | |
| LIBS="$LIBS $GC_LIBS" | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| extern int GC_dont_gc; | |
| int | |
| main () | |
| { | |
| GC_dont_gc=0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext conftest$ac_exeext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
| (eval $ac_link) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | |
| echo "${ECHO_T}yes" >&6 | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5 | |
| echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| # Check whether --with-glib-config or --without-glib-config was given. | # Check whether --with-glib-config or --without-glib-config was given. |
| Line 3842 fi; | Line 3920 fi; |
| if test "${with_shared_xml+set}" = set; then | if test "${with_shared_xml+set}" = set; then |
| withval="$with_shared_xml" | withval="$with_shared_xml" |
| GNOME_XML=$withval | GNOME_XML=$withval |
| XMLBIN="$GNOME_XML/bin" | XMLBIN="$GNOME_XML/bin" |
| XMLINC="$GNOME_XML/include" | XMLINC="$GNOME_XML/include" |
| XMLLIB="$GNOME_XML/lib" | XMLLIB="$GNOME_XML/lib" |
| if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then | if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3859 cat >>confdefs.h <<\_ACEOF | Line 3937 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBGDOME_SO_NAME=`cd $XMLLIB ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBGDOME_SO_NAME=`cd $XMLLIB ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$XMLBIN/glib-config | GLIB_CONFIG=$XMLBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=glib-config |
| fi | fi |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | GLIB_CFLAGS=`$GLIB_CONFIG --cflags` |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | GLIB_LIBS=`$GLIB_CONFIG --libs` |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" | XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" |
| XML_LIBS="$GLIB_LIBS -L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" | XML_LIBS="$GLIB_LIBS -L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" |
| if test \! -z "$LD_PATHLINK"; then | if test \! -z "$LD_PATHLINK"; then |
| XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB" | XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB" |
| fi | fi |
| fi; | fi; |
| Line 3885 fi; | Line 3963 fi; |
| if test "${with_static_xml+set}" = set; then | if test "${with_static_xml+set}" = set; then |
| withval="$with_static_xml" | withval="$with_static_xml" |
| GNOME_XML=$withval | GNOME_XML=$withval |
| XMLBIN="$GNOME_XML/bin" | XMLBIN="$GNOME_XML/bin" |
| XMLINC="$GNOME_XML/include" | XMLINC="$GNOME_XML/include" |
| XMLLIB="$GNOME_XML/lib" | XMLLIB="$GNOME_XML/lib" |
| if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then | if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3902 cat >>confdefs.h <<\_ACEOF | Line 3980 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$XMLBIN/glib-config | GLIB_CONFIG=$XMLBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=glib-config |
| fi | fi |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | GLIB_CFLAGS=`$GLIB_CONFIG --cflags` |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" | XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" |
| XML_LIBS="$XMLLIB/libgdome.a $XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a $GLIB_DIR/lib$GLIB_NAME.a" | XML_LIBS="$XMLLIB/libgdome.a $XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a $GLIB_DIR/lib$GLIB_NAME.a" |
| fi; | fi; |
| Line 3924 fi; | Line 4002 fi; |
| if test "${with_shared_mailreceive+set}" = set; then | if test "${with_shared_mailreceive+set}" = set; then |
| withval="$with_shared_mailreceive" | withval="$with_shared_mailreceive" |
| GNOME_MIME=$withval | GNOME_MIME=$withval |
| MIMEBIN="$GNOME_MIME/bin" | MIMEBIN="$GNOME_MIME/bin" |
| MIMEINC="$GNOME_MIME/include" | MIMEINC="$GNOME_MIME/include" |
| MIMELIB="$GNOME_MIME/lib" | MIMELIB="$GNOME_MIME/lib" |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3941 cat >>confdefs.h <<\_ACEOF | Line 4019 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$MIMEBIN/glib-config | GLIB_CONFIG=$MIMEBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=glib-config |
| fi | fi |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | GLIB_CFLAGS=`$GLIB_CONFIG --cflags` |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | GLIB_LIBS=`$GLIB_CONFIG --libs` |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" |
| MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" | MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" |
| if test \! -z "$LD_PATHLINK"; then | if test \! -z "$LD_PATHLINK"; then |
| MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" | MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" |
| fi | fi |
| fi; | fi; |
| Line 3964 fi; | Line 4042 fi; |
| if test "${with_static_mailreceive+set}" = set; then | if test "${with_static_mailreceive+set}" = set; then |
| withval="$with_static_mailreceive" | withval="$with_static_mailreceive" |
| GNOME_MIME=$withval | GNOME_MIME=$withval |
| MIMEBIN="$GNOME_MIME/bin" | MIMEBIN="$GNOME_MIME/bin" |
| MIMEINC="$GNOME_MIME/include" | MIMEINC="$GNOME_MIME/include" |
| MIMELIB="$GNOME_MIME/lib" | MIMELIB="$GNOME_MIME/lib" |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3981 cat >>confdefs.h <<\_ACEOF | Line 4059 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$MIMEBIN/glib-config | GLIB_CONFIG=$MIMEBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=glib-config |
| fi | fi |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | GLIB_CFLAGS=`$GLIB_CONFIG --cflags` |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" |
| MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" | MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" |
| fi; | fi; |
| Line 4017 fi; | Line 4095 fi; |
| if test "${with_apache13+set}" = set; then | if test "${with_apache13+set}" = set; then |
| withval="$with_apache13" | withval="$with_apache13" |
| APACHE13=$withval | APACHE13=$withval |
| if test \! -f "$APACHE13/src/include/httpd.h"; then | if test \! -f "$APACHE13/src/include/httpd.h"; then |
| { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5 | { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5 |
| echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;} | echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| fi; | fi; |
| Line 4527 done | Line 4605 done |
| fi | fi |
| LIBS="$LIBS $LIBADD_DL" | |
| ac_ext=c | ac_ext=c |
| Line 5264 fi | Line 5341 fi |
| for ac_header in signal.h \ | for ac_header in assert.h \ |
| signal.h \ | |
| unistd.h \ | unistd.h \ |
| process.h \ | process.h \ |
| stddef.h \ | stddef.h \ |
| Line 5278 ctype.h \ | Line 5356 ctype.h \ |
| math.h \ | math.h \ |
| crypt.h \ | crypt.h \ |
| time.h sys/time.h \ | time.h sys/time.h \ |
| stdlib.h \ | |
| string.h \ | string.h \ |
| direct.h \ | direct.h \ |
| setjmp.h \ | setjmp.h \ |
| Line 6019 fi | Line 6096 fi |
| for ac_func in flock \ | |
| for ac_func in trunc \ | |
| round \ | |
| sign \ | |
| flock \ | |
| _locking \ | _locking \ |
| fcntl \ | fcntl \ |
| lockf \ | lockf \ |
| Line 6034 ftruncate \ | Line 6104 ftruncate \ |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt \ | crypt \ |
| sigsetjmp siglongjmp | siglongjmp |
| do | do |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| Line 6120 done | Line 6190 done |
| pa_func=sigsetjmp | |
| for ac_func in qsort | echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5 |
| do | echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6 |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | cat >conftest.$ac_ext <<_ACEOF |
| echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
| echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
| if eval "test \"\${$as_ac_var+set}\" = set"; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char $ac_func (); below. | #ifdef HAVE_SETJMP_H |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | # include <setjmp.h> |
| <limits.h> exists even on freestanding compilers. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| /* Override any gcc2 internal prototype to avoid an error. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| { | |
| #endif | |
| /* We use char because int might match the return type of a gcc2 | |
| builtin and then its argument prototype would still apply. */ | |
| char $ac_func (); | |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| choke me | |
| #else | |
| char (*f) () = $ac_func; | |
| #endif | |
| #ifdef __cplusplus | |
| } | |
| #endif | #endif |
| int | int |
| main () | main () |
| { | { |
| return f != $ac_func; | |
| $pa_func(0,0); | |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_compile) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -s conftest.$ac_objext' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| eval "$as_ac_var=yes" | echo "$as_me:$LINENO: result: yes" >&5 |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1 | |
| _ACEOF | |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_var=no" | echo "$as_me:$LINENO: result: no" >&5 |
| fi | echo "${ECHO_T}no" >&6 |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | rm -f conftest.$ac_objext conftest.$ac_ext |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
| if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ac_ext=cc |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| for pa_func in trunc \ | |
| round \ | |
| sign | |
| do | |
| echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5 | |
| echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef HAVE_MATH_H | |
| # include <math.h> | |
| #endif | |
| int | |
| main () | |
| { | |
| double result=$pa_func(1.6); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1 | |
| _ACEOF | _ACEOF |
| else | else |
| { { echo "$as_me:$LINENO: error: No qsort library function." >&5 | echo "$as_me: failed program was:" >&5 |
| echo "$as_me: error: No qsort library function." >&2;} | sed 's/^/| /' conftest.$ac_ext >&5 |
| { (exit 1); exit 1; }; } | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| done | done |
| ac_ext=c | |
| ac_cpp='$CPP $CPPFLAGS' | |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| for ac_func in select | |
| for ac_func in qsort | |
| do | do |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| echo "$as_me:$LINENO: checking for $ac_func" >&5 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| Line 6290 if test `eval echo '${'$as_ac_var'}'` = | Line 6408 if test `eval echo '${'$as_ac_var'}'` = |
| _ACEOF | _ACEOF |
| else | else |
| { { echo "$as_me:$LINENO: error: No select library function." >&5 | { { echo "$as_me:$LINENO: error: No qsort library function." >&5 |
| echo "$as_me: error: No select library function." >&2;} | echo "$as_me: error: No qsort library function." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| done | done |
| echo "$as_me:$LINENO: checking for select" >&5 | |
| echo "$as_me:$LINENO: checking for timezone variable" >&5 | echo $ECHO_N "checking for select... $ECHO_C" >&6 |
| echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6 | if test "$cross_compiling" = yes; then |
| cat >conftest.$ac_ext <<_ACEOF | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| See \`config.log' for more details." >&5 | |
| echo "$as_me: error: cannot run test program while cross compiling | |
| See \`config.log' for more details." >&2;} | |
| { (exit 1); exit 1; }; } | |
| else | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <time.h> | |
| #ifdef HAVE_SYS_SELECT_H | |
| # include <sys/select.h> | |
| #endif | |
| #ifdef HAVE_SYS_SOCKET_H | |
| # include <sys/socket.h> | |
| #endif | |
| #if TIME_WITH_SYS_TIME | |
| # include <sys/time.h> | |
| # include <time.h> | |
| #else | |
| # ifdef HAVE_SYS_TIME_H | |
| # include <sys/time.h> | |
| # else | |
| # include <time.h> | |
| # endif | |
| #endif | |
| #ifdef __STDC__ | |
| int (*f)(int, fd_set *, fd_set *, fd_set *, struct timeval *)=select; | |
| #else | |
| int (*f)()=select; | |
| #endif /* __STDC__ */ | |
| int | int |
| main () | main () |
| { | { |
| return f != select; | |
| time_t test=timezone; | |
| ; | |
| return 0; | |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_link) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_TIMEZONE 1 | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_SELECT | |
| _ACEOF | _ACEOF |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: program exited with status $ac_status" >&5 |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | ( exit $ac_status ) |
| echo "${ECHO_T}no" >&6 | { { echo "$as_me:$LINENO: error: No select library function." >&5 |
| echo "$as_me: error: No select library function." >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| echo "$as_me:$LINENO: checking for daylight variable" >&5 | |
| echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6 | echo "$as_me:$LINENO: checking for timezone variable" >&5 |
| echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| Line 6359 int | Line 6512 int |
| main () | main () |
| { | { |
| int test=daylight; | time_t test=timezone; |
| ; | ; |
| return 0; | return 0; |
| Line 6378 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 6531 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_DAYLIGHT 1 | #define HAVE_TIMEZONE 1 |
| _ACEOF | _ACEOF |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| Line 6392 echo "${ECHO_T}no" >&6 | Line 6545 echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 | echo "$as_me:$LINENO: checking for daylight variable" >&5 |
| echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 | echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| Line 6405 cat >>conftest.$ac_ext <<_ACEOF | Line 6558 cat >>conftest.$ac_ext <<_ACEOF |
| int | int |
| main () | main () |
| { | { |
| struct tm tm; | |
| tm.tm_gmtoff=0; | int test=daylight; |
| ; | ; |
| return 0; | return 0; |
| Line 6425 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 6578 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_TM_GMTOFF 1 | #define HAVE_DAYLIGHT 1 |
| _ACEOF | _ACEOF |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| Line 6439 echo "${ECHO_T}no" >&6 | Line 6592 echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5 | echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 |
| echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6 | echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| Line 6453 int | Line 6606 int |
| main () | main () |
| { | { |
| struct tm tm; | struct tm tm; |
| tm.tm_tzadj=0; | tm.tm_gmtoff=0; |
| ; | ; |
| return 0; | return 0; |
| Line 6472 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 6625 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_TM_TZADJ 1 | #define HAVE_TM_GMTOFF 1 |
| _ACEOF | _ACEOF |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| Line 6486 echo "${ECHO_T}no" >&6 | Line 6639 echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5 | |
| ac_ext=cc | echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6 |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| ac_ext=cc | |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | |
| echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | |
| if test -z "$CXXCPP"; then | |
| if test "${ac_cv_prog_CXXCPP+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| # Double quotes because CXXCPP needs to be expanded | |
| for CXXCPP in "$CXX -E" "/lib/cpp" | |
| do | |
| ac_preproc_ok=false | |
| for ac_cxx_preproc_warn_flag in '' yes | |
| do | |
| # Use a header file that comes with gcc, so configuring glibc | |
| # with a fresh cross-compiler works. | |
| # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| # <limits.h> exists even on freestanding compilers. | |
| # On the NeXT, cc -E runs the code through the compiler's parser, | |
| # not just through cpp. "Syntax error" is here to catch this case. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| Syntax error | |
| _ACEOF | |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } >/dev/null; then | |
| if test -s conftest.err; then | |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | |
| else | |
| ac_cpp_err= | |
| fi | |
| else | |
| ac_cpp_err=yes | |
| fi | |
| if test -z "$ac_cpp_err"; then | |
| : | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| # Broken: fails on valid input. | |
| continue | |
| fi | |
| rm -f conftest.err conftest.$ac_ext | |
| # OK, works on sane cases. Now check whether non-existent headers | |
| # can be detected and how. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <ac_nonexistent.h> | |
| _ACEOF | |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } >/dev/null; then | |
| if test -s conftest.err; then | |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | |
| else | |
| ac_cpp_err= | |
| fi | |
| else | |
| ac_cpp_err=yes | |
| fi | |
| if test -z "$ac_cpp_err"; then | |
| # Broken: success on invalid input. | |
| continue | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| # Passes both tests. | |
| ac_preproc_ok=: | |
| break | |
| fi | |
| rm -f conftest.err conftest.$ac_ext | |
| done | |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| rm -f conftest.err conftest.$ac_ext | |
| if $ac_preproc_ok; then | |
| break | |
| fi | |
| done | |
| ac_cv_prog_CXXCPP=$CXXCPP | |
| fi | |
| CXXCPP=$ac_cv_prog_CXXCPP | |
| else | |
| ac_cv_prog_CXXCPP=$CXXCPP | |
| fi | |
| echo "$as_me:$LINENO: result: $CXXCPP" >&5 | |
| echo "${ECHO_T}$CXXCPP" >&6 | |
| ac_preproc_ok=false | |
| for ac_cxx_preproc_warn_flag in '' yes | |
| do | |
| # Use a header file that comes with gcc, so configuring glibc | |
| # with a fresh cross-compiler works. | |
| # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| # <limits.h> exists even on freestanding compilers. | |
| # On the NeXT, cc -E runs the code through the compiler's parser, | |
| # not just through cpp. "Syntax error" is here to catch this case. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| Syntax error | |
| _ACEOF | |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } >/dev/null; then | |
| if test -s conftest.err; then | |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | |
| else | |
| ac_cpp_err= | |
| fi | |
| else | |
| ac_cpp_err=yes | |
| fi | |
| if test -z "$ac_cpp_err"; then | |
| : | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| # Broken: fails on valid input. | |
| continue | |
| fi | |
| rm -f conftest.err conftest.$ac_ext | |
| # OK, works on sane cases. Now check whether non-existent headers | |
| # can be detected and how. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <ac_nonexistent.h> | |
| _ACEOF | |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } >/dev/null; then | |
| if test -s conftest.err; then | |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | |
| else | |
| ac_cpp_err= | |
| fi | |
| else | |
| ac_cpp_err=yes | |
| fi | |
| if test -z "$ac_cpp_err"; then | |
| # Broken: success on invalid input. | |
| continue | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| # Passes both tests. | |
| ac_preproc_ok=: | |
| break | |
| fi | |
| rm -f conftest.err conftest.$ac_ext | |
| done | |
| # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| rm -f conftest.err conftest.$ac_ext | |
| if $ac_preproc_ok; then | |
| : | |
| else | |
| { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | |
| See \`config.log' for more details." >&5 | |
| echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | |
| See \`config.log' for more details." >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| ac_ext=cc | |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| for ac_header in new | |
| do | |
| as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
| echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
| echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| fi | |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
| else | |
| # Is the header compilable? | |
| echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
| echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| $ac_includes_default | |
| #include <$ac_header> | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_header_compiler=yes | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| ac_header_compiler=no | |
| fi | |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
| echo "${ECHO_T}$ac_header_compiler" >&6 | |
| # Is the header present? | |
| echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
| echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <$ac_header> | |
| _ACEOF | |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } >/dev/null; then | |
| if test -s conftest.err; then | |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | |
| else | |
| ac_cpp_err= | |
| fi | |
| else | |
| ac_cpp_err=yes | |
| fi | |
| if test -z "$ac_cpp_err"; then | |
| ac_header_preproc=yes | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| ac_header_preproc=no | |
| fi | |
| rm -f conftest.err conftest.$ac_ext | |
| echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
| echo "${ECHO_T}$ac_header_preproc" >&6 | |
| # So? What about this header? | |
| case $ac_header_compiler:$ac_header_preproc in | |
| yes:no ) | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
| echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
| ( | |
| cat <<\_ASBOX | |
| ## ------------------------------------ ## | |
| ## Report this to bug-autoconf@gnu.org. ## | |
| ## ------------------------------------ ## | |
| _ASBOX | |
| ) | | |
| sed "s/^/$as_me: WARNING: /" >&2 | |
| ;; | |
| no:yes ) | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
| echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
| echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
| ( | |
| cat <<\_ASBOX | |
| ## ------------------------------------ ## | |
| ## Report this to bug-autoconf@gnu.org. ## | |
| ## ------------------------------------ ## | |
| _ASBOX | |
| ) | | |
| sed "s/^/$as_me: WARNING: /" >&2 | |
| ;; | |
| esac | |
| echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
| echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| eval "$as_ac_Header=$ac_header_preproc" | |
| fi | |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
| fi | |
| if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| _ACEOF | |
| fi | |
| done | |
| echo "$as_me:$LINENO: checking whether compiler supports pragma pack" >&5 | |
| echo $ECHO_N "checking whether compiler supports pragma pack... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | #line $LINENO "configure" |
| /* confdefs.h. */ | /* confdefs.h. */ |
| Line 6877 _ACEOF | Line 6648 _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #pragma pack(1) | #include <time.h> |
| struct _1_byte { | |
| char c; | |
| }; | |
| #pragma pack() | |
| int | int |
| main () | main () |
| { | { |
| struct tm tm; | |
| tm.tm_tzadj=0; | |
| ; | ; |
| return 0; | return 0; |
| Line 6903 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 6671 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | |
| echo "$as_me:$LINENO: result: yes" >&5 | #define HAVE_TM_TZADJ 1 |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_PRAGMA_PACK | |
| _ACEOF | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| echo "$as_me:$LINENO: checking for set_new_handler" >&5 | |
| echo $ECHO_N "checking for set_new_handler... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef HAVE_NEW | |
| #include <new> | |
| #endif | |
| void failed_new() {} | |
| int | |
| main () | |
| { | |
| std::set_new_handler(failed_new); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_SET_NEW_HANDLER | |
| _ACEOF | |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
| ac_ext=c | |
| ac_cpp='$CPP $CPPFLAGS' | |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| APACHE_LIBS="$LIBS $LIBADD_DL" | |
| Line 7006 charsetsdir=$e_sysconfdir/parser3.charse | Line 6704 charsetsdir=$e_sysconfdir/parser3.charse |
| e_libdir=$libdir | e_libdir=$libdir |
| if test "$e_libdir" = "\${exec_prefix}/lib"; then | if test "$e_libdir" = "\${exec_prefix}/lib"; then |
| # Let make expand exec_prefix. | # Let make expand exec_prefix. |
| e_exec_prefix=$exec_prefix | e_exec_prefix=$exec_prefix |
| test "x$e_exec_prefix" = xNONE && e_exec_prefix=$e_prefix | test "x$e_exec_prefix" = xNONE && e_exec_prefix=$e_prefix |
| # expand apostrophed | # expand apostrophed |
| test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib" | test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib" |
| fi | fi |
| sqldriversdir=$e_libdir | sqldriversdir=$e_libdir |
| Line 7050 sqldriversdir=$e_libdir | Line 6748 sqldriversdir=$e_libdir |
| ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" | ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" |
| ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/ltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/patches/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/hook/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist" | ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/patches/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/ltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/apr-include/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13core/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist" |
| cat >confcache <<\_ACEOF | cat >confcache <<\_ACEOF |
| # This file is a shell script that caches the results of configure | # This file is a shell script that caches the results of configure |
| # tests run on this system so they can be shared between configure | # tests run on this system so they can be shared between configure |
| Line 7163 echo "$as_me: error: conditional \"am__f | Line 6861 echo "$as_me: error: conditional \"am__f |
| Usually this means the macro was only invoked conditionally." >&2;} | Usually this means the macro was only invoked conditionally." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| if test -z "${DO_NOT_LINK_LIBSTDCPP_TRUE}" && test -z "${DO_NOT_LINK_LIBSTDCPP_FALSE}"; then | |
| { { echo "$as_me:$LINENO: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined. | |
| Usually this means the macro was only invoked conditionally." >&5 | |
| echo "$as_me: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined. | |
| Usually this means the macro was only invoked conditionally." >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then | if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then |
| { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined. | { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined. |
| Usually this means the macro was only invoked conditionally." >&5 | Usually this means the macro was only invoked conditionally." >&5 |
| Line 7630 do | Line 7321 do |
| "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;; | "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;; |
| "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;; | "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;; |
| "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; |
| "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;; | |
| "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;; | |
| "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;; | |
| "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;; | |
| "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;; | |
| "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;; | |
| "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;; | "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;; |
| "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;; | "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;; |
| "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;; | "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;; |
| "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;; | "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;; |
| "src/lib/sdbm/apr-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/apr-include/Makefile" ;; | |
| "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;; | "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;; |
| "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;; | "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;; |
| "src/targets/apache13core/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13core/Makefile" ;; | |
| "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;; | "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;; |
| "src/targets/apache13/hook/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/hook/Makefile" ;; | |
| "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;; | "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;; |
| "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;; | "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;; |
| "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; | "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| Line 7791 s,@dll_extension@,$dll_extension,;t t | Line 7489 s,@dll_extension@,$dll_extension,;t t |
| s,@mysql_client@,$mysql_client,;t t | s,@mysql_client@,$mysql_client,;t t |
| s,@pgsql_client@,$pgsql_client,;t t | s,@pgsql_client@,$pgsql_client,;t t |
| s,@oracle_client@,$oracle_client,;t t | s,@oracle_client@,$oracle_client,;t t |
| s,@DO_NOT_LINK_LIBSTDCPP_TRUE@,$DO_NOT_LINK_LIBSTDCPP_TRUE,;t t | s,@CPP_LIBS@,$CPP_LIBS,;t t |
| s,@DO_NOT_LINK_LIBSTDCPP_FALSE@,$DO_NOT_LINK_LIBSTDCPP_FALSE,;t t | s,@GC_LIBS@,$GC_LIBS,;t t |
| s,@XML_INCLUDES@,$XML_INCLUDES,;t t | s,@XML_INCLUDES@,$XML_INCLUDES,;t t |
| s,@XML_LIBS@,$XML_LIBS,;t t | s,@XML_LIBS@,$XML_LIBS,;t t |
| s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t | s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t |
| Line 7806 s,@subdirs@,$subdirs,;t t | Line 7504 s,@subdirs@,$subdirs,;t t |
| s,@LIBADD_DL@,$LIBADD_DL,;t t | s,@LIBADD_DL@,$LIBADD_DL,;t t |
| s,@CPP@,$CPP,;t t | s,@CPP@,$CPP,;t t |
| s,@EGREP@,$EGREP,;t t | s,@EGREP@,$EGREP,;t t |
| s,@CXXCPP@,$CXXCPP,;t t | |
| s,@APACHE_LIBS@,$APACHE_LIBS,;t t | |
| s,@charsetsdir@,$charsetsdir,;t t | s,@charsetsdir@,$charsetsdir,;t t |
| s,@sqldriversdir@,$sqldriversdir,;t t | s,@sqldriversdir@,$sqldriversdir,;t t |
| s,@LIBOBJS@,$LIBOBJS,;t t | s,@LIBOBJS@,$LIBOBJS,;t t |