diff options
author | Timothy Smith <timothy.smith@sun.com> | 2009-11-04 16:08:21 -0700 |
---|---|---|
committer | Timothy Smith <timothy.smith@sun.com> | 2009-11-04 16:08:21 -0700 |
commit | 2b87e80ab3010b383672f68f0796b9dc6795bdf6 (patch) | |
tree | 4e78eafe21b1c9445e818cddfe68d45ed6a2ab35 /config | |
parent | ed1b8829c9b24d3bfc301ab1558e10680e38f750 (diff) | |
parent | 377c1dc5843e8cbee0876e86753281e1fa815eca (diff) | |
download | mariadb-git-2b87e80ab3010b383672f68f0796b9dc6795bdf6.tar.gz |
auto-merge
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 1eec0e9e18c..996ac62e025 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -601,15 +601,15 @@ dnl --------------------------------------------------------------------------- dnl MYSQL_NEEDS_MYSYS_NEW AC_DEFUN([MYSQL_NEEDS_MYSYS_NEW], -[AC_CACHE_CHECK([needs mysys_new helpers], mysql_use_mysys_new, +[AC_CACHE_CHECK([needs mysys_new helpers], mysql_cv_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) +], mysql_cv_use_mysys_new=no, mysql_cv_use_mysys_new=yes) AC_LANG_POP(C++) ]) -if test "$mysql_use_mysys_new" = "yes" +if test "$mysql_cv_use_mysys_new" = "yes" then AC_DEFINE([USE_MYSYS_NEW], [1], [Needs to use mysys_new helpers]) fi |