dovecot-1.2: configure: Allow --with-linux-quota=n to be only 1 ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 8 00:06:22 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/e92a9c18fd5b
changeset: 9294:e92a9c18fd5b
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 07 16:54:36 2009 -0400
description:
configure: Allow --with-linux-quota=n to be only 1 or 2.
diffstat:
1 file changed, 3 insertions(+)
configure.in | 3 +++
diffs (13 lines):
diff -r c50f133f0acc -r e92a9c18fd5b configure.in
--- a/configure.in Fri Aug 07 16:47:51 2009 -0400
+++ b/configure.in Fri Aug 07 16:54:36 2009 -0400
@@ -58,6 +58,9 @@ AC_ARG_WITH(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])
)
More information about the dovecot-cvs
mailing list