summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-04-07 21:23:13 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-04-07 21:23:13 +0000
commit648620465e596bc08ab9512e3ea1c6d3841b6fa3 (patch)
tree75ee63b64e8476c64eef8f1fd7737df691c44c2f
parent3e10bacd50fd1953bd68ee9bb53aaff939435716 (diff)
downloadgstreamer-plugins-bad-648620465e596bc08ab9512e3ea1c6d3841b6fa3.tar.gz
Fixes #110038
Original commit message from CVS: Fixes #110038
-rw-r--r--configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e6f43be34..759eaa60d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,8 +161,14 @@ if test -z $GST_TOOLS_DIR; then
fi
AC_SUBST(GST_TOOLS_DIR)
-dnl additional gstcontrol libs
-GST_CONTROL_LIBS=`pkg-config --variable=gstcontrol_libs gstreamer-$GST_MAJORMINOR`
+dnl check for gstreamer control libs
+PKG_CHECK_MODULES(GST_CONTROL, gstreamer-control-$GST_MAJORMINOR >= $GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR.$GST_PLUGINS_VERSION_MICRO,
+ HAVE_GST_CONTROL="yes", HAVE_GST_CONTROL="no")
+
+if test "x$HAVE_GST_CONTROL" = "xno"; then
+ AC_MSG_ERROR(no GStreamer Control Libs found)
+fi
+
AC_SUBST(GST_CONTROL_LIBS)
dnl Set up conditionals for (target) architecture: