summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-31 08:35:58 +0200
committerKai Blin <kai@samba.org>2010-05-31 22:26:30 +0200
commit3811fdab5cec7830420c88cce99ea966236434f0 (patch)
tree4a519ac106136159f00a986b6d42ccdae7f81397
parente80301eded1d42b6a015c622be07bba589ee3512 (diff)
downloadsamba-3811fdab5cec7830420c88cce99ea966236434f0.tar.gz
samba-3811fdab5cec7830420c88cce99ea966236434f0.tar.bz2
samba-3811fdab5cec7830420c88cce99ea966236434f0.zip
s3-waf: Check for broken nisplus include files
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
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('''