mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
build: Add wayland-scanner.pc.
To allow user program to include wayland-scanner.m4 in tarball, move the path variables from it into wayland-scanner.pc.
This commit is contained in:
parent
60fc83af6e
commit
40fc79d5b0
7 changed files with 32 additions and 18 deletions
11
wayland-scanner.m4
Normal file
11
wayland-scanner.m4
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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])
|
||||
])
|
||||
Loading…
Add table
Add a link
Reference in a new issue