mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 11:40:07 +01:00
Check for linux/input.h during configure
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2660b58336
commit
fcf80ba371
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue