[dovecot-cvs] dovecot configure.in,1.51,1.52 acconfig.h,1.14,1.15

cras at procontrol.fi cras at procontrol.fi
Tue Nov 26 12:28:42 EET 2002


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv6295

Modified Files:
	configure.in acconfig.h 
Log Message:
select() support was broken. Also changed the way it's built.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- configure.in	25 Nov 2002 10:51:39 -0000	1.51
+++ configure.in	26 Nov 2002 10:28:40 -0000	1.52
@@ -159,11 +159,10 @@
 dnl * poll/select?
 
 AC_CHECK_FUNC(poll, [
-	have_poll=yes
+	AC_DEFINE(IOLOOP_POLL)
 ], [
-	have_poll=no
+	AC_DEFINE(IOLOOP_SELECT)
 ])
-AM_CONDITIONAL(IOLOOP_POLL, test "$have_poll" = "yes")
 
 dnl * gcc specific options
 if test "x$ac_cv_prog_gcc" = "xyes"; then

Index: acconfig.h
===================================================================
RCS file: /home/cvs/dovecot/acconfig.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- acconfig.h	20 Nov 2002 14:05:13 -0000	1.14
+++ acconfig.h	26 Nov 2002 10:28:40 -0000	1.15
@@ -30,6 +30,10 @@
 #undef AUTH_PAM_USERPASS
 #undef HAVE_PAM_SETCRED
 
+/* How to implement I/O loop */
+#undef IOLOOP_SELECT
+#undef IOLOOP_POLL
+
 /* IMAP capabilities */
 #undef CAPABILITY_STRING
 




More information about the dovecot-cvs mailing list