summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2012-09-27 13:10:57 +0200
committerJens Georg <jensg@openismus.com>2012-10-05 17:33:28 +0200
commit3f65a7796a573d4f6cec7157f2298ce4afe4db9e (patch)
tree341374bf7369ae7040154434993e6443b58834a1 /m4
parent8a921d181288059cc4715f3c2267d6ff4826c0f9 (diff)
downloadrygel-3f65a7796a573d4f6cec7157f2298ce4afe4db9e.tar.gz
build: Enable building Rygel without GStreamer
If no GStreamer is available, build Rygel without a media engine and all Plugins that require GStreamer, such as: * test * gst-launch * media-export * playbin
Diffstat (limited to 'm4')
-rw-r--r--m4/rygel.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/rygel.m4 b/m4/rygel.m4
index 11e7c778..d291433a 100644
--- a/m4/rygel.m4
+++ b/m4/rygel.m4
@@ -73,6 +73,17 @@ AC_DEFUN([RYGEL_ADD_PLUGIN],
[$3])
])
+AC_DEFUN([_RYGEL_DISABLE_PLUGIN_INTERNAL],
+[
+ AM_CONDITIONAL(m4_toupper(build_$1_plugin), false)
+ enable_$1_plugin="n/a"
+])
+
+AC_DEFUN([RYGEL_DISABLE_PLUGIN],
+[
+ _RYGEL_DISABLE_PLUGIN_INTERNAL(m4_translit([$1],[-],[_]))
+])
+
AC_DEFUN([RYGEL_CHECK_VALA],
[
AC_ARG_ENABLE([vala],