|
|
@ -687,6 +687,12 @@ if test x$use_pkgconfig = xyes; then |
|
|
|
[ |
|
|
|
PKG_CHECK_MODULES([SSL], [libssl],, [AC_MSG_ERROR(openssl not found.)]) |
|
|
|
PKG_CHECK_MODULES([CRYPTO], [libcrypto],,[AC_MSG_ERROR(libcrypto not found.)]) |
|
|
|
if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests != xnononono; then |
|
|
|
PKG_CHECK_MODULES([EVENT], [libevent],, [AC_MSG_ERROR(libevent not found.)]) |
|
|
|
if test x$TARGET_OS != xwindows; then |
|
|
|
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads],, [AC_MSG_ERROR(libevent_pthreads not found.)]) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$use_zmq" = "xyes"; then |
|
|
|
PKG_CHECK_MODULES([ZMQ],[libzmq >= 4], |
|
|
@ -709,6 +715,14 @@ else |
|
|
|
AC_CHECK_HEADER([openssl/ssl.h],, AC_MSG_ERROR(libssl headers missing),) |
|
|
|
AC_CHECK_LIB([ssl], [main],SSL_LIBS=-lssl, AC_MSG_ERROR(libssl missing)) |
|
|
|
|
|
|
|
if test x$build_bitcoin_utils$build_bitcoind$bitcoin_enable_qt$use_tests != xnononono; then |
|
|
|
AC_CHECK_HEADER([event2/event.h],, AC_MSG_ERROR(libevent headers missing),) |
|
|
|
AC_CHECK_LIB([event],[main],EVENT_LIBS=-levent,AC_MSG_ERROR(libevent missing)) |
|
|
|
if test x$TARGET_OS != xwindows; then |
|
|
|
AC_CHECK_LIB([event_pthreads],[main],EVENT_PTHREADS_LIBS=-levent_pthreads,AC_MSG_ERROR(libevent_pthreads missing)) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$use_zmq" = "xyes"; then |
|
|
|
AC_CHECK_HEADER([zmq.h], |
|
|
|
[AC_DEFINE([ENABLE_ZMQ],[1],[Define to 1 to enable ZMQ functions])], |
|
|
|