configure.ac: check for wayland scanner macro
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 9 Aug 2013 01:08:27 +0000 (11:08 +1000)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 9 Aug 2013 04:54:53 +0000 (21:54 -0700)
configure.ac

index f9f1c53..3ad1995 100644 (file)
@@ -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