Commit e723b4fc authored by Francois Cartegnie's avatar Francois Cartegnie

addons: add configure option

parent 9e4cda92
......@@ -1564,6 +1564,19 @@ AS_IF([test "${enable_vlm}" != "no"], [
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
......
......@@ -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 += \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment