From dd2ab2e6793891f5a879b8f15250eb43373f015b Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 6 Sep 2012 15:29:13 +0300 Subject: s4-torture: dns torture test depends on AD DC build --- source4/torture/dns/wscript_build | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'source4/torture/dns') diff --git a/source4/torture/dns/wscript_build b/source4/torture/dns/wscript_build index 83df02fec4..674a3a0c2b 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 + ) -- cgit