From ad9b069230edc216ac1797946b1d881b0d8c1ee0 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 30 Jul 2026 02:24:58 +0200 Subject: [PATCH] am disable if not supported, show warn --- configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5c83942fbc..a27e28d79d 100644 --- a/configure.ac +++ b/configure.ac @@ -4599,7 +4599,6 @@ AS_HELP_STRING([--disable-httpsig],[Disable HTTP Message Signatures support (exp [ case "$enableval" in no) AC_MSG_RESULT(no) - AC_DEFINE(CURL_DISABLE_HTTPSIG, 1, [to disable HTTP Message Signatures support]) want_httpsig="no" ;; *) @@ -4608,10 +4607,18 @@ AS_HELP_STRING([--disable-httpsig],[Disable HTTP Message Signatures support (exp ;; esac ], AC_MSG_RESULT(no) - AC_DEFINE(CURL_DISABLE_HTTPSIG, 1, [to disable HTTP Message Signatures support]) want_httpsig="no" ) +if test "$want_httpsig" = "yes"; then + if test "$OPENSSL_ENABLED" = "1" || test "$WOLFSSL_ENABLED" = "1"; then + AC_MSG_WARN([HTTPSIG requires OpenSSL or wolfSSL. HTTPSIG support disabled.]) + else + AC_DEFINE(CURL_DISABLE_HTTPSIG, 1, [to disable HTTP Message Signatures support]) + want_httpsig="no" + fi +fi + dnl ************************************************************ dnl disable NTLM support dnl