diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-01-22 13:27:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-01-22 17:47:21 +0100 |
commit | c3aaf6492f40319db84124617002362fd6d0f890 (patch) | |
tree | 0ffae00d1f3b41e81fb4cc72f8f3e52782cb84a6 /source4/torture/wscript_build | |
parent | f69b6dd9053fe763235d0453a00c9363491bce32 (diff) | |
download | samba-c3aaf6492f40319db84124617002362fd6d0f890.tar.gz |
waf: Only build the backupkey rpc test with AD DC enabled
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture/wscript_build')
-rwxr-xr-x | source4/torture/wscript_build | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index 6cf255ba1bf..89660262572 100755 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -66,10 +66,12 @@ bld.SAMBA_SUBSYSTEM('TORTURE_NDR', deps='torture' ) -if bld.CONFIG_SET('HAVE_GNUTLS_3_4_7'): - torture_rpc_backupkey = 'rpc/backupkey.c' -else: - torture_rpc_backupkey = 'rpc/backupkey_heimdal.c' +torture_rpc_backupkey = '' +if bld.AD_DC_BUILD_IS_ENABLED(): + if bld.CONFIG_SET('HAVE_GNUTLS_3_4_7'): + torture_rpc_backupkey = 'rpc/backupkey.c' + else: + torture_rpc_backupkey = 'rpc/backupkey_heimdal.c' bld.SAMBA_MODULE('torture_rpc', source=''' |