From a8a63101d0c17fb080b2c47ea02441c060949f60 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Apr 2002 19:10:55 +0300 Subject: Fix for HAVE_QUERY_CACHE Remove not used flag CLIENT_CHANGE_USER Docs/manual.texi: Cleanup examples acconfig.h: Fix for HAVE_QUERY_CACHE configure.in: Fix for HAVE_QUERY_CACHE include/my_global.h: Fix for HAVE_QUERY_CACHE include/mysql_com.h: Remove not used flag CLIENT_CHANGE_USER libmysqld/libmysqld.c: Fix new prototypes --- configure.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 17edcabbaf0..a0e6b819367 100644 --- a/configure.in +++ b/configure.in @@ -1827,15 +1827,14 @@ AC_ARG_WITH(embedded-server, ) AC_ARG_WITH(query_cache, - [ --without-query-cache Don't build query cache in embedded server.], - [with_embedded_server=$withval], - [with_embedded_server=yes] + [ --without-query-cache Don not build query cache in embedded server.], + [with_query_cache=$withval], + [with_query_cache=yes] ) -if test "$with_embedded_server" = "yes" +if test "$with_query_cache" = "yes" then - CFLAGS="$CFLAGS -DHAVE_QUERY_CACHE" - CXXFLAGS="$CXXFLAGS -DHAVE_QUERY_CACHE" + AC_DEFINE(HAVE_QUERY_CACHE) fi AC_ARG_WITH(extra-tools, -- cgit v1.2.1