summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-10-29 22:13:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-10-29 22:13:00 +0000
commit57d2fb41d093a62f0e1ddfdfb94f136a0f4ab3a4 (patch)
tree545c725c10a9a6577397d109573feb95e1badfc0 /curl-config.in
parent0f77fe55b6efbf090b30a3612b314cd2f8e27b3a (diff)
downloadcurl-57d2fb41d093a62f0e1ddfdfb94f136a0f4ab3a4.tar.gz
Based on one of those bug reports that are intercepted by a distro's bug
tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191), I now made curl-config --features and --protocols show the correct output when built with NSS.
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/curl-config.in b/curl-config.in
index 157837143..ce98bdee3 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -83,7 +83,7 @@ while test $# -gt 0; do
if test "@USE_SSLEAY@" = "1"; then
echo "SSL"
NTLM=1 # OpenSSL implies NTLM
- elif test -n "@USE_GNUTLS@"; then
+ elif test -n "@SSL_ENABLED@"; then
echo "SSL"
fi
if test "@KRB4_ENABLED@" = "1"; then
@@ -113,13 +113,13 @@ while test $# -gt 0; do
--protocols)
if test "@CURL_DISABLE_HTTP@" != "1"; then
echo "HTTP"
- if test "@USE_SSLEAY@" = "1"; then
+ if test "@SSL_ENABLED@" = "1"; then
echo "HTTPS"
fi
fi
if test "@CURL_DISABLE_FTP@" != "1"; then
echo "FTP"
- if test "@USE_SSLEAY@" = "1"; then
+ if test "@SSL_ENABLED@" = "1"; then
echo "FTPS"
fi
fi