diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 8 |
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) # |