configure: use PKG_PROG_PKG_CONFIG

Since it enables cross-compilation by looking for a host triplet
prefixed pkg-config binary, e.g. i686-pc-linux-gnu-pkg-config when
passing --host=i686-pc-linux-gnu to cross-compile for x86

https://bugzilla.gnome.org/show_bug.cgi?id=748111
This commit is contained in:
Marvin Schmidt 2015-04-18 17:08:31 +02:00 committed by Marc-Antoine Perennou
parent 0c468b56b0
commit cdf7b1cf2b

View File

@ -66,7 +66,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_PROG_LIBTOOL
IT_PROG_INTLTOOL($INTLTOOL_REQ)
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
PKG_PROG_PKG_CONFIG
GETTEXT_PACKAGE=libsecret
AC_SUBST([GETTEXT_PACKAGE])