summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.(none)>2004-05-27 16:28:41 +0000
committerunknown <tomas@poseidon.(none)>2004-05-27 16:28:41 +0000
commit29f3f5335d1809844fd88b953b98ee32f5022c5f (patch)
tree53ba7c3347f44416751ef25df92f5023078dc947 /acinclude.m4
parent4688d39aaddd9c43e1f30b3f70717fe781e30577 (diff)
downloadmariadb-git-29f3f5335d1809844fd88b953b98ee32f5022c5f.tar.gz
ndb fixes see files
acconfig.h: added switched for shm sci in ndb acinclude.m4: added switched for shm sci in ndb configure.in: added dependency for ndblibs to mysql server ndb/src/common/transporter/Makefile.am: small fix ndb/src/common/transporter/Transporter.hpp: ndb_global for sci and shm defines
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],
[