diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-10-10 10:59:06 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-10-28 05:42:04 +0100 |
commit | 5e7ab5ce38689a2dd1e921abf58af346b730a843 (patch) | |
tree | 538174375954f3ee9ef4c47d44d88dec0a97abf6 /source3/wscript | |
parent | 1a8d43193614700bd5b4563207328cbfffecf230 (diff) | |
download | samba-5e7ab5ce38689a2dd1e921abf58af346b730a843.tar.gz samba-5e7ab5ce38689a2dd1e921abf58af346b730a843.tar.xz samba-5e7ab5ce38689a2dd1e921abf58af346b730a843.zip |
build: Remove configure option --enable-old-ctdb
CTDB source is now part of Samba tree and to enable clustering smbd
should be built against included CTDB.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/source3/wscript b/source3/wscript index 2083f01a8d..5ad2dbca04 100644 --- a/source3/wscript +++ b/source3/wscript @@ -55,9 +55,6 @@ def set_options(opt): opt.add_option('--with-ctdb-dir', help=("Directory under which ctdb is installed"), action="store", dest='ctdb_dir', default=None) - opt.add_option('--enable-old-ctdb', - help=("enable building against (too) old version of ctdb (default=false)"), - action="store_true", dest='enable_old_ctdb', default=False) opt.add_option('--with-libcephfs', help=("Directory under which libcephfs is installed"), @@ -1629,11 +1626,8 @@ main() { if ok: CTDB_CFLAGS += ' -DHAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL=1' else: - if not Options.options.enable_old_ctdb: - have_cluster_support = False - ctdb_broken = "SCHEDULE_FOR_DELETION control missing" - else: - Logs.warn("ignoring missing SCHEDULE_FOR_DELETION control (--enable-old-ctdb)") + have_cluster_support = False + ctdb_broken = "SCHEDULE_FOR_DELETION control missing" conf.CONFIG_RESET('HAVE_CTDB_CHECK_CODE') if have_cluster_support: @@ -1659,11 +1653,8 @@ main() { if ok: CTDB_CFLAGS += ' -DHAVE_CTDB_WANT_READONLY_DECL=1' else: - if not Options.options.enable_old_ctdb: - have_cluster_support = False - ctdb_broken = "support for CTDB readonly records missing" - else: - Logs.warn("ignoring missing READONLY support (--enable-old-ctdb)") + have_cluster_support = False + ctdb_broken = "support for CTDB readonly records missing" conf.CONFIG_RESET('HAVE_CTDB_CHECK_CODE') if have_cluster_support: @@ -1743,11 +1734,8 @@ main() { if ok: CTDB_CFLAGS += ' -DHAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL=1' else: - if not Options.options.enable_old_ctdb: - have_cluster_support = False - ctdb_broken = "CHECK_SRVIDS control missing" - else: - Logs.warn("ignoring missing CHECK_SRVIDS control (--enable-old-ctdb)") + have_cluster_support = False + ctdb_broken = "CHECK_SRVIDS control missing" conf.CONFIG_RESET('HAVE_CTDB_CHECK_CODE') conf.undefine('HAVE_CTDB_CHECK_CODE') |