From cb51346bbd4ea54bc86966e80aa68c990c03dbce Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 12 Sep 2016 13:51:27 +0200 Subject: [PATCH] Rec: Disable boost-fcontext on boost 1.61 and up Fall back to the slower system v ucontext. --- pdns/recursordist/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index 6918ce3ab..7a07d96d1 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -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]) -- 2.40.0