--- parser3/configure 2026/10/07 21:51:17 1.243 +++ parser3/configure 2026/10/08 19:09:05 1.245 @@ -7047,6 +7047,15 @@ then : AMQP_LIBS="-lrabbitmq" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5 printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;} + + ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default" +if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes +then : + +printf "%s\n" "#define WITH_AMQP_SSL /**/" >>confdefs.h + +fi + else AMQP_INCLUDES="-I$AMQP/include" if test -f $AMQP/lib/librabbitmq.la; then @@ -7094,22 +7103,6 @@ rm -f core conftest.err conftest.$ac_obj LIBS=$SAVE_LIBS - SAVE_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $AMQP_INCLUDES" - ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default" -if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes -then : - -else case e in #( - e) -printf "%s\n" "#define WITHOUT_AMQP_SSL /**/" >>confdefs.h - ;; -esac -fi - - CPPFLAGS=$SAVE_CPPFLAGS - - printf "%s\n" "#define WITH_AMQP /**/" >>confdefs.h @@ -7132,6 +7125,19 @@ then : REDIS_LIBS="-lhiredis" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-redis value was not specified, hoping linker would find it" >&5 printf "%s\n" "$as_me: WARNING: --with-redis value was not specified, hoping linker would find it" >&2;} + + ac_fn_c_check_header_compile "$LINENO" "hiredis/hiredis_ssl.h" "ac_cv_header_hiredis_hiredis_ssl_h" "#include +" +if test "x$ac_cv_header_hiredis_hiredis_ssl_h" = xyes +then : + + +printf "%s\n" "#define WITH_REDIS_SSL /**/" >>confdefs.h + + REDIS_LIBS="-lhiredis_ssl $REDIS_LIBS" + +fi + else REDIS_INCLUDES="-I$REDIS/include" if test -f $REDIS/lib/libhiredis.a; then