From ca02afd8d2f23ade4d806788a040b330d54e7ccf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 9 Dec 2022 09:13:08 +1000 Subject: configure.ac: inputproto 2.4 is optional Missing else condition in PKG_CHECK_MODULES caused configure to bail out where 2.4 wasn't available. Signed-off-by: Peter Hutterer --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c708f70..db506ed 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,8 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.19] xproto [inputproto >= 2.2]) PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.11.0]) PKG_CHECK_MODULES(INPUTPROTO24, [inputproto >= 2.3.99.1], - [AC_DEFINE(HAVE_INPUTPROTO24, [1], [inputproto 2.4 is available])]) + [AC_DEFINE(HAVE_INPUTPROTO24, [1], [inputproto 2.4 is available])], + [:]) OLD_LIBS=$LIBS OLD_CFLAGS=$CFLAGS -- cgit v1.2.1