Commit 4516bfbd authored by Emil Velikov's avatar Emil Velikov 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 <>
parent 179e21a7
......@@ -2466,7 +2466,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