summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Grabsch <bugzilla.gnome.org@v.notjusthosting.com>2010-02-23 17:25:54 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-02-23 17:25:54 +0100
commit673459c711b7d4915a011e1a1e804b103de69455 (patch)
treefd5759113fbe28afb385b77e6c0aa5ce27d0b610
parentbcd06ea52759b723879499695661d43039e062d6 (diff)
configure: Use $PKG_CONFIG instead of pkg-config to fix cross compilation
Fixes bug #610839.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e41eed378..1f89ff2e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,7 +216,7 @@ AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ], yes)
AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], yes)
-GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
+GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
if test -z $GST_TOOLS_DIR; then
AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
fi