Commit 8d7a8711 authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez

configure.ac: check require_basic_egl only if egl enabled

Fixes: 1ac40173 ("configure.ac: simplify EGL requirements for drivers dependent on EGL")
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 4516bfbd)
parent 795287c6
......@@ -2394,7 +2394,9 @@ if test -n "$with_gallium_drivers"; then
xvirgl)
HAVE_GALLIUM_VIRGL=yes
require_libdrm "virgl"
if test "x$enable_egl" = xyes; then
require_basic_egl "virgl"
fi
;;
*)
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