summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimothy Smith <timothy.smith@sun.com>2009-11-04 15:34:42 -0700
committerTimothy Smith <timothy.smith@sun.com>2009-11-04 15:34:42 -0700
commitb93268ba8038e429b6d6c1bcac889d1931f9d51f (patch)
tree16df4ed3dd74aa0f2df566d3f234882e346dedde /config
parent69859d8d83527dbbf0bfd7788725f086a0455baa (diff)
downloadmariadb-git-b93268ba8038e429b6d6c1bcac889d1931f9d51f.tar.gz
Fix for 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.
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 9e575862848..7c829ed303a 100644
--- a/config/ac-macros/misc.m4
+++ b/config/ac-macros/misc.m4
@@ -726,15 +726,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