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

2017-07-06 Thread Olivier Blin
Le 06/07/2017 à 14:46, Daniel Stone a écrit : Hi Olivier, On 6 July 2017 at 13:28, Olivier Blin wrote: > @@ -208,9 +208,7 @@ fi > PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0]) > PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES]) > >

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

2017-07-06 Thread Daniel Stone
Hi Olivier, On 6 July 2017 at 13:28, Olivier Blin 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],

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

2017-07-06 Thread Olivier Blin
This allows to override the wayland-protocols pkgdatadir with the WAYLAND_PROTOCOLS_DATADIR environment variable. pkgconfig would return an absolute path in /usr/share/wayland-protocols for the pkgdatadir value, which is not suitable for cross-compiling. The pkgdatadir is not affected by the