From: Pieter Lexis Date: Mon, 27 Jun 2016 11:02:15 +0000 (+0200) Subject: Rec: Don't fail configure on missing fcontext.hpp X-Git-Tag: auth-4.0.0-rc1~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c32bcd704d19f1ce0164b9959447c3030634c916;p=pdns Rec: Don't fail configure on missing fcontext.hpp Fixes #4014 --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index 5fcf6a2c9..0ee0c5a17 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -54,7 +54,9 @@ AC_DEFUN([PDNS_SELECT_CONTEXT_IMPL], [ LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS" fi AC_MSG_NOTICE([checking whether the Boost context library actually links...]) - BOOST_FIND_LIB([context], [$1], [boost/context/fcontext.hpp], [[]]) + BOOST_FIND_HEADER([boost/context/fcontext.hpp], [ : ], [ + BOOST_FIND_LIB([context], [$1], [boost/context/fcontext.hpp], [[]]) + ]) case $boost_cv_lib_context in (yes) AC_MSG_NOTICE([MTasker will use the Boost context library for context switching])