# HG changeset patch # User Timo Sirainen # Date 1150590294 -10800 # Node ID c46c02c7e602d73f9bf17732095a51ca76ba038a # Parent f1888ce917022398389550c55c07ef00e17b5ee2 Include linux/unistd.h instead of asm/unistd.h when checking for epoll. diff -r f1888ce91702 -r c46c02c7e602 configure.in --- a/configure.in Sun Jun 18 01:44:57 2006 +0300 +++ b/configure.in Sun Jun 18 03:24:54 2006 +0300 @@ -377,7 +377,7 @@ #include #include - #include + #include _syscall1 (int, epoll_create, int, size) @@ -1666,13 +1666,21 @@ dbox_libs='$(top_builddir)/src/lib-storage/index/dbox/libstorage_dbox.a' index_libs='$(top_builddir)/src/lib-storage/index/libstorage_index.a $(top_builddir)/src/lib-index/libindex.a' +deliver_storage="mbox" 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="$STORAGE_LIBS $index_libs" AC_SUBST(STORAGE_LIBS) +if test -n "$deliver_storage" && test "$want_deliver" = yes; then + AC_ERROR([If you remove mbox from storages, you need to build --without-deliver]) +fi + dnl ** dnl ** SQL drivers dnl ** @@ -1760,7 +1768,7 @@ echo "Building with SSL support ........... : $have_ssl" echo "Building with IPv6 support .......... : $want_ipv6" echo "Building with pop3 server ........... : $want_pop3d" -#echo "Building with mail delivery agent .. : $want_deliver" +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"