[Mesa-dev] [PATCH] configure.ac: Add --with-wayland-scanner-path

Jussi Kukkonen jussi.kukkonen at intel.com
Wed May 24 08:36:20 UTC 2017


On 23 May 2017 at 11:13, Jussi Kukkonen <jussi.kukkonen at intel.com> wrote:
>
> Modify wayland-scanner lookup: Use the path given by pkg-config
> but offer an option to override the path with
> "--with-wayland-scanner-path=PATH". The latter is useful for
> cross-compile situations.
>
> AC_PATH_PROG is no longer used (if the scanner is installed it should
> get found by pkg-config). AC_SUBST is added so the output variable is
> created when only the configure option is used.
> ---
>
> My goal is to standardize wayland-scanner usage in a way that does not
> require patching when cross-compiling in Yocto (the detailed issue is
> that in Yocto pkg-config will return a "wayland_scanner" variable but
> that will contain a _target path_ when we would like to use a native
> sysroot path instead).
>
> I've sent a similar patch to weston and intend to fix other projects
> if these two patches are well received.


wayland-devel is clearly not 100% convinced about this approach so I
suggest dropping this patch as well: Feedback is still welcome.

Cheers,
 Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170524/1c09b522/attachment.html>


More information about the mesa-dev mailing list