summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2013-04-23 14:59:39 +0200
committerJens Georg <jensg@openismus.com>2013-04-30 12:32:05 +0200
commita68c54abc946e60c70514299a071090ad408bff0 (patch)
treef26f75e2299c8078374627fb3af4a633d5484123 /m4
parentbbf80265552d16468bb814a8d576815fcafcf96c (diff)
downloadrygel-a68c54abc946e60c70514299a071090ad408bff0.tar.gz
all: Add sidecar file support for plugins
Install a .plugin file with each plugin that provides some meta-information about the plugin, allowing us to not load the module if the user has disabled it instead blindly loading each .so we come across and let the module check whether it's enabled or not https://bugzilla.gnome.org/show_bug.cgi?id=693658
Diffstat (limited to 'm4')
-rw-r--r--m4/rygel.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/rygel.m4 b/m4/rygel.m4
index b1a5a327..3152ba27 100644
--- a/m4/rygel.m4
+++ b/m4/rygel.m4
@@ -57,6 +57,7 @@ AC_DEFUN([_RYGEL_ADD_PLUGIN_INTERNAL],
AC_CONFIG_FILES([src/plugins/$1/Makefile])
AM_CONDITIONAL(m4_toupper(build_$2_plugin), test "x$[]enable_$2_plugin" = "xyes")
RYGEL_ADD_STAMP([src/plugins/$1/librygel_$2_la_vala.stamp])
+ AC_CONFIG_FILES([src/plugins/$1/$1.plugin])
])
# _RYGEL_ADD_PLUGIN_INTERNAL(NAME-OF-PLUGIN,