Is --with-file-offset-size no longer supported in 1.1?
# ./configure \
--prefix=/usr/local/dovecot-1.1 \
--with-mysql \
--with-file-offset-size=32 \
--with-ioloop=best \
--with-pop3d \
--with-ssl \
--with-deliver \
...
checking for _FILE_OFFSET_BITS value needed for large files... 64
...
Install prefix ...................... : /usr/local/dovecot-1.1
File offsets ........................ : 64bit
I/O loop method ..................... : epoll
File change notification method ..... : dnotify
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent .. : yes
Building with GSSAPI support ........ : no
Building with user database modules . : static prefetch passwd
passwd-file checkpassword sql nss
Building with password lookup modules : passwd passwd-file shadow pam
checkpassword sql
Building with SQL drivers ............: mysql
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
# uname -r
2.6.9-42.0.10.ELsmp
On Fri, 2008-05-02 at 14:57 -0700, David Jonas wrote:> Is --with-file-offset-size no longer supported in 1.1?No. I thought no-one cared, and I found this nice ?AC_SYS_LARGEFILE autoconf macro that did all the work for me, so I decided to use it. Hmm. I guess it would be possible to change the option to --enable-large-files and put the check inside if block. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080503/0307eac3/attachment-0002.bin>
Timo Sirainen wrote:> On Fri, 2008-05-02 at 14:57 -0700, David Jonas wrote: >> Is --with-file-offset-size no longer supported in 1.1? > > No. I thought no-one cared, and I found this nice ?AC_SYS_LARGEFILE > autoconf macro that did all the work for me, so I decided to use it. > Hmm. I guess it would be possible to change the option to > --enable-large-files and put the check inside if block. >It doesn't really matter to me. I think the reason it was in my ./configure was that I had problems going from .99 to 1.0 without it or moving from an old pIII to Xeon. If dovecot auto-corrects for this I'll just go with the newer default (64). Thanks for the quick reply.