On Tue, 12 Dec 2017 23:10:18 +0200 Marius Vlad <marius-cristian.v...@nxp.com> wrote:
> This is particularly useful when cross-compiling and we need to specify a > custom > datadir path for wayland-protocols. Cross-compilation toolchain is usually > immutable, and in this way we can modify wayland-protocols independently from > what the toolchain provides. > > Signed-off-by: Marius Vlad <marius-cristian.v...@nxp.com> > --- > configure.ac | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index d1b5f47..11ebc21 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -213,7 +213,13 @@ 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) > +AC_ARG_WITH(wayland-protocols-datadir-path, > + AS_HELP_STRING([--with-wayland-protocols-datadir-path=PATH], > + [Path to wayland-protocols]), > + [WAYLAND_PROTOCOLS_DATADIR="$withval"], > + > [WAYLAND_PROTOCOLS_DATADIR="$ac_wayland_protocols_pkgdatadir"]) > + > +AC_SUBST([WAYLAND_PROTOCOLS_DATADIR]) > > AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],, > enable_wayland_compositor=yes) Hi Marius, I noticed this patch did not land. Would we need something like this for Meson in Weston? This seems to be a Weston patch, but the only thing hinting at that is the context in the diff. Thanks, pq
pgpvE30icyU29.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel