subdir('meson/ipcipher') # IPCipher
subdir('meson/ragel') # Find Ragel
subdir('meson/clock-gettime') # Clock_gettime
+subdir('meson/boost') # Boost
# Find or generate pdns/dnslabeltext.cc
if not ragel.found() and not fs.exists('pdns/dnslabeltext.cc')
--- /dev/null
+# Boost
+# Inputs: conf
+
+dep_boost = dependency('boost', version: '>= 1.42', required: true)
+# Boost accumulators, as used by dnsbulktest and dnstcpbench, need 1.48+ to be compatible
+# with C++11.
+conf.set10('HAVE_BOOST_GE_148', dep_boost.version().version_compare('>= 1.48.0'), description: 'Whether the boost version is >= 1.48.0')
+summary('Boost', dep_boost.found(), bool_yn: true, section: 'Configuration')
+summary('Boost Version', dep_boost.version(), section: 'Boost')