From c47e4bbf0b44f2de1278f9538124ec98ee0815bb Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Tue, 16 Jun 2020 14:50:00 +0200 Subject: [PATCH] [build] make boost-process opt-in --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 940d6dfce1..013e68a319 100644 --- a/configure.ac +++ b/configure.ac @@ -1190,7 +1190,9 @@ fi AX_BOOST_SYSTEM AX_BOOST_FILESYSTEM AX_BOOST_THREAD -AX_BOOST_PROCESS + +dnl Opt-in to boost-process +AS_IF([ test x$with_boost_process != x ], [ AX_BOOST_PROCESS ], [ ax_cv_boost_process=no ] ) dnl Boost 1.56 through 1.62 allow using std::atomic instead of its own atomic dnl counter implementations. In 1.63 and later the std::atomic approach is default.