]> granicus.if.org Git - pdns/commit
Fix Boost component library detection.
authorAndrew Nelless <andrew@nelless.net>
Thu, 10 Mar 2016 19:59:50 +0000 (19:59 +0000)
committerAndrew Nelless <andrew@nelless.net>
Fri, 11 Mar 2016 14:13:43 +0000 (14:13 +0000)
commite512f4f99403601638a08f738a55d9854caa8680
treeb76c5dbf97e56705e130e1d12f29a48466addb26
parent0048c4c5cd8b77422bb186c742a656b7fceeb71a
Fix Boost component library detection.

On some platforms the Boost context headers are being shipped on
architectures where the library can't be built. Here we patch
boost.m4 to set HAVE_BOOST_<component> definitions based on
whether the library actually exists.

This should also fix builds against Boost 1.58.0, which shipped
a broken context/all.hpp header when compiling in modes before
C++14 (see: https://svn.boost.org/trac/boost/ticket/11223 )
m4/boost.m4
pdns/mtasker_context.cc
pdns/recursordist/configure.ac