[libsecret] configure: use PKG_PROG_PKG_CONFIG



commit cdf7b1cf2b33c36638775227a30ba3e0bea50e8c
Author: Marvin Schmidt <marv exherbo org>
Date:   Sat Apr 18 17:08:31 2015 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]