1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

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
This commit is contained in:
Jelmer Vernooij 2011-01-24 18:09:27 -08:00
parent 57d1dcef7f
commit 5b839230e1

View File

@ -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('.', '_')