mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-05 14:38:04 +02:00
Substitute TESTS_PKG_CONFIG from configure
This just paves the way to calculate more useful defaults in a shell.
This commit is contained in:
parent
85dce61788
commit
80c2777b22
2 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
TESTS_PKG_CONFIG = $(top_builddir)/pkg-config$(EXEEXT)
|
||||
TESTS_ENVIRONMENT = PKG_CONFIG='$(TESTS_PKG_CONFIG)' $(TESTS_SHELL)
|
||||
|
||||
TESTS = \
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@ AC_ARG_VAR([TESTS_SHELL], [Path to a POSIX shell to be used for testing])
|
|||
conf_path="$PATH:`getconf PATH 2>/dev/null`"
|
||||
AC_PATH_PROGS([TESTS_SHELL], [bash ksh sh], [$CONFIG_SHELL], [$conf_path])
|
||||
|
||||
dnl The built pkg-config to use for testing. This allows it to be set
|
||||
dnl from the make command line if necessary.
|
||||
AC_SUBST([TESTS_PKG_CONFIG], ['${top_builddir}/pkg-config${EXEEXT}'])
|
||||
|
||||
dnl
|
||||
dnl Default pkg-config search path
|
||||
dnl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue