Bugfix: configure: Define default for use_libevent

This commit is contained in:
Luke Dashjr committed 2022-06-05 21:48:22 +00:00
1 parent 30308cc380
commit f0f5cd79b5
1 file changed
+1
+1
View File
@@ -1506,6 +1506,7 @@ fi
dnl libevent check dnl libevent check
use_libevent=no
if test "$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench" != "nonononono"; then 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.0.21], [use_libevent=yes], [AC_MSG_ERROR([libevent version 2.0.21 or greater not found.])])
if test "$TARGET_OS" != "windows"; then if test "$TARGET_OS" != "windows"; then