]> granicus.if.org Git - curl/commitdiff
configure: Handle "MultiSSL" specially When versioning symbols
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 24 Aug 2017 20:33:19 +0000 (22:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Aug 2017 21:01:17 +0000 (23:01 +0200)
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>
configure.ac

index e6c72f358fba43f51235f913c45a798580f23d99..20b05649915f3e2998b074f72675177ff63f48d7 100755 (executable)
@@ -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_"