mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
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>
This commit is contained in:
parent
42e72f1a30
commit
04dcae23ab
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user