|
|
|
@ -658,6 +658,11 @@ case $host in
|
|
|
|
|
BDB_CFLAGS="-I$bdb_prefix/include"
|
|
|
|
|
BDB_LIBS="-L$bdb_prefix/lib -ldb_cxx-4.8"
|
|
|
|
|
fi
|
|
|
|
|
openssl_prefix=$($BREW --prefix openssl 2>/dev/null)
|
|
|
|
|
if test x$openssl_prefix != x; then
|
|
|
|
|
PKG_CONFIG_PATH="$openssl_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
|
|
|
export PKG_CONFIG_PATH
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "x$use_sqlite" != xno && $BREW list --versions sqlite3 >/dev/null; then
|
|
|
|
|
export PKG_CONFIG_PATH="$($BREW --prefix sqlite3 2>/dev/null)/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
|
|
@ -1259,6 +1264,11 @@ if test x$enable_wallet != xno; then
|
|
|
|
|
AC_MSG_RESULT([$use_sqlite])
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
dnl Check for libbitcoin_crypto_avx2
|
|
|
|
|
AC_CHECK_HEADER([openssl/crypto.h],,AC_MSG_ERROR(libcrypto headers missing))
|
|
|
|
|
AC_CHECK_LIB([crypto], [main],CRYPTO_LIBS=-lcrypto, AC_MSG_ERROR(libcrypto missing))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dnl Check for libminiupnpc (optional)
|
|
|
|
|
if test x$use_upnp != xno; then
|
|
|
|
|
AC_CHECK_HEADERS(
|
|
|
|
@ -1696,6 +1706,7 @@ AC_SUBST(SQLITE_LIBS)
|
|
|
|
|
AC_SUBST(TESTDEFS)
|
|
|
|
|
AC_SUBST(MINIUPNPC_CPPFLAGS)
|
|
|
|
|
AC_SUBST(MINIUPNPC_LIBS)
|
|
|
|
|
AC_SUBST(CRYPTO_LIBS)
|
|
|
|
|
AC_SUBST(EVENT_LIBS)
|
|
|
|
|
AC_SUBST(EVENT_PTHREADS_LIBS)
|
|
|
|
|
AC_SUBST(ZMQ_LIBS)
|
|
|
|
|