Timo Sirainen writes:
http://dovecot.org/rc/
Maybe this one works? :)
Hum... applications must not #include (read on below the log):
checking for sys/resource.h... yes
checking linux/mman.h usability... no
checking linux/mman.h presence... yes
configure: WARNING: linux/mman.h: present but cannot be compiled
configure: WARNING: linux/mman.h: check for missing prerequisite headers?
configure: WARNING: linux/mman.h: see the Autoconf documentation
configure: WARNING: linux/mman.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/mman.h: proceeding with the preprocessor's result
configure: WARNING: linux/mman.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/mman.h... yes
Given that this check isn't even used, I'm suggesting this patch:
--- dovecot-0.99.11/configure.in 2004-08-09 22:27:08.000000000 +0200
+++ dovecot-0.99.11.fixed/configure.in 2004-09-03 12:21:22.000000000 +0200
@@ -15,7 +15,7 @@
AM_ICONV
AC_CHECK_HEADERS(string.h stdlib.h stdint.h unistd.h dirent.h)
-AC_CHECK_HEADERS(sys/uio.h sys/sysmacros.h sys/resource.h linux/mman.h)
+AC_CHECK_HEADERS(sys/uio.h sys/sysmacros.h sys/resource.h)
AC_CHECK_HEADERS(sys/select.h)
# check posix headers
--
Matthias Andree
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)