summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-4.0.18-gentoo-nptl.diff')
-rw-r--r--mysql-4.0.18-gentoo-nptl.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-4.0.18-gentoo-nptl.diff b/mysql-4.0.18-gentoo-nptl.diff
new file mode 100644
index 0000000..d5815b7
--- /dev/null
+++ b/mysql-4.0.18-gentoo-nptl.diff
@@ -0,0 +1,14 @@
+--- mysql-4.0.18/configure.in.orig 2004-03-04 13:53:36.000000000 -0800
++++ mysql-4.0.18/configure.in 2004-03-04 13:53:37.000000000 -0800
+@@ -1191,7 +1191,10 @@
+ then
+ # Look for LinuxThreads.
+ AC_MSG_CHECKING("LinuxThreads")
+- res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
++ # res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
++ # All gentoo systems support this stuff, and this is an improper detection
++ # for LinuxThreads anyhow, always set the result to 1
++ res=1
+ if test "$res" -gt 0
+ then
+ AC_MSG_RESULT("Found")