summaryrefslogtreecommitdiff
path: root/source4/kdc/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2014-05-08 15:15:40 +0200
committerGünther Deschner <gd@samba.org>2015-03-27 01:26:16 +0100
commit1afd3d32623336b178a90d6cd4ef395a5c6b3c19 (patch)
tree35432b3e072fb3c96ef7a1963a32fb4ac62b0407 /source4/kdc/wscript_build
parent77ede580e98bbebaa1707201f3520912e6bccf5c (diff)
downloadsamba-1afd3d32623336b178a90d6cd4ef395a5c6b3c19.tar.gz
s4-kdc: build some kdc components only for Heimdal KDCs.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/kdc/wscript_build')
-rwxr-xr-xsource4/kdc/wscript_build6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index 78a79b7c403..89260126953 100755
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -19,7 +19,8 @@ bld.SAMBA_LIBRARY('HDB_SAMBA4',
source='hdb-samba4.c hdb-samba4-plugin.c',
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
includes=kdc_include,
- private_library=True
+ private_library=True,
+ enabled=bld.CONFIG_SET('SAMBA4_USES_HEIMDAL')
)
# A plugin for Heimdal's kadmin for users who need to operate that tool
@@ -36,7 +37,8 @@ bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
source='wdc-samba4.c',
includes=kdc_include,
- deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
+ deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err',
+ enabled=bld.CONFIG_SET('SAMBA4_USES_HEIMDAL')
)