summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-08-24 22:33:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 23:01:17 +0200
commita330bab353fb1f987c61806c9bbc6a1fc2103d1e (patch)
treee8a8c7307acd86ffdbf908f4b234f9d3574f1a09 /configure.ac
parentc7170e20d0a18ec8a514b4daa53bcdbb4dcb3a05 (diff)
downloadcurl-a330bab353fb1f987c61806c9bbc6a1fc2103d1e.tar.gz
configure: Handle "MultiSSL" specially When versioning symbols
There is a mode in which libcurl is compiled with versioned symbols, depending on the active SSL backend. When multiple SSL backends are active, it does not make sense to favor one over the others, so let's not: introduce a new prefix for the case where multiple SSL backends are compiled into cURL. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e6c72f358..20b056499 100755
--- a/configure.ac
+++ b/configure.ac
@@ -2796,7 +2796,9 @@ AC_HELP_STRING([--disable-versioned-symbols], [Disable versioned symbols in shar
AC_MSG_WARN([You need an ld version supporting the --version-script option])
else
AC_MSG_RESULT(yes)
- if test "x$OPENSSL_ENABLED" = "x1"; then
+ if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
+ versioned_symbols_flavour="MULTISSL_"
+ elif test "x$OPENSSL_ENABLED" = "x1"; then
versioned_symbols_flavour="OPENSSL_"
elif test "x$GNUTLS_ENABLED" = "x1"; then
versioned_symbols_flavour="GNUTLS_"