summaryrefslogtreecommitdiff
blob: d5815b799a6f3cae95a5ccfd788f876266af261a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")