SOURCES (MYSQL_4_00): mysql-nptl.patch - updated

arekm arekm at pld-linux.org
Thu Oct 18 11:35:38 CEST 2007


Author: arekm                        Date: Thu Oct 18 09:35:38 2007 GMT
Module: SOURCES                       Tag: MYSQL_4_00
---- Log message:
- updated

---- Files affected:
SOURCES:
   mysql-nptl.patch (1.2 -> 1.2.4.1) 

---- Diffs:

================================================================
Index: SOURCES/mysql-nptl.patch
diff -u SOURCES/mysql-nptl.patch:1.2 SOURCES/mysql-nptl.patch:1.2.4.1
--- SOURCES/mysql-nptl.patch:1.2	Sat Dec 25 14:00:13 2004
+++ SOURCES/mysql-nptl.patch	Thu Oct 18 11:35:32 2007
@@ -1,12 +1,13 @@
 --- mysql/configure.in	2004-02-17 01:20:24.000000000 +0100
 +++ mysql/configure.in	2004-02-17 01:21:50.805018856 +0100
-@@ -1197,8 +1197,7 @@
- then
-   # Look for LinuxThreads.
-   AC_MSG_CHECKING("LinuxThreads")
--    res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
--    if test "$res" -gt 0
-+    if grep -qs pthread_create /usr/include/pthread.h
-     then
-       AC_MSG_RESULT("Found")
-       AC_DEFINE(HAVE_LINUXTHREADS)
+@@ -1273,8 +1273,7 @@
+           # old method, check headers
+           # Look for LinuxThreads.
+           AC_MSG_CHECKING("LinuxThreads in header file comment")
+-          res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
+-          if test "$res" -gt 0
++	  if grep -qs pthread_create /usr/include/pthread.h
+           then
+             AC_MSG_RESULT("Found")
+             AC_DEFINE([HAVE_LINUXTHREADS], [1],
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mysql-nptl.patch?r1=1.2&r2=1.2.4.1&f=u



More information about the pld-cvs-commit mailing list