summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Welche <prlw1@cam.ac.uk>2017-08-24 14:49:04 +0100
committerMike Gorse <mgorse@suse.com>2017-08-27 12:15:47 -0500
commitaa3a11a1dece49328e119f8465f0a46cd548b680 (patch)
treed4c38715fc59ef5332dad25e0ef3f291d0e07542
parente8d4a02ec931a8d45a80357d8c04ef4cdfca013e (diff)
downloadat-spi2-core-aa3a11a1dece49328e119f8465f0a46cd548b680.tar.gz
configure.ac: make xkb optional, as intended
[] is not sufficient to avoid PKG_CHECK_MODULES' default action of bailing if xkbcommon-x11 is not found.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c1de48ca..bf3450a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)