]> git.saurik.com Git - apt.git/commitdiff
Fixed pthread test
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:13 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:13 +0000 (16:51 +0000)
Author: jgg
Date: 1998-10-29 23:19:30 GMT
Fixed pthread test

configure.in

index 334da2750b053f3da2deaba92fbbe00ee0c9ffcb..4d9a6ce153631cfc78683188e0a580c0754d357f 100644 (file)
@@ -1,3 +1,4 @@
+ad
 dnl Process this file with autoconf to produce a configure script.
 dnl The ONLY thing this is used for is to configure for different
 dnl linux architectures and configurations, it is not used to make the
 dnl Process this file with autoconf to produce a configure script.
 dnl The ONLY thing this is used for is to configure for different
 dnl linux architectures and configurations, it is not used to make the
@@ -61,7 +62,7 @@ fi
 dnl Checks for pthread
 AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"])
 AC_SUBST(PTHREADLIB)
 dnl Checks for pthread
 AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"])
 AC_SUBST(PTHREADLIB)
-if test "$XPMLIB" != "-lXpm"; then
+if test "$PTHREADLIB" != "-lpthread"; then
   AC_MSG_ERROR(failed: I need posix threads, pthread)
 fi
 
   AC_MSG_ERROR(failed: I need posix threads, pthread)
 fi