diff options
author | unknown <tulin@build.mysql.com> | 2005-01-06 13:04:52 +0100 |
---|---|---|
committer | unknown <tulin@build.mysql.com> | 2005-01-06 13:04:52 +0100 |
commit | 744ceabebe3bba13596d65108474d359baab2acb (patch) | |
tree | 7113496c0877a19edd3d86776f820e7792d10a5c /config/ac-macros/ha_ndbcluster.m4 | |
parent | 9bb865befc8510e13ad5b231b1fd4888e36b6041 (diff) | |
download | mariadb-git-744ceabebe3bba13596d65108474d359baab2acb.tar.gz |
ha_ndbcluster.m4:
fixed ndb configure according to 4.1
config/ac-macros/ha_ndbcluster.m4:
fixed ndb configure according to 4.1
Diffstat (limited to 'config/ac-macros/ha_ndbcluster.m4')
-rw-r--r-- | config/ac-macros/ha_ndbcluster.m4 | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4 index aea6f37ae2a..433bba95e91 100644 --- a/config/ac-macros/ha_ndbcluster.m4 +++ b/config/ac-macros/ha_ndbcluster.m4 @@ -36,11 +36,6 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [ ;; esac - 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-test], [ --with-ndb-test Include the NDB Cluster ndbapi test programs], @@ -61,23 +56,15 @@ 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="default"]) AC_MSG_CHECKING([for NDB Cluster options]) AC_MSG_RESULT([]) - have_ndb_shm=no - case "$ndb_shm" in - yes ) - AC_MSG_RESULT([-- including shared memory transporter]) - AC_DEFINE([NDB_SHM_TRANSPORTER], [1], - [Including Ndb Cluster DB shared memory transporter]) - have_ndb_shm="yes" - ;; - * ) - AC_MSG_RESULT([-- not including shared memory transporter]) - ;; - esac - have_ndb_test=no case "$ndb_test" in yes ) @@ -100,6 +87,24 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [ ;; esac + case "$ndb_debug" in + yes ) + AC_MSG_RESULT([-- including ndb extra debug options]) + have_ndb_debug="yes" + ;; + full ) + AC_MSG_RESULT([-- including ndb extra extra debug options]) + have_ndb_debug="full" + ;; + no ) + AC_MSG_RESULT([-- not including ndb extra debug options]) + have_ndb_debug="no" + ;; + * ) + have_ndb_debug="default" + ;; + esac + AC_MSG_RESULT([done.]) ]) |