|
|
| version 1.206, 2020/12/11 15:46:13 | version 1.232, 2025/11/06 22:09:34 |
|---|---|
| Line 1 | Line 1 |
| #! /bin/sh | #! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.69 for parser 3.4.6b. | # Generated by GNU Autoconf 2.69 for parser 3.5.2b. |
| # | # |
| # | # |
| # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| Line 591 MAKEFLAGS= | Line 591 MAKEFLAGS= |
| # Identity of this package. | # Identity of this package. |
| PACKAGE_NAME='parser' | PACKAGE_NAME='parser' |
| PACKAGE_TARNAME='parser' | PACKAGE_TARNAME='parser' |
| PACKAGE_VERSION='3.4.6b' | PACKAGE_VERSION='3.5.2b' |
| PACKAGE_STRING='parser 3.4.6b' | PACKAGE_STRING='parser 3.5.2b' |
| PACKAGE_BUGREPORT='' | PACKAGE_BUGREPORT='' |
| PACKAGE_URL='' | PACKAGE_URL='' |
| Line 688 COMPILE_APACHE_MODULE_TRUE | Line 688 COMPILE_APACHE_MODULE_TRUE |
| APACHE_CFLAGS | APACHE_CFLAGS |
| APACHE_INC | APACHE_INC |
| APACHE | APACHE |
| AMQP_LIBS | |
| AMQP_INCLUDES | |
| MIME_LIBS | MIME_LIBS |
| MIME_INCLUDES | MIME_INCLUDES |
| XML_LIBS | XML_LIBS |
| Line 814 with_gc | Line 816 with_gc |
| with_pcre | with_pcre |
| with_xml | with_xml |
| with_mailreceive | with_mailreceive |
| with_amqp | |
| with_sendmail | with_sendmail |
| with_apache | with_apache |
| with_pic | with_pic |
| Line 1394 if test "$ac_init_help" = "long"; then | Line 1397 if test "$ac_init_help" = "long"; then |
| # Omit some internal or obsolete options to make the list less imposing. | # Omit some internal or obsolete options to make the list less imposing. |
| # This message is too long to be a string in the A/UX 3.1 sh. | # This message is too long to be a string in the A/UX 3.1 sh. |
| cat <<_ACEOF | cat <<_ACEOF |
| \`configure' configures parser 3.4.6b to adapt to many kinds of systems. | \`configure' configures parser 3.5.2b to adapt to many kinds of systems. |
| Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
| Line 1465 fi | Line 1468 fi |
| if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then |
| case $ac_init_help in | case $ac_init_help in |
| short | recursive ) echo "Configuration of parser 3.4.6b:";; | short | recursive ) echo "Configuration of parser 3.5.2b:";; |
| esac | esac |
| cat <<\_ACEOF | cat <<\_ACEOF |
| Line 1510 Optional Packages: | Line 1513 Optional Packages: |
| Gnome XML libraries are installed | Gnome XML libraries are installed |
| --with-mailreceive=DIR is the directory where | --with-mailreceive=DIR is the directory where |
| Gnome MIME library is installed | Gnome MIME library is installed |
| --with-amqp=DIR DIR is the directory where | |
| RabbitMQ C library (librabbitmq) is installed | |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | \"--with-sendmail=COMMAND\" forces this command to send mail. |
| example: \"--with-sendmail=/usr/sbin/sendmail -t\" | example: \"--with-sendmail=/usr/sbin/sendmail -t\" |
| (makes parser ignore user-defined sendmail commands) | (makes parser ignore user-defined sendmail commands) |
| Line 1609 fi | Line 1614 fi |
| test -n "$ac_init_help" && exit $ac_status | test -n "$ac_init_help" && exit $ac_status |
| if $ac_init_version; then | if $ac_init_version; then |
| cat <<\_ACEOF | cat <<\_ACEOF |
| parser configure 3.4.6b | parser configure 3.5.2b |
| generated by GNU Autoconf 2.69 | generated by GNU Autoconf 2.69 |
| Copyright (C) 2012 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
| Line 2306 cat >config.log <<_ACEOF | Line 2311 cat >config.log <<_ACEOF |
| This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
| running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
| It was created by parser $as_me 3.4.6b, which was | It was created by parser $as_me 3.5.2b, which was |
| generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| $ $0 $@ | $ $0 $@ |
| Line 2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| am__api_version='1.16' | am__api_version='1.16' |
| ac_aux_dir= | ac_aux_dir= |
| Line 2862 program_transform_name=`$as_echo "$progr | Line 2868 program_transform_name=`$as_echo "$progr |
| am_aux_dir=`cd "$ac_aux_dir" && pwd` | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| if test x"${MISSING+set}" != xset; then | if test x"${MISSING+set}" != xset; then |
| case $am_aux_dir in | MISSING="\${SHELL} '$am_aux_dir/missing'" |
| *\ * | *\ *) | |
| MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| *) | |
| MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| esac | |
| fi | fi |
| # Use eval to expand $SHELL | # Use eval to expand $SHELL |
| if eval "$MISSING --is-lightweight"; then | if eval "$MISSING --is-lightweight"; then |
| Line 3172 fi | Line 3173 fi |
| # Define the identity of the package. | # Define the identity of the package. |
| PACKAGE='parser' | PACKAGE='parser' |
| VERSION='3.4.6b' | VERSION='3.5.2b' |
| cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
| Line 4909 $as_echo "$dll_extension" >&6; } | Line 4910 $as_echo "$dll_extension" >&6; } |
| if test "${with_build_warnings+set}" = set; then : | if test "${with_build_warnings+set}" = set; then : |
| withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5 | withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5 |
| $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;} | $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;} |
| CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses" | CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses" |
| fi | fi |
| Line 5064 $as_echo_n "checking for libgc... " >&6; | Line 5065 $as_echo_n "checking for libgc... " >&6; |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $GC_LIBS" | LIBS="$LIBS $GC_LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| extern int GC_dont_gc; | extern int GC_dont_gc; |
| int | int |
| Line 5088 $as_echo "no" >&6; } | Line 5090 $as_echo "no" >&6; } |
| as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5 | as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5 |
| fi | fi |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext |
| LIBS=$SAVE_LIBS | LIBS=$SAVE_LIBS |
| fi | fi |
| Line 5102 fi | Line 5106 fi |
| if test "${with_pcre+set}" = set; then : | if test "${with_pcre+set}" = set; then : |
| withval=$with_pcre; | withval=$with_pcre; |
| PCRE=$withval | PCRE=$withval |
| PCRE_INCLUDES="-I$PCRE/include" | |
| PCRE_LIBS="$PCRE/lib/libpcre.la" | |
| if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then | |
| PCRE_OK="yes" | |
| else | |
| PCRE_LIBS="-L$PCRE/lib -lpcre" | |
| fi | |
| if test "$PCRE" = "yes"; then | if test "$PCRE" = "yes"; then |
| PCRE="" | PCRE="" |
| PCRE_LIBS="-lpcre" | |
| PCRE_INCLUDES="" | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5 |
| $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;} | $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;} |
| else | |
| PCRE_INCLUDES="-I$PCRE/include" | |
| if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then | |
| PCRE_OK="yes" | |
| PCRE_LIBS="$PCRE/lib/libpcre.la" | |
| else | |
| if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then | |
| PCRE_OK="yes" | |
| PCRE_LIBS="$PCRE/lib/libpcre2-8.la" | |
| $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h | |
| else | |
| PCRE_LIBS="-L$PCRE/lib" | |
| fi | |
| fi | |
| fi | fi |
| else | else |
| PCRE_LIBS="-lpcre" | |
| PCRE_INCLUDES="" | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5 |
| $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;} | $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;} |
| Line 5130 fi | Line 5139 fi |
| if test -z "$PCRE_OK"; then | if test -z "$PCRE_OK"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5 |
| $as_echo_n "checking for prce... " >&6; } | $as_echo_n "checking for pcre2... " >&6; } |
| SAVE_LIBS=$LIBS | |
| LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #define PCRE2_CODE_UNIT_WIDTH 8 | |
| #include <pcre2.h> | |
| int | |
| main () | |
| { | |
| void *v=pcre2_general_context_create(0,0,0); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO"; then : | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | |
| PCRE_LIBS="$PCRE_LIBS -lpcre2-8" | |
| $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h | |
| PCRE_OK="yes" | |
| else | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| $as_echo "no" >&6; } | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| fi | |
| if test -z "$PCRE_OK"; then | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5 | |
| $as_echo_n "checking for pcre... " >&6; } | |
| PCRE_LIBS="$PCRE_LIBS -lpcre" | |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES" | LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <pcre.h> | #include <pcre.h> |
| int | int |
| Line 5158 $as_echo "no" >&6; } | Line 5208 $as_echo "no" >&6; } |
| as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5 | as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5 |
| fi | fi |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext |
| LIBS=$SAVE_LIBS | LIBS=$SAVE_LIBS |
| fi | fi |
| Line 5197 $as_echo "$as_me: WARNING: --with-xml va | Line 5249 $as_echo "$as_me: WARNING: --with-xml va |
| $as_echo_n "checking for xml... " >&6; } | $as_echo_n "checking for xml... " >&6; } |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $XML_LIBS $XML_INCLUDES" | LIBS="$LIBS $XML_LIBS $XML_INCLUDES" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <libxslt/xslt.h> | #include <libxslt/xslt.h> |
| int | int |
| Line 5221 $as_echo "no" >&6; } | Line 5274 $as_echo "no" >&6; } |
| as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5 | as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5 |
| fi | fi |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext |
| LIBS=$SAVE_LIBS | LIBS=$SAVE_LIBS |
| fi | fi |
| Line 5276 $as_echo "$as_me: WARNING: --with-mailre | Line 5331 $as_echo "$as_me: WARNING: --with-mailre |
| $as_echo_n "checking for mime... " >&6; } | $as_echo_n "checking for mime... " >&6; } |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES" | LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <gmime/gmime.h> | #include <gmime/gmime.h> |
| int | int |
| Line 5300 $as_echo "no" >&6; } | Line 5356 $as_echo "no" >&6; } |
| as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5 | as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5 |
| fi | fi |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext |
| LIBS=$SAVE_LIBS | LIBS=$SAVE_LIBS |
| fi | fi |
| Line 5317 fi | Line 5375 fi |
| # Check whether --with-amqp was given. | |
| if test "${with_amqp+set}" = set; then : | |
| withval=$with_amqp; | |
| AMQP=$withval | |
| if test -z "$AMQP" -o "$AMQP" = "yes"; then | |
| AMQP_INCLUDES="" | |
| AMQP_LIBS="-lrabbitmq" | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5 | |
| $as_echo "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;} | |
| else | |
| AMQP_INCLUDES="-I$AMQP/include" | |
| if test -f $AMQP/lib/librabbitmq.la; then | |
| AMQP_LIBS="$AMQP/lib/librabbitmq.la" | |
| else | |
| AMQP_LIBS="-L$AMQP/lib -lrabbitmq" | |
| fi | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5 | |
| $as_echo_n "checking for librabbitmq... " >&6; } | |
| SAVE_LIBS=$LIBS | |
| LIBS="$LIBS $AMQP_LIBS $AMQP_INCLUDES" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <amqp.h> | |
| int | |
| main () | |
| { | |
| amqp_connection_state_t c = 0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO"; then : | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | |
| else | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| $as_echo "no" >&6; } | |
| if test -z "$AMQP"; then | |
| as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5 | |
| else | |
| as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5 | |
| fi | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| $as_echo "#define WITH_AMQP /**/" >>confdefs.h | |
| fi | |
| # Check whether --with-sendmail was given. | # Check whether --with-sendmail was given. |
| if test "${with_sendmail+set}" = set; then : | if test "${with_sendmail+set}" = set; then : |
| withval=$with_sendmail; | withval=$with_sendmail; |
| Line 18148 rm -rf conftest* | Line 18271 rm -rf conftest* |
| fi | fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| $as_echo_n "checking for ANSI C header files... " >&6; } | |
| if ${ac_cv_header_stdc+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <stdlib.h> | |
| #include <stdarg.h> | |
| #include <string.h> | |
| #include <float.h> | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_header_stdc=yes | |
| else | |
| ac_cv_header_stdc=no | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| if test $ac_cv_header_stdc = yes; then | |
| # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <string.h> | |
| _ACEOF | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| $EGREP "memchr" >/dev/null 2>&1; then : | |
| else | |
| ac_cv_header_stdc=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| if test $ac_cv_header_stdc = yes; then | |
| # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <stdlib.h> | |
| _ACEOF | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| $EGREP "free" >/dev/null 2>&1; then : | |
| else | |
| ac_cv_header_stdc=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| if test $ac_cv_header_stdc = yes; then | |
| # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| if test "$cross_compiling" = yes; then : | |
| : | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <ctype.h> | |
| #include <stdlib.h> | |
| #if ((' ' & 0x0FF) == 0x020) | |
| # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| #else | |
| # define ISLOWER(c) \ | |
| (('a' <= (c) && (c) <= 'i') \ | |
| || ('j' <= (c) && (c) <= 'r') \ | |
| || ('s' <= (c) && (c) <= 'z')) | |
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| #endif | |
| #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| int | |
| main () | |
| { | |
| int i; | |
| for (i = 0; i < 256; i++) | |
| if (XOR (islower (i), ISLOWER (i)) | |
| || toupper (i) != TOUPPER (i)) | |
| return 2; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_run "$LINENO"; then : | |
| else | |
| ac_cv_header_stdc=no | |
| fi | |
| rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| fi | |
| fi | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| $as_echo "$ac_cv_header_stdc" >&6; } | |
| if test $ac_cv_header_stdc = yes; then | |
| $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | |
| $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | |
| if ${ac_cv_header_time+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| #include <sys/time.h> | |
| #include <time.h> | |
| int | |
| main () | |
| { | |
| if ((struct tm *) 0) | |
| return 0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_header_time=yes | |
| else | |
| ac_cv_header_time=no | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | |
| $as_echo "$ac_cv_header_time" >&6; } | |
| if test $ac_cv_header_time = yes; then | |
| $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | |
| fi | |
| for ac_header in stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h strings.h inttypes.h stdint.h unistd.h | for ac_header in stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h strings.h inttypes.h stdint.h unistd.h |
| do : | do : |
| as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| Line 18309 fi | Line 18284 fi |
| done | done |
| for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h | for ac_header in time.h sys/time.h assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h pthread.h |
| do : | do : |
| as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| Line 18673 fi | Line 18648 fi |
| for ac_func in flock _locking fcntl lockf ftruncate fchmod | for ac_func in flock fcntl lockf ftruncate fchmod |
| do : | do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| Line 18685 _ACEOF | Line 18660 _ACEOF |
| fi | fi |
| done | done |
| for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv | for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog |
| do : | do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| Line 18703 done | Line 18678 done |
| pa_func=sigsetjmp | pa_func=sigsetjmp |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5 |
| $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; } | $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #ifdef HAVE_SETJMP_H | #ifdef HAVE_SETJMP_H |
| Line 18732 else | Line 18708 else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_ext=cpp | ac_ext=cpp |
| ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| Line 18751 do | Line 18729 do |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5 |
| $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; } | $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #ifdef HAVE_MATH_H | #ifdef HAVE_MATH_H |
| Line 18779 else | Line 18758 else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| done | done |
| ac_ext=c | ac_ext=c |
| Line 18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | Line 18797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5 |
| $as_echo_n "checking for timezone variable... " >&6; } | $as_echo_n "checking for timezone variable... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <time.h> | #include <time.h> |
| int | int |
| Line 18834 $as_echo "yes" >&6; } | Line 18816 $as_echo "yes" >&6; } |
| else | else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_ext=c | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| Line 18845 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 18829 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 |
| $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } | $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <time.h> | #include <time.h> |
| int | int |
| Line 18863 $as_echo "yes" >&6; } | Line 18848 $as_echo "yes" >&6; } |
| else | else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5 |
| $as_echo_n "checking for tm_tzadj in struct tm... " >&6; } | $as_echo_n "checking for tm_tzadj in struct tm... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <time.h> | #include <time.h> |
| int | int |
| Line 18886 $as_echo "yes" >&6; } | Line 18874 $as_echo "yes" >&6; } |
| else | else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5 |
| $as_echo_n "checking for gettid... " >&6; } | $as_echo_n "checking for gettid... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <sys/types.h> | #include <sys/types.h> |
| Line 18912 $as_echo "yes" >&6; } | Line 18903 $as_echo "yes" >&6; } |
| else | else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } | $as_echo "no" >&6; } |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 | |
| $as_echo_n "checking for TLS... " >&6; } | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| __thread int i=0; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| $as_echo "#define HAVE_TLS 1" >>confdefs.h | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | |
| else | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| $as_echo "no" >&6; } | |
| fi | fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5 |
| $as_echo_n "checking for 0..9999 year date range support... " >&6; } | $as_echo_n "checking for 0..9999 year date range support... " >&6; } |
| if test "$cross_compiling" = yes; then : | if test "$cross_compiling" = yes; then : |
| Line 18959 fi | Line 18978 fi |
| ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" | ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" |
| Line 19058 DEFS=-DHAVE_CONFIG_H | Line 19078 DEFS=-DHAVE_CONFIG_H |
| ac_libobjs= | ac_libobjs= |
| ac_ltlibobjs= | ac_ltlibobjs= |
| U= | |
| for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| # 1. Remove the extension, and $U if already installed. | # 1. Remove the extension, and $U if already installed. |
| ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| Line 19527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri | Line 19548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri |
| # report actual input values of CONFIG_FILES etc. instead of their | # report actual input values of CONFIG_FILES etc. instead of their |
| # values after options handling. | # values after options handling. |
| ac_log=" | ac_log=" |
| This file was extended by parser $as_me 3.4.6b, which was | This file was extended by parser $as_me 3.5.2b, which was |
| generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| CONFIG_FILES = $CONFIG_FILES | CONFIG_FILES = $CONFIG_FILES |
| Line 19593 _ACEOF | Line 19614 _ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| ac_cs_version="\\ | ac_cs_version="\\ |
| parser config.status 3.4.6b | parser config.status 3.5.2b |
| configured by $0, generated by GNU Autoconf 2.69, | configured by $0, generated by GNU Autoconf 2.69, |
| with options \\"\$ac_cs_config\\" | with options \\"\$ac_cs_config\\" |
| Line 20809 $as_echo X/"$am_mf" | | Line 20830 $as_echo X/"$am_mf" | |
| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| as_fn_error $? "Something went wrong bootstrapping makefile fragments | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| for automatic dependency tracking. Try re-running configure with the | for automatic dependency tracking. If GNU make was not used, consider |
| re-running the configure script with MAKE=\"gmake\" (or whatever is | |
| necessary). You can also try re-running configure with the | |
| '--disable-dependency-tracking' option to at least be able to build | '--disable-dependency-tracking' option to at least be able to build |
| the package (albeit without support for automatic dependency tracking). | the package (albeit without support for automatic dependency tracking). |
| See \`config.log' for more details" "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } |