projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2660b58
)
Check for linux/input.h during configure
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 8 Oct 2013 03:01:07 +0000
(13:01 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 8 Oct 2013 04:53:01 +0000
(14:53 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index a21a51b263d9f7e4c18830182202ea57593e641c..af73bed049568d4107617b03c528db04e93e9d31 100644
(file)
--- 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