]> granicus.if.org Git - curl/commitdiff
configure: Fixed NTLM missing from features when CURL_DISABLE_HTTP defined
authorSteve Holme <steve_holme@hotmail.com>
Sun, 9 Nov 2014 12:58:07 +0000 (12:58 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 9 Nov 2014 13:11:00 +0000 (13:11 +0000)
configure.ac

index bde0011c598bcd1c334c5ea89d9dc475195b8c65..d37fd92fbdbf29ecfe8e2d3fb481ad0c12af8767 100644 (file)
@@ -3373,17 +3373,19 @@ if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
   SUPPORT_FEATURES="$SUPPORT_FEATURES krb5"
 fi
 
-if test "x$CURL_DISABLE_HTTP" != "x1" -a \
-    "x$CURL_DISABLE_CRYPTO_AUTH" != "x1"; then
+if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1"; then
   if test "x$USE_SSLEAY" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
       -o "x$GNUTLS_ENABLED" = "x1" -o "x$NSS_ENABLED" = "x1" \
       -o "x$DARWINSSL_ENABLED" = "x1"; then
     SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM"
-    if test "x$NTLM_WB_ENABLED" = "x1"; then
+
+    if test "x$CURL_DISABLE_HTTP" != "x1" -a \
+        "x$NTLM_WB_ENABLED" = "x1"; then
       SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM_WB"
     fi
   fi
 fi
+
 if test "x$USE_TLS_SRP" = "x1"; then
   SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
 fi