Substitute TESTS_PKG_CONFIG from configure

This just paves the way to calculate more useful defaults in a shell.
This commit is contained in:
Dan Nicholson 2013-03-29 11:52:27 -07:00
parent 85dce61788
commit 80c2777b22
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,3 @@
TESTS_PKG_CONFIG = $(top_builddir)/pkg-config$(EXEEXT)
TESTS_ENVIRONMENT = PKG_CONFIG='$(TESTS_PKG_CONFIG)' $(TESTS_SHELL)
TESTS = \

View file

@ -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