aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-02 18:36:24 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-02 18:36:40 +0000
commit2ad1df7327e192c69bb555b805a968cca882e35d (patch)
tree0b6c1c6bb0b1e43868a6fd60bd131e660de75a6a
parent228f1ee9f2e5eb16adca86a3d4f5062d5cfabcf3 (diff)
configure: Fixed inclusion of SMB when no crypto engines available
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ce27853f5..d2628d132 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"