build: CONFIG_SET() takes conf argument
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 06:54:05 +0000 (17:54 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:57 +0000 (20:26 +1000)
buildtools/wafsamba/samba_autoconf.py

index dc1a0b3094cd37c8f9c86a1d4daf1316497b1bde..3959644217960d90032b42967dee048b73ac6da1 100644 (file)
@@ -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)