summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-23 17:53:58 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-10-23 11:11:44 +0200
commit7138b2138ba1f67386c6aa1e1c5ef49fde07cc41 (patch)
tree9bce6a7b9803b05a42c8de8e23db5978a4598b9e /source3
parent6d73fd07f94ae23f3eacaab3b220ffca201b1300 (diff)
downloadsamba-7138b2138ba1f67386c6aa1e1c5ef49fde07cc41.tar.gz
samba-7138b2138ba1f67386c6aa1e1c5ef49fde07cc41.tar.bz2
samba-7138b2138ba1f67386c6aa1e1c5ef49fde07cc41.zip
build: Add #define FREEBSD on FreeBSD
This makes waf match autoconf Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 23 11:11:44 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 00e9858517..f049700b16 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -297,6 +297,7 @@ int i; i = prtcl(0);
conf.ADD_CFLAGS('-fno-common')
conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
elif (host_os.rfind('freebsd') > -1):
+ conf.DEFINE('FREEBSD', 1)
if conf.CHECK_HEADERS('sunacl.h'):
conf.DEFINE('HAVE_FREEBSD_SUNACL_H', '1')
conf.CHECK_FUNCS_IN('acl', 'sunacl')