diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-10 12:35:40 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-10 21:55:53 +0200 |
commit | 56d97d1729589cb8e97cda07a5198a84ee71a147 (patch) | |
tree | 3d38d410c6c05a6752aacc28ed8baaafca0230c1 /source3/wscript | |
parent | 624e51a21a9dd371dae63ebbcb4c8d3a9ec15953 (diff) | |
download | samba-56d97d1729589cb8e97cda07a5198a84ee71a147.tar.gz samba-56d97d1729589cb8e97cda07a5198a84ee71a147.tar.bz2 samba-56d97d1729589cb8e97cda07a5198a84ee71a147.zip |
wafbuild: add defines for linux quota and sysquota support
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 61d3b9a1c4..18f84f88d7 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1222,6 +1222,14 @@ main() { define='HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U', headers='rpcsvc/rquota.h') + if (host_os.rfind('linux') > -1): + conf.DEFINE('HAVE_QUOTACTL_LINUX', '1') + + if conf.CONFIG_SET('HAVE_QUOTACTL_LINUX') or \ + conf.CONFIG_SET('HAVE_QUOTACTL_4A') or \ + conf.CONFIG_SET('HAVE_QUOTACTL_4B'): + conf.DEFINE('HAVE_SYS_QUOTAS', '1') + # # checking for clustering extensions (CTDB) # |