summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--src/XF86DGA2.c11
2 files changed, 1 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index 3127c6e..005d1bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,13 +20,7 @@ XORG_DEFAULT_OPTIONS
XORG_CHECK_MALLOC_ZERO
# Obtain compiler/linker options for depedencies
-PKG_CHECK_MODULES(XXF86DGA, xproto x11 xextproto xext [xf86dgaproto >= 2.0.99.2])
-
-# Check for _XEatDataWords function that may be patched into older Xlib release
-SAVE_LIBS="$LIBS"
-LIBS="$XXF86DGA_LIBS"
-AC_CHECK_FUNCS([_XEatDataWords])
-LIBS="$SAVE_LIBS"
+PKG_CHECK_MODULES(XXF86DGA, xproto [x11 >= 1.6] xextproto xext [xf86dgaproto >= 2.0.99.2])
AC_CONFIG_FILES([Makefile
src/Makefile
diff --git a/src/XF86DGA2.c b/src/XF86DGA2.c
index 9c656e6..ebc97ce 100644
--- a/src/XF86DGA2.c
+++ b/src/XF86DGA2.c
@@ -27,17 +27,6 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#include <stdint.h>
#include <limits.h>
-#ifndef HAVE__XEATDATAWORDS
-static inline void _XEatDataWords(Display *dpy, unsigned long n)
-{
-# ifndef LONG64
- if (n >= (ULONG_MAX >> 2))
- _XIOError(dpy);
-# endif
- _XEatData (dpy, n << 2);
-}
-#endif
-
/* If you change this, change the Bases[] array below as well */
#define MAX_HEADS 16