Make X11 support optional.
Add a new configure option, --disable-x11. That option will disable GLX, and will #ifdef out the X11 platform detection in EGL, but also remove the dependency on the X11 libraries and headers. In addition, only check for the xext and glproto packages if GLX is enabled, since that's the only component that needs them.
Loading
Please register or sign in to comment