]> granicus.if.org Git - curl/commitdiff
configure: Fixed inclusion of SMB when no crypto engines available
authorSteve Holme <steve_holme@hotmail.com>
Tue, 2 Dec 2014 18:36:24 +0000 (18:36 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 2 Dec 2014 18:36:40 +0000 (18:36 +0000)
configure.ac

index ce27853f568895fab29d5abf101aaa195b707cf8..d2628d132a164673c65003d338f5b2ab815044f0 100644 (file)
@@ -3455,7 +3455,10 @@ if test "x$CURL_DISABLE_IMAP" != "x1"; then
     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAPS"
   fi
 fi
-if test "x$CURL_DISABLE_SMB" != "x1"; then
+if test "x$CURL_DISABLE_SMB" != "x1" \
+    -a "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" \
+    -a \( "x$USE_SSLEAY" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
+      -o "x$NSS_ENABLED" = "x1" -o "x$DARWINSSL_ENABLED" = "x1" \); then
   SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMB"
   if test "x$SSL_ENABLED" = "x1"; then
     SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMBS"