List:Internals« Previous MessageNext Message »
From:Joerg Bruehe Date:April 20 2005 6:10pm
Subject:bk commit into 4.1 tree (joerg:1.2197)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of joerg. When joerg 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.2197 05/04/20 20:10:28 joerg@stripped +6 -0
  Step 1 of the switch to support configuration with NPTL:
  Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  support-files/Makefile.am
    1.26 05/04/20 20:10:25 joerg@stripped +1 -1
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  scripts/mysqld_safe.sh
    1.74 05/04/20 20:10:25 joerg@stripped +1 -1
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  scripts/Makefile.am
    1.42 05/04/20 20:10:25 joerg@stripped +1 -1
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  myisam/Makefile.am
    1.29 05/04/20 20:10:25 joerg@stripped +1 -1
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  configure.in
    1.362 05/04/20 20:10:25 joerg@stripped +9 -9
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

  acinclude.m4
    1.133 05/04/20 20:10:25 joerg@stripped +1 -1
    Step 1 of the switch to support configuration with NPTL:
    Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.

# 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:	joerg
# Host:	trift2.
# Root:	/M41/nptl-4.1

--- 1.132/acinclude.m4	Tue Mar 29 19:25:55 2005
+++ 1.133/acinclude.m4	Wed Apr 20 20:10:25 2005
@@ -976,7 +976,7 @@
  if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INCLUDE" ; then
    echo "Could not find an installation of OpenSSL"
    if test -n "$OPENSSL_LIB" ; then
-    if test "$IS_LINUX" = "true"; then
+    if test "$TARGET_LINUX" = "true"; then
       echo "Looks like you've forgotten to install OpenSSL development RPM"
     fi
    fi

--- 1.361/configure.in	Wed Apr 13 19:05:00 2005
+++ 1.362/configure.in	Wed Apr 20 20:10:25 2005
@@ -410,15 +410,15 @@
 if expr "$target_os" : "[[Ll]]inux.*" > /dev/null
 then
   MYSQLD_DEFAULT_SWITCHES="--skip-locking"
-  IS_LINUX="true"
+  TARGET_LINUX="true"
   AC_MSG_RESULT("yes");
 else
   MYSQLD_DEFAULT_SWITCHES=""
-  IS_LINUX="false"
+  TARGET_LINUX="false"
   AC_MSG_RESULT("no");
 fi
 AC_SUBST(MYSQLD_DEFAULT_SWITCHES)
-AC_SUBST(IS_LINUX)
+AC_SUBST(TARGET_LINUX)
 
 dnl Find paths to some shell programs
 AC_PATH_PROG(LN, ln, ln)
@@ -607,7 +607,7 @@
 # (this is true on the MySQL build machines to avoid NSS problems)
 #
 
-if test "$IS_LINUX" = "true" -a "$static_nss" = ""
+if test "$TARGET_LINUX" = "true" -a "$static_nss" = ""
 then
   tmp=`nm /usr/lib/libc.a  | grep _nss_files_getaliasent_r`
   if test -n "$tmp"
@@ -841,7 +841,7 @@
 ])
 AC_SUBST(WRAPLIBS)
 
-if test "$IS_LINUX" = "true"; then
+if test "$TARGET_LINUX" = "true"; then
   AC_MSG_CHECKING([for atomic operations])
 
   atom_ops=
@@ -885,7 +885,7 @@
     [ USE_PSTACK=no ])
   pstack_libs=
   pstack_dirs=
-  if test "$USE_PSTACK" = yes -a "$IS_LINUX" = "true" -a "$BASE_MACHINE_TYPE" = "i386" -a "$with_mit_threads" = "no"
+  if test "$USE_PSTACK" = yes -a "$TARGET_LINUX" = "true" -a "$BASE_MACHINE_TYPE" = "i386" -a "$with_mit_threads" = "no"
   then
     have_libiberty= have_libbfd=
     my_save_LIBS="$LIBS"
@@ -1286,7 +1286,7 @@
     else
       AC_MSG_RESULT("Not found")
       # If this is a linux machine we should barf
