[dovecot-cvs] dovecot configure.in,1.294,1.295
cras at dovecot.org
cras at dovecot.org
Mon Jul 3 16:08:51 EEST 2006
Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv32518
Modified Files:
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.294
retrieving revision 1.295
diff -u -d -r1.294 -r1.295
--- configure.in 2 Jul 2006 15:30:12 -0000 1.294
+++ configure.in 3 Jul 2006 13:08:48 -0000 1.295
@@ -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