summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-08 11:16:20 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-08 04:34:35 +0200
commit07840b665f1adc6d821ef4a1aa22ca5cbfd5001c (patch)
tree52eb83bb59cfc678a1f96f9c448a759987e912b1 /source3/wscript
parent47bffb9b9243dc72d7305cd9ec3e63e176841bf5 (diff)
downloadsamba-07840b665f1adc6d821ef4a1aa22ca5cbfd5001c.tar.gz
samba-07840b665f1adc6d821ef4a1aa22ca5cbfd5001c.tar.bz2
samba-07840b665f1adc6d821ef4a1aa22ca5cbfd5001c.zip
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
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 3164276499..f7c12a83bf 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -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):