MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:October 19 2005 11:29pm
Subject:bk commit into 4.0 tree (jimw:1.2137) BUG#11576
View as plain text  
Below is the list of changes that have just been committed into a local
4.0 repository of jimw. When jimw does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2137 05/10/19 16:28:58 jimw@stripped +1 -0
  Detect NPTL on FC4 as if it were LinuxThreads so MySQL 4.0 can
  be compiled there. (Bug #11576)
  
  (Will not be pushed -- this is fixed properly in 4.1 and later.)

  configure.in
    1.330 05/10/19 16:28:54 jimw@stripped +2 -1
    Quick-and-dirty tweak to figure out threading library on FC4.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jimw
# Host:	rama.(none)
# Root:	/home/jimw/my/mysql-4.0-11576

--- 1.329/configure.in	2005-07-04 03:58:50 -07:00
+++ 1.330/configure.in	2005-10-19 16:28:54 -07:00
@@ -1224,8 +1224,9 @@
 then
   # Look for LinuxThreads.
   AC_MSG_CHECKING("LinuxThreads")
+    lib=`getconf GNU_LIBPTHREAD_VERSION`
     res=`grep Linuxthreads /usr/include/pthread.h 2>/dev/null | wc -l`
-    if test "$res" -gt 0
+    if test "$res" -gt 0 || expr "$lib" : ".*NPTL.*" > /dev/null
     then
       AC_MSG_RESULT("Found")
       AC_DEFINE(HAVE_LINUXTHREADS)
Thread
bk commit into 4.0 tree (jimw:1.2137) BUG#11576Jim Winstead20 Oct