From: Pieter Lexis Date: Mon, 12 Sep 2016 11:51:27 +0000 (+0200) Subject: Rec: Disable boost-fcontext on boost 1.61 and up X-Git-Tag: rec-4.0.4~30^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f19e0bd022c9305c7c938c86560ff3f4cbdd1bc0;p=pdns Rec: Disable boost-fcontext on boost 1.61 and up Fall back to the slower system v ucontext. (cherry picked from commit cb51346bbd4ea54bc86966e80aa68c990c03dbce) --- 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])