mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 10:38:30 +02:00
configure.ac: check require_basic_egl only if egl enabled
Fixes:1ac40173c2("configure.ac: simplify EGL requirements for drivers dependent on EGL") Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (cherry picked from commit4516bfbd30)
This commit is contained in:
parent
795287c66e
commit
8d7a8711d4
1 changed files with 3 additions and 1 deletions
|
|
@ -2394,7 +2394,9 @@ if test -n "$with_gallium_drivers"; then
|
|||
xvirgl)
|
||||
HAVE_GALLIUM_VIRGL=yes
|
||||
require_libdrm "virgl"
|
||||
require_basic_egl "virgl"
|
||||
if test "x$enable_egl" = xyes; then
|
||||
require_basic_egl "virgl"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unknown Gallium driver: $driver])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue