From 1b5804895f9eeb81fc469acfaa316ba3ea1da86e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 24 Sep 2012 04:36:38 +0200 Subject: [PATCH] build: use $PKG_CONFIG The build system sets up this variable for us, so use it rather than hardcoding "pkg-config" which might be the wrong one. Equivalent to the one done by Mike Frysinger in libqmi. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 209b4f0a..21bbe547 100644 --- a/configure.ac +++ b/configure.ac @@ -111,10 +111,10 @@ else fi AC_SUBST(UDEV_BASE_DIR) -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` +GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) -GLIB_MKENUMS=`pkg-config --variable=glib_mkenums glib-2.0` +GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` AC_SUBST(GLIB_MKENUMS) # PolicyKit