This was too quick, now pthreads isn't detected on IRIX (and other platforms?) anymore. This needs some more thought.

This commit is contained in:
ehofman 2004-12-08 15:12:11 +00:00
parent 9cac8409cd
commit c52657fa1a

View File

@ -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"