dovecot: Use AC_SYS_LARGEFILE instead of our own checks. Also re...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 25 21:17:17 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/be366eda336e
changeset: 6616:be366eda336e
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 25 21:17:12 2007 +0300
description:
Use AC_SYS_LARGEFILE instead of our own checks. Also removes
--with-file-offset-bits parameter, but no-one probably cares.
diffstat:
1 file changed, 1 insertion(+), 10 deletions(-)
configure.in | 11 +----------
diffs (28 lines):
diff -r 63b4e1932a89 -r be366eda336e configure.in
--- a/configure.in Thu Oct 25 21:04:27 2007 +0300
+++ b/configure.in Thu Oct 25 21:17:12 2007 +0300
@@ -41,12 +41,6 @@ AC_ARG_ENABLE(asserts,
if test x$enableval = xno; then
AC_DEFINE(DISABLE_ASSERTS,, Disable asserts)
fi)
-
-AC_ARG_WITH(file-offset-size,
-[ --with-file-offset-size=BITS Set size of file offsets. Usually 32 or 64.
- (default: 64 if available)],
- preferred_off_t_bits=$withval,
- preferred_off_t_bits=64)
AC_ARG_WITH(mem-align,
[ --with-mem-align=BYTES Set the memory alignment (default: 8)],
@@ -734,10 +728,7 @@ AC_DEFUN([AC_TYPEOF], [
AC_MSG_RESULT($visible)
])
-dnl * off_t checks, try to make it 64bit
-AC_DEFINE_UNQUOTED(_FILE_OFFSET_BITS, $preferred_off_t_bits,
- [If set to 64, enables 64bit off_t for some systems (eg. Linux, Solaris)])
-
+AC_SYS_LARGEFILE
AC_CHECK_TYPES(_Bool)
AC_CHECK_TYPE(uoff_t, [
More information about the dovecot-cvs
mailing list