aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-01-06 13:24:13 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-01-07 15:59:54 +0000
commita19eeaced85cfff3faab19f532b1a0d97b637705 (patch)
tree1d74405164119ba60dddd0b08a67a8bf6ca730ec
parentfe925e221ffcde1c810830a8985fa984254ca328 (diff)
Bugfix: configure: Check for openssl/ec.h
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c4c21eaf4f..2abfd0d419 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])