|
|
|
@ -1526,9 +1526,9 @@ fi
|
|
|
|
|
dnl libevent check
|
|
|
|
|
|
|
|
|
|
if test "$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench" != "nonononono"; then
|
|
|
|
|
PKG_CHECK_MODULES([EVENT], [libevent >= 2.0.21], [use_libevent=yes], [AC_MSG_ERROR([libevent version 2.0.21 or greater not found.])])
|
|
|
|
|
PKG_CHECK_MODULES([EVENT], [libevent >= 2.1.8], [use_libevent=yes], [AC_MSG_ERROR([libevent version 2.1.8 or greater not found.])])
|
|
|
|
|
if test "$TARGET_OS" != "windows"; then
|
|
|
|
|
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.0.21],, [AC_MSG_ERROR([libevent_pthreads version 2.0.21 or greater not found.])])
|
|
|
|
|
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.1.8], [], [AC_MSG_ERROR([libevent_pthreads version 2.1.8 or greater not found.])])
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "$suppress_external_warnings" != "no"; then
|
|
|
|
|