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
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 += \