[PATCH weston] configure.ac: check for wayland scanner macro
Peter Hutterer
peter.hutterer at who-t.net
Thu Aug 8 18:08:27 PDT 2013
---
That's a slightly nicer error message than breaking during configure.
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
More information about the wayland-devel
mailing list