diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-06-10 08:08:46 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-06-10 08:08:59 +0200 |
| commit | d9a94b70096dee0428a24adba07c0f2608ce3ee7 (patch) | |
| tree | 0e9f68045aeec416e492f7b9bef9affd2ff262f3 | |
| parent | Merge pull request #6239 (diff) | |
| parent | configure: Detect (and reject) LibreSSL (diff) | |
| download | discoin-d9a94b70096dee0428a24adba07c0f2608ce3ee7.tar.xz discoin-d9a94b70096dee0428a24adba07c0f2608ce3ee7.zip | |
Merge pull request #6244
a5a81f7 configure: Detect (and reject) LibreSSL (Luke Dashjr)
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 05f2426d3..61b6a314a 100644 --- a/configure.ac +++ b/configure.ac @@ -679,6 +679,14 @@ else fi fi +AC_CHECK_LIB([crypto],[RAND_egd],[],[ + AC_ARG_WITH([libressl], + [AS_HELP_STRING([--with-libressl],[Build with system LibreSSL (default is no; DANGEROUS; NOT SUPPORTED)])], + [AC_MSG_WARN([Detected LibreSSL: This is NOT supported, and may break consensus compatibility!])], + [AC_MSG_ERROR([Detected LibreSSL: This is NOT supported, and may break consensus compatibility!])] + ) +]) + CFLAGS_TEMP="$CFLAGS" LIBS_TEMP="$LIBS" CFLAGS="$CFLAGS $SSL_CFLAGS $CRYPTO_CFLAGS" |