--- parser3/configure 2025/01/25 15:48:44 1.229 +++ parser3/configure 2025/11/06 22:10:00 1.233 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for parser 3.5.1. +# Generated by GNU Autoconf 2.69 for parser 3.5.2b. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -591,8 +591,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='parser' PACKAGE_TARNAME='parser' -PACKAGE_VERSION='3.5.1' -PACKAGE_STRING='parser 3.5.1' +PACKAGE_VERSION='3.5.2b' +PACKAGE_STRING='parser 3.5.2b' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -688,6 +688,8 @@ COMPILE_APACHE_MODULE_TRUE APACHE_CFLAGS APACHE_INC APACHE +AMQP_LIBS +AMQP_INCLUDES MIME_LIBS MIME_INCLUDES XML_LIBS @@ -814,6 +816,7 @@ with_gc with_pcre with_xml with_mailreceive +with_amqp with_sendmail with_apache with_pic @@ -1394,7 +1397,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.5.1 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]... @@ -1465,7 +1468,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parser 3.5.1:";; + short | recursive ) echo "Configuration of parser 3.5.2b:";; esac cat <<\_ACEOF @@ -1510,6 +1513,8 @@ Optional Packages: Gnome XML libraries are installed --with-mailreceive=DIR is the directory where 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. example: \"--with-sendmail=/usr/sbin/sendmail -t\" (makes parser ignore user-defined sendmail commands) @@ -1609,7 +1614,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -parser configure 3.5.1 +parser configure 3.5.2b generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2306,7 +2311,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.5.1, which was +It was created by parser $as_me 3.5.2b, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3168,7 +3173,7 @@ fi # Define the identity of the package. PACKAGE='parser' - VERSION='3.5.1' + VERSION='3.5.2b' cat >>confdefs.h <<_ACEOF @@ -5370,6 +5375,71 @@ 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 +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. if test "${with_sendmail+set}" = set; then : withval=$with_sendmail; @@ -19478,7 +19548,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.5.1, 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 CONFIG_FILES = $CONFIG_FILES @@ -19544,7 +19614,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.5.1 +parser config.status 3.5.2b configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"