From cdf7b1cf2b33c36638775227a30ba3e0bea50e8c Mon Sep 17 00:00:00 2001 From: Marvin Schmidt Date: Sat, 18 Apr 2015 17:08:31 +0200 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b95db19..ed09eb0 100644 --- a/configure.ac +++ b/configure.ac @@ -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])