From 3811fdab5cec7830420c88cce99ea966236434f0 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 31 May 2010 08:35:58 +0200 Subject: s3-waf: Check for broken nisplus include files --- source3/wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index a011a52433..ee073118f9 100644 --- a/source3/wscript +++ b/source3/wscript @@ -202,6 +202,9 @@ main() { conf.CHECK_CODE('uint32 testvar;', 'HAVE_INT16_FROM_RPC_RPC_H', headers='sys/types.h rpc/rpc.h', msg="Checking for uint32 typedef included by rpc/rpc.h") + conf.CHECK_CODE('int i;', 'BROKEN_NISPLUS_INCLUDE_FILES', + headers='sys/types.h sys/acl.h rpcsvc/nis.h', + msg="Checking for broken nisplus include files") # Check if the compiler will optimize out functions conf.CHECK_CODE(''' -- cgit