diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-07 13:13:49 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-07 15:59:46 +0200 |
commit | ee2d6ae1480496c89f483cc3613f025a9342b6ab (patch) | |
tree | 347ef80539bb4458f534ed473f0f7838895415ee /source3/configure.in | |
parent | 3810ee4e87eda67583f4458435b28112ee711300 (diff) | |
download | samba-ee2d6ae1480496c89f483cc3613f025a9342b6ab.tar.gz samba-ee2d6ae1480496c89f483cc3613f025a9342b6ab.tar.bz2 samba-ee2d6ae1480496c89f483cc3613f025a9342b6ab.zip |
s3:quota: clean up and consolidate the xfs quota checks and defines
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Sep 7 15:59:46 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index e76e4e42c0..0bae24bead 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4576,7 +4576,7 @@ AC_CHECK_HEADERS(sys/fs/vx_quota.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]) + AC_DEFINE(HAVE_XFS_QUOTAS,1,[Whether xfs quota support is available]) ]) # For sys/quota.h and linux/quota.h @@ -4601,7 +4601,7 @@ AC_TRY_COMPILE([ ],[int i = Q_XGETQUOTA;], samba_cv_HAVE_SYS_QUOTA_XFS=yes,samba_cv_HAVE_SYS_QUOTA_XFS=no)]) if test "$samba_cv_HAVE_SYS_QUOTA_XFS"x = "yes"x; then - samba_cv_found_xfs_header=yes + AC_DEFINE(HAVE_XFS_QUOTAS,1,[Whether xfs quota support is available]) fi fi @@ -4693,9 +4693,6 @@ if test x"$samba_cv_SYSQUOTA_FOUND" = x"yes"; then AC_MSG_RESULT(yes) AC_DEFINE(WITH_QUOTAS,1,[Whether to use disk quota support]) AC_DEFINE(HAVE_SYS_QUOTAS,1,[Whether the new lib/sysquotas.c interface can be used]) - if test x"$samba_cv_found_xfs_header" = x"yes"; then - AC_DEFINE(HAVE_XFS_QUOTAS,1,[Whether xfs quota support is available]) - fi else AC_MSG_RESULT(no) AC_MSG_CHECKING(whether to use the old quota support) |