From 1458dc394afca18622dd75350c9b1b8e662341a3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 27 Feb 2018 11:10:35 +0100 Subject: [PATCH] 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) ])