diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-02-14 22:17:41 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-02-14 22:21:13 -0500 |
commit | fcfb4e30a47a4cd2416dac210521594b489c8bfd (patch) | |
tree | e940236740627c99898ad726246226977c9d7af8 /wayland-scanner.m4.in | |
parent | 525e4c0beae832afc2c098c1368a19ad164e1b2b (diff) |
Split into a core repository that only holds the core Wayland libraries
Diffstat (limited to 'wayland-scanner.m4.in')
-rw-r--r-- | wayland-scanner.m4.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wayland-scanner.m4.in b/wayland-scanner.m4.in new file mode 100644 index 0000000..29bc788 --- /dev/null +++ b/wayland-scanner.m4.in @@ -0,0 +1,16 @@ +AC_DEFUN([WAYLAND_SCANNER_RULES], [ + wayland__prefix=${prefix} + wayland__exec_prefix=${exec_prefix} + + prefix=@prefix@ + exec_prefix=@exec_prefix@ + + AC_PATH_PROG([wayland_scanner], [wayland-scanner], [/bin/false], + [@bindir@$PATH_SEPARATOR$PATH]) + AC_SUBST_FILE([wayland_scanner_rules]) + AC_SUBST([wayland_protocoldir], [$1]) + wayland_scanner_rules=@datarootdir@/aclocal/wayland-scanner.mk + + prefix=${wayland__prefix} + exec_prefix=${wayland__exec_prefix} +]) |