wscript: Only build gensec_krb5 with heimdal.
authorAndreas Schneider <asn@samba.org>
Thu, 7 Aug 2014 13:28:57 +0000 (15:28 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 8 Aug 2014 14:37:35 +0000 (16:37 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/gensec/wscript_build

index df633d4af7a9cb2f2c47fcd8c72d2ac5372a9cc4..1a44a9072c3c39cb14d9d129eb8ec1d5720a36e6 100755 (executable)
@@ -11,7 +11,7 @@ bld.SAMBA_MODULE('gensec_krb5',
        init_function='gensec_krb5_init',
        deps='samba-credentials authkrb5 com_err gensec_util',
        internal_module=False,
-        enabled=bld.AD_DC_BUILD_IS_ENABLED()
+        enabled=bld.AD_DC_BUILD_IS_ENABLED() and bld.CONFIG_SET('SAMBA4_USES_HEIMDAL')
        )