From 4516bfbd309a6996c18f577de47b13e33dce0828 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 16 Apr 2017 01:46:59 +0100 Subject: configure.ac: check require_basic_egl only if egl enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 1ac40173c2a ("configure.ac: simplify EGL requirements for drivers dependent on EGL") Signed-off-by: Emil Velikov Reviewed-by: Nicolai Hähnle --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e1c60d842b5..957d15df8ca 100644 --- a/configure.ac +++ b/configure.ac @@ -2466,7 +2466,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]) -- cgit v1.2.3