On master (5f44c5c428b696af4214b2519cb2bbeb0e4a1027) Boost.Process check false fails without the -lpthread
flag.
0$ grep -C 2 pthread_detach config.log
1/usr/bin/ld: /tmp/cczCQfQv.o: in function `boost::asio::detail::posix_global_impl<boost::asio::system_context>::~posix_global_impl()':
2conftest.cpp:(.text._ZN5boost4asio6detail17posix_global_implINS0_14system_contextEED2Ev[_ZN5boost4asio6detail17posix_global_implINS0_14system_contextEED5Ev]+0xa3): undefined reference to `pthread_join'
3/usr/bin/ld: conftest.cpp:(.text._ZN5boost4asio6detail17posix_global_implINS0_14system_contextEED2Ev[_ZN5boost4asio6detail17posix_global_implINS0_14system_contextEED5Ev]+0xc4): undefined reference to `pthread_detach'
4collect2: error: ld returned 1 exit status
5configure:26674: $? = 1
Not required for Boost 1.74+.