summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-12-09 09:13:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-12-09 09:15:09 +1000
commitca02afd8d2f23ade4d806788a040b330d54e7ccf (patch)
tree3eaa6747abf332a7f20aaeaf9b4371bf2f28e3f1
parent252bc4ba0dd629c9b407f7e7947977219a4cea6c (diff)
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 <peter.hutterer@who-t.net>
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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