From c32bcd704d19f1ce0164b9959447c3030634c916 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 27 Jun 2016 13:02:15 +0200 Subject: [PATCH] Rec: Don't fail configure on missing fcontext.hpp Fixes #4014 --- pdns/recursordist/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- 2.47.2