[PATCH weston] configure.ac: use PKG_CHECK_VAR for wayland-protocols

Daniel Stone daniel at fooishbar.org
Thu Jul 6 12:46:16 UTC 2017


Hi Olivier,

On 6 July 2017 at 13:28, Olivier Blin <olivier.blin at softathome.com> wrote:
> @@ -208,9 +208,7 @@ fi
>  PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0])
>  PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
>
> -PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.8],
> -                 [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
> -AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
> +PKG_CHECK_VAR(WAYLAND_PROTOCOLS_DATADIR, wayland-protocols >= 1.7, pkgdatadir)

This should be 1.8 rather than 1.7. Other than that though, it seems fine.

Cheers,
Daniel


More information about the wayland-devel mailing list