From 648620465e596bc08ab9512e3ea1c6d3841b6fa3 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 7 Apr 2003 21:23:13 +0000 Subject: Fixes #110038 Original commit message from CVS: Fixes #110038 --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e6f43be3..759eaa60 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: -- cgit v1.2.1