summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.bredbandsbolaget.se>2004-05-28 09:22:27 +0000
committerunknown <tomas@poseidon.bredbandsbolaget.se>2004-05-28 09:22:27 +0000
commit915fd0310b337e719603acd4df4e697593c33305 (patch)
treed2252a9923cf34ee65da8853a13849fc0684842f /acinclude.m4
parent36c291181f82f674d69a003943dff232f06b13d1 (diff)
downloadmariadb-git-915fd0310b337e719603acd4df4e697593c33305.tar.gz
added shared mem + sci options for ndb
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m424
1 files changed, 14 insertions, 10 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1d2b7d4d11d..e42430806e0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1341,39 +1341,42 @@ 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])
+ [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])
+ [ndb_sci="$withval"],
+ [ndb_sci=no])
AC_MSG_CHECKING([for NDB Cluster options])
+ AC_MSG_RESULT([])
have_ndb_shm=no
- case "$ndb-shm" in
+ case "$ndb_shm" in
yes )
- AC_MSG_RESULT([Including NDB Cluster shared memory transporter])
+ AC_MSG_RESULT([-- including shared memory transporter])
AC_DEFINE(NDB_SHM_TRANSPORTER)
have_ndb_shm="yes"
;;
* )
- AC_MSG_RESULT([Not including NDB Cluster shared memory transporter])
+ AC_MSG_RESULT([-- not including shared memory transporter])
;;
esac
have_ndb_sci=no
- case "$ndb-sci" in
+ case "$ndb_sci" in
yes )
- AC_MSG_RESULT([Including NDB Cluster sci transporter])
+ AC_MSG_RESULT([-- including sci transporter])
AC_DEFINE(NDB_SCI_TRANSPORTER)
have_ndb_sci="yes"
;;
* )
- AC_MSG_RESULT([Not including NDB Cluster sci transporter])
+ AC_MSG_RESULT([-- not including sci transporter])
;;
esac
+
+ AC_MSG_RESULT([done.])
])
AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
@@ -1396,6 +1399,7 @@ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
ndbcluster_includes="-I../ndb/include -I../ndb/include/ndbapi"
ndbcluster_libs="\$(top_builddir)/ndb/src/libndbclient.la"
ndbcluster_system_libs=""
+ MYSQL_CHECK_NDB_OPTIONS
;;
* )
AC_MSG_RESULT([Not using NDB Cluster])