[vlc-commits] addons: add configure option
Francois Cartegnie
git at videolan.org
Thu Mar 6 23:32:37 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 6 23:23:19 2014 +0100| [e723b4fc3118c6f04d6d115656c4832e7f29f362] | committer: Francois Cartegnie
addons: add configure option
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e723b4fc3118c6f04d6d115656c4832e7f29f362
---
configure.ac | 13 +++++++++++++
modules/misc/Modules.am | 9 ++++++---
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index c5258c1..ee788fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1565,6 +1565,19 @@ AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"])
dnl
+dnl Addons manager storage and repositories modules
+dnl
+AC_ARG_ENABLE(addonmanagermodules,
+ [AS_HELP_STRING([--disable-addonmanagermodules],
+ [disable the addons manager modules (default enabled)])])
+if test "${enable_addonmanagermodules}" != "no"
+then
+ AC_DEFINE(ENABLE_ADDONMANAGERMODULES, 1, [Define if you want the addons manager modules])
+fi
+AM_CONDITIONAL([ENABLE_ADDONMANAGERMODULES], [test "${enable_addonmanagermodules}" != "no"])
+
+
+dnl
dnl Input plugins
dnl
diff --git a/modules/misc/Modules.am b/modules/misc/Modules.am
index aa11e36..62a54d1 100644
--- a/modules/misc/Modules.am
+++ b/modules/misc/Modules.am
@@ -59,14 +59,17 @@ endif
libstats_plugin_la_SOURCES = stats.c
+if ENABLE_ADDONMANAGERMODULES
libaddonsvorepository_plugin_la_SOURCES = addons/vorepository.c addons/xmlreading.h
libaddonsfsstorage_plugin_la_SOURCES = addons/fsstorage.c addons/xmlreading.h
+misc_LTLIBRARIES += \
+ libaddonsvorepository_plugin.la \
+ libaddonsfsstorage_plugin.la
+endif
misc_LTLIBRARIES += \
liblogger_plugin.la \
- libstats_plugin.la \
- libaddonsvorepository_plugin.la \
- libaddonsfsstorage_plugin.la
+ libstats_plugin.la
if ENABLE_SOUT
misc_LTLIBRARIES += \
More information about the vlc-commits
mailing list