diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-06 17:26:55 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-07 14:15:57 +0200 |
commit | d1623ec025efa74f31db1177727c8cc0d34d03b6 (patch) | |
tree | d2256425a113a725c682735c221eae283cb82234 /source3/configure.in | |
parent | 1f61abd322b5d93ab4d3655ca8efff3545474f1f (diff) | |
download | samba-d1623ec025efa74f31db1177727c8cc0d34d03b6.tar.gz samba-d1623ec025efa74f31db1177727c8cc0d34d03b6.tar.bz2 samba-d1623ec025efa74f31db1177727c8cc0d34d03b6.zip |
s3:sysquota_xfs: check and include the right fs header file for xfs quotas
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index c144e6fc82..e76e4e42c0 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4554,7 +4554,6 @@ case "$host_os" in AC_MSG_CHECKING(whether to use the lib/sysquotas_linux.c builtin support) AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_LINUX_XFS_QUOTAS,1,[Whether Linux xfs quota support is available]) AC_MSG_CHECKING(whether to use the lib/sysquotas_xfs.c builtin support) AC_MSG_RESULT(yes) ;; @@ -4575,8 +4574,10 @@ AC_CHECK_HEADER(asm/types.h,[ # For quotas on Veritas VxFS filesystems AC_CHECK_HEADERS(sys/fs/vx_quota.h) -# For quotas on Linux XFS filesystems -AC_CHECK_HEADERS(linux/dqblk_xfs.h) +# For quotas on XFS filesystems, Linux style +AC_CHECK_HEADERS(xfs/xqm.h,[ + AC_DEFINE(HAVE_LINUX_XFS_QUOTAS,1,[Whether Linux xfs quota support is available]) + ]) # For sys/quota.h and linux/quota.h AC_CHECK_HEADERS(sys/quota.h) |