diff options
author | Volker Lendecke <vl@samba.org> | 2019-07-31 12:19:24 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-06 21:49:28 +0000 |
commit | 04dcae23ab47a31a7348f0246cc2cf434d4e5fc6 (patch) | |
tree | 3c8a4e4a117c8bd7082686b2281c0a429f15670f /source3/wscript | |
parent | 42e72f1a30db9090d53669ca68cc71bbe784758d (diff) | |
download | samba-04dcae23ab47a31a7348f0246cc2cf434d4e5fc6.tar.gz |
build: Only check rpc/xdr.h in tirpc if required
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript index 6a4822dd711..d6333f03386 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1693,7 +1693,8 @@ main() { conf.DEFINE('WITH_SPOTLIGHT', '1') conf.env.with_spotlight = True - conf.CHECK_HEADERS('rpc/xdr.h', lib='tirpc') + if not conf.CONFIG_SET('HAVE_RPC_XDR_H'): + conf.CHECK_HEADERS('rpc/xdr.h', lib='tirpc') if conf.CHECK_FUNCS_IN('nscd_flush_cache', 'nscd', headers='libnscd.h'): conf.DEFINE('HAVE_NSCD_FLUSH_CACHE', '1') |