aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2020-06-16 14:50:00 +0200
committerSjors Provoost <sjors@sprovoost.nl>2020-07-31 13:38:09 +0200
commitc47e4bbf0b44f2de1278f9538124ec98ee0815bb (patch)
treec8b5e9696aa4617994f7d8f228f09eb595e81464 /configure.ac
parent929cda5470f98d1ef85c05b1cad4e2fb9227e3b0 (diff)
[build] make boost-process opt-in
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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.