summaryrefslogtreecommitdiff
path: root/source4/torture/krb5
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-04-25 08:32:01 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-04-29 23:31:10 +0200
commit6ffef6f5ae90e9c060494c338b0ec0eff4a68146 (patch)
tree7ba93e41e779508d0b447265e54cde1053b16385 /source4/torture/krb5
parent8fd03be2760c9904595a1b1ead5a770589fdd8b1 (diff)
downloadsamba-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_build34
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)