summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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)