summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2009-11-11 21:43:31 +0100
committerMagne Mahre <magne.mahre@sun.com>2009-11-11 21:43:31 +0100
commit01553c2920e4213ca7d7aebfe7e4d31b5de2fc63 (patch)
treeb12428ef14fa1df9ba6fede1b02beaa29350518e /config
parentd88b0008aef1c03c7cf5799970533a5f26d722fb (diff)
downloadmariadb-git-01553c2920e4213ca7d7aebfe7e4d31b5de2fc63.tar.gz
Bug#40700: aclocal warnings for missing cache-id's
Just change mysql_foo to mysql_cv_foo for one cache-id variable name. There was only one bad variable name, present in 5.0 and 5.1, but not in the -pe branch. Backported to 5.6.0 (mysql-next-mr-runtime)
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/misc.m46
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