summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-07 20:41:58 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-07 22:21:55 +0200
commitcd93c7d055232f1eb0d4de92066fd5eb5f9e5ff1 (patch)
treef99dc2d6c49ce06db179b775a32a068713bd2fd1 /source3
parent992908a3dabd9d3c966564db040f0e4f4f2cfe25 (diff)
downloadsamba-cd93c7d055232f1eb0d4de92066fd5eb5f9e5ff1.tar.gz
samba-cd93c7d055232f1eb0d4de92066fd5eb5f9e5ff1.tar.bz2
samba-cd93c7d055232f1eb0d4de92066fd5eb5f9e5ff1.zip
waf: add tests for NFS quota stuff
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 7 22:21:55 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--[-rwxr-xr-x]source3/wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index e94d508cb0..61d3b9a1c4 100755..100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1216,6 +1216,11 @@ main() {
conf.CHECK_STRUCTURE_MEMBER('struct dqblk', 'dqb_fsoftlimit', define='HAVE_DQB_FSOFTLIMIT',
headers='sys/quota.h')
+ if conf.CHECK_HEADERS('rpcsvc/rquota.h'):
+ conf.DEFINE('HAVE_NFS_QUOTAS', '1')
+ conf.CHECK_STRUCTURE_MEMBER('struct getquota_rslt', 'getquota_rslt_u',
+ define='HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U',
+ headers='rpcsvc/rquota.h')
#
# checking for clustering extensions (CTDB)