s3-waf: Fix build on FreeBSD when sunacl.h is found
authorAndrew Bartlett <abartlet@samba.org>
Mon, 8 Aug 2011 01:16:20 +0000 (11:16 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Aug 2011 02:34:35 +0000 (04:34 +0200)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Aug  8 04:34:35 CEST 2011 on sn-devel-104

source3/wscript

index 316427649934c0d9e070a8e0e6bbde9862b8aa21..f7c12a83bf01fd2c7c7dc0465aef8eb8ed5f4133 100644 (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):