From 0c65678e71580174686118d60b5947e2e2202605 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Nov 2017 08:57:36 +0100 Subject: curl-config: add --ssl-backends Lists all SSL backends that were enabled at build-time. Suggested-by: Oleg Pudeyev Fixes #2128 --- curl-config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'curl-config.in') 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, , et al. +# Copyright (C) 2001 - 2017, Daniel Stenberg, , 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 -- cgit v1.2.1