2008-01-28 21:00:10 +00:00
|
|
|
diff -up curl-7.18.0/curl-config.in.curl-config curl-7.18.0/curl-config.in
|
|
|
|
--- curl-7.18.0/curl-config.in.curl-config 2008-01-28 21:39:08.000000000 +0100
|
|
|
|
+++ curl-7.18.0/curl-config.in 2008-01-28 21:46:36.000000000 +0100
|
|
|
|
@@ -57,6 +57,8 @@
|
2007-10-11 14:56:46 +00:00
|
|
|
usage 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
+USE_SSL="@USE_SSLEAY@@USE_GNUTLS@@USE_NSS@"
|
|
|
|
+
|
|
|
|
while test $# -gt 0; do
|
|
|
|
case "$1" in
|
|
|
|
# this deals with options in the style
|
2008-01-28 21:00:10 +00:00
|
|
|
@@ -81,9 +83,9 @@
|
2007-10-11 14:56:46 +00:00
|
|
|
|
|
|
|
--feature|--features)
|
|
|
|
if test "@USE_SSLEAY@" = "1"; then
|
|
|
|
- echo "SSL"
|
|
|
|
NTLM=1 # OpenSSL implies NTLM
|
2008-01-28 21:00:10 +00:00
|
|
|
- elif test -n "@SSL_ENABLED@"; then
|
|
|
|
+ fi
|
2007-10-11 14:56:46 +00:00
|
|
|
+ if test -n "$USE_SSL"; then
|
|
|
|
echo "SSL"
|
|
|
|
fi
|
|
|
|
if test "@KRB4_ENABLED@" = "1"; then
|
2008-01-28 21:00:10 +00:00
|
|
|
@@ -113,13 +115,13 @@
|
2007-10-11 14:56:46 +00:00
|
|
|
--protocols)
|
|
|
|
if test "@CURL_DISABLE_HTTP@" != "1"; then
|
|
|
|
echo "HTTP"
|
2008-01-28 21:00:10 +00:00
|
|
|
- if test "@SSL_ENABLED@" = "1"; then
|
2007-10-11 14:56:46 +00:00
|
|
|
+ if test "$USE_SSL" = "1"; then
|
|
|
|
echo "HTTPS"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test "@CURL_DISABLE_FTP@" != "1"; then
|
|
|
|
echo "FTP"
|
2008-01-28 21:00:10 +00:00
|
|
|
- if test "@SSL_ENABLED@" = "1"; then
|
2007-10-11 14:56:46 +00:00
|
|
|
+ if test "$USE_SSL" = "1"; then
|
|
|
|
echo "FTPS"
|
|
|
|
fi
|
|
|
|
fi
|