diff options
author | lars@mysql.com <> | 2005-12-22 06:39:02 +0100 |
---|---|---|
committer | lars@mysql.com <> | 2005-12-22 06:39:02 +0100 |
commit | ad126d90e019f223470e73e1b2b528f9007c4532 (patch) | |
tree | 192a6c65973c50f6a436a8c6e6bb19efa2ed2419 /config | |
parent | 0f8f444b8be51db1265a3c30a576c9e404b86071 (diff) | |
download | mariadb-git-ad126d90e019f223470e73e1b2b528f9007c4532.tar.gz |
WL#1012: All changes as one single changeset.
This includes both code and test cases.
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/replication.m4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/ac-macros/replication.m4 b/config/ac-macros/replication.m4 new file mode 100644 index 00000000000..f73b9319b86 --- /dev/null +++ b/config/ac-macros/replication.m4 @@ -0,0 +1,30 @@ +dnl This file contains configuration parameters for replication. + +dnl --------------------------------------------------------------------------- +dnl Macro: MYSQL_CHECK_REPLICATION +dnl Sets HAVE_ROW_BASED_REPLICATION if --with-row-based-replication is used +dnl --------------------------------------------------------------------------- + +AC_DEFUN([MYSQL_CHECK_REPLICATION], [ + AC_ARG_WITH([row-based-replication], + AC_HELP_STRING([--with-row-based-replication], + [Include row-based replication]), + [row_based="$withval"], + [row_based=yes]) + AC_MSG_CHECKING([for row-based replication]) + + case "$row_based" in + yes ) + AC_DEFINE([HAVE_ROW_BASED_REPLICATION], [1], [Define to have row-based replication]) + AC_MSG_RESULT([-- including row-based replication]) + [have_row_based=yes] + ;; + * ) + AC_MSG_RESULT([-- not including row-based replication]) + [have_row_based=no] + ;; + esac +]) +dnl --------------------------------------------------------------------------- +dnl END OF MYSQL_CHECK_REPLICATION +dnl --------------------------------------------------------------------------- |