mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
wafbuild: add defines for linux quota and sysquota support
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
This commit is contained in:
parent
624e51a21a
commit
56d97d1729
@ -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)
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user