[PATCH libinputmapper 05/13] configure: check for linux/input.h
Peter Hutterer
peter.hutterer at who-t.net
Tue Aug 27 18:00:16 PDT 2013
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 862a192..aaf0fcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,8 +49,8 @@ if test "x$DOXYGEN" = "x"; then
fi
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
-
-# TODO: check for linux/input.h
+AC_CHECK_HEADER([linux/input.h], [],
+ [AC_MSG_ERROR([linux/input.h required but not found])])
#
# Makefile vars
--
1.8.2.1
More information about the Input-tools
mailing list