build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota backend
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2012 02:42:15 +0000 (12:42 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2012 08:11:22 +0000 (10:11 +0200)
source3/wscript

index 834f03c53f40db8950c8cc62699daf73e01b30f4..566c87a2356b2f800a4fcf6210e2d05dec82f34c 100644 (file)
@@ -1273,8 +1273,10 @@ main() {
 
         if conf.CONFIG_SET('HAVE_QUOTACTL_LINUX') or \
            conf.CONFIG_SET('HAVE_QUOTACTL_4A') or \
-           conf.CONFIG_SET('HAVE_QUOTACTL_4B'):
+           conf.CONFIG_SET('HAVE_QUOTACTL_4B') or \
+           conf.CONFIG_SET('HAVE_XFS_QUOTAS'):
             conf.DEFINE('HAVE_SYS_QUOTAS', '1')
+            conf.DEFINE('WITH_QUOTAS', '1')
 
     #
     # checking for clustering extensions (CTDB)