summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript8
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)
#