]> git.mxchange.org Git - simgear.git/commitdiff
FreeBSD fix.
authorehofman <ehofman>
Wed, 8 Dec 2004 15:00:45 +0000 (15:00 +0000)
committerehofman <ehofman>
Wed, 8 Dec 2004 15:00:45 +0000 (15:00 +0000)
configure.ac

index fc243ae4ef2c038b85a0f36819cf031c16f0fd17..a5a768a6be654567b3b3aea3149c2bb99cca6c32 100644 (file)
@@ -165,7 +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"
     CFLAGS="$CFLAGS -D_REENTRANT"