From 99af72fd098b4aeae1121644c7412824583eaaf0 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 31 Mar 2014 18:01:35 +0300 Subject: [PATCH] configure.ac: fix enable_x11 handling Explicitly passing --enable-x11=yes would actually disable it. Reported-by: Quentin Glidic Signed-off-by: Ran Benita --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index edee68b..df3962e 100644 --- a/configure.ac +++ b/configure.ac @@ -153,12 +153,12 @@ 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=no], [enable_x11=yes]) + [], [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. \ You can disable X11 support with --disable-x11.])]) -]) +], [enable_x11=no]) AM_CONDITIONAL([ENABLE_X11], [test "x$enable_x11" = xyes]) AC_CONFIG_FILES([ -- 2.7.4