summaryrefslogtreecommitdiffstats
path: root/m4macros
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2018-12-11 17:06:42 +0100
committerMichal Nowikowski <godfryd@isc.org>2019-01-18 10:05:12 +0100
commit5d2fe61d87075dc05b9d82b5599de4a8c8c757e3 (patch)
treeb1b06def2d3f1c2fc6bc76c2af2e0e06fa293834 /m4macros
parentchanges after review (diff)
downloadkea-5d2fe61d87075dc05b9d82b5599de4a8c8c757e3.tar.xz
kea-5d2fe61d87075dc05b9d82b5599de4a8c8c757e3.zip
changes after review of perfdhcp changes:
- replaced asserts with exceptions - replaced std::thread with util::thread::Thread - fixed handling run_flag_
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/ax_cpp11.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4macros/ax_cpp11.m4 b/m4macros/ax_cpp11.m4
index 17fbda1809..da2b042d8d 100644
--- a/m4macros/ax_cpp11.m4
+++ b/m4macros/ax_cpp11.m4
@@ -177,6 +177,17 @@ 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