From: Alexander Bokovoy Date: Thu, 6 Sep 2012 12:29:13 +0000 (+0300) Subject: s4-torture: dns torture test depends on AD DC build X-Git-Tag: samba-4.0.0rc1~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd2ab2e6793891f5a879b8f15250eb43373f015b;p=thirdparty%2Fsamba.git s4-torture: dns torture test depends on AD DC build --- diff --git a/source4/torture/dns/wscript_build b/source4/torture/dns/wscript_build index 83df02fec42..674a3a0c2bd 100644 --- a/source4/torture/dns/wscript_build +++ b/source4/torture/dns/wscript_build @@ -1,10 +1,11 @@ #!/usr/bin/env python -bld.SAMBA_MODULE('TORTURE_DNS', - source='dlz_bind9.c', - subsystem='smbtorture', - init_function='torture_dns_init', - cflags='-DBIND_VERSION_9_8', - deps='torture talloc torturemain dlz_bind9_for_torture', - internal_module=True - ) +if bld.AD_DC_BUILD_IS_ENABLED(): + bld.SAMBA_MODULE('TORTURE_DNS', + source='dlz_bind9.c', + subsystem='smbtorture', + init_function='torture_dns_init', + cflags='-DBIND_VERSION_9_8', + deps='torture talloc torturemain dlz_bind9_for_torture', + internal_module=True + )