cursor: Add function for calculating current frame in cursor animation
[profile/ivi/wayland.git] / wayland-scanner.m4.in
1 AC_DEFUN([WAYLAND_SCANNER_RULES], [
2     wayland__prefix=${prefix}
3     wayland__exec_prefix=${exec_prefix}
4
5     prefix=@prefix@
6     exec_prefix=@exec_prefix@
7
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
13
14     prefix=${wayland__prefix}
15     exec_prefix=${wayland__exec_prefix}
16 ])