From a19eeaced85cfff3faab19f532b1a0d97b637705 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 6 Jan 2015 13:24:13 +0000 Subject: [PATCH] Bugfix: configure: Check for openssl/ec.h --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index c4c21eaf4..2abfd0d41 100644 --- a/configure.ac +++ b/configure.ac @@ -678,6 +678,14 @@ else fi fi +CFLAGS_TEMP="$CFLAGS" +LIBS_TEMP="$LIBS" +CFLAGS="$CFLAGS $SSL_CFLAGS $CRYPTO_CFLAGS" +LIBS="$LIBS $SSL_LIBS $CRYPTO_LIBS" +AC_CHECK_HEADER([openssl/ec.h],, AC_MSG_ERROR(OpenSSL ec header missing),) +CFLAGS="$CFLAGS_TEMP" +LIBS="$LIBS_TEMP" + BITCOIN_QT_PATH_PROGS([PROTOC], [protoc],$protoc_bin_path) AC_MSG_CHECKING([whether to build bitcoind])