s4-kdc: build some kdc components only for Heimdal KDCs.
authorGünther Deschner <gd@samba.org>
Thu, 8 May 2014 13:15:40 +0000 (15:15 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 27 Mar 2015 00:26:16 +0000 (01:26 +0100)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/kdc/wscript_build

index 78a79b7c4033cad9ade1132a0aceef0119e47af0..892601269533f04061425c8c0a829bd9ef077e85 100755 (executable)
@@ -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')
        )