1313AC_PREREQ ( [ 2.65] )
1414
1515# Process command-line arguments and perform initialization and verification.
16- AC_INIT ( [ libbitcoin-client] ,
[ 3.7 .0] ,
[ [email protected] ] ) 16+ AC_INIT ( [ libbitcoin-client] ,
[ 3.8 .0] ,
[ [email protected] ] ) 1717
1818# Do compilation tests.
1919AC_LANG ( C++ )
@@ -258,13 +258,13 @@ AS_CASE([${with_tests}], [yes],
258258 AC_MSG_NOTICE ( [ boost_unit_test_framework_LIBS : ${boost_unit_test_framework_LIBS}] ) ] ,
259259 [ AC_SUBST ( [ boost_unit_test_framework_LIBS] , [ ] ) ] )
260260
261- # Require bitcoin-system of at least version 3.7 .0 and output ${bitcoin_system_CPPFLAGS/LIBS/PKG}.
261+ # Require bitcoin-system of at least version 3.8 .0 and output ${bitcoin_system_CPPFLAGS/LIBS/PKG}.
262262# ------------------------------------------------------------------------------
263- PKG_CHECK_MODULES([ bitcoin_system] , [ libbitcoin-system >= 3.7 .0] ,
264- [ bitcoin_system_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin-system >= 3.7 .0" 2>/dev/null`"
265- bitcoin_system_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin-system >= 3.7 .0" 2>/dev/null`"] ,
266- [ AC_MSG_ERROR ( [ libbitcoin-system >= 3.7 .0 is required but was not found.] ) ] )
267- AC_SUBST ( [ bitcoin_system_PKG] , [ 'libbitcoin-system >= 3.7 .0'] )
263+ PKG_CHECK_MODULES([ bitcoin_system] , [ libbitcoin-system >= 3.8 .0] ,
264+ [ bitcoin_system_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin-system >= 3.8 .0" 2>/dev/null`"
265+ bitcoin_system_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin-system >= 3.8 .0" 2>/dev/null`"] ,
266+ [ AC_MSG_ERROR ( [ libbitcoin-system >= 3.8 .0 is required but was not found.] ) ] )
267+ AC_SUBST ( [ bitcoin_system_PKG] , [ 'libbitcoin-system >= 3.8 .0'] )
268268AC_SUBST ( [ bitcoin_system_CPPFLAGS] , [ ${bitcoin_system_CFLAGS}] )
269269AS_IF ( [ test x${bitcoin_system_INCLUDEDIR} != "x"] ,
270270 [ AC_SUBST ( [ bitcoin_system_ISYS_CPPFLAGS] , [ "-isystem${bitcoin_system_INCLUDEDIR} ${bitcoin_system_OTHER_CFLAGS}"] ) ] ,
@@ -281,13 +281,13 @@ AS_CASE([${enable_isystem}],[yes],
281281
282282AC_MSG_NOTICE ( [ bitcoin_system_BUILD_CPPFLAGS : ${bitcoin_system_BUILD_CPPFLAGS}] )
283283
284- # Require bitcoin-protocol of at least version 3.7 .0 and output ${bitcoin_protocol_CPPFLAGS/LIBS/PKG}.
284+ # Require bitcoin-protocol of at least version 3.8 .0 and output ${bitcoin_protocol_CPPFLAGS/LIBS/PKG}.
285285# ------------------------------------------------------------------------------
286- PKG_CHECK_MODULES([ bitcoin_protocol] , [ libbitcoin-protocol >= 3.7 .0] ,
287- [ bitcoin_protocol_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin-protocol >= 3.7 .0" 2>/dev/null`"
288- bitcoin_protocol_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin-protocol >= 3.7 .0" 2>/dev/null`"] ,
289- [ AC_MSG_ERROR ( [ libbitcoin-protocol >= 3.7 .0 is required but was not found.] ) ] )
290- AC_SUBST ( [ bitcoin_protocol_PKG] , [ 'libbitcoin-protocol >= 3.7 .0'] )
286+ PKG_CHECK_MODULES([ bitcoin_protocol] , [ libbitcoin-protocol >= 3.8 .0] ,
287+ [ bitcoin_protocol_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libbitcoin-protocol >= 3.8 .0" 2>/dev/null`"
288+ bitcoin_protocol_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libbitcoin-protocol >= 3.8 .0" 2>/dev/null`"] ,
289+ [ AC_MSG_ERROR ( [ libbitcoin-protocol >= 3.8 .0 is required but was not found.] ) ] )
290+ AC_SUBST ( [ bitcoin_protocol_PKG] , [ 'libbitcoin-protocol >= 3.8 .0'] )
291291AC_SUBST ( [ bitcoin_protocol_CPPFLAGS] , [ ${bitcoin_protocol_CFLAGS}] )
292292AS_IF ( [ test x${bitcoin_protocol_INCLUDEDIR} != "x"] ,
293293 [ AC_SUBST ( [ bitcoin_protocol_ISYS_CPPFLAGS] , [ "-isystem${bitcoin_protocol_INCLUDEDIR} ${bitcoin_protocol_OTHER_CFLAGS}"] ) ] ,
0 commit comments