FreeBSD fix.

This commit is contained in:
ehofman 2004-12-08 15:00:45 +00:00
parent 18703ce02d
commit 9cac8409cd

View File

@ -165,7 +165,7 @@ dnl Checks for libraries.
dnl Thread related checks dnl Thread related checks
AC_CHECK_HEADER(pthread.h) 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 if test "x$ac_cv_lib_pthread_pthread_exit" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes"; then
CXXFLAGS="$CXXFLAGS -D_REENTRANT" CXXFLAGS="$CXXFLAGS -D_REENTRANT"
CFLAGS="$CFLAGS -D_REENTRANT" CFLAGS="$CFLAGS -D_REENTRANT"