dovecot-1.2: configure: Removed --with-linux-quota parameter.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 8 00:57:11 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/2910aba191ec
changeset: 9297:2910aba191ec
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 07 17:57:04 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 22119217ab5d -r 2910aba191ec configure.in
--- a/configure.in Fri Aug 07 17:13:00 2009 -0400
+++ b/configure.in Fri Aug 07 17:57:04 2009 -0400
@@ -55,15 +55,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(passwd,
[ --with-passwd Build with /etc/passwd support (default)],
diff -r 22119217ab5d -r 2910aba191ec 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:04 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