> > The MESA_EGL_NO_X11_HEADERS macro is used to check if we're building > without > GLX support. >
In configure.ac: # If we don't have the X11 platform, set this define so we don't try to include # the X11 headers. if ! echo "$egl_platforms" | grep -q 'x11'; then DEFINES="$DEFINES -DMESA_EGL_NO_X11_HEADERS" GL_PC_CFLAGS="$GL_PC_CFLAGS -DMESA_EGL_NO_X11_HEADERS" fi The MESA_EGL_NO_X11_HEADERS is only specifying whether or not EGL has the x11 platform. It's unrelated to GLX. You can build with EGL and no x11 platform but still have GLX. What about adding 2 -D defines in configure.ac for MESA_HAVE_GLX and MESA_HAVE_EGL ?
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev