summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-12-03 21:26:14 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-12-03 21:26:14 +0000
commit863c73898fced0216b6dcadda99366fbf8f3cdfc (patch)
tree1f59ef9d62e6f9b1b593b355a8a70871012886c1 /acinclude.m4
parent67aec82f792d65ebc2fe49574c5cb02ce2d1c727 (diff)
downloadmariadb-git-863c73898fced0216b6dcadda99366fbf8f3cdfc.tar.gz
added configure option to control extra ndb debug options,
for release debug build please configure with --without-ndb-debug
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m423
1 files changed, 23 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 81917372206..b43fad3ec70 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1624,6 +1624,11 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
--with-ndb-port-base Base port for NDB Cluster transporters],
[ndb_port_base="$withval"],
[ndb_port_base="default"])
+ AC_ARG_WITH([ndb-debug],
+ [
+ --without-ndb-debug Disable special ndb debug features],
+ [ndb_debug="$withval"],
+ [ndb_debug="no"])
AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_RESULT([])
@@ -1663,6 +1668,24 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
;;
esac
+ case "$ndb_debug" in
+ yes )
+ AC_MSG_RESULT([-- including ndb extra debug options])
+ with_ndb_debug="yes"
+ ;;
+ full )
+ AC_MSG_RESULT([-- including ndb extra extra debug options])
+ with_ndb_debug="full"
+ ;;
+ no )
+ AC_MSG_RESULT([-- not including ndb extra debug options])
+ with_ndb_debug="no"
+ ;;
+ * )
+ with_ndb_debug="default"
+ ;;
+ esac
+
AC_MSG_RESULT([done.])
])