[PATCH] use $PKG_CONFIG

Mike Frysinger vapier at gentoo.org
Sun Sep 23 14:20:37 PDT 2012


The build system sets up this variable for us, so use it rather than
hardcoding "pkg-config" which might be the wrong one.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0a6686d..b2def16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ PKG_CHECK_MODULES(QMICLI,
 AC_SUBST(QMICLI_CFLAGS)
 AC_SUBST(QMICLI_LIBS)
 
-GLIB_MKENUMS=`pkg-config --variable=glib_mkenums glib-2.0`
+GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 AC_SUBST(GLIB_MKENUMS)
 
 dnl Documentation
-- 
1.7.12



More information about the libqmi-devel mailing list