summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-30 08:57:36 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-12-06 00:12:48 +0100
commit0c65678e71580174686118d60b5947e2e2202605 (patch)
treed10d6c98b6199db9da0485afeefb64d128fb5fca /curl-config.in
parentea3a5d07dc5d71306c60ad4fd2b8c2a3ccb57d6a (diff)
downloadcurl-0c65678e71580174686118d60b5947e2e2202605.tar.gz
curl-config: add --ssl-backends
Lists all SSL backends that were enabled at build-time. Suggested-by: Oleg Pudeyev Fixes #2128
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/curl-config.in b/curl-config.in
index af484b445..2f958ca94 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2001 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2001 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -44,6 +44,7 @@ Available values for OPTION include:
--libs library linking information
--prefix curl install prefix
--protocols newline separated list of enabled protocols
+ --ssl-backends output the SSL backends libcurl was built to support
--static-libs static libcurl library linking information
--version output version information
--vernum output the version information as a number (hexadecimal)
@@ -153,6 +154,9 @@ while test $# -gt 0; do
echo ${CURLLIBDIR}-lcurl
fi
;;
+ --ssl-backends)
+ echo "@SSL_BACKENDS@"
+ ;;
--static-libs)
if test "X@ENABLE_STATIC@" != "Xno" ; then