aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in36
1 files changed, 22 insertions, 14 deletions
diff --git a/configure.in b/configure.in
index c920a25a0a..35cef61448 100644
--- a/configure.in
+++ b/configure.in
@@ -1337,23 +1337,30 @@ AC_SUBST(plugindir)
EVO_PLUGIN_RULE=$srcdir/plugin.mk
AC_SUBST_FILE(EVO_PLUGIN_RULE)
-AC_ARG_ENABLE(plugins, [ --enable-plugins=[no/all/list] Enable plugins.],enable_plugins="$enableval",enable_plugins=no)
+AC_ARG_ENABLE(plugins, [ --enable-plugins=[no/all/list] Enable plugins.],enable_plugins="$enableval",enable_plugins=base)
dnl Add any new plugins here
-plugins_all="bbdb subject-thread save-attachments prefer-plain save-calendar select-one-source copy-tool mail-to-meeting mail-to-task folder-unsubscribe mark-calendar-offline audio-inline plugin-manager"
+plugins_base="calendar-http plugin-manager"
+plugins_all="bbdb subject-thread save-attachments prefer-plain save-calendar select-one-source copy-tool mail-to-meeting mail-to-task folder-unsubscribe mark-calendar-offline audio-inline"
-if test x"$enable_plugins" = "xno"; then
+case x"$enable_plugins" in
+xno)
plugins_enabled=""
- msg_plugins="no"
-else
- if test x"$enable_plugins" = "xyes" -o x"$enable_plugins" = "xall"; then
- plugins_enabled="$plugins_all"
- msg_plugins="yes (all)"
- else
- plugins_enabled="$enable_plugins"
- msg_plugins="yes ($enable_plugins)"
- fi
-fi
+ msg_plugins="no (some core functionality will not be available)"
+ ;;
+xall | x | xyes)
+ plugins_enabled="$plugins_base $plugins_all"
+ msg_plugins="yes (all)"
+ ;;
+xbase)
+ plugins_enabled="$plugins_base"
+ msg_plugins="yes ($plugins_base)"
+ ;;
+*)
+ plugins_enabled="$enable_plugins"
+ msg_plugins="yes ($enable_plugins)"
+ ;;
+esac
AC_SUBST(plugins_enabled)
AC_SUBST(plugins_all)
@@ -1550,6 +1557,8 @@ mail/default/Makefile
mail/default/C/Makefile
mail/importers/Makefile
plugins/Makefile
+plugins/calendar-http/Makefile
+plugins/plugin-manager/Makefile
plugins/bbdb/Makefile
plugins/audio-inline/Makefile
plugins/mail-to-meeting/Makefile
@@ -1562,7 +1571,6 @@ plugins/mark-calendar-offline/Makefile
plugins/prefer-plain/Makefile
plugins/copy-tool/Makefile
plugins/folder-unsubscribe/Makefile
-plugins/plugin-manager/Makefile
smime/Makefile
smime/lib/Makefile
smime/gui/Makefile