From: Tomek Mrugalski Date: Tue, 15 Jan 2019 12:46:54 +0000 (+0100) Subject: [#283,!135] boost/atomics check moved to ax_boost_for_kea.m4 X-Git-Tag: 421-create-config-backend-for-dhcpv6-base_base~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6853147a779e9895bd29eb2a1b3ae6b921a5c10;p=thirdparty%2Fkea.git [#283,!135] boost/atomics check moved to ax_boost_for_kea.m4 --- 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