From 23eab312710a9837cdb1d7afdb8fb8b174eef0ae Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 17 Jun 2015 22:08:26 +0200 Subject: [PATCH] [3732b] Updated PTHEAD_LDFLAGS comment --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5e2e5be33e..284696564a 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) -- 2.47.3