--- parser3/configure 2012/07/17 08:20:00 1.154 +++ parser3/configure 2013/07/16 14:38:42 1.158 @@ -1,6 +1,6 @@ #! /bin/sh # 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, @@ -571,8 +571,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parser' PACKAGE_TARNAME='parser' -PACKAGE_VERSION='3.4.2' -PACKAGE_STRING='parser 3.4.2' +PACKAGE_VERSION='3.4.3b' +PACKAGE_STRING='parser 3.4.3b' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1355,7 +1355,7 @@ if test "$ac_init_help" = "long"; then # 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. 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]... @@ -1425,7 +1425,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parser 3.4.2:";; + short | recursive ) echo "Configuration of parser 3.4.3b:";; esac cat <<\_ACEOF @@ -1561,7 +1561,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parser configure 3.4.2 +parser configure 3.4.3b generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2057,6 +2057,59 @@ $as_echo "$ac_res" >&6; } } # 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_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using @@ -2147,7 +2200,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while 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 $ $0 $@ @@ -2965,7 +3018,7 @@ fi # Define the identity of the package. PACKAGE='parser' - VERSION='3.4.2' + VERSION='3.4.3b' cat >>confdefs.h <<_ACEOF @@ -4575,11 +4628,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5 $as_echo_n "checking for dynamic-link library extension... " >&6; } case "$host_os" in -cygwin) - dll_extension=dll - ;; -*) - dll_extension=so + *cygwin* ) dll_extension=dll;; + * ) dll_extension=so esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5 $as_echo "$dll_extension" >&6; } @@ -4885,6 +4935,7 @@ fi if test "${with_mailreceive+set}" = set; then : withval=$with_mailreceive; MIME=$withval + GLIB="glib-2.0" GMIME="gmime-2.4" if test -z "$MIME" -o "$MIME" = "yes"; then @@ -4894,10 +4945,16 @@ if test "${with_mailreceive+set}" = set; { $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 -I$MIME/include/glib-2.0" + 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 MIME_OK="yes" fi fi @@ -17323,6 +17380,30 @@ _ACEOF 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 + +cat >>confdefs.h <<_ACEOF +#define ssize_t int +_ACEOF + +fi + +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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 @@ -17406,8 +17487,6 @@ done - - case "$host" in *-freebsd4*) @@ -17842,10 +17921,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -for pa_func in trunc \ -round \ -sign - +for pa_func in trunc round sign do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5 @@ -17914,17 +17990,14 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ int main () { - time_t test=timezone; - ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $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; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 @@ -17940,17 +18013,14 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ int main () { - int test=daylight; - ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $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; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 @@ -17966,17 +18036,14 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ int main () { -struct tm tm; -tm.tm_gmtoff=0; - +struct tm tm; tm.tm_gmtoff=0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $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; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 @@ -17992,17 +18059,14 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ int main () { -struct tm tm; -tm.tm_tzadj=0; - +struct tm tm; tm.tm_tzadj=0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $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; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 @@ -18017,20 +18081,6 @@ rm -f core conftest.err conftest.$ac_obj - - - - - - - - - - - - - - ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" @@ -18604,7 +18654,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. 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 CONFIG_FILES = $CONFIG_FILES @@ -18670,7 +18720,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -parser config.status 3.4.2 +parser config.status 3.4.3b configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"