|
|
| version 1.151, 2012/06/15 19:31:12 | version 1.161, 2013/07/21 14:47:04 |
|---|---|
| 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.68 for parser 3.4.2. | # Generated by GNU Autoconf 2.68 for parser 3.4.3b. |
| # | # |
| # | # |
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| Line 571 MAKEFLAGS= | Line 571 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.2' | PACKAGE_VERSION='3.4.3b' |
| PACKAGE_STRING='parser 3.4.2' | PACKAGE_STRING='parser 3.4.3b' |
| PACKAGE_BUGREPORT='' | PACKAGE_BUGREPORT='' |
| PACKAGE_URL='' | PACKAGE_URL='' |
| Line 776 enable_option_checking | Line 776 enable_option_checking |
| enable_dependency_tracking | enable_dependency_tracking |
| with_build_warnings | with_build_warnings |
| with_assertions | with_assertions |
| with_pathlink | |
| with_sjlj_exceptions | with_sjlj_exceptions |
| enable_safe_mode | enable_safe_mode |
| enable_execs | enable_execs |
| Line 784 enable_stringstream | Line 783 enable_stringstream |
| with_gc | with_gc |
| with_pcre | with_pcre |
| with_xml | with_xml |
| with_glib_config | with_mailreceive |
| with_shared_mailreceive | |
| with_static_mailreceive | |
| with_sendmail | with_sendmail |
| with_apache | with_apache |
| with_pic | with_pic |
| Line 1358 if test "$ac_init_help" = "long"; then | Line 1355 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.2 to adapt to many kinds of systems. | \`configure' configures parser 3.4.3b to adapt to many kinds of systems. |
| Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
| Line 1428 fi | Line 1425 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.2:";; | short | recursive ) echo "Configuration of parser 3.4.3b:";; |
| esac | esac |
| cat <<\_ACEOF | cat <<\_ACEOF |
| Line 1456 Optional Packages: | Line 1453 Optional Packages: |
| --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-build-warnings to enable build-time compiler warnings if gcc is used |
| --with-assertions to enable assertions | --with-assertions to enable assertions |
| --with-pathlink=LKEY put dynamic libraries paths to binary | |
| using linker key (-R, -rpath-link) | |
| --with-sjlj-exceptions enable simple 'throw' from dynamic library | --with-sjlj-exceptions enable simple 'throw' from dynamic library |
| --with-gc=D D is the directory where | --with-gc=D D is the directory where |
| Boehm garbage collecting library is installed | Boehm garbage collecting library is installed |
| Line 1465 Optional Packages: | Line 1460 Optional Packages: |
| PCRE library is installed | PCRE library is installed |
| --with-xml=D D is the directory where | --with-xml=D D is the directory where |
| Gnome XML libraries are installed | Gnome XML libraries are installed |
| --with-glib-config=FILE FILE is glib library | --with-mailreceive=D is the directory where |
| configuration file (search for glib*-config) | Gnome MIME library is installed |
| --with-shared-mailreceive=D is the directory where | |
| Gnome MIME library is installed (shared lib) | |
| --with-static-mailreceive=D is the directory where | |
| 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. |
| 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 1570 fi | Line 1561 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.2 | parser configure 3.4.3b |
| generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.68 |
| Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2010 Free Software Foundation, Inc. |
| Line 2066 $as_echo "$ac_res" >&6; } | Line 2057 $as_echo "$ac_res" >&6; } |
| } # ac_fn_c_check_type | } # ac_fn_c_check_type |
| # ac_fn_c_find_uintX_t LINENO BITS VAR | |
| # ------------------------------------ | |
| # Finds an unsigned integer type with width BITS, setting cache variable VAR | |
| # accordingly. | |
| ac_fn_c_find_uintX_t () | |
| { | |
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | |
| $as_echo_n "checking for uint$2_t... " >&6; } | |
| if eval \${$3+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| eval "$3=no" | |
| # Order is important - never check a type that is potentially smaller | |
| # than half of the expected target width. | |
| for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | |
| 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| $ac_includes_default | |
| int | |
| main () | |
| { | |
| static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | |
| test_array [0] = 0 | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| case $ac_type in #( | |
| uint$2_t) : | |
| eval "$3=yes" ;; #( | |
| *) : | |
| eval "$3=\$ac_type" ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| if eval test \"x\$"$3"\" = x"no"; then : | |
| else | |
| break | |
| fi | |
| done | |
| fi | |
| eval ac_res=\$$3 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| $as_echo "$ac_res" >&6; } | |
| eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| } # ac_fn_c_find_uintX_t | |
| # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | |
| # ---------------------------------------------------- | |
| # Tries to find if the field MEMBER exists in type AGGR, after including | |
| # INCLUDES, setting cache variable VAR accordingly. | |
| ac_fn_c_check_member () | |
| { | |
| as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | |
| $as_echo_n "checking for $2.$3... " >&6; } | |
| if eval \${$4+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| $5 | |
| int | |
| main () | |
| { | |
| static $2 ac_aggr; | |
| if (ac_aggr.$3) | |
| return 0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| eval "$4=yes" | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| $5 | |
| int | |
| main () | |
| { | |
| static $2 ac_aggr; | |
| if (sizeof ac_aggr.$3) | |
| return 0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| eval "$4=yes" | |
| else | |
| eval "$4=no" | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| eval ac_res=\$$4 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| $as_echo "$ac_res" >&6; } | |
| eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| } # ac_fn_c_check_member | |
| # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| # ------------------------------------------------------- | # ------------------------------------------------------- |
| # Tests whether HEADER exists, giving a warning if it cannot be compiled using | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| Line 2156 cat >config.log <<_ACEOF | Line 2257 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.2, which was | It was created by parser $as_me 3.4.3b, which was |
| generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.68. Invocation command line was |
| $ $0 $@ | $ $0 $@ |
| Line 2974 fi | Line 3075 fi |
| # Define the identity of the package. | # Define the identity of the package. |
| PACKAGE='parser' | PACKAGE='parser' |
| VERSION='3.4.2' | VERSION='3.4.3b' |
| cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
| Line 4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5 |
| $as_echo_n "checking for dynamic-link library extension... " >&6; } | $as_echo_n "checking for dynamic-link library extension... " >&6; } |
| case "$host_os" in | case "$host_os" in |
| cygwin) | *cygwin* ) dll_extension=dll;; |
| dll_extension=dll | * ) dll_extension=so |
| ;; | |
| *) | |
| dll_extension=so | |
| esac | esac |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5 |
| $as_echo "$dll_extension" >&6; } | $as_echo "$dll_extension" >&6; } |
| Line 4620 fi | Line 4718 fi |
| # Check whether --with-pathlink was given. | |
| if test "${with_pathlink+set}" = set; then : | |
| withval=$with_pathlink; LD_PATHLINK=$withval | |
| fi | |
| # Check whether --with-sjlj-exceptions was given. | # Check whether --with-sjlj-exceptions was given. |
| if test "${with_sjlj_exceptions+set}" = set; then : | if test "${with_sjlj_exceptions+set}" = set; then : |
| withval=$with_sjlj_exceptions; | withval=$with_sjlj_exceptions; |
| Line 4897 fi | Line 4987 fi |
| # Check whether --with-glib-config was given. | |
| if test "${with_glib_config+set}" = set; then : | |
| withval=$with_glib_config; GLIB_CONFIG=$withval | |
| fi | |
| # Check whether --with-shared-mailreceive was given. | |
| if test "${with_shared_mailreceive+set}" = set; then : | |
| withval=$with_shared_mailreceive; | |
| GNOME_MIME=$withval | |
| MIMEBIN="$GNOME_MIME/bin" | |
| MIMEINC="$GNOME_MIME/include" | |
| MIMELIB="$GNOME_MIME/lib" | |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | |
| as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5 | |
| fi | |
| $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h | |
| LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | # Check whether --with-mailreceive was given. |
| if test "${with_mailreceive+set}" = set; then : | |
| if test -z "$GLIB_CONFIG"; then | withval=$with_mailreceive; |
| GLIB_CONFIG=$XMLBIN/glib-config | MIME=$withval |
| if test \! -x $GLIB_CONFIG; then | GLIB="glib-2.0" |
| GLIB_CONFIG=$XMLBIN/glib2-config | GMIME="gmime-2.4" |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | if test -z "$MIME" -o "$MIME" = "yes"; then |
| MIME="" | |
| MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null` | |
| MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null` | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5 | |
| $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;} | |
| else | |
| MIME_INCLUDES="-I$MIME/include/$GMIME" | |
| MIME_LIBS="-l$GMIME" | |
| if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then | |
| MIME_LIBS="$MIME/lib/lib$GMIME.la" | |
| if test -f $MIME/lib/lib$GLIB.la; then | |
| MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include" | |
| else | |
| GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null` | |
| MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES" | |
| fi | fi |
| MIME_OK="yes" | |
| fi | fi |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | |
| MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" | |
| if test \! -z "$LD_PATHLINK"; then | |
| MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" | |
| fi | |
| fi | |
| if test -z "$MIME_OK"; then | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5 | |
| $as_echo_n "checking for mime... " >&6; } | |
| SAVE_LIBS=$LIBS | |
| LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <gmime/gmime.h> | |
| int | |
| main () | |
| { | |
| guint v=gmime_major_version; | |
| ; | |
| 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; } | |
| # Check whether --with-static-mailreceive was given. | else |
| if test "${with_static_mailreceive+set}" = set; then : | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| withval=$with_static_mailreceive; | $as_echo "no" >&6; } |
| GNOME_MIME=$withval | if test -z "$MIME"; then |
| MIMEBIN="$GNOME_MIME/bin" | as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5 |
| MIMEINC="$GNOME_MIME/include" | else |
| MIMELIB="$GNOME_MIME/lib" | as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5 |
| fi | |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | fi |
| as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5 | rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| fi | fi |
| $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h | $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h |
| if test -z "$GLIB_CONFIG"; then | |
| GLIB_CONFIG=$XMLBIN/glib-config | |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=$XMLBIN/glib2-config | |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | |
| MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la" | |
| fi | fi |
| Line 4983 fi | Line 5061 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 17358 _ACEOF | Line 17437 _ACEOF |
| fi | fi |
| ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" | |
| if test "x$ac_cv_type_ssize_t" = xyes; then : | |
| else | |
| ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" | cat >>confdefs.h <<_ACEOF |
| if test "x$ac_cv_type_off_t" = xyes; then : | #define ssize_t int |
| _ACEOF | |
| fi | |
| ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" | |
| case $ac_cv_c_uint8_t in #( | |
| no|yes) ;; #( | |
| *) | |
| $as_echo "#define _UINT8_T 1" >>confdefs.h | |
| else | |
| cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
| #define off_t long | #define uint8_t $ac_cv_c_uint8_t |
| _ACEOF | |
| ;; | |
| esac | |
| ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | |
| case $ac_cv_c_uint32_t in #( | |
| no|yes) ;; #( | |
| *) | |
| $as_echo "#define _UINT32_T 1" >>confdefs.h | |
| cat >>confdefs.h <<_ACEOF | |
| #define uint32_t $ac_cv_c_uint32_t | |
| _ACEOF | |
| ;; | |
| esac | |
| ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" | |
| case $ac_cv_c_uint64_t in #( | |
| no|yes) ;; #( | |
| *) | |
| $as_echo "#define _UINT64_T 1" >>confdefs.h | |
| cat >>confdefs.h <<_ACEOF | |
| #define uint64_t $ac_cv_c_uint64_t | |
| _ACEOF | |
| ;; | |
| esac | |
| ac_header_dirent=no | |
| for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | |
| as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | |
| $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | |
| if eval \${$as_ac_Header+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| #include <$ac_hdr> | |
| int | |
| main () | |
| { | |
| if ((DIR *) 0) | |
| return 0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| eval "$as_ac_Header=yes" | |
| else | |
| eval "$as_ac_Header=no" | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| eval ac_res=\$$as_ac_Header | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| $as_echo "$ac_res" >&6; } | |
| if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| cat >>confdefs.h <<_ACEOF | |
| #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | |
| _ACEOF | _ACEOF |
| ac_header_dirent=$ac_hdr; break | |
| fi | fi |
| ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" | done |
| if test "x$ac_cv_type_ssize_t" = xyes; then : | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| if test $ac_header_dirent = dirent.h; then | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | |
| $as_echo_n "checking for library containing opendir... " >&6; } | |
| if ${ac_cv_search_opendir+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| ac_func_search_save_LIBS=$LIBS | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char opendir (); | |
| int | |
| main () | |
| { | |
| return opendir (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| for ac_lib in '' dir; do | |
| if test -z "$ac_lib"; then | |
| ac_res="none required" | |
| else | |
| ac_res=-l$ac_lib | |
| LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| fi | |
| if ac_fn_c_try_link "$LINENO"; then : | |
| ac_cv_search_opendir=$ac_res | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext | |
| if ${ac_cv_search_opendir+:} false; then : | |
| break | |
| fi | |
| done | |
| if ${ac_cv_search_opendir+:} false; then : | |
| else | |
| ac_cv_search_opendir=no | |
| fi | |
| rm conftest.$ac_ext | |
| LIBS=$ac_func_search_save_LIBS | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | |
| $as_echo "$ac_cv_search_opendir" >&6; } | |
| ac_res=$ac_cv_search_opendir | |
| if test "$ac_res" != no; then : | |
| test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
| fi | |
| else | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | |
| $as_echo_n "checking for library containing opendir... " >&6; } | |
| if ${ac_cv_search_opendir+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| ac_func_search_save_LIBS=$LIBS | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char opendir (); | |
| int | |
| main () | |
| { | |
| return opendir (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| for ac_lib in '' x; do | |
| if test -z "$ac_lib"; then | |
| ac_res="none required" | |
| else | |
| ac_res=-l$ac_lib | |
| LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| fi | |
| if ac_fn_c_try_link "$LINENO"; then : | |
| ac_cv_search_opendir=$ac_res | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext | |
| if ${ac_cv_search_opendir+:} false; then : | |
| break | |
| fi | |
| done | |
| if ${ac_cv_search_opendir+:} false; then : | |
| else | else |
| ac_cv_search_opendir=no | |
| fi | |
| rm conftest.$ac_ext | |
| LIBS=$ac_func_search_save_LIBS | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | |
| $as_echo "$ac_cv_search_opendir" >&6; } | |
| ac_res=$ac_cv_search_opendir | |
| if test "$ac_res" != no; then : | |
| test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
| fi | |
| fi | |
| ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" " | |
| #include <sys/types.h> | |
| #ifdef HAVE_DIRENT_H | |
| # include <dirent.h> | |
| #else | |
| # define dirent direct | |
| # ifdef HAVE_SYS_NDIR_H | |
| # include <sys/ndir.h> | |
| # endif | |
| # ifdef HAVE_SYS_DIR_H | |
| # include <sys/dir.h> | |
| # endif | |
| # ifdef HAVE_NDIR_H | |
| # include <ndir.h> | |
| # endif | |
| #endif | |
| " | |
| if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then : | |
| cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF |
| #define ssize_t int | #define HAVE_STRUCT_DIRENT_D_TYPE 1 |
| _ACEOF | _ACEOF |
| 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 "$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; } | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| if ${ac_cv_header_time+:} false; then : | if ${ac_cv_header_time+:} false; then : |
| Line 17420 $as_echo "#define TIME_WITH_SYS_TIME 1" | Line 17828 $as_echo "#define TIME_WITH_SYS_TIME 1" |
| fi | fi |
| for ac_header in assert.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 |
| signal.h \ | do : |
| unistd.h \ | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| process.h \ | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| stddef.h \ | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| stdarg.h \ | cat >>confdefs.h <<_ACEOF |
| fcntl.h \ | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| sys/stat.h \ | _ACEOF |
| io.h \ | |
| stdio.h \ | fi |
| errno.h \ | |
| ctype.h \ | done |
| math.h \ | |
| crypt.h \ | for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h |
| time.h sys/time.h \ | do : |
| string.h \ | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| direct.h \ | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| setjmp.h \ | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| memory.h \ | cat >>confdefs.h <<_ACEOF |
| limits.h \ | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| sys/file.h \ | _ACEOF |
| sys/locking.h \ | |
| sys/types.h \ | fi |
| sys/select.h \ | |
| sys/resource.h \ | done |
| winsock.h \ | |
| sys/socket.h \ | |
| netinet/in.h \ | |
| arpa/inet.h \ | |
| netdb.h | |
| for ac_header in errno.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.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 17463 fi | Line 17867 fi |
| done | done |
| for ac_header in winsock.h sys/socket.h netinet/in.h arpa/inet.h netdb.h | |
| do : | |
| 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" | |
| if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| cat >>confdefs.h <<_ACEOF | |
| #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| _ACEOF | |
| fi | |
| done | |
| Line 17830 fi | Line 18245 fi |
| for ac_func in flock \ | for ac_func in flock _locking fcntl lockf ftruncate fchmod |
| _locking \ | do : |
| fcntl \ | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| lockf \ | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| ftruncate \ | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| fchmod \ | cat >>confdefs.h <<_ACEOF |
| getrusage \ | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| gettimeofday \ | _ACEOF |
| crypt \ | |
| sigsetjmp \ | |
| siglongjmp \ | |
| unsetenv | |
| fi | |
| done | |
| for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv | |
| 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 17856 done | Line 18271 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; } |
| Line 17893 rm -f core conftest.err conftest.$ac_obj | Line 18309 rm -f core conftest.err conftest.$ac_obj |
| 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 17901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | Line 18318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| for pa_func in trunc \ | for pa_func in trunc round sign |
| round \ | |
| sign | |
| do | 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 |
| Line 17965 done | Line 18379 done |
| { $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 |
| Line 17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ | Line 18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ |
| int | int |
| main () | main () |
| { | { |
| time_t test=timezone; | time_t test=timezone; |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : | if ac_fn_c_try_compile "$LINENO"; then : |
| $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h | $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | $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 |
| Line 17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ | Line 18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ |
| int | int |
| main () | main () |
| { | { |
| int test=daylight; | int test=daylight; |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : | if ac_fn_c_try_compile "$LINENO"; then : |
| $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h | $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | $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 |
| Line 18025 cat confdefs.h - <<_ACEOF >conftest.$ac_ | Line 18434 cat confdefs.h - <<_ACEOF >conftest.$ac_ |
| int | int |
| main () | main () |
| { | { |
| struct tm tm; | struct tm tm; tm.tm_gmtoff=0; |
| tm.tm_gmtoff=0; | |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : | if ac_fn_c_try_compile "$LINENO"; then : |
| $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | $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 |
| Line 18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ | Line 18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ |
| int | int |
| main () | main () |
| { | { |
| struct tm tm; | struct tm tm; tm.tm_tzadj=0; |
| tm.tm_tzadj=0; | |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : | if ac_fn_c_try_compile "$LINENO"; then : |
| $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h | $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| $as_echo "yes" >&6; } | $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 |
| Line 18075 rm -f core conftest.err conftest.$ac_obj | Line 18478 rm -f core conftest.err conftest.$ac_obj |
| 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 18663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri | Line 19051 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.2, which was | This file was extended by parser $as_me 3.4.3b, which was |
| generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.68. Invocation command line was |
| CONFIG_FILES = $CONFIG_FILES | CONFIG_FILES = $CONFIG_FILES |
| Line 18729 _ACEOF | Line 19117 _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.2 | parser config.status 3.4.3b |
| configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.68, |
| with options \\"\$ac_cs_config\\" | with options \\"\$ac_cs_config\\" |