summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-02-22 16:59:21 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-02-22 16:59:21 +0100
commitc248be1e5b4eac3cd211b8bd1c35f06772e309b0 (patch)
treeefb130789a65c8a7e6616662a7a0e54372a66002 /configure.ac
parent1d577d50fd59895c7c885677fc35998d4e2761b5 (diff)
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 <rydberg@euromail.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
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]))
31AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) 31AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"])
32 32
33AS_IF([test "x$with_xi" = "xyes"], [ 33AS_IF([test "x$with_xi" = "xyes"], [
34 PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) 34 PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.4.1.99.1] [inputproto >= 2.0.99.1])
35 PKG_CHECK_MODULES(XI2_1, [xi >= 1.4.99.1] [inputproto >= 2.0.99.1]) 35 AC_DEFINE([HAVE_XI], [1], [XI2.1 support])
36 AC_DEFINE([HAVE_XI], [1], [XI2.1 support])
37]) 36])
38 37
39AC_CONFIG_FILES([Makefile 38AC_CONFIG_FILES([Makefile