[dovecot-cvs] dovecot configure.in,1.277.2.51,1.277.2.52

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


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

Modified Files:
      Tag: branch_1_0
	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.277.2.51
retrieving revision 1.277.2.52
diff -u -d -r1.277.2.51 -r1.277.2.52
--- configure.in	18 Jan 2007 18:45:30 -0000	1.277.2.51
+++ configure.in	18 Jan 2007 19:51:16 -0000	1.277.2.52
@@ -159,8 +159,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)],
@@ -1619,7 +1626,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