diff options
author | Andreas Schneider <asn@samba.org> | 2017-04-25 08:32:01 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-29 23:31:10 +0200 |
commit | 6ffef6f5ae90e9c060494c338b0ec0eff4a68146 (patch) | |
tree | 7ba93e41e779508d0b447265e54cde1053b16385 /source4/torture/krb5 | |
parent | 8fd03be2760c9904595a1b1ead5a770589fdd8b1 (diff) | |
download | samba-6ffef6f5ae90e9c060494c338b0ec0eff4a68146.tar.gz |
waf: Only build KRB5 KDC tests when AD_DC build is enabled
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/krb5')
-rw-r--r-- | source4/torture/krb5/wscript_build | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source4/torture/krb5/wscript_build b/source4/torture/krb5/wscript_build index b9d9eb70d03..49947fe4d19 100644 --- a/source4/torture/krb5/wscript_build +++ b/source4/torture/krb5/wscript_build @@ -1,19 +1,19 @@ #!/usr/bin/env python -if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'): - bld.SAMBA_MODULE('TORTURE_KRB5', - source='kdc-heimdal.c kdc-canon-heimdal.c', - autoproto='proto.h', - subsystem='smbtorture', - init_function='torture_krb5_init', - deps='authkrb5 popt POPT_CREDENTIALS torture KERBEROS_UTIL', - internal_module=True - ) -else: - bld.SAMBA_MODULE('TORTURE_KRB5', - source='kdc-mit.c', - autoproto='proto.h', - subsystem='smbtorture', - init_function='torture_krb5_init', - deps='authkrb5 popt POPT_CREDENTIALS torture KERBEROS_UTIL', - internal_module=True) +if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): + if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'): + bld.SAMBA_MODULE('TORTURE_KRB5', + source='kdc-heimdal.c kdc-canon-heimdal.c', + autoproto='proto.h', + subsystem='smbtorture', + init_function='torture_krb5_init', + deps='authkrb5 popt POPT_CREDENTIALS torture KERBEROS_UTIL', + internal_module=True) + else: + bld.SAMBA_MODULE('TORTURE_KRB5', + source='kdc-mit.c', + autoproto='proto.h', + subsystem='smbtorture', + init_function='torture_krb5_init', + deps='authkrb5 popt POPT_CREDENTIALS torture KERBEROS_UTIL', + internal_module=True) |