build: require boost >= 1.71.0
Refs: #5276
Change-Id: Ia1014604d6933ca0042cecbaa25e8df2e7e2356c
diff --git a/wscript b/wscript
index c6595a2..24308d8 100644
--- a/wscript
+++ b/wscript
@@ -51,6 +51,10 @@
uselib_store='NDN_CXX', pkg_config_path=pkg_config_path)
conf.check_boost(lib='iostreams', mt=True)
+ if conf.env.BOOST_VERSION_NUMBER < 107100:
+ conf.fatal('The minimum supported version of Boost is 1.71.0.\n'
+ 'Please upgrade your distribution or manually install a newer version of Boost.\n'
+ 'For more information, see https://redmine.named-data.net/projects/nfd/wiki/Boost')
for scheme in COMPRESSION_SCHEMES:
if getattr(conf.options, f'without_{scheme}'):