]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#283,!135] boost/atomics check moved to ax_boost_for_kea.m4
authorTomek Mrugalski <tomasz@isc.org>
Tue, 15 Jan 2019 12:46:54 +0000 (13:46 +0100)
committerMichal Nowikowski <godfryd@isc.org>
Fri, 18 Jan 2019 09:05:12 +0000 (10:05 +0100)
m4macros/ax_boost_for_kea.m4
m4macros/ax_cpp11.m4

index f38601a2200d9ce8daa5808ec266817d8f1fe85f..7a0dd5f0fb24b63d02dfc2464f90d317ddbf5797 100644 (file)
@@ -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.))
index da2b042d8dc4ce9019e02573002da63ef1838151..17fbda1809df1a836889db02ae2227afb795ac31 100644 (file)
@@ -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.hpp>],
-                       [boost::atomic_flag run_flag;])],
-               [AC_MSG_RESULT([yes])
-                break],
-               [AC_MSG_RESULT([no])
-                continue])
 done
 
 ])dnl AX_ISC_RPATH