include/GL/*.h not installed when GLX is disabled (eg for OSMesa)
Submitted by Frederic Devernay
Assigned to mes..@..op.org
Description
When compiling/installing an OSMesa-only Mesa (no GLX or DRI), the following patch: https://cgit.freedesktop.org/mesa/mesa/commit/?id=42968424fb4100f2035badf236b005cc8d62a592
prevents include/GL/*.h headers, including osmesa.h, gl.h and gl_mangle.h, from being installed.
I do not understand the rationale behind this patch. AFAIK, only glx.h and glx_mangle.h should be conditionally installed.
Version: git