package/weston: fix configure.ac to check for wayland-scanner
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 10 Oct 2013 21:05:21 +0000 (23:05 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Oct 2013 22:07:49 +0000 (00:07 +0200)
commitaf28f7901ea2a80435714e98fb750b4c03570c96
tree33b405ec8971f7242306185a039982a5e3043222
parentefee2e4e1758d22e1fedc134016245e792f5c3b1
package/weston: fix configure.ac to check for wayland-scanner

configure whines while checking for wayland-scanner.

wayland-scanner is used to generate the protocol parser C files from
the protocol definition XML files.

weston has a hard-dependency on wayland-scanner, so it can regenerate
its shell/mouse/keyboard/... "handlers".

Since we're using a tarball, those protocol files are already generated
and up-to-date, but the check is hard-coded and unconditional. If
wayland-scanner is missing, configure fails.

We could well patch away this check, but we'd have to carry and maintain
it probably for ever.

Better to fix it: add a patch from upstream weston to fix configure
whining.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/weston/weston-0002-fix-configure.ac-check-wayland-scanner.patch [new file with mode: 0644]
package/weston/weston.mk