From acc81f96a45275b4bfe356fdc4dd3cc5f03775ff Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 6 Apr 2010 00:28:05 +0200 Subject: build: Add an always parameter to CHECK_DECLS --- buildtools/wafsamba/samba_autoconf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'buildtools/wafsamba/samba_autoconf.py') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 60c505717b..d12fb9d9cd 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -204,7 +204,7 @@ def CHECK_VARIABLE(conf, v, define=None, always=False, @conf -def CHECK_DECLS(conf, vars, reverse=False, headers=None): +def CHECK_DECLS(conf, vars, reverse=False, headers=None, always=False): '''check a list of variable declarations, using the HAVE_DECL_xxx form of define @@ -219,7 +219,8 @@ def CHECK_DECLS(conf, vars, reverse=False, headers=None): if not CHECK_VARIABLE(conf, v, define=define, headers=headers, - msg='Checking for declaration of %s' % v): + msg='Checking for declaration of %s' % v, + always=always): ret = False return ret -- cgit