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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4052%2Fhead;p=thirdparty%2Fpdns.git Rec: Don't fail configure on missing fcontext.hpp Fixes #4014 --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index 5fcf6a2c94..0ee0c5a17e 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])