summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 18:23:41 -0600
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:04 +1000
commit1fb1af92b3a14e965d7b1ec3680d08ae5abae290 (patch)
tree5b4105175b66d65944a93c5eb9895e755710ba16 /buildtools
parent8f33da10da74a99dd3b4bb6f9dc922534b0e7fd4 (diff)
downloadsamba-1fb1af92b3a14e965d7b1ec3680d08ae5abae290.tar.gz
samba-1fb1af92b3a14e965d7b1ec3680d08ae5abae290.tar.bz2
samba-1fb1af92b3a14e965d7b1ec3680d08ae5abae290.zip
build: added msg argument to CHECK_TYPE()
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py6
1 files changed, 4 insertions, 2 deletions
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: