diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-02-22 16:59:21 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-22 16:59:21 +0100 |
| commit | c248be1e5b4eac3cd211b8bd1c35f06772e309b0 (patch) | |
| tree | efb130789a65c8a7e6616662a7a0e54372a66002 | |
| parent | 1d577d50fd59895c7c885677fc35998d4e2761b5 (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>
| -rw-r--r-- | configure.ac | 5 |
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])) | |||
| 31 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) | 31 | AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"]) |
| 32 | 32 | ||
| 33 | AS_IF([test "x$with_xi" = "xyes"], [ | 33 | AS_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 | ||
| 39 | AC_CONFIG_FILES([Makefile | 38 | AC_CONFIG_FILES([Makefile |
