diff options
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/XvMC.c | 11 |
2 files changed, 1 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index 7c2a7e0..ea2de2f 100644 --- a/configure.ac +++ b/configure.ac @@ -40,13 +40,7 @@ XORG_DEFAULT_OPTIONS XORG_CHECK_MALLOC_ZERO # Obtain compiler/linker options for depedencies -PKG_CHECK_MODULES(XVMC, x11 xext xv xextproto videoproto) - -# Check for _XEatDataWords function that may be patched into older Xlib release -SAVE_LIBS="$LIBS" -LIBS="$XVMC_LIBS" -AC_CHECK_FUNCS([_XEatDataWords]) -LIBS="$SAVE_LIBS" +PKG_CHECK_MODULES(XVMC, [x11 >= 1.6] xext xv xextproto videoproto) # Checks for library functions. AC_CHECK_FUNCS([shmat]) @@ -18,17 +18,6 @@ #include <X11/extensions/extutil.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 - static XExtensionInfo _xvmc_info_data; static XExtensionInfo *xvmc_info = &_xvmc_info_data; static const char *xvmc_extension_name = XvMCName; |