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:
parent
9cac8409cd
commit
c52657fa1a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user