From: Adrian Negreanu <adrian.m.negre...@intel.com> 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" -- 1.8.0 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel