Include xtestproto.h, not xteststr.h
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 15 Jul 2009 23:41:33 +0000 (09:41 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 16 Jul 2009 03:13:52 +0000 (13:13 +1000)
Require xextproto 7.0.99.1.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
configure.ac
src/XTest.c

index 61d4bc3..0f0b33e 100644 (file)
@@ -44,7 +44,7 @@ AC_PATH_PROG([XMLTO], [xmlto])
 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)
index 45f593e..ed45e41 100644 (file)
@@ -35,7 +35,7 @@ from The Open Group.
 #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>