summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-11 18:47:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-11 18:47:22 +0000
commitdf3ca59116bff161c0fa44b1af7915dc8c1da20e (patch)
tree78cd642bed5cdd48235ce22d3f2753caa55db001 /curl-config.in
parent3ca4509ae958d972c71bb72c7e351164b7e45145 (diff)
downloadcurl-df3ca59116bff161c0fa44b1af7915dc8c1da20e.tar.gz
Dan Fandrich:
Here's a stab at a consolidation of the SSL detection heuristics into configure. Source files aren't changed by this patch, except for setup.h and the various config*.h files. Within the configure script, OPENSSL_ENABLED is used to determine if SSL is being used or not, and outside configure, USE_SSLEAY means the same thing; this could be even further unified some day. Now, when SSL is not detected, configure skips the various checks that are dependent on SSL, speeding up the configure process and avoiding complications with cross compiles. I also updated all the architecture- specific config files I could see, but I couldn't test them.
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/curl-config.in b/curl-config.in
index bc8a0128c..ef780273f 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -45,19 +45,19 @@ while test $# -gt 0; do
case "$1" in
--ca)
- echo @CURL_CA_BUNDLE@
+ echo "@CURL_CA_BUNDLE@"
;;
--cc)
- echo @CC@
+ echo "@CC@"
;;
--prefix)
- echo $prefix
+ echo "$prefix"
;;
--feature)
- if test "@OPENSSL_ENABLED@" = "1"; then
+ if test "@USE_SSLEAY@" = "1"; then
echo "SSL"
fi
if test "@KRB4_ENABLED@" = "1"; then