dovecot-1.1: configure: Allow --with-linux-quota=n to be only 1 ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 7 23:55:01 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/f1affd2d0251
changeset: 8341:f1affd2d0251
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 fd48a9c61b6c -r f1affd2d0251 configure.in
--- a/configure.in	Fri Aug 07 16:47:02 2009 -0400
+++ b/configure.in	Fri Aug 07 16:54:36 2009 -0400
@@ -64,6 +64,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