diff options
author | Marek Olšák <[email protected]> | 2016-01-12 20:08:46 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-26 19:07:03 +0100 |
commit | 98cebc913cd7ad07ce9699b5f63d72fe3969c851 (patch) | |
tree | 547a00228a962aa694e2cc6a31b305e34b93739d | |
parent | efc4142acd0e5e43b9896440c1c8191d41ff273a (diff) |
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 <[email protected]>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4172eaeefd9..b05f33d4364 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*) ;; |