List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:November 10 2005 8:20pm
Subject:bk commit into 4.1 tree (jimw:1.2470) BUG#13621
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 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.2470 05/11/10 11:20:36 jimw@stripped +1 -0
  Avoid trying to include <asm/atomic.h> when it doesn't work in C++
  code. (Bug #13621)

  configure.in
    1.399 05/11/10 11:20:33 jimw@stripped +5 -0
    Test whether atomic_add() and atomic_sub() are available in C++
    code, since that is primarily where we will be using them.

# 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.1-13621

--- 1.398/configure.in	2005-10-27 07:47:56 -07:00
+++ 1.399/configure.in	2005-11-10 11:20:33 -08:00
@@ -872,6 +872,9 @@
 if test "$TARGET_LINUX" = "true"; then
   AC_MSG_CHECKING([for atomic operations])
 
+  AC_LANG_SAVE
+  AC_LANG_CPLUSPLUS
+
   atom_ops=
   AC_TRY_RUN([
 #include <asm/atomic.h>
@@ -906,6 +909,8 @@
 
   if test -z "$atom_ops"; then atom_ops="no"; fi
   AC_MSG_RESULT($atom_ops)
+
+  AC_LANG_RESTORE
 
   AC_ARG_WITH(pstack,
     [  --with-pstack           Use the pstack backtrace library],
Thread
bk commit into 4.1 tree (jimw:1.2470) BUG#13621Jim Winstead10 Nov