[vlc-devel] [PATCH] wayland: do not hardfail if wayland-* is not found

Jean-Baptiste Kempf jb at videolan.org
Wed May 30 09:59:00 CEST 2018


And wayland was not explicitely requested
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 40d78663d5..f491c99227 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3164,7 +3164,7 @@ have_wayland_cursor="no"
 have_wayland_egl="no"
 
 AS_IF([test "${enable_wayland}" != "no"], [
-  PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= 1.5.91], [
+  PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= 1.5.91 wayland-protocols >= 1.12 wayland-scanner >= 1.15], [
     AC_MSG_CHECKING([for the Wayland protocols])
     PKG_CHECK_EXISTS([wayland-protocols >= 1.12], [
       WAYLAND_PROTOCOLS="$(${PKG_CONFIG} wayland-protocols --variable pkgdatadir)"
-- 
2.17.1



More information about the vlc-devel mailing list