From c52657fa1a718e7adc53293095e68003ce55e448 Mon Sep 17 00:00:00 2001
From: ehofman <ehofman>
Date: Wed, 8 Dec 2004 15:12:11 +0000
Subject: [PATCH] This was too  quick, now pthreads isn't detected on IRIX (and
 other platforms?) anymore. This needs some more thought.

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index a5a768a6..810e9cff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,7 @@ dnl Checks for libraries.
 
 dnl Thread related checks
 AC_CHECK_HEADER(pthread.h)
+AC_CHECK_LIB(pthread, pthread_exit)
 AC_SEARCH_LIBS(pthread_exit, pthread)
 if test "x$ac_cv_lib_pthread_pthread_exit" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes"; then
     CXXFLAGS="$CXXFLAGS -D_REENTRANT"
-- 
2.39.5