summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-26 12:42:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-26 10:11:22 +0200
commitafbc87b8cc5b068feadb773bdf755abc26f7d0db (patch)
tree6005be562c66d8d27ba0d54471f1cf708bc8c79b
parent7ad1971e2240eccda70783c4de77b7c5bc7893d3 (diff)
downloadsamba-afbc87b8cc5b068feadb773bdf755abc26f7d0db.tar.gz
samba-afbc87b8cc5b068feadb773bdf755abc26f7d0db.tar.bz2
samba-afbc87b8cc5b068feadb773bdf755abc26f7d0db.zip
build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota backend
-rw-r--r--source3/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 834f03c53f..566c87a235 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1273,8 +1273,10 @@ main() {
if conf.CONFIG_SET('HAVE_QUOTACTL_LINUX') or \
conf.CONFIG_SET('HAVE_QUOTACTL_4A') or \
- conf.CONFIG_SET('HAVE_QUOTACTL_4B'):
+ conf.CONFIG_SET('HAVE_QUOTACTL_4B') or \
+ conf.CONFIG_SET('HAVE_XFS_QUOTAS'):
conf.DEFINE('HAVE_SYS_QUOTAS', '1')
+ conf.DEFINE('WITH_QUOTAS', '1')
#
# checking for clustering extensions (CTDB)