From 5b839230e1475550f13ed642187913fd0c026445 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 24 Jan 2011 18:09:27 -0800 Subject: 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 Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104 --- buildtools/wafsamba/samba_autoconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') 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('.', '_') -- cgit