dovecot-2.0: configure: Removed --with-linux-quota parameter.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 8 00:57:43 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/ea5d2bd9deb9
changeset: 9749:ea5d2bd9deb9
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 07 17:57:36 2009 -0400
description:
configure: Removed --with-linux-quota parameter.
It was useful only in some broken setups and even there it can be specified
with CPPFLAGS instead.
diffstat:
2 files changed, 3 insertions(+), 11 deletions(-)
configure.in | 9 ---------
src/plugins/quota/quota-fs.c | 5 +++--
diffs (34 lines):
diff -r c06b7c5f2c8c -r ea5d2bd9deb9 configure.in
--- a/configure.in Fri Aug 07 17:13:00 2009 -0400
+++ b/configure.in Fri Aug 07 17:57:36 2009 -0400
@@ -61,15 +61,6 @@ AC_ARG_WITH(notify,
default is detected in the above order)],
notify=$withval,
notify=)
-
-AC_ARG_WITH(linux-quota,
-[ --with-linux-quota=n Linux quota version to use (default: system's)],
- if test "$withval" != "1" && test "$withval" != "2"; then
- AC_ERROR([--with-linux-quota can be only 1 or 2])
- fi
- AC_DEFINE_UNQUOTED(_LINUX_QUOTA_VERSION, $withval,
- [Linux quota version to use])
-)
AC_ARG_WITH(nss,
[ --with-nss Build with NSS module support (auto)],
diff -r c06b7c5f2c8c -r ea5d2bd9deb9 src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c Fri Aug 07 17:13:00 2009 -0400
+++ b/src/plugins/quota/quota-fs.c Fri Aug 07 17:57:36 2009 -0400
@@ -562,8 +562,9 @@ fs_quota_get_linux(struct fs_quota_root
if (errno == EINVAL) {
i_error("Dovecot was compiled with Linux quota "
"v%d support, try changing it "
- "(--with-linux-quota configure option)",
- _LINUX_QUOTA_VERSION);
+ "(CPPFLAGS=-D_LINUX_QUOTA_VERSION=%d configure)",
+ _LINUX_QUOTA_VERSION,
+ _LINUX_QUOTA_VERSION == 1 ? 2 : 1);
}
return -1;
}
More information about the dovecot-cvs
mailing list