[dovecot-cvs] dovecot configure.in,1.320,1.321

tss at dovecot.org tss at dovecot.org
Thu Jan 18 19:51:21 UTC 2007


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv17461

Modified Files:
	configure.in 
Log Message:
Allow --with-vpopmail=path specify the vpopmail_home path.



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -d -r1.320 -r1.321
--- configure.in	18 Jan 2007 18:45:33 -0000	1.320
+++ configure.in	18 Jan 2007 19:51:18 -0000	1.321
@@ -160,8 +160,15 @@
 		want_vpopmail=no
 	else
 		want_vpopmail=yes
-	fi,
-	want_vpopmail=yes)
+		if test x$withval = xyes; then
+			vpopmail_home="`echo ~vpopmail`"
+		else
+			vpopmail_home="$withval"
+		fi
+	fi, [
+		want_vpopmail=yes
+		vpopmail_home="`echo ~vpopmail`"
+	])
 
 AC_ARG_WITH(static-userdb,
 [  --with-static-userdb    Build with static userdb support (default)],
@@ -1687,7 +1694,6 @@
 fi
 
 if test $want_vpopmail = yes; then
-	vpopmail_home="`echo ~vpopmail`"
 	vpop_libdeps="$vpopmail_home/etc/lib_deps"
 
 	AC_MSG_CHECKING([for vpopmail configuration at $vpop_libdeps])



More information about the dovecot-cvs mailing list