diff configure.in @ 2035:0e65efd14eda HEAD

Solaris: Move from sendfilev() to sendfile() (was it always there?). Make EAFNOSUPPORT error Linux-compatible EINVAL.
author Timo Sirainen <tss@iki.fi>
date Sat, 22 May 2004 05:16:36 +0300
parents ec22548b6124
children b3a56463c812
line wrap: on
line diff
--- a/configure.in	Sat May 22 04:18:17 2004 +0300
+++ b/configure.in	Sat May 22 05:16:36 2004 +0300
@@ -1,7 +1,7 @@
 AC_INIT(src)
 
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dovecot, 1.0-test9)
+AM_INIT_AUTOMAKE(dovecot, 1.0-test10)
 
 AM_MAINTAINER_MODE
 
@@ -721,10 +721,10 @@
 ])
 
 
-dnl * Solaris compatible sendfilev()
-AC_CHECK_LIB(sendfile, sendfilev, [
+dnl * Solaris compatible sendfile()
+AC_CHECK_LIB(sendfile, sendfile, [
   LIBS="$LIBS -lsendfile"
-  AC_DEFINE(HAVE_SOLARIS_SENDFILEV,, Define if you have Solaris-compatible sendfilev())
+  AC_DEFINE(HAVE_SOLARIS_SENDFILE,, Define if you have Solaris-compatible sendfile())
 ], [
   dnl * Linux compatible sendfile() - don't check if Solaris one was found.
   dnl * This seems to pass with Solaris for some reason..