diff options
author | unknown <lars@mysql.com> | 2005-05-06 15:04:07 +0200 |
---|---|---|
committer | unknown <lars@mysql.com> | 2005-05-06 15:04:07 +0200 |
commit | 5bb91691185c247d48162d9122392c717fd5388c (patch) | |
tree | ef9546f0afeb86bd67e50136f11b58333394ae08 /config | |
parent | 303229750d5f717a3174f34ba056482951a8a0a2 (diff) | |
parent | 0baed276c312dd2e277e0e029f290510c6bdd4d9 (diff) | |
download | mariadb-git-5bb91691185c247d48162d9122392c717fd5388c.tar.gz |
Manual merge 5.0->5.1
BitKeeper/etc/logging_ok:
auto-union
configure.in:
Auto merged
mysql-test/mysql-test-run.sh:
Auto merged
sql/ha_innodb.cc:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/item.cc:
Auto merged
sql/log_event.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
storage/innobase/include/lock0lock.h:
Auto merged
storage/innobase/include/srv0srv.h:
Auto merged
storage/innobase/lock/lock0lock.c:
Auto merged
storage/innobase/srv/srv0srv.c:
Auto merged
storage/ndb/test/src/NDBT_ResultRow.cpp:
Auto merged
sql/slave.cc:
Due to refactoring, this needs to be checked before the call.
sql/sql_acl.cc:
Resolving conflicts due to bug fix and filter refactoring
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index d75dedafa2a..8c961ef84e0 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -693,3 +693,20 @@ dnl --------------------------------------------------------------------------- dnl END OF MYSQL_CHECK_BIG_TABLES SECTION dnl --------------------------------------------------------------------------- +dnl MYSQL_NEEDS_MYSYS_NEW +AC_DEFUN([MYSQL_NEEDS_MYSYS_NEW], +[AC_CACHE_CHECK([needs mysys_new helpers], mysql_use_mysys_new, +[ +AC_LANG_PUSH(C++) +AC_TRY_LINK([], [ +class A { public: int b; }; A *a=new A; a->b=10; delete a; +], mysql_use_mysys_new=no, mysql_use_mysys_new=yes) +AC_LANG_POP(C++) +]) +if test "$mysql_use_mysys_new" = "yes" +then + AC_DEFINE([USE_MYSYS_NEW], [1], [Needs to use mysys_new helpers]) +fi +]) + + |