summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-03-07 12:05:19 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-03-08 05:53:07 +0100
commit05d01f42246a6a39684d37c42250031e4eea96aa (patch)
tree63fc45e15ef740c365952f8581e2ec931feb3b30 /source3/wscript
parent11cb110e2fb3f814aa4efde0d7924535c8510315 (diff)
downloadsamba-05d01f42246a6a39684d37c42250031e4eea96aa.tar.gz
samba-05d01f42246a6a39684d37c42250031e4eea96aa.tar.xz
samba-05d01f42246a6a39684d37c42250031e4eea96aa.zip
build: Make order of arguments clearer by explicitly making the list of functions to look for a python list
Change-Id: I19bbd3b34548258201dabdc0ec8dc049e28d0049 Reviewed-by: David Disseldorp <ddiss@samba.org> Tested-by: Thomas Schulz <schulz@adi.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 8 05:53:08 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index d0bfca7965e..17cc17b835d 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -398,7 +398,7 @@ utimensat vsyslog _write __write __xstat
conf.DEFINE('FREEBSD', 1)
if conf.CHECK_HEADERS('sunacl.h'):
conf.DEFINE('HAVE_FREEBSD_SUNACL_H', '1')
- conf.CHECK_FUNCS_IN('acl', 'sunacl')
+ conf.CHECK_FUNCS_IN(['acl'], 'sunacl')
conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
elif (host_os.rfind('irix') > -1):
conf.DEFINE('IRIX', 1)
@@ -458,7 +458,7 @@ return acl_get_perm_np(permset_d, perm);
Logs.info('Using solaris or UnixWare ACLs')
conf.DEFINE('HAVE_SOLARIS_UNIXWARE_ACLS',1)
default_static_modules.extend(TO_LIST('vfs_solarisacl'))
- elif conf.CHECK_FUNCS_IN('pacl', 'acl_get_fd'):
+ elif conf.CHECK_FUNCS_IN(['acl_get_fd'], 'pacl'):
Logs.info('Using Tru64 ACLs')
conf.DEFINE('HAVE_TRU64_ACLS',1)
default_static_modules.extend(TO_LIST('vfs_tru64acl'))