cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 2/2] configure: do not add the krb5 feature twice

From: Peter Wu <peter_at_lekensteyn.nl>
Date: Mon, 10 Nov 2014 14:55:26 +0100

Signed-off-by: Peter Wu <peter_at_lekensteyn.nl>

---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1f801ad..f3cc348 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3354,7 +3354,7 @@ if test "x$USE_WINDOWS_SSPI" = "x1"; then
 fi
 
 if test "x$HAVE_GSSAPI" = "x1"; then
-  SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API krb5"
+  SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
 fi
 
 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
@@ -3362,8 +3362,8 @@ if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
   SUPPORT_FEATURES="$SUPPORT_FEATURES SPNEGO"
 fi
 
-if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
-    \( "x$USE_WINDOWS_SSPI" = "x1" \); then
+if test "x$HAVE_GSSAPI" = "x1" -o \( "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
+    "x$USE_WINDOWS_SSPI" = "x1" \); then
   SUPPORT_FEATURES="$SUPPORT_FEATURES krb5"
 fi
 
-- 
2.1.2
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-10