1 AC_DEFUN([WAYLAND_SCANNER_RULES], [
2 wayland__prefix=${prefix}
3 wayland__exec_prefix=${exec_prefix}
6 exec_prefix=@exec_prefix@
8 AC_PATH_PROG([wayland_scanner], [wayland-scanner], [/bin/false],
9 [@bindir@$PATH_SEPARATOR$PATH])
10 AC_SUBST_FILE([wayland_scanner_rules])
11 AC_SUBST([wayland_protocoldir], [$1])
12 wayland_scanner_rules=@datarootdir@/aclocal/wayland-scanner.mk
14 prefix=${wayland__prefix}
15 exec_prefix=${wayland__exec_prefix}