partial bitcoin#21205: actually stop configure if Boost isn't available

includes:
- c5da2749e2f7375e292fb0982e8e252ae1adbce3
This commit is contained in:
Kittywhiskers Van Gogh 2021-02-17 09:12:16 +08:00 committed by pasta
parent 9084ede415
commit 771dcfb56b
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -1411,11 +1411,8 @@ fi
if test x$use_boost = xyes; then if test x$use_boost = xyes; then
dnl Minimum required Boost version dnl Check for Boost headers
define(MINIMUM_REQUIRED_BOOST, 1.64.0) AX_BOOST_BASE([1.64.0],[],[AC_MSG_ERROR([Boost is not available!])])
dnl Check for Boost libs
AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST])
if test x$want_boost = xno; then if test x$want_boost = xno; then
AC_MSG_ERROR([[only libdashconsensus can be built without boost]]) AC_MSG_ERROR([[only libdashconsensus can be built without boost]])
fi fi