build: Add #define FREEBSD on FreeBSD
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 Oct 2012 06:53:58 +0000 (17:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Oct 2012 09:11:44 +0000 (11:11 +0200)
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

source3/wscript

index 00e9858517f9c18d318f7ccf7eaebfba7827bfd3..f049700b161e09deba6b82831ab450a65af7d189 100644 (file)
@@ -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')