configure.ac: check for wayland scanner macro

This commit is contained in:
Peter Hutterer 2013-08-09 11:08:27 +10:00 committed by Kristian Høgsberg
parent 1bf14815ef
commit 499d8a4046

View File

@ -396,6 +396,8 @@ if test "x$have_lcms" = xyes; then
fi fi
AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes]) 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']) WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
AC_CONFIG_FILES([Makefile AC_CONFIG_FILES([Makefile