aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVarunram <vrg2009@ymail.com>2017-12-01 09:41:28 +0530
committerfanquake <fanquake@gmail.com>2017-12-18 14:32:22 +0800
commit3eb4d4595c69ac5885fb4a144e48e9a884f0186f (patch)
tree30a5e750af38d0db2eeb8d867bb027ac3660889d /configure.ac
parent62fdf9b07087b80d2142799bdd2324f61483359d (diff)
downloadbitcoin-3eb4d4595c69ac5885fb4a144e48e9a884f0186f.tar.xz
[build] Warn that only libconsensus can be built without boost
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a05896edea..f7de4c9f9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -761,6 +761,9 @@ define(MINIMUM_REQUIRED_BOOST, 1.47.0)
dnl Check for boost libs
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_FILESYSTEM
AX_BOOST_PROGRAM_OPTIONS