summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-01-24 18:09:27 -0800
committerJelmer Vernooij <jelmer@samba.org>2011-01-25 03:59:32 +0100
commit5b839230e1475550f13ed642187913fd0c026445 (patch)
tree931a68a662d064f8b93fff6999df223fa3e7234f
parent57d1dcef7ffeab086cf125431f5e03985ba0d0ce (diff)
downloadsamba-5b839230e1475550f13ed642187913fd0c026445.tar.gz
samba-5b839230e1475550f13ed642187913fd0c026445.tar.bz2
samba-5b839230e1475550f13ed642187913fd0c026445.zip
s4-waf: Skip header-not-found cache if a library is specified, as it may provide
additional C flags. Tridge, please check. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 91d8a56fe3..ec0ed16e52 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -80,7 +80,7 @@ def nolink(self):
def CHECK_HEADER(conf, h, add_headers=False, lib=None):
'''check for a header'''
- if h in missing_headers:
+ if h in missing_headers and lib is None:
return False
d = h.upper().replace('/', '_')
d = d.replace('.', '_')