projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88340d0
)
configure.in: Bail out if OpenSSL and mbedTLS are enabled at the same time
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 12 Jan 2021 06:46:07 +0000
(07:46 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 13 Jan 2021 08:58:17 +0000
(09:58 +0100)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
c21d9df
..
96adb9d
100644
(file)
--- 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"