Commit 8d7a8711 authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez check require_basic_egl only if egl enabled

Fixes: 1ac40173 (" simplify EGL requirements for drivers dependent on EGL")
Signed-off-by: default avatarEmil Velikov <>
Reviewed-by: default avatarNicolai Hähnle <>
(cherry picked from commit 4516bfbd)
parent 795287c6
......@@ -2394,7 +2394,9 @@ if test -n "$with_gallium_drivers"; then
require_libdrm "virgl"
require_basic_egl "virgl"
if test "x$enable_egl" = xyes; then
require_basic_egl "virgl"
AC_MSG_ERROR([Unknown Gallium driver: $driver])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment