wscript: Build the KDC code if we have the AD DC build enabled
authorAndreas Schneider <asn@samba.org>
Thu, 23 Jul 2015 11:48:50 +0000 (13:48 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 17 Mar 2016 03:32:28 +0000 (04:32 +0100)
Signed-off-by: G√ľnther Deschner <gd@samba.org>
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
wscript
wscript_build
wscript_build_embedded_heimdal
wscript_build_system_heimdal

diff --git a/wscript b/wscript
index 41ed5da..ff4bcee 100644 (file)
--- a/wscript
+++ b/wscript
@@ -136,6 +136,9 @@ def configure(conf):
 
     conf.RECURSE('lib/ldb')
 
+    if not (Options.options.without_ad_dc):
+        conf.DEFINE('AD_DC_BUILD_IS_ENABLED', 1)
+
     if Options.options.with_system_mitkrb5:
         conf.PROCESS_SEPARATE_RULE('system_mitkrb5')
     if not (Options.options.without_ad_dc or Options.options.with_system_mitkrb5):
index 65b5e30..27dc675 100644 (file)
@@ -138,6 +138,7 @@ else:
 bld.RECURSE('libcli/smbreadline')
 if bld.AD_DC_BUILD_IS_ENABLED():
     bld.RECURSE('source4/setup')
+    bld.RECURSE('source4/kdc')
 if bld.env.with_ctdb:
     bld.RECURSE('ctdb')
 bld.RECURSE('source4/scripting')
index fec28be..9b829d8 100644 (file)
@@ -1,5 +1,4 @@
 import Logs
 
 Logs.info("\tSelected embedded Heimdal build")
-bld.RECURSE('source4/kdc')
 bld.RECURSE('source4/heimdal_build')
index 8ec09b4..4ea8cd7 100644 (file)
@@ -1,5 +1,4 @@
 import Logs
 
 Logs.info("\tSelected system Heimdal build")
-bld.RECURSE('source4/kdc')
 bld.RECURSE('source4/heimdal_build')