summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-04-02 19:10:55 +0300
committerunknown <monty@hundin.mysql.fi>2002-04-02 19:10:55 +0300
commita8a63101d0c17fb080b2c47ea02441c060949f60 (patch)
treeb5c1768687952aa7b1d6b2f083bc36126903986b /configure.in
parentc95270b8c4b320c1080acc03da99e2a33c80440b (diff)
downloadmariadb-git-a8a63101d0c17fb080b2c47ea02441c060949f60.tar.gz
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 5 insertions, 6 deletions
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,