mirror of https://code.videolan.org/videolan/vlc
addons: add configure option
This commit is contained in:
parent
9e4cda92f2
commit
e723b4fc31
13
configure.ac
13
configure.ac
|
@ -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 += \
|
||||
|
|
Loading…
Reference in New Issue