]> granicus.if.org Git - pdns/commitdiff
Warn when increasing the boost dependency
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 22 Jun 2016 17:45:19 +0000 (19:45 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 22 Jun 2016 17:45:19 +0000 (19:45 +0200)
Closes #3955

pdns/dnsdistdist/configure.ac
pdns/recursordist/configure.ac

index cded42e425ae818015b0606eb722d262f2eee043..86afa7e2d1596a02c7ca1b20b3fbcebad5cb8ca1 100644 (file)
@@ -25,7 +25,8 @@ 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
-  [boost_required_version=1.42]
+  [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])
index 86c0d36e0c7a6d22c9a1b4fee8cd5ea8a4850984..8f0e67f405dea8015ed7aabcb7c0a5c6a4d7d5ff 100644 (file)
@@ -77,7 +77,8 @@ 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
-  [boost_required_version=1.42]
+  [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])