summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-10 10:26:10 +0100
committerVolker Lendecke <vl@samba.org>2012-03-11 12:35:08 +0100
commit51e785949c5908912a9b0ae903e7c18d898808fc (patch)
tree87c98e06cf82740a73d5c137fd27c3a49b90c429 /buildtools/wafsamba
parent26a0e7a3f5ba7f8d6af2d2b8d7a6acf1323e8c57 (diff)
downloadsamba-51e785949c5908912a9b0ae903e7c18d898808fc.tar.gz
samba-51e785949c5908912a9b0ae903e7c18d898808fc.tar.bz2
samba-51e785949c5908912a9b0ae903e7c18d898808fc.zip
waf: Do not use standards.h on darwin
We get a nasty warning every time we include that
Diffstat (limited to 'buildtools/wafsamba')
-rwxr-xr-xbuildtools/wafsamba/wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 5c5e249758..094f9cc5b4 100755
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -350,7 +350,12 @@ def configure(conf):
conf.CHECK_HEADERS('stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h',
add_headers=True)
conf.CHECK_HEADERS('strings.h inttypes.h stdint.h unistd.h minix/config.h', add_headers=True)
- conf.CHECK_HEADERS('ctype.h standards.h stdbool.h stdint.h stdarg.h vararg.h', add_headers=True)
+ conf.CHECK_HEADERS('ctype.h', add_headers=True)
+
+ if sys.platform != 'darwin':
+ conf.CHECK_HEADERS('standards.h', add_headers=True)
+
+ conf.CHECK_HEADERS('stdbool.h stdint.h stdarg.h vararg.h', add_headers=True)
conf.CHECK_HEADERS('limits.h assert.h')
# see if we need special largefile flags