40fc79d5b0
To allow user program to include wayland-scanner.m4 in tarball, move the path variables from it into wayland-scanner.pc.
12 lines
357 B
Plaintext
12 lines
357 B
Plaintext
AC_DEFUN([WAYLAND_SCANNER_RULES], [
|
|
PKG_PROG_PKG_CONFIG
|
|
|
|
wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
|
|
AC_SUBST([wayland_scanner])
|
|
|
|
wayland_scanner_rules=`$PKG_CONFIG --variable=pkgdatadir wayland-scanner`/wayland-scanner.mk
|
|
AC_SUBST_FILE([wayland_scanner_rules])
|
|
|
|
AC_SUBST([wayland_protocoldir], [$1])
|
|
])
|