[PATCH weston] configure.ac: check for wayland scanner macro
Kristian Høgsberg
hoegsberg at gmail.com
Thu Aug 8 21:35:25 PDT 2013
On Fri, Aug 09, 2013 at 11:08:27AM +1000, Peter Hutterer wrote:
> ---
> That's a slightly nicer error message than breaking during configure.
Indeed, applied.
Kristian
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index f9f1c53..3ad1995 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -396,6 +396,8 @@ if test "x$have_lcms" = xyes; then
> fi
> AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
>
> +m4_ifndef([WAYLAND_SCANNER_RULES],
> + [m4_fatal([WAYLAND_SCANNER_RULES not found. Point ACLOCAL to wayland-scanner.m4 before running autoconf/autogen])])
> WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
>
> AC_CONFIG_FILES([Makefile
> --
> 1.8.2.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list