[mutter] build: Fix build with older versions of wayland-protocols



commit 1458dc394afca18622dd75350c9b1b8e662341a3
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 27 11:10:35 2018 +0100

    build: Fix build with older versions of wayland-protocols
    
    Instead of bailing out when a seemingly random file is missing, require
    the version of wayland-protocols that includes the source to create that
    built file.
    
    Introduced in d714a94

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 721a62fc7..5ebdbc53c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,7 +303,7 @@ AS_IF([test "$have_wayland" = "yes"], [
   AC_SUBST([WAYLAND_SCANNER])
   AC_DEFINE([HAVE_WAYLAND],[1],[Define if you want to enable Wayland support])
 
-  PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.10],
+  PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.12],
                    [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
   AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
 ])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]