Bug 39821 - HEAD won't compile without X11 headers
Summary: HEAD won't compile without X11 headers
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All All
: medium minor
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 21:50 UTC by slowcoder
Modified: 2015-11-30 23:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description slowcoder 2011-08-03 21:50:11 UTC
Building HEAD ( babb26776fadb683be9dacb492efcdc455b176ab ) on a system without X11 installed gives a compilation error for not finding X11/Xlib.h as included from the file include/EGL/eglplatform.h:104 .

configure flags:
EGL_PLATFORM=drm ./configure --disable-glx --disable-dri --with-gallium-drivers=swrast --with-egl-platforms=drm --enable-gles1 --enable-gles2 --without-x --disable-xlib-glx

It would seem MESA_EGL_NO_X11_HEADERS never gets defined..
Comment 1 Quentin "Sardem FF7" Glidic 2013-02-02 21:17:54 UTC
Also, EGL users which are including EGL/eglplatform.h are highly unlikely to define MESA_EGL_NO_X11_HEADERS either, so we need to define it in a way that users will have the definition too.

Maybe putting a CFLAGS in egl.pc?
Comment 2 Ian Romanick 2015-11-30 23:58:42 UTC
Please reopen if this is still a problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.