summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-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)