mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
build: Add missing substitutions for 'guile-2.0.pc'.
This is a followup to 5fac1a7
.
* meta/Makefile.am (substitute): Add GUILE_* and LIBGUILE_* substitutions,
and $(dependency_substitutions).
(dependency_substitutions): New variable.
This commit is contained in:
parent
680135b6a3
commit
7c433cbbce
1 changed files with 42 additions and 18 deletions
|
@ -53,6 +53,12 @@ substitute = \
|
||||||
installed_guile="@bindir@/$$guile" ; \
|
installed_guile="@bindir@/$$guile" ; \
|
||||||
$(SED) -e "s,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g" \
|
$(SED) -e "s,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g" \
|
||||||
-e "s,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g" \
|
-e "s,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g" \
|
||||||
|
-e "s,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION),g" \
|
||||||
|
-e "s,[@]GUILE_VERSION[@],$(GUILE_VERSION),g" \
|
||||||
|
-e "s,[@]GUILE_CFLAGS[@],$(GUILE_CFLAGS),g" \
|
||||||
|
-e "s,[@]GUILE_LIBS[@],$(GUILE_LIBS),g" \
|
||||||
|
-e "s,[@]LIBGUILE_INTERFACE[@],$(LIBGUILE_INTERFACE),g" \
|
||||||
|
$(dependency_substitutions) \
|
||||||
-e "s,[@]PKG_CONFIG[@],$(PKG_CONFIG),g" \
|
-e "s,[@]PKG_CONFIG[@],$(PKG_CONFIG),g" \
|
||||||
-e "s,[@]pkgconfigdir[@],$(pkgconfigdir),g" \
|
-e "s,[@]pkgconfigdir[@],$(pkgconfigdir),g" \
|
||||||
-e "s,[@]prefix[@],$(prefix),g" \
|
-e "s,[@]prefix[@],$(prefix),g" \
|
||||||
|
@ -67,6 +73,24 @@ substitute = \
|
||||||
-e "s,[@]guild[@],$$guild,g" \
|
-e "s,[@]guild[@],$$guild,g" \
|
||||||
-e "s,[@]installed_guile[@],$$installed_guile,g"
|
-e "s,[@]installed_guile[@],$$installed_guile,g"
|
||||||
|
|
||||||
|
# Substitutions for dependencies that appear in 'guile-2.0.pc'.
|
||||||
|
dependency_substitutions = \
|
||||||
|
-e "s,[@]BDW_GC_CFLAGS[@],$(BDW_GC_CFLAGS),g" \
|
||||||
|
-e "s,[@]BDW_GC_LIBS[@],$(BDW_GC_LIBS),g" \
|
||||||
|
-e "s,[@]LIB_CLOCK_GETTIME[@],$(LIB_CLOCK_GETTIME),g" \
|
||||||
|
-e "s,[@]LIBGMP[@],$(LIBGMP),g" \
|
||||||
|
-e "s,[@]LIBLTDL[@],$(LIBLTDL),g" \
|
||||||
|
-e "s,[@]LIBFFI_LIBS[@],$(LIBFFI_LIBS),g" \
|
||||||
|
-e "s,[@]LIBUNISTRING[@],$(LIBUNISTRING),g" \
|
||||||
|
-e "s,[@]LIBICONV[@],$(LIBICONV),g" \
|
||||||
|
-e "s,[@]LIBINTL[@],$(LIBINTL),g" \
|
||||||
|
-e "s,[@]LIBSOCKET[@],$(LIBSOCKET),g" \
|
||||||
|
-e "s,[@]SERVENT_LIB[@],$(SERVENT_LIB),g" \
|
||||||
|
-e "s,[@]HOSTENT_LIB[@],$(HOSTENT_LIB),g" \
|
||||||
|
-e "s,[@]GETADDRINFO_LIB[@],$(GETADDRINFO_LIB),g" \
|
||||||
|
-e "s,[@]INET_NTOP_LIB[@],$(INET_NTOP_LIB),g" \
|
||||||
|
-e "s,[@]INET_PTON_LIB[@],$(INET_PTON_LIB),g"
|
||||||
|
|
||||||
guile-2.0.pc: guile-2.0.pc.in
|
guile-2.0.pc: guile-2.0.pc.in
|
||||||
$(substitute) < "$<" > "$@.out"
|
$(substitute) < "$<" > "$@.out"
|
||||||
mv "$@.out" "$@"
|
mv "$@.out" "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue