1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

build: Use PKG_INSTALL_DIR

This allows users to adjust their pkg-config install location.

* configure.ac: Call PKG_INSTALLDIR.
* meta/Makefile.am (pkgconfigdir): Remove.  It will be defined
automatically by the PKG_INSTALLDIR invocation.
This commit is contained in:
Arsen Arsenović 2023-03-27 00:09:51 +02:00 committed by Andy Wingo
parent 4fe6d19a5b
commit ddc5e63b00
2 changed files with 1 additions and 1 deletions

View file

@ -148,6 +148,7 @@ AC_SEARCH_LIBS([dlopen], [dl])
AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no) AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no)
AM_CONDITIONAL(HAVE_MAKEINFO, test "$have_makeinfo" = yes) AM_CONDITIONAL(HAVE_MAKEINFO, test "$have_makeinfo" = yes)
PKG_INSTALLDIR
AM_PATH_LISPDIR AM_PATH_LISPDIR
AC_DEFINE_UNQUOTED([HOST_TYPE], ["$host"], AC_DEFINE_UNQUOTED([HOST_TYPE], ["$host"],

View file

@ -37,7 +37,6 @@ install-exec-hook:
cd $(DESTDIR)$(bindir) && rm -f "$$guile_tools" && \ cd $(DESTDIR)$(bindir) && rm -f "$$guile_tools" && \
$(LN_S) "$$guild" "$$guile_tools" $(LN_S) "$$guild" "$$guile_tools"
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = guile-$(GUILE_EFFECTIVE_VERSION).pc pkgconfig_DATA = guile-$(GUILE_EFFECTIVE_VERSION).pc
## FIXME: in the future there will be direct automake support for ## FIXME: in the future there will be direct automake support for