aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-11-20 11:37:13 +0100
committerMatthias Andree <matthias.andree@gmx.de>2021-11-20 16:28:41 +0100
commit340d00bf9910ed55163be26435f70baf65a64f9d (patch)
treee17e018b862bd73c5f1ad69032bee898f36ba83e /configure.ac
parent39d59e9da994bc62a4b8492dcd979b0c470474e7 (diff)
downloadfetchmail-340d00bf9910ed55163be26435f70baf65a64f9d.tar.gz
fetchmail-340d00bf9910ed55163be26435f70baf65a64f9d.tar.bz2
fetchmail-340d00bf9910ed55163be26435f70baf65a64f9d.zip
LibreSSL: block, due to licensing issue.
See COPYING or NEWS.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 14760f3a..ba21272d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -813,6 +813,9 @@ fi
AC_MSG_NOTICE([LIBS:] "$LIBS")
case "$LIBS" in *-lssl*|*libssl*)
+ AC_CHECK_DECLS([LIBRESSL_VERSION_NUMBER],
+ AC_MSG_ERROR([fetchmail cannot legally be linked against LibreSSL for lack of GPL2 clause 2b exception. See COPYING.]),,
+ [#include <openssl/ssl.h>])
AC_CHECK_DECLS([TLS1_3_VERSION],,
AC_MSG_WARN([Your OpenSSL version is too old and does not support TLS v1.3. Upgrade.]),
[#include <openssl/ssl.h>])