Skip to content

Commit 3eb4d45

Browse files
Varunramfanquake
authored andcommitted
[build] Warn that only libconsensus can be built without boost
1 parent 62fdf9b commit 3eb4d45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,9 @@ define(MINIMUM_REQUIRED_BOOST, 1.47.0)
761761

762762
dnl Check for boost libs
763763
AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST])
764+
if test x$want_boost = xno; then
765+
AC_MSG_ERROR([[only libbitcoinconsensus can be built without boost]])
766+
fi
764767
AX_BOOST_SYSTEM
765768
AX_BOOST_FILESYSTEM
766769
AX_BOOST_PROGRAM_OPTIONS

0 commit comments

Comments
 (0)