[build] Warn that only libconsensus can be built without boost

This commit is contained in:
Varunram 2017-12-01 09:41:28 +05:30 committed by fanquake
parent 62fdf9b070
commit 3eb4d4595c
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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