| Summary: | EGL detection fails on systems with recent headers and no X11 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Brian Kubisiak <brian> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | david, sezeroz |
| Version: | 2.0.13 | Keywords: | target-2.0.14 |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | patch | ||
This patch is in: https://hg.libsdl.org/SDL/rev/69b6e0c949ee Closing as fixed. |
Created attachment 4447 [details] patch Recent EGL headers on Linux use EGL_NO_X11 instead of MESA_EGL_NO_X11_HEADERS on systems where X11 should not be used. As a result, on systems where X11 is not present, the configure script would fail to enable EGL (and Wayland) support. The attached patch should fix this issue. The old MESA_EGL_NO_X11_HEADERS remains for systems that do not have the updated headers. Note that the newer macro has already been added to EXTRA_CFLAGS, so the build still worked, it is just the detection during configuration that is failing.