Mercurial > dovecot > core-2.2
changeset 4422:c46c02c7e602 HEAD
Include linux/unistd.h instead of asm/unistd.h when checking for epoll.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 18 Jun 2006 03:24:54 +0300 |
parents | f1888ce91702 |
children | 26d18749f718 |
files | configure.in |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <sys/epoll.h> #include <errno.h> - #include <asm/unistd.h> + #include <linux/unistd.h> _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"