Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 802 Lines • ▼ Show 20 Lines | |||||
if test x$use_boost = xyes; then | if test x$use_boost = xyes; then | ||||
dnl Minimum required Boost version | dnl Minimum required Boost version | ||||
define(MINIMUM_REQUIRED_BOOST, 1.58.0) | define(MINIMUM_REQUIRED_BOOST, 1.58.0) | ||||
dnl Check for boost libs | dnl Check for boost libs | ||||
AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST]) | AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST]) | ||||
if test x$want_boost = xno; then | |||||
AC_MSG_ERROR([[only libbitcoinconsensus can be built without boost]]) | |||||
fi | |||||
AX_BOOST_SYSTEM | AX_BOOST_SYSTEM | ||||
AX_BOOST_FILESYSTEM | AX_BOOST_FILESYSTEM | ||||
AX_BOOST_PROGRAM_OPTIONS | AX_BOOST_PROGRAM_OPTIONS | ||||
AX_BOOST_THREAD | AX_BOOST_THREAD | ||||
AX_BOOST_CHRONO | AX_BOOST_CHRONO | ||||
dnl Boost 1.56 through 1.62 allow using std::atomic instead of its own atomic | dnl Boost 1.56 through 1.62 allow using std::atomic instead of its own atomic | ||||
dnl counter implementations. In 1.63 and later the std::atomic approach is default. | dnl counter implementations. In 1.63 and later the std::atomic approach is default. | ||||
▲ Show 20 Lines • Show All 469 Lines • Show Last 20 Lines |