@@ -1633,12 +1633,9 @@ dnl ZMQ check
1633
1633
1634
1634
if test "$use_zmq" = "yes"; then
1635
1635
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] )
1639
1638
use_zmq=no] )
1640
- else
1641
- AC_DEFINE_UNQUOTED ( [ ENABLE_ZMQ] , [ 0] , [ Define to 1 to enable ZMQ functions] )
1642
1639
fi
1643
1640
1644
1641
if test "$use_zmq" = "yes"; then
@@ -1650,6 +1647,8 @@ if test "$use_zmq" = "yes"; then
1650
1647
esac
1651
1648
fi
1652
1649
1650
+ AM_CONDITIONAL([ ENABLE_ZMQ] , [ test "$use_zmq" = "yes"] )
1651
+
1653
1652
dnl libmultiprocess library check
1654
1653
1655
1654
libmultiprocess_found=no
@@ -1844,8 +1843,6 @@ if test "$bitcoin_enable_qt" != "no"; then
1844
1843
fi
1845
1844
fi
1846
1845
1847
- AM_CONDITIONAL([ ENABLE_ZMQ] , [ test "$use_zmq" = "yes"] )
1848
-
1849
1846
AC_MSG_CHECKING ( [ whether to build test_bitcoin] )
1850
1847
if test "$use_tests" = "yes"; then
1851
1848
if test "$enable_fuzz" = "yes"; then
0 commit comments