diff options
author | JP Rosevear <jpr@novell.com> | 2004-10-20 13:17:54 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-10-20 13:17:54 +0800 |
commit | a45875e43e8e11543d21cdd6f9cf8507130966d9 (patch) | |
tree | a30a3151cb2d9dc9eaa0bc87b3ce48354376d706 /configure.in | |
parent | d07cf0b56e7b9ea11510894b0c0f676dd64d5235 (diff) | |
download | gsoc2013-evolution-a45875e43e8e11543d21cdd6f9cf8507130966d9.tar.gz gsoc2013-evolution-a45875e43e8e11543d21cdd6f9cf8507130966d9.tar.zst gsoc2013-evolution-a45875e43e8e11543d21cdd6f9cf8507130966d9.zip |
list plugins as a subdir
2004-10-20 JP Rosevear <jpr@novell.com>
* Makefile.am: list plugins as a subdir
* plugins/Makefile.am: build enabled plugins
* plugin.mk: simple rule for creating .eplug files
* configure.in: add plugin foo; --enable-plugins=all turns them
all on, or you can --enable-plugins="<plugin dir> <plugin dir>" to
list specific ones
svn path=/trunk/; revision=27640
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 6e4adfe4df..e508650d39 100644 --- a/configure.in +++ b/configure.in @@ -1269,9 +1269,6 @@ AC_SUBST(camel_providerdir) componentdir="$privlibdir/components" AC_SUBST(componentdir) -plugindir="$privlibdir/plugins" -AC_SUBST(plugindir) - idldir="$datadir/idl/evolution-$BASE_VERSION" AC_SUBST(idldir) @@ -1331,6 +1328,35 @@ AC_DEFINE_UNQUOTED(INTERFACE_VERSION, "$INTERFACE_VERSION", [IDL interface versi EVO_SERVER_RULE=$srcdir/server.mk AC_SUBST_FILE(EVO_SERVER_RULE) +dnl ************************ +dnl Plugins +dnl ************************ + +plugindir="$privlibdir/plugins" +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) + +dnl Add any new plugins here +plugins_all="subject-thread" + +if test x"$enable_plugins" = "xno"; then + plugins_enabled="" + msg_plugins="no" +else + if test x"$enable_plugins" = "xall"; then + plugins_enabled="$plugins_all" + else + plugins_enabled="$enable_plugins" + fi + msg_plugins="$enable_plugins" +fi +AC_SUBST(plugins_enabled) +AC_SUBST(plugins_all) + ################################################## # Check for gtk-doc. ################################################## @@ -1506,6 +1532,8 @@ mail/Makefile mail/default/Makefile mail/default/C/Makefile mail/importers/Makefile +plugins/Makefile +plugins/subject-thread/Makefile smime/Makefile smime/lib/Makefile smime/gui/Makefile @@ -1537,6 +1565,7 @@ echo "\ IPv6 support: $msg_ipv6 Dot Locking: $msg_dot File Locking: $msg_file + Plugins: $msg_plugins Gtk-doc: $enable_gtk_doc" if test x$enable_gtk_doc = xyes; then |