[xlibs-commit] X11 ChangeLog,1.15,1.16 configure.ac,1.15,1.16

Eric Anholt xlibs-commit@pdx.freedesktop.org
Fri, 31 Oct 2003 16:33:45 -0800


Committed by: anholt

Update of /cvs/xlibs/X11
In directory pdx:/home/anholt/xlibs/X11

Modified Files:
	ChangeLog configure.ac 
Log Message:
Define USE_POLL if the poll() function is available.  This
causes poll() to be used instead of select(), which is
supposed to be more efficient.


Index: ChangeLog
===================================================================
RCS file: /cvs/xlibs/X11/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ChangeLog	31 Oct 2003 23:43:01 -0000	1.15
+++ ChangeLog	1 Nov 2003 00:33:13 -0000	1.16
@@ -1,5 +1,14 @@
 2003-10-31  Eric Anholt  <anholt@FreeBSD.org>
 
+	* configure.ac:
+	* src/XlibInt.c:
+	* src/x11_trans.c:
+	Define USE_POLL if the poll() function is available.  This
+	causes poll() to be used instead of select(), which is
+	supposed to be more efficient.
+
+2003-10-31  Eric Anholt  <anholt@FreeBSD.org>
+
 	reviewed by: <keithp@keithp.com>
 
 	* src/ErrDes.c:

Index: configure.ac
===================================================================
RCS file: /cvs/xlibs/X11/configure.ac,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- configure.ac	31 Oct 2003 18:48:52 -0000	1.15
+++ configure.ac	1 Nov 2003 00:33:13 -0000	1.16
@@ -92,6 +92,8 @@
 AC_SUBST(XDMCP_CFLAGS)
 AC_SUBST(XDMCP_LIBS)
 
+AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
+
 #
 # Find keysymdef.h
 #