configure: Use $PKG_CONFIG instead of pkg-config to fix cross compilation
authorVolker Grabsch <bugzilla.gnome.org@v.notjusthosting.com>
Tue, 23 Feb 2010 16:25:54 +0000 (17:25 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 23 Feb 2010 16:25:54 +0000 (17:25 +0100)
Fixes bug #610839.

configure.ac

index e41eed3..1f89ff2 100644 (file)
@@ -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