On Tue, Jul 2, 2013 at 6:00 PM, Pekka Paalanen <ppaala...@gmail.com> wrote: > On Tue, 2 Jul 2013 17:26:27 +0300 > Adrian Negreanu <gro...@gmail.com> wrote: > >> From: Adrian Negreanu <adrian.m.negre...@intel.com> > > > Why? When could it be missing? If one uses kernel headers before the kernel commit:
commit 85b7720039fc000b561c20fe2aaa3b54cddae4a7 Author: Henrik Rydberg <rydb...@euromail.se> Date: Sat Dec 18 20:51:13 2010 +0100 Input: introduce device properties > > > Thanks, > pq > >> Signed-off-by: Adrian Negreanu <adrian.m.negre...@intel.com> >> --- >> configure.ac | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> >> diff --git a/configure.ac b/configure.ac >> index 726eb4f..2216e16 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -52,6 +52,22 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[], >> [[#include <time.h>]]) >> AC_CHECK_HEADERS([execinfo.h]) >> >> +AC_CHECK_HEADERS([linux/input.h]) >> + >> +AC_MSG_CHECKING([INPUT_PROP_MAX in linux/input.h]) >> +AC_EGREP_CPP(yes_have_INPUT_PROP_MAX, [ >> +#include <linux/input.h> >> +#ifdef INPUT_PROP_MAX >> +yes_have_INPUT_PROP_MAX >> +#endif >> +], [ >> + AC_MSG_RESULT([yes]) >> +], [ >> + AC_MSG_RESULT([no]) >> + AC_ERROR([INPUT_PROP_MAX is missing from linux/input.h]) >> +]) >> + >> + >> AC_CHECK_FUNCS([mkostemp strchrnul]) >> >> COMPOSITOR_MODULES="wayland-server >= 1.1.90 pixman-1" > -- Regards! http://groleo.wordpress.com _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel