[build] make boost-process opt-in

This commit is contained in:
Sjors Provoost 2020-06-16 14:50:00 +02:00
parent 929cda5470
commit c47e4bbf0b
No known key found for this signature in database
GPG Key ID: 57FF9BDBCC301009

View File

@ -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.