summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f269e9c..99c8d7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,6 +187,19 @@ AC_DEFINE_UNQUOTED(GST_MAJORMINOR_QUOTED, "$GST_MAJORMINOR",
have_gst=no
+PKG_CHECK_MODULES(GSR, [
+ gstreamer-$GST_MAJORMINOR >= $GST_REQ
+ gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQ
+ gtk+-2.0 >= 2.6.0
+ gio-2.0
+ mateconf-2.0],
+ have_gst=yes,
+ [
+ AC_MSG_RESULT(no)
+ AC_MSG_WARN($GSR_PKG_ERRORS)
+ PROGRAMS_GRECORD_ERROR="$GSR_PKG_ERRORS"
+ ])
+
AM_CONDITIONAL(HAVE_GSTREAMER, [test x$have_gst = xyes])
AC_PATH_PROG(MATECONFTOOL, mateconftool-2)