From c6853147a779e9895bd29eb2a1b3ae6b921a5c10 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Tue, 15 Jan 2019 13:46:54 +0100 Subject: [PATCH] [#283,!135] boost/atomics check moved to ax_boost_for_kea.m4 --- m4macros/ax_boost_for_kea.m4 | 2 +- m4macros/ax_cpp11.m4 | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/m4macros/ax_boost_for_kea.m4 b/m4macros/ax_boost_for_kea.m4 index f38601a220..7a0dd5f0fb 100644 --- a/m4macros/ax_boost_for_kea.m4 +++ b/m4macros/ax_boost_for_kea.m4 @@ -74,7 +74,7 @@ if test "${boost_include_path}" ; then BOOST_INCLUDES="-I${boost_include_path}" CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES" fi -AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp boost/interprocess/sync/interprocess_upgradable_mutex.hpp boost/date_time/posix_time/posix_time_types.hpp boost/bind.hpp boost/function.hpp boost/asio.hpp boost/asio/ip/address.hpp boost/system/error_code.hpp],, +AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp boost/interprocess/sync/interprocess_upgradable_mutex.hpp boost/date_time/posix_time/posix_time_types.hpp boost/bind.hpp boost/function.hpp boost/asio.hpp boost/asio/ip/address.hpp boost/system/error_code.hpp boost/atomic.hpp],, AC_MSG_ERROR([Missing required header files.])) AC_CHECK_HEADERS(boost/asio/coroutine.hpp,,AC_MSG_RESULT(not found, using built-in header.)) diff --git a/m4macros/ax_cpp11.m4 b/m4macros/ax_cpp11.m4 index da2b042d8d..17fbda1809 100644 --- a/m4macros/ax_cpp11.m4 +++ b/m4macros/ax_cpp11.m4 @@ -177,17 +177,6 @@ for retry in "none" "--std=c++11" "--std=c++0x" "--std=c++1x" "fail"; do break], [AC_MSG_RESULT([no]) continue]) - - AC_MSG_CHECKING(boost atomic_flag support) - feature="boost atomic_flag" - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [#include ], - [boost::atomic_flag run_flag;])], - [AC_MSG_RESULT([yes]) - break], - [AC_MSG_RESULT([no]) - continue]) done ])dnl AX_ISC_RPATH -- 2.47.2