Submitted By: Kevin P. Fleming (kpfleming at linuxfromscratch dot org)
Date: 2004-04-16
Initial Package Version: 4.0.18
Origin: inspired by Gentoo CVS
Description: Patches the configure script to bypass its brain-dead check
             for a Linuxthreads-compatible threading library. On an NPTL
             system this check will fail, but the library is present and
             will work properly.
 
diff -Naur mysql-4.0.18.orig/configure mysql-4.0.18/configure
--- mysql-4.0.18.orig/configure	Tue Feb 10 18:16:56 2004
+++ mysql-4.0.18/configure	Sat Apr 17 03:35:56 2004
@@ -23874,7 +23874,8 @@
   # Look for LinuxThreads.
   echo "$as_me:$LINENO: checking \"LinuxThreads\"" >&5
 echo $ECHO_N "checking \"LinuxThreads\"... $ECHO_C" >&6
-    res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
+    # res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
+    res=1
     if test "$res" -gt 0
     then
       echo "$as_me:$LINENO: result: \"Found\"" >&5
