mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
configure.ac: check require_basic_egl only if egl enabled
Otherwise the configuration fails when building independant libs like vdpau, vaapi or omx Fixes:1ac40173c2("configure.ac: simplify EGL requirements for drivers dependent on EGL") Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Cc: "17.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit5398d006de) [Emil Velikov: resolve trivial conflicts] Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Conflicts: configure.ac
This commit is contained in:
parent
b75c0bf73a
commit
0a8df0685e
1 changed files with 3 additions and 1 deletions
|
|
@ -2328,7 +2328,9 @@ if test -n "$with_gallium_drivers"; then
|
|||
PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
|
||||
require_libdrm "radeonsi"
|
||||
radeon_gallium_llvm_check $LLVM_REQUIRED_RADEONSI "radeonsi"
|
||||
require_basic_egl "radeonsi"
|
||||
if test "x$enable_egl" = xyes; then
|
||||
require_basic_egl "radeonsi"
|
||||
fi
|
||||
;;
|
||||
xnouveau)
|
||||
HAVE_GALLIUM_NOUVEAU=yes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue