configure.ac: fix message when X11 support is disabled Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/configure.ac b/configure.ac
index 2c328e1..b08a550 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@ AS_IF([test "x$DEFAULT_XKB_OPTIONS" != x], [
AC_ARG_ENABLE([x11],
[AS_HELP_STRING([--disable-x11],
[Disable support for creating keymaps with the X11 protocol (default: enabled)])],
- [], [enable_x11=yes])
+ [enable_x11=no], [enable_x11=yes])
AS_IF([test "x$enable_x11" = xyes], [
PKG_CHECK_MODULES([XCB_XKB], [xcb xcb-xkb >= 1.10], [],
[AC_MSG_ERROR([xkbcommon-x11 requires xcb-xkb >= 1.10 which was not found. \