[Dovecot] 1.0-test14: no sendfile() in Solaris 8
Andreas Jaekel
jaekel at webgods.de
Tue Jun 1 15:37:36 EEST 2004
At 14:35 01/06/2004 +0300, you wrote:
>On 1.6.2004, at 13:13, Andreas Jaekel wrote:
>
>>The current CVS snapshot and 1.0-test14 will not build on Solaris 8
>>because it does not provide a sendfile() funtion. It just has sendfilev().
>>Solaris 9 has sendfile(), though.
>
>Doesn't the configure detect that you don't have it? It shouldn't define
>HAVE_SOLARIS_SENDFILE if it isn't there (if sendfile library doesn't have
>sendfile() function).
No, it doesn't. The test for the linux sendfile() function uses
ac_compile, no ac_link.
So all you get is an "implicit declaration" warning in configure.log, but
since the final check is
for test -z a.out configure will always happily detect linux sendfile.
Greetings,
Andy
More information about the dovecot
mailing list