dovecot-1.2: Removed configure --with-deliver and --with-pop3d p...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 28 00:50:01 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/8a2c85c418a1
changeset: 9162:8a2c85c418a1
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 27 17:49:56 2009 -0400
description:
Removed configure --with-deliver and --with-pop3d parameters.
If you don't want them, just don't use them. There are a lot of other
useless binaries also being compiled.

diffstat:

2 files changed, 6 insertions(+), 34 deletions(-)
configure.in    |   27 +++------------------------
src/Makefile.am |   13 +++----------

diffs (91 lines):

diff -r af28db3176cf -r 8a2c85c418a1 configure.in
--- a/configure.in	Thu Jun 25 13:26:10 2009 -0400
+++ b/configure.in	Sat Jun 27 17:49:56 2009 -0400
@@ -243,26 +243,14 @@ AC_ARG_WITH(gc,
   TEST_WITH(gc, $withval),
   want_gc=no)
 
-AC_ARG_WITH(pop3d,
-[  --with-pop3d            Build POP3 server (default)],
-  TEST_WITH(pop3d, $withval),
-  want_pop3d=yes)
-AM_CONDITIONAL(BUILD_POP3D, test "$want_pop3d" = "yes")
-
-AC_ARG_WITH(deliver,
-[  --with-deliver          Build mail delivery agent (default)],
-  TEST_WITH(deliver, $withval),
-  want_deliver=yes)
-AM_CONDITIONAL(BUILD_DELIVER, test "$want_deliver" != "no")
-
 AC_ARG_WITH(storages,
 [  --with-storages         Build with specified mail storage formats
-                          (maildir mbox dbox cydir raw)], [
+                          (maildir mbox dbox cydir)], [
 	if test "$withval" = "yes" || test "$withval" = "no"; then
 		AC_MSG_ERROR([--with-storages needs storage list as parameter])
 	fi
 	mail_storages="shared `echo "$withval"|sed 's/,/ /g'`" ],
-	mail_storages="shared maildir mbox dbox cydir raw")
+	mail_storages="shared maildir mbox dbox cydir")
 AC_SUBST(mail_storages)
 
 AC_ARG_WITH(sql-drivers,
@@ -2241,21 +2229,14 @@ CORE_LIBS='$(top_builddir)/src/lib-stora
 '$(top_builddir)/src/lib-charset/libcharset.a '\
 '$(top_builddir)/src/lib/liblib.a'
 
-deliver_storage="raw"
+mail_storages="$mail_storages raw"
 STORAGE_LIBS=
 for storage in $mail_storages; do
-  if test "$storage" = "$deliver_storage"; then
-    deliver_storage=""
-  fi
   STORAGE_LIBS="$STORAGE_LIBS `eval echo \\$${storage}_libs`"
 done
 STORAGE_LIBS="$REGISTER_LIBS $STORAGE_LIBS $CORE_LIBS"
 AC_SUBST(STORAGE_LIBS)
 AC_DEFINE_UNQUOTED(MAIL_STORAGES, "$mail_storages", List of compiled in mail storages)
-
-if test -n "$deliver_storage" && test "$want_deliver" != no; then
-  AC_ERROR([If you remove raw from storages, you need to build --without-deliver])
-fi
 
 dnl **
 dnl ** SQL drivers
@@ -2453,8 +2434,6 @@ echo "File change notification method ..
 echo "File change notification method ..... : $have_notify"
 echo "Building with SSL support ........... : $have_ssl"
 echo "Building with IPv6 support .......... : $have_ipv6"
-echo "Building with pop3 server ........... : $want_pop3d"
-echo "Building with mail delivery agent  .. : $want_deliver"
 echo "Building with GSSAPI support ........ : $have_gssapi"
 echo "Building with user database modules . :$userdb"
 echo "Building with password lookup modules :$passdb"
diff -r af28db3176cf -r 8a2c85c418a1 src/Makefile.am
--- a/src/Makefile.am	Thu Jun 25 13:26:10 2009 -0400
+++ b/src/Makefile.am	Sat Jun 27 17:49:56 2009 -0400
@@ -1,11 +1,3 @@ if BUILD_POP3D
-if BUILD_POP3D
-POP3D = pop3-login pop3
-endif
-
-if BUILD_DELIVER
-DELIVER = deliver
-endif
-
 SUBDIRS = \
 	lib \
 	lib-dict \
@@ -25,8 +17,9 @@ SUBDIRS = \
 	login-common \
 	imap-login \
 	imap \
-	$(POP3D) \
-	$(DELIVER) \
+	pop3-login \
+	pop3 \
+	deliver \
 	tests \
 	util \
 	plugins


More information about the dovecot-cvs mailing list