From c248be1e5b4eac3cd211b8bd1c35f06772e309b0 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 22 Feb 2011 16:59:21 +0100 Subject: Simplify XInput package test The XI2.1 support is present in sufficiently recent xinput packages, so simplify the testing accordingly. Signed-off-by: Henrik Rydberg --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e1e6947..516fd82 100644 --- a/configure.ac +++ b/configure.ac @@ -31,9 +31,8 @@ AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support])) AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) AS_IF([test "x$with_xi" = "xyes"], [ - PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) - PKG_CHECK_MODULES(XI2_1, [xi >= 1.4.99.1] [inputproto >= 2.0.99.1]) - AC_DEFINE([HAVE_XI], [1], [XI2.1 support]) + PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.4.1.99.1] [inputproto >= 2.0.99.1]) + AC_DEFINE([HAVE_XI], [1], [XI2.1 support]) ]) AC_CONFIG_FILES([Makefile -- cgit v1.2.3