]> granicus.if.org Git - pdns/commitdiff
Rec: Disable boost-fcontext on boost 1.61 and up
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 12 Sep 2016 11:51:27 +0000 (13:51 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 12 Sep 2016 13:01:59 +0000 (15:01 +0200)
Fall back to the slower system v ucontext.

(cherry picked from commit cb51346bbd4ea54bc86966e80aa68c990c03dbce)

pdns/recursordist/configure.ac

index 6918ce3ab28bd0552982425af957461769d062d1..7a07d96d1d3ee1d21d9535e3a301b49af19e1ac2 100644 (file)
@@ -46,7 +46,7 @@ pdns_context_library="System V ucontexts"
 
 AC_DEFUN([PDNS_SELECT_CONTEXT_IMPL], [
   AC_MSG_CHECKING([whether Boost is new enough to use the context library...])
-  if test $boost_major_version -ge 152; then
+  if test $boost_major_version -ge 152 -a $boost_major_version -lt 161 ; then
     AC_MSG_RESULT([yes])
     if test $boost_major_version -ge 157; then
       BOOST_THREAD([$1])