# HG changeset patch # User Brian Kubisiak # Date 1598362803 25200 # Tue Aug 25 06:40:03 2020 -0700 # Node ID a485c2443760ef880f62c8bebe007b42199f9b88 # Parent 738ede6713410f0caae5b69bc20d352a9a24bbbc egl: Fix detection in configure script on systems without X11. In recent versions of EGL headers on Linux, the MESA_EGL_NO_X11_HEADERS macro is deprecated and has been replaced with EGL_NO_X11. As a result, the configure script would fail the compilation check for EGL headers and disable EGL (and by extension, Wayland) support when X11 headers are not installed. Fix this by adding the correct macro to disable X11 support in the headers. diff -r 738ede671341 -r a485c2443760 configure --- a/configure Tue Aug 25 04:05:36 2020 +0200 +++ b/configure Tue Aug 25 06:40:03 2020 -0700 @@ -22306,6 +22306,7 @@ #define LINUX #define EGL_API_FB #define MESA_EGL_NO_X11_HEADERS + #define EGL_NO_X11 #include #include diff -r 738ede671341 -r a485c2443760 configure.ac --- a/configure.ac Tue Aug 25 04:05:36 2020 +0200 +++ b/configure.ac Tue Aug 25 06:40:03 2020 -0700 @@ -2373,6 +2373,7 @@ #define LINUX #define EGL_API_FB #define MESA_EGL_NO_X11_HEADERS + #define EGL_NO_X11 #include #include ],[