summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-23 12:29:24 +0100
committerGünther Deschner <gd@samba.org>2011-02-23 22:33:52 +0100
commit6b587d74d906638bc3a279a2ed039081a6b0b958 (patch)
tree6ebf74e32cf8d220b84793098a5a67769fa88768 /source3
parent6c2c8d9f67d628d7bf007ad9a13d6f61414e38da (diff)
downloadsamba-6b587d74d906638bc3a279a2ed039081a6b0b958.tar.gz
samba-6b587d74d906638bc3a279a2ed039081a6b0b958.tar.bz2
samba-6b587d74d906638bc3a279a2ed039081a6b0b958.zip
s3-waf: start adding checks for quota support.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index b77a46e695..90a541ba95 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1487,6 +1487,14 @@ main() {
conf.CHECK_FUNCS_IN('getspnam', 'security')
conf.CHECK_FUNCS_IN('getspnam', 'sec')
+ if Options.options.with_quotas:
+ # For quotas on Veritas VxFS filesystems
+ conf.CHECK_HEADERS('sys/fs/vx_quota.h')
+ # For quotas on Linux XFS filesystems
+ conf.CHECK_HEADERS('linux/dqblk_xfs.h')
+ # For sys/quota.h and linux/quota.h
+ conf.CHECK_HEADERS('sys/quota.h')
+
default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
auth_sam auth_unix auth_winbind auth_wbc auth_server
auth_domain auth_builtin vfs_default