April 17, 2026
5:55 p.m.
On Fri Apr 17 17:52:24 2026 +0000, Rémi Bernon wrote:
`AC_CHECK_HEADER` doesn't define the HAVE_XKBCOMMON_XKBREGISTRY_H macro, you need `AC_CHECK_HEADERS` and it doesn't let you do things on success / failure, you'd have to manually write a test. `AC_CHECK_HEADER` seems to work fine here, but regardless, the idea is to use `#ifdef SONAME_LIBXKBREGISTRY` everywhere, since with that it implies both the .h and the .so are available at build time.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10550#note_136809