diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-08 13:01:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-08 14:53:01 +1000 |
commit | fcf80ba3713b9d92480dc8be9ec4d88d95586ec0 (patch) | |
tree | f1aad4e6baf1a3b282cb9567f583b31def869863 | |
parent | 2660b58336daec350abef8fba28eb8903a9af482 (diff) |
Check for linux/input.h during configure
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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 |