1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3-waf: Fix build on FreeBSD when sunacl.h is found

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Aug  8 04:34:35 CEST 2011 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2011-08-08 11:16:20 +10:00
parent 47bffb9b92
commit 07840b665f

View File

@ -351,7 +351,7 @@ utimensat vsyslog _write __write __xstat
conf.ADD_CFLAGS('-fno-common')
elif (host_os.rfind('freebsd') > -1):
if conf.CHECK_HEADERS('sunacl.h'):
conf.define('HAVE_FREEBSD_SUNACL_H', '1')
conf.DEFINE('HAVE_FREEBSD_SUNACL_H', '1')
conf.CHECK_FUNCS_IN('acl', 'sunacl')
conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
elif (host_os.rfind('netbsd') > -1):