Skip to content

Commit 49ab491

Browse files
committed
xkb: fix xkbcommon detection
Signed-off-by: Alexey Gladkov <legion@kernel.org>
1 parent dd83855 commit 49ab491

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test "$HAVE_DOXYGEN" = "yes")
361361

362362
AC_ARG_ENABLE([xkb],
363363
[AS_HELP_STRING([--enable-xkb],
364-
[allow to generate kernel keymaps based on xkb database @<:@default=yes@:>@])],
365-
[USE_XKB=$enableval],[USE_XKB=yes])
364+
[allow to generate kernel keymaps based on xkb database @<:@default=auto@:>@])],
365+
[USE_XKB=$enableval],[USE_XKB=auto])
366366
AS_IF([test "x$USE_XKB" != xno],
367-
[PKG_CHECK_MODULES(XKBCOMMON, xkbcommon, [HAVE_XKBCOMMON=yes], [HAVE_XKBCOMMON=no])],
367+
[PKG_CHECK_MODULES(XKBCOMMON, xkbcommon, [USE_XKB=yes], [USE_XKB=no])],
368368
[USE_XKB=no])
369369
AM_CONDITIONAL(USE_XKB, test "$USE_XKB" = "yes")
370370

0 commit comments

Comments
 (0)