build: Use ${PKG_CONFIG} instead of pkg-config

Some use cases (e.g. cross-compiling) require a prefixed pkg-config

https://bugzilla.gnome.org/show_bug.cgi?id=758322

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2015-11-19 10:02:50 +01:00 committed by Marc-Antoine Perennou
parent da7a6a229b
commit 6b03c47e04
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ if test x$enable_tests = xyes ; then
fi
AM_CONDITIONAL(TESTS_ENABLED, test x$enable_tests = xyes)
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
GLIB_GENMARSHAL=`${PKG_CONFIG} --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)
GOBJECT_INTROSPECTION_CHECK([0.9.12])