Re: [Dovecot] 1.0-test14: no sendfile() in Solaris 8
1 Jun
2004
1 Jun
'04
3:37 p.m.
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
7509
Age (days ago)
7509
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Jaekel