]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
bump boost requirement to 1.42 unconditionally 7668/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 4 Apr 2019 13:10:45 +0000 (15:10 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 4 Apr 2019 13:10:45 +0000 (15:10 +0200)
pdns/dnsdistdist/configure.ac
pdns/recursordist/configure.ac

index 1013e0d437682a6fe0f703f98b883440ea66df0c..36975d25e3ae570e5b0f7aca936de156d03a3e1b 100644 (file)
@@ -35,8 +35,7 @@ PDNS_CHECK_SECURE_MEMSET
 
 PDNS_WITH_PROTOBUF
 
-boost_required_version=1.42
-BOOST_REQUIRE([$boost_required_version])
+BOOST_REQUIRE([1.42])
 
 PDNS_ENABLE_UNIT_TESTS
 PDNS_WITH_RE2
index 70aeaa2c62db3ff52b0cd5103b9d9735afd049cc..fbad126428bc35290896463ca950f6146df323de 100644 (file)
@@ -82,16 +82,9 @@ AC_DEFUN([PDNS_SELECT_CONTEXT_IMPL], [
 
 PDNS_CHECK_CLOCK_GETTIME
 
-boost_required_version=1.35
-
 PDNS_WITH_PROTOBUF
-AS_IF([test "x$PROTOBUF_LIBS" != "x" -a x"$PROTOC" != "x"],
-  # The protobuf code needs boost::uuid, which is available from 1.42 onward
-  [AC_MSG_WARN([Bumping minimal Boost requirement to 1.42. To keep the requirement at 1.35, disable protobuf support])
-  boost_required_version=1.42]
-)
 
-BOOST_REQUIRE([$boost_required_version])
+BOOST_REQUIRE([1.42])
 
 # Check against flat_set header that requires boost >= 1.48
 BOOST_FIND_HEADER([boost/container/flat_set.hpp], [AC_MSG_NOTICE([boost::container::flat_set not available, will fallback to std::set])])