configure.ac: make xkb optional, as intended
authorPatrick Welche <prlw1@cam.ac.uk>
Thu, 24 Aug 2017 13:49:04 +0000 (14:49 +0100)
committerMike Gorse <mgorse@suse.com>
Sun, 27 Aug 2017 17:15:47 +0000 (12:15 -0500)
[] is not sufficient to avoid PKG_CHECK_MODULES' default action of bailing if
xkbcommon-x11 is not found.

configure.ac

index c1de48c..bf3450a 100644 (file)
@@ -111,7 +111,7 @@ AS_IF([test "x$enable_x11" = xno], [
       AC_DEFINE(HAVE_XKB, 1, [Define to use XKB])
       X11_CFLAGS="$X11_CFLAGS $XKB_CFLAGS"
       X11_LIBS="$X11_LIBS $XKB_LIBS"
-    ], [])
+    ], [:])
   ])
 
   AC_SUBST(X11_CFLAGS)