[PATCH libevdev 1/2] Check for linux/input.h during configure
Peter Hutterer
peter.hutterer at who-t.net
Mon Oct 7 21:58:00 PDT 2013
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index a21a51b..af73bed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,9 @@ if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
fi
AC_SUBST([GNU_LD_FLAGS], $with_ldflags)
+AC_CHECK_HEADER([linux/input.h], [],
+ [AC_MSG_ERROR([linux/input.h not found, install kernel headers.])])
+
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(CHECK, [check >= 0.9.9], [HAVE_CHECK="yes"], [HAVE_CHECK="no"])
if test "x$HAVE_CHECK" != "xyes"; then
--
1.8.3.1
More information about the Input-tools
mailing list