From: Fabian Keil Date: Tue, 12 Jan 2021 06:46:07 +0000 (+0100) Subject: configure.in: Bail out if OpenSSL and mbedTLS are enabled at the same time X-Git-Tag: v_3_0_30~118 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=f595f4f127826531ecf8571949e7ce634d2fb6da;hp=88340d07b0c6dc77a780610a23265f7bd47ecf3b configure.in: Bail out if OpenSSL and mbedTLS are enabled at the same time --- diff --git a/configure.in b/configure.in index c21d9df1..96adb9de 100644 --- a/configure.in +++ b/configure.in @@ -1165,6 +1165,10 @@ AC_HELP_STRING([--without-openssl], [Disable OpenSSL/LibreSSL detection]), OPT_OPENSSL=$withval) if test X"$OPT_OPENSSL" != Xno; then + if test X"$OPT_MBEDTLS" != Xno; then + AC_MSG_ERROR([OpenSSL and mbedTLS support can't be enabled at the same time]) + fi + if test "$PORTNAME" != "win32"; then AC_CHECK_LIB(crypto, CRYPTO_new_ex_data, [], [AC_MSG_ERROR([library 'crypto' is required for OpenSSL])]) FOUND_SSL_LIB="no"