[dovecot-cvs] dovecot configure.in,1.277.2.19,1.277.2.20

cras at dovecot.org cras at dovecot.org
Mon Jul 3 16:08:59 EEST 2006


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv20969

Modified Files:
      Tag: branch_1_0
	configure.in 
Log Message:
--with-ioloop=auto changed to --with-ioloop=best



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.277.2.19
retrieving revision 1.277.2.20
diff -u -d -r1.277.2.19 -r1.277.2.20
--- configure.in	2 Jul 2006 15:30:11 -0000	1.277.2.19
+++ configure.in	3 Jul 2006 13:08:57 -0000	1.277.2.20
@@ -54,7 +54,8 @@
 
 AC_ARG_WITH(ioloop,
 [  --with-ioloop=IOLOOP    Specify the I/O loop method to use
-                          (epoll, kqueue, poll; auto for best; default is poll)],
+                          (epoll, kqueue, poll; best for the fastest available;
+			   default is poll)],
 	ioloop=$withval,
 	ioloop=poll)
 
@@ -372,7 +373,7 @@
 dnl * I/O loop function
 have_ioloop=no
 
-if test "$ioloop" = "auto" || test "$ioloop" = "epoll"; then
+if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then
   AC_TRY_RUN([
     #include <sys/epoll.h>
 
@@ -391,7 +392,7 @@
   ])
 fi
 
-if test "$ioloop" = "auto" || test "$ioloop" = "kqueue"; then
+if test "$ioloop" = "best" || test "$ioloop" = "kqueue"; then
     if test "$ac_cv_func_kqueue" = yes && test "$ac_cv_func_kevent" = yes; then
       AC_DEFINE(IOLOOP_KQUEUE,, [Implement I/O loop with BSD kqueue()])
       ioloop=kqueue
@@ -401,7 +402,7 @@
     fi
 fi
 
-if test "$ioloop" = "auto" || test "$ioloop" = "poll"; then
+if test "$ioloop" = "best" || test "$ioloop" = "poll"; then
   AC_CHECK_FUNC(poll, [
     AC_DEFINE(IOLOOP_POLL,, Implement I/O loop with poll())
     ioloop=poll



More information about the dovecot-cvs mailing list