diff options
author | unknown <joerg@mysql.com> | 2005-03-29 21:11:52 +0200 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2005-03-29 21:11:52 +0200 |
commit | a0e3250549087bb1f718fdf1a0317b63272b2a49 (patch) | |
tree | c0795fb36cb2349fe0fd41319997cbfe1562ae77 /config/ac-macros | |
parent | c0e5a040564390e20d902a67e80172595f35cdad (diff) | |
download | mariadb-git-a0e3250549087bb1f718fdf1a0317b63272b2a49.tar.gz |
Implement the new '--with-big-tables' flag to "configure".
Using it comes merged from 4.1.
config/ac-macros/misc.m4:
Implement the new '--with-big-tables' flag to "configure".
Diffstat (limited to 'config/ac-macros')
-rw-r--r-- | config/ac-macros/misc.m4 | 28 |
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 --------------------------------------------------------------------------- + |