mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:33:32 +03:00
am disable if not supported, show warn
This commit is contained in:
parent
c155cbc638
commit
ad9b069230
1 changed files with 9 additions and 2 deletions
11
configure.ac
11
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue