[Mesa-dev] [PATCH] include/GL: fix the interop header for a --disable-glx build

Chuck Atkins chuck.atkins at kitware.com
Thu Apr 21 12:48:54 UTC 2016


>
> 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160421/9bb8cd6c/attachment.html>


More information about the mesa-dev mailing list