@@ -1633,12 +1633,9 @@ dnl ZMQ check
16331633
16341634if test "$use_zmq" = "yes"; then
16351635 PKG_CHECK_MODULES([ ZMQ] , [ libzmq >= 4] ,
1636- AC_DEFINE ( [ ENABLE_ZMQ] , [ 1] , [ Define to 1 to enable ZMQ functions] ) ,
1637- [ AC_DEFINE ( [ ENABLE_ZMQ] , [ 0] , [ Define to 1 to enable ZMQ functions] )
1638- AC_MSG_WARN ( [ libzmq version 4.x or greater not found, disabling] )
1636+ AC_DEFINE ( [ ENABLE_ZMQ] , [ 1] , [ Define this symbol to enable ZMQ functions] ) ,
1637+ [ AC_MSG_WARN ( [ libzmq version 4.x or greater not found, disabling] )
16391638 use_zmq=no] )
1640- else
1641- AC_DEFINE_UNQUOTED ( [ ENABLE_ZMQ] , [ 0] , [ Define to 1 to enable ZMQ functions] )
16421639fi
16431640
16441641if test "$use_zmq" = "yes"; then
@@ -1650,6 +1647,8 @@ if test "$use_zmq" = "yes"; then
16501647 esac
16511648fi
16521649
1650+ AM_CONDITIONAL([ ENABLE_ZMQ] , [ test "$use_zmq" = "yes"] )
1651+
16531652dnl libmultiprocess library check
16541653
16551654libmultiprocess_found=no
@@ -1844,8 +1843,6 @@ if test "$bitcoin_enable_qt" != "no"; then
18441843 fi
18451844fi
18461845
1847- AM_CONDITIONAL([ ENABLE_ZMQ] , [ test "$use_zmq" = "yes"] )
1848-
18491846AC_MSG_CHECKING ( [ whether to build test_bitcoin] )
18501847if test "$use_tests" = "yes"; then
18511848 if test "$enable_fuzz" = "yes"; then
0 commit comments