From 56d32619b95eb472104068c35ea7146dccb8d1bf Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Thu, 19 Jan 2012 13:05:47 -0800 Subject: Add touch device class support Signed-off-by: Chase Douglas Signed-off-by: Peter Hutterer --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bb95403..f8c7259 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,11 @@ AC_SUBST([sdkdir]) DRIVER_NAME=synaptics AC_SUBST([DRIVER_NAME]) +PKG_CHECK_MODULES(XI22, [inputproto >= 2.1.99.3] [xorg-server >= 1.11.99.901], HAVE_XI22="yes", HAVE_XI22="no") +if test "x$HAVE_XI22" = xyes; then + AC_DEFINE(HAVE_MULTITOUCH, 1, [XI2.2 available]) +fi + # ----------------------------------------------------------------------------- # Configuration options # ----------------------------------------------------------------------------- -- cgit v1.2.3