summaryrefslogtreecommitdiffstats
path: root/package/libcurl/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libcurl/Config.in')
-rw-r--r--package/libcurl/Config.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in
index 21c2ee2b7f..9c62539e4d 100644
--- a/package/libcurl/Config.in
+++ b/package/libcurl/Config.in
@@ -19,4 +19,36 @@ config BR2_PACKAGE_LIBCURL_VERBOSE
help
Enable verbose text strings
+config BR2_PACKAGE_LIBCURL_TLS_SUPPORT
+ bool
+ default y if BR2_PACKAGE_OPENSSL
+ default y if BR2_PACKAGE_GNUTLS
+ default y if BR2_PACKAGE_LIBNSS
+ default y if BR2_PACKAGE_MBEDTLS
+
+choice
+ prompt "SSL/TLS library to use"
+ depends on BR2_PACKAGE_LIBCURL_TLS_SUPPORT
+
+config BR2_PACKAGE_LIBCURL_OPENSSL
+ bool "OpenSSL"
+ depends on BR2_PACKAGE_OPENSSL
+
+config BR2_PACKAGE_LIBCURL_GNUTLS
+ bool "GnuTLS"
+ depends on BR2_PACKAGE_GNUTLS
+
+config BR2_PACKAGE_LIBCURL_LIBNSS
+ bool "NSS"
+ depends on BR2_PACKAGE_LIBNSS
+
+config BR2_PACKAGE_LIBCURL_MBEDTLS
+ bool "mbed TLS"
+ depends on BR2_PACKAGE_MBEDTLS
+
+endchoice
+
+comment "A TLS library is needed for SSL/TLS support"
+ depends on !BR2_PACKAGE_LIBCURL_TLS_SUPPORT
+
endif
OpenPOWER on IntegriCloud