From: Francis Dupont Date: Wed, 17 Jun 2015 20:08:26 +0000 (+0200) Subject: [3732b] Updated PTHEAD_LDFLAGS comment X-Git-Tag: trac3910_base~17^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23eab312710a9837cdb1d7afdb8fb8b174eef0ae;p=thirdparty%2Fkea.git [3732b] Updated PTHEAD_LDFLAGS comment --- 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)