Rémi Bernon (@rbernon) commented about configure.ac:
WINE_PACKAGE_FLAGS(XKBREGISTRY,[xkbregistry],,,, [AC_CHECK_HEADERS([xkbcommon/xkbregistry.h]) AC_CHECK_LIB(xkbregistry,rxkb_context_new,[:],[XKBREGISTRY_LIBS=""],[$XKBREGISTRY_LIBS])]) + if test "x$with_opengl" != "xno" + then + WINE_PACKAGE_FLAGS(EGL,[egl],[-lEGL],,, + [AC_CHECK_HEADER([EGL/egl.h], + [WINE_CHECK_SONAME(EGL,eglGetProcAddress,,,[$EGL_LIBS])])]) + if test "x$with_wayland" != "x" + then + WINE_NOTICE_WITH(opengl, [test -z "$SONAME_LIBEGL"],
```suggestion:-0+0 WINE_NOTICE_WITH(opengl, [test "x$ac_cv_lib_soname_EGL" = "x"], ``` Looks like it's done like that more consistently elsewhere. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5177#note_62896