Commit c6853147 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰 Committed by Michal Nowikowski

[#283,!135] boost/atomics check moved to ax_boost_for_kea.m4

parent ad55dd06
......@@ -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.))
......
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment