April 16, 2026
7:30 a.m.
Rémi Bernon (@rbernon) commented about configure.ac:
[WAYLAND_CLIENT_LIBS=""],[$WAYLAND_CLIENT_LIBS])])]) WINE_PACKAGE_FLAGS(XKBCOMMON,[xkbcommon],,,, [AC_CHECK_LIB(xkbcommon,xkb_context_new,[:],[XKBCOMMON_LIBS=""],[$XKBCOMMON_LIBS])]) + if test "x$have_x" != "xyes" + then WINE_PACKAGE_FLAGS(XKBREGISTRY,[xkbregistry],,,, [AC_CHECK_LIB(xkbregistry,rxkb_context_new,[:],[XKBREGISTRY_LIBS=""],[$XKBREGISTRY_LIBS])]) + fi
What about moving this together somewhere else, with a test that includes both Wayland and X at once instead of duplicating the package check? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10550#note_136451