-      if test "$IS_LINUX" = "true"
+      if test "$TARGET_LINUX" = "true"
       then
 	AC_MSG_ERROR([This is a linux system and Linuxthreads was not
 found. On linux Linuxthreads should be used.  Please install Linuxthreads
@@ -1738,7 +1738,7 @@
 AC_SUBST(COMPILATION_COMMENT)
 
 AC_MSG_CHECKING("need of special linking flags")
-if test "$IS_LINUX" = "true" -a "$ac_cv_prog_gcc" = "yes" -a "$all_is_static" != "yes"
+if test "$TARGET_LINUX" = "true" -a "$ac_cv_prog_gcc" = "yes" -a "$all_is_static" != "yes"
 then
   LDFLAGS="$LDFLAGS -rdynamic"
   AC_MSG_RESULT("-rdynamic")
@@ -1955,7 +1955,7 @@
 # Sanity check: We chould not have any fseeko symbol unless
 # large_file_support=yes
 AC_CHECK_FUNC(fseeko,
-[if test "$large_file_support" = no -a "$IS_LINUX" = "true";
+[if test "$large_file_support" = no -a "$TARGET_LINUX" = "true";
 then
   AC_MSG_ERROR("Found fseeko symbol but large_file_support is not enabled!");
 fi]

--- 1.28/myisam/Makefile.am	Fri Aug 20 22:54:36 2004
+++ 1.29/myisam/Makefile.am	Wed Apr 20 20:10:25 2005
@@ -88,7 +88,7 @@
 	  -e 's!@''FIND_PROC''@!@FIND_PROC@!' \
 	  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
 	  -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
-	  -e 's!@''IS_LINUX''@!@IS_LINUX@!' \
+	  -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
 	  -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
 	  -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
 	  -e 's!@''sysconfdir''@!@sysconfdir@!' \

--- 1.41/scripts/Makefile.am	Wed Apr 13 18:29:18 2005
+++ 1.42/scripts/Makefile.am	Wed Apr 20 20:10:25 2005
@@ -135,7 +135,7 @@
 	  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
 	  -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
 	  -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \
-	  -e 's!@''IS_LINUX''@!@IS_LINUX@!' \
+	  -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
 	  -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
 	  -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
 	  -e 's!@''STATIC_NSS_FLAGS''@!@STATIC_NSS_FLAGS@!' \

--- 1.73/scripts/mysqld_safe.sh	Wed Mar  2 21:18:54 2005
+++ 1.74/scripts/mysqld_safe.sh	Wed Apr 20 20:10:25 2005
@@ -324,7 +324,7 @@
     break
   fi
 
-  if @IS_LINUX@ && test $KILL_MYSQLD -eq 1
+  if @TARGET_LINUX@ && test $KILL_MYSQLD -eq 1
   then
     # Test if one process was hanging.
     # This is only a fix for Linux (running as base 3 mysqld processes)

--- 1.25/support-files/Makefile.am	Thu Feb  3 17:57:59 2005
+++ 1.26/support-files/Makefile.am	Wed Apr 20 20:10:25 2005
@@ -90,7 +90,7 @@
 	  -e 's!@''FIND_PROC''@!@FIND_PROC@!' \
 	  -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!@MYSQLD_DEFAULT_SWITCHES@!' \
 	  -e 's!@''MYSQL_UNIX_ADDR''@!@MYSQL_UNIX_ADDR@!' \
-	  -e 's!@''IS_LINUX''@!@IS_LINUX@!' \
+	  -e 's!@''TARGET_LINUX''@!@TARGET_LINUX@!' \
 	  -e "s!@""CONF_COMMAND""@!@CONF_COMMAND@!" \
 	  -e 's!@''MYSQLD_USER''@!@MYSQLD_USER@!' \
 	  -e 's!@''sysconfdir''@!@sysconfdir@!' \
Thread
bk commit into 4.1 tree (joerg:1.2197)Joerg Bruehe20 Apr