1313AC_PREREQ ( [ 2.65] )
1414
1515# Process command-line arguments and perform initialization and verification.
16- AC_INIT ( [ libbitcoin-protocol] ,
[ 3.4 .0] ,
[ [email protected] ] ) 16+ AC_INIT ( [ libbitcoin-protocol] ,
[ 3.6 .0] ,
[ [email protected] ] ) 1717
1818# Do compilation tests.
1919AC_LANG ( C++ )
@@ -146,14 +146,14 @@ AS_CASE([${with_tests}], [yes],
146146 AC_MSG_NOTICE ( [ boost_unit_test_framework_LIBS : ${boost_unit_test_framework_LIBS}] ) ] ,
147147 [ AC_SUBST ( [ boost_unit_test_framework_LIBS] , [ ] ) ] )
148148
149- # Require zmq of at least version 4.2.5 and output ${zmq_CPPFLAGS/LIBS/PKG}.
149+ # Require zmq of at least version 4.3.2 and output ${zmq_CPPFLAGS/LIBS/PKG}.
150150# ------------------------------------------------------------------------------
151- PKG_CHECK_MODULES([ zmq] , [ libzmq >= 4.2.5 ] ,
152- [ zmq_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libzmq >= 4.2.5 " 2>/dev/null`"
153- zmq_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libzmq >= 4.2.5 " 2>/dev/null`"] ,
151+ PKG_CHECK_MODULES([ zmq] , [ libzmq >= 4.3.2 ] ,
152+ [ zmq_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libzmq >= 4.3.2 " 2>/dev/null`"
153+ zmq_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libzmq >= 4.3.2 " 2>/dev/null`"] ,
154154 [ zmq_INCLUDEDIR=""
155155 zmq_OTHER_CFLAGS=""] )
156- AC_SUBST ( [ zmq_PKG] , [ 'libzmq >= 4.2.5 '] )
156+ AC_SUBST ( [ zmq_PKG] , [ 'libzmq >= 4.3.2 '] )
157157AC_SUBST ( [ zmq_CPPFLAGS] , [ ${zmq_CFLAGS}] )
158158AS_IF ( [ test x${zmq_INCLUDEDIR} != "x"] ,
159159 [ AC_SUBST ( [ zmq_ISYS_CPPFLAGS] , [ "-isystem${zmq_INCLUDEDIR} ${zmq_OTHER_CFLAGS}"] ) ] ,
@@ -170,14 +170,14 @@ AS_CASE([${enable_isystem}],[yes],
170170
171171AC_MSG_NOTICE ( [ zmq_BUILD_CPPFLAGS : ${zmq_BUILD_CPPFLAGS}] )
172172
173- # Require bitcoin of at least version 3.4 .0 and output ${bitcoin_CPPFLAGS/LIBS/PKG}.
173+ # Require bitcoin of at least version 3.6 .0 and output ${bitcoin_CPPFLAGS/LIBS/PKG}.
174174# ------------------------------------------------------------------------------
175- PKG_CHECK_MODULES([ bitcoin] , [ libbitcoin >= 3.4 .0] ,
176- [ bitcoin_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin >= 3.4 .0" 2>/dev/null`"
177- bitcoin_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin >= 3.4 .0" 2>/dev/null`"] ,
175+ PKG_CHECK_MODULES([ bitcoin] , [ libbitcoin >= 3.6 .0] ,
176+ [ bitcoin_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin >= 3.6 .0" 2>/dev/null`"
177+ bitcoin_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin >= 3.6 .0" 2>/dev/null`"] ,
178178 [ bitcoin_INCLUDEDIR=""
179179 bitcoin_OTHER_CFLAGS=""] )
180- AC_SUBST ( [ bitcoin_PKG] , [ 'libbitcoin >= 3.4 .0'] )
180+ AC_SUBST ( [ bitcoin_PKG] , [ 'libbitcoin >= 3.6 .0'] )
181181AC_SUBST ( [ bitcoin_CPPFLAGS] , [ ${bitcoin_CFLAGS}] )
182182AS_IF ( [ test x${bitcoin_INCLUDEDIR} != "x"] ,
183183 [ AC_SUBST ( [ bitcoin_ISYS_CPPFLAGS] , [ "-isystem${bitcoin_INCLUDEDIR} ${bitcoin_OTHER_CFLAGS}"] ) ] ,
0 commit comments