diff --git a/configure.ac b/configure.ac index b516665cbf..1c31237a3c 100644 --- a/configure.ac +++ b/configure.ac @@ -1093,9 +1093,7 @@ fi # Add some default CPP flags needed for Boost, identified by the AX macro. CPPFLAGS="$CPPFLAGS $CPPFLAGS_BOOST_THREADCONF" -# I can't get some of the #include right without this -# TODO: find the real cause of asio/boost wanting pthreads -# (this currently only occurs for src/lib/cc/session_unittests) +# Can be required by gtest, boost and perhaps still asio PTHREAD_LDFLAGS= AC_CHECK_LIB(pthread, pthread_create,[ PTHREAD_LDFLAGS=-lpthread ], []) AC_SUBST(PTHREAD_LDFLAGS)