summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <joerg@mysql.com>2005-03-29 21:13:56 +0200
committerunknown <joerg@mysql.com>2005-03-29 21:13:56 +0200
commite73766f8093f36aa6a54f0883015e60fca9cd02c (patch)
tree1d1daf71265e7c41e9658022a43ef0f508e81a47 /config
parent646f072d2c7d0caef821ebcb28dc47108278f497 (diff)
parent343abb750d6e4bd8353fc74f79ffa3e42fc4611a (diff)
downloadmariadb-git-e73766f8093f36aa6a54f0883015e60fca9cd02c.tar.gz
Merge mysql.com:/M50/mysql-5.0 into mysql.com:/M50/push-5.0
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/misc.m428
1 files changed, 28 insertions, 0 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4
index 556cc7625cc..186a069ac61 100644
--- a/config/ac-macros/misc.m4
+++ b/config/ac-macros/misc.m4
@@ -636,3 +636,31 @@ fi
dnl ---------------------------------------------------------------------------
+
+dnl ---------------------------------------------------------------------------
+dnl Macro: MYSQL_CHECK_BIG_TABLES
+dnl Sets BIG_TABLES if --with-big-tables is used
+dnl ---------------------------------------------------------------------------
+AC_DEFUN([MYSQL_CHECK_BIG_TABLES], [
+ AC_ARG_WITH([big-tables],
+ [
+ --with-big-tables Support tables with more than 4 G rows even on 32 bit platforms],
+ [bigtables="$withval"],
+ [bigtables=no])
+ AC_MSG_CHECKING([for big tables support])
+
+ case "$bigtables" in
+ yes )
+ AC_DEFINE([BIG_TABLES], [1], [Support big tables])
+ AC_MSG_RESULT([yes])
+ ;;
+ * )
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+
+])
+dnl ---------------------------------------------------------------------------
+dnl END OF MYSQL_CHECK_BIG_TABLES SECTION
+dnl ---------------------------------------------------------------------------
+