summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-11-02 13:20:25 +0100
committerBenjamin Otte <otte@gnome.org>2009-11-02 13:20:25 +0100
commit3eecf2f60c85e0195360ff3c3a54d58ceaa4a6f1 (patch)
tree2143e434b7c0f4e01a4985bf7f385e70bdab9344 /configure.ac
parent837eb577b4707e447fafb0dfca378ecf4ea3fda5 (diff)
sphinx: Add required pthread libs
Try again, this time for real hopefully.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e5582a42..325af109 100644
--- a/configure.ac
+++ b/configure.ac
@@ -502,7 +502,7 @@ have_real_pthread=no
real_pthread_REQUIRES="pthread"
PKG_CHECK_MODULES(real_pthread, $real_pthread_REQUIRES,
[have_real_pthread=yes],
- [AC_CHECK_HEADERS([pthread.h],, [have_real_pthread="no (requires $real_pthread_REQUIRES)"])])
+ [AC_CHECK_HEADERS([pthread.h],[real_pthread_LIBS="-lpthread"], [have_real_pthread="no (requires $real_pthread_REQUIRES)"])])
AM_CONDITIONAL(HAVE_REAL_PTHREAD, test "x$have_real_pthread" = "xyes")
dnl ===========================================================================