[dovecot-cvs] dovecot configure.in,1.169,1.170

cras at procontrol.fi cras at procontrol.fi
Sat Jun 19 23:22:03 EEST 2004


Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv11476

Modified Files:
	configure.in 
Log Message:
Use AC_TRY_LINK() for sendfile() checks so it works right with Solaris. Did
the same for mremap() too just in case.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- configure.in	19 Jun 2004 19:55:15 -0000	1.169
+++ configure.in	19 Jun 2004 20:22:00 -0000	1.170
@@ -700,7 +700,7 @@
 
 dnl * Linux compatible mremap()
 AC_MSG_CHECKING([Linux compatible mremap()])
-AC_TRY_COMPILE([
+AC_TRY_LINK([
   #include <unistd.h>
   #define __USE_GNU
   #include <sys/mman.h>
@@ -761,7 +761,7 @@
   dnl * Linux compatible sendfile() - don't check if Solaris one was found.
   dnl * This seems to pass with Solaris for some reason..
   AC_MSG_CHECKING([Linux compatible sendfile()])
-  AC_TRY_COMPILE([
+  AC_TRY_LINK([
     #undef _FILE_OFFSET_BITS
     #include <sys/types.h>
     #include <sys/socket.h>
@@ -777,7 +777,7 @@
 
   dnl * FreeBSD compatible sendfile()
   AC_MSG_CHECKING([FreeBSD compatible sendfile()])
-  AC_TRY_COMPILE([
+  AC_TRY_LINK([
     #include <sys/types.h>
     #include <sys/socket.h>
     #include <sys/uio.h>



More information about the dovecot-cvs mailing list