List:Internals« Previous MessageNext Message »
From:kent Date:July 2 2005 2:01am
Subject:bk commit into 4.0 tree (kent:1.2118)
View as plain text  
Below is the list of changes that have just been committed into a local
4.0 repository of kent. When kent 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.2118 05/07/02 02:00:56 kent@stripped +1 -0
  configure.in:
    Enable build with CXX=gcc and gcc version 4

  configure.in
    1.328 05/07/02 01:53:51 kent@stripped +6 -1
    Enable build with CXX=gcc and gcc version 4

# 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:	kent
# Host:	g4-2.local
# Root:	/Users/kent/mysql/bk/mysql-4.0

--- 1.327/configure.in	2005-06-01 12:59:07 +02:00
+++ 1.328/configure.in	2005-07-02 01:53:51 +02:00
@@ -370,9 +370,14 @@
 
   if echo $CXX | grep gcc > /dev/null 2>&1
   then
-    if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
+    AC_MSG_CHECKING([if CXX is gcc 3 or 4])
+    if $CXX -v 2>&1 | grep 'version [[34]]' > /dev/null 2>&1
     then
+      AC_MSG_RESULT([yes])
+      AC_MSG_NOTICE([using MySQL tricks to avoid linking C++ code with C++ libraries])
       CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL"
+    else
+      AC_MSG_RESULT([no])
     fi
   fi
 fi
Thread
bk commit into 4.0 tree (kent:1.2118)kent2 Jul