From: Timo Sirainen Date: Mon, 13 Apr 2009 19:39:35 +0000 (-0400) Subject: Removed configure --with-deliver and --with-pop3d parameters. X-Git-Tag: 2.0.alpha1~961 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52cb31b413be19de11cdf9ad84b9ccde7740b5cf;p=thirdparty%2Fdovecot%2Fcore.git 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. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index f37af3b13a..98cc501a56 100644 --- a/configure.in +++ b/configure.in @@ -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, @@ -2220,21 +2208,14 @@ shared_libs='$(top_builddir)/src/lib-storage/index/shared/libstorage_shared.la' CORE_LIBS='$(top_builddir)/src/lib-dovecot/libdovecot.la' STORAGE_LIB='$(top_builddir)/src/lib-storage/libdovecot-storage.la' -deliver_storage="raw" LINKED_STORAGE_LIBS= +mail_storages="$mail_storages raw" for storage in $mail_storages; do - if test "$storage" = "$deliver_storage"; then - deliver_storage="" - fi LINKED_STORAGE_LIBS="$LINKED_STORAGE_LIBS `eval echo \\$${storage}_libs`" done AC_SUBST(LINKED_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 dnl ** @@ -2442,8 +2423,6 @@ echo "I/O loop method ..................... : $ioloop" 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 --git a/src/Makefile.am b/src/Makefile.am index 89915e2749..d23981a8fb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,3 @@ -if BUILD_POP3D -POP3D = pop3-login pop3 -endif - -if BUILD_DELIVER -DELIVER = deliver -endif - LIBDOVECOT_SUBDIRS = \ lib \ lib-auth \ @@ -30,8 +22,9 @@ SUBDIRS = \ login-common \ imap-login \ imap \ - $(POP3D) \ - $(DELIVER) \ + pop3-login \ + pop3 \ + deliver \ config \ tests \ util \