diff options
-rw-r--r-- | wscript | 4 | ||||
-rw-r--r-- | wscript_build | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,7 @@ def set_options(opt): opt.RECURSE('pidl') opt.RECURSE('source3') opt.RECURSE('lib/util') + opt.RECURSE('ctdb') opt.add_option('--with-system-mitkrb5', help='enable system MIT krb5 build (includes Samba 4 client and Samba 3 code base).'+ @@ -166,6 +167,9 @@ def configure(conf): conf.RECURSE('selftest') conf.RECURSE('source3') conf.RECURSE('lib/texpect') + if Options.options.with_cluster_support: + conf.env.with_ctdb = True + conf.RECURSE('ctdb') conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS() diff --git a/wscript_build b/wscript_build index 48cb71db8d0..d7dea5466ea 100644 --- a/wscript_build +++ b/wscript_build @@ -139,6 +139,8 @@ bld.RECURSE('libcli/smbreadline') bld.RECURSE('codepages') if bld.AD_DC_BUILD_IS_ENABLED(): bld.RECURSE('source4/setup') +if bld.env.with_ctdb: + bld.RECURSE('ctdb') bld.RECURSE('source4/scripting') bld.RECURSE('pidl') bld.RECURSE('lib') |