summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authortomas@poseidon.(none) <>2004-05-27 16:28:41 +0000
committertomas@poseidon.(none) <>2004-05-27 16:28:41 +0000
commit12709128d51e27601413ac23007089c11c61666f (patch)
tree53ba7c3347f44416751ef25df92f5023078dc947 /acinclude.m4
parent2573f890ae104692675ef47f686c27e44ad707b8 (diff)
downloadmariadb-git-12709128d51e27601413ac23007089c11c61666f.tar.gz
ndb fixes see files
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m439
1 files changed, 39 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 27e1ae91189..1d2b7d4d11d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1337,6 +1337,45 @@ dnl Macro: MYSQL_CHECK_NDBCLUSTER
dnl Sets HAVE_NDBCLUSTER_DB if --with-ndbcluster is used
dnl ---------------------------------------------------------------------------
+AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
+ AC_ARG_WITH([ndb-shm],
+ [
+ --with-ndb-shm Include the NDB Cluster shared memory transporter],
+ [ndb-shm="$withval"],
+ [ndb-shm=no])
+ AC_ARG_WITH([ndb-sci],
+ [
+ --with-ndb-sci Include the NDB Cluster sci transporter],
+ [ndb-sci="$withval"],
+ [ndb-sci=no])
+
+ AC_MSG_CHECKING([for NDB Cluster options])
+
+ have_ndb_shm=no
+ case "$ndb-shm" in
+ yes )
+ AC_MSG_RESULT([Including NDB Cluster shared memory transporter])
+ AC_DEFINE(NDB_SHM_TRANSPORTER)
+ have_ndb_shm="yes"
+ ;;
+ * )
+ AC_MSG_RESULT([Not including NDB Cluster shared memory transporter])
+ ;;
+ esac
+
+ have_ndb_sci=no
+ case "$ndb-sci" in
+ yes )
+ AC_MSG_RESULT([Including NDB Cluster sci transporter])
+ AC_DEFINE(NDB_SCI_TRANSPORTER)
+ have_ndb_sci="yes"
+ ;;
+ * )
+ AC_MSG_RESULT([Not including NDB Cluster sci transporter])
+ ;;
+ esac
+])
+
AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
AC_ARG_WITH([ndbcluster],
[