Fixed back pthread check
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:54:02 +0000 (16:54 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:54:02 +0000 (16:54 +0000)
Author: jgg
Date: 1999-06-21 02:07:18 GMT
Fixed back pthread check

configure.in

index 844c67d..498883e 100644 (file)
@@ -62,11 +62,11 @@ if test "$with_gpm" != "no"; then
 fi
 
 dnl Checks for pthread
-dnl AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"])
-dnl AC_SUBST(PTHREADLIB)
-dnl if test "$PTHREADLIB" != "-lpthread"; then
-dnl  AC_MSG_ERROR(failed: I need posix threads, pthread)
-dnl fi
+AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"])
+AC_SUBST(PTHREADLIB)
+#if test "$PTHREADLIB" != "-lpthread"; then
+#  AC_MSG_ERROR(failed: I need posix threads, pthread)
+#fi
 
 dnl Converts the ARCH to be the same as dpkg
 AC_MSG_CHECKING(system architecture)