summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-11-11 15:57:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-11 15:57:26 +1000
commitfac1a41c75a7c4bfabff34dc8ed1dff2587c6011 (patch)
tree779d38d8b3a41e1b6d05f24b3031e72249de5e6d /configure.ac
parent3175a2a96d448a0b2584a58ab3d05fbebb11fab1 (diff)
Add the required defines to compile against the inputproto
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cfff2d4..381883b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,8 @@ AC_ARG_ENABLE(multitouch,
if test "x$MULTITOUCH" = xyes; then
AC_DEFINE(MULTITOUCH, 1, [Enable experimental multitouch code])
+ AC_DEFINE(XINPUT2_1_USE_UNSTABLE_PROTOCOL, 1, [Enable XI 2.1 protocol])
+ AC_DEFINE(XINPUT2_2_USE_UNSTABLE_PROTOCOL, 1, [Enable XI 2.2 protocol])
# Obtain compiler/linker options for mtdev
PKG_CHECK_MODULES(MTDEV, mtdev)