Mesa (master): configure.ac: don't require EGL/ DRM and GBM if OpenGL is disabled
Marek Olšák
mareko at kemper.freedesktop.org
Tue Jan 26 18:07:31 UTC 2016
Module: Mesa
Branch: master
Commit: 98cebc913cd7ad07ce9699b5f63d72fe3969c851
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98cebc913cd7ad07ce9699b5f63d72fe3969c851
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jan 12 20:08:46 2016 +0100
configure.ac: don't require EGL/DRM and GBM if OpenGL is disabled
This allows building VDPAU/OMX/VA drivers without OpenGL and its
dependencies.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 4172eae..b05f33d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2159,7 +2159,12 @@ gallium_require_drm_loader() {
fi
}
+dnl This is for Glamor. Skip this if OpenGL is disabled.
require_egl_drm() {
+ if test "x$enable_opengl" = xno; then
+ return 0
+ fi
+
case "$with_egl_platforms" in
*drm*)
;;
More information about the mesa-commit
mailing list