From 1fb1af92b3a14e965d7b1ec3680d08ae5abae290 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Mar 2010 18:23:41 -0600 Subject: build: added msg argument to CHECK_TYPE() --- buildtools/wafsamba/samba_autoconf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'buildtools/wafsamba') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index aafa4c8c6b..af09d72910 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -103,16 +103,18 @@ def header_list(conf, headers=None, lib=None): @conf -def CHECK_TYPE(conf, t, alternate=None, headers=None, define=None, lib=None): +def CHECK_TYPE(conf, t, alternate=None, headers=None, define=None, lib=None, msg=None): '''check for a single type''' if define is None: define = 'HAVE_' + t.upper().replace(' ', '_') + if msg is None: + msg='Checking for %s' % t ret = CHECK_CODE(conf, '%s _x' % t, define, execute=False, headers=headers, - msg='Checking for %s' % t, local_include=False, + msg=msg, lib=lib, link=False) if not ret and alternate: -- cgit