1
0
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:
Björn Jacke 2012-09-10 12:35:40 +02:00 committed by Bjoern Jacke
parent 624e51a21a
commit 56d97d1729

View File

@ -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)
#