summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-20 17:54:05 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:57 +1000
commitd148461101f4709d8e1a8b9eb64535e0bd15d874 (patch)
tree438a476324fe8f8e6c15438dbf419136fdc3292c /buildtools/wafsamba
parent3207f81787f33da3e25ba8d62ecb923f7aef9861 (diff)
downloadsamba-d148461101f4709d8e1a8b9eb64535e0bd15d874.tar.gz
samba-d148461101f4709d8e1a8b9eb64535e0bd15d874.tar.bz2
samba-d148461101f4709d8e1a8b9eb64535e0bd15d874.zip
build: CONFIG_SET() takes conf argument
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index dc1a0b3094..3959644217 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -126,7 +126,7 @@ def CHECK_DECLS(conf, vars, reverse=False, headers=None):
def CHECK_FUNC(conf, f, checklink=False):
'''check for a function'''
define='HAVE_%s' % f.upper()
- if CONFIG_SET(define):
+ if CONFIG_SET(conf, define):
return True
if checklink:
return CHECK_CODE(conf, '%s()' % f, execute=False, define=define)