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: dnsdist-1.1.0-beta2~125^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4461%2Fhead;p=thirdparty%2Fpdns.git Rec: Disable boost-fcontext on boost 1.61 and up Fall back to the slower system v ucontext. --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index 6918ce3ab2..7a07d96d1d 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])