[vlc-commits] configure: fix wayland-scanner version requirement

Rémi Denis-Courmont git at videolan.org
Mon May 21 19:15:05 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 21 20:07:47 2018 +0300| [c3c92ada31972a476cc7aaa2a380e0f79865ebd7] | committer: Rémi Denis-Courmont

configure: fix wayland-scanner version requirement

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3c92ada31972a476cc7aaa2a380e0f79865ebd7
---

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 691bf188eb..547e5c5a4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3162,12 +3162,12 @@ AS_IF([test "${enable_wayland}" != "no"], [
     ])
 
     AC_MSG_CHECKING([for the Wayland scanner])
-    PKG_CHECK_EXISTS([wayland-scanner], [
+    PKG_CHECK_EXISTS([wayland-scanner >= 1.15], [
       WAYLAND_SCANNER="$(${PKG_CONFIG} wayland-scanner --variable wayland_scanner)"
       AC_MSG_RESULT([${WAYLAND_SCANNER}])
     ], [
       AC_MSG_RESULT([not found])
-      AC_MSG_ERROR([$(${PKG_CONFIG} --print-errors wayland-scanner)])
+      AC_MSG_ERROR([$(${PKG_CONFIG} --print-errors 'wayland-scanner >= 1.15')])
     ])
 
     have_wayland="yes"



More information about the vlc-commits mailing list