summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-05-30 00:19:42 +0200
committerStefano Karapetsas <[email protected]>2012-05-30 00:19:42 +0200
commit3cba0b7999e712914cc92ce0090111845800ce8b (patch)
tree6ab24562daff8f5bec72dc330262b3c1c8a20584 /configure.ac
parentd17a6f86ae9d9a30a155de7cc2ef138484501c37 (diff)
downloadmate-media-3cba0b7999e712914cc92ce0090111845800ce8b.tar.bz2
mate-media-3cba0b7999e712914cc92ce0090111845800ce8b.tar.xz
re-add missing gstreamer part in configure.ac removed with grecord
Diffstat (limited to 'configure.ac')
-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)