Require xextproto 7.0.99.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
# Check for dependencies
-PKG_CHECK_MODULES(XTST, x11 xext xi recordproto xextproto inputproto)
+PKG_CHECK_MODULES(XTST, x11 xext xi recordproto [xextproto >= 7.0.99.1] inputproto)
XTST_CFLAGS="$CWARNFLAGS $XTST_CFLAGS"
AC_SUBST(XTST_CFLAGS)
AC_SUBST(XTST_LIBS)
#define NEED_REPLIES
#include <X11/Xlibint.h>
#include <X11/extensions/XTest.h>
-#include <X11/extensions/xteststr.h>
+#include <X11/extensions/xtestproto.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
#include <X11/extensions/XInput.h>