aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in11
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b41be9b8d2..175663bd35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-28 Not Zed <NotZed@Ximian.com>
+
+ * configure.in: add an --enable-profiling arg, build the profiling
+ plugin optionally as well.
+
2005-04-26 Harish Krishnaswamy <kharish@novell.com>
* configure.in : Bump version
diff --git a/configure.in b/configure.in
index 40de570cd5..593ae64944 100644
--- a/configure.in
+++ b/configure.in
@@ -1361,6 +1361,16 @@ xexperimental)
msg_plugins="yes ($enable_plugins)"
;;
esac
+
+AC_ARG_ENABLE(profiling, [ --enable-profiling=[no/yes] Enable profiling plugin.],enable_profiling="$enableval",enable_profiling=no)
+case x"$enable_profiling" in
+x | xyes)
+ plugins_enabled="$plugins_base profiler"
+ msg_plugins="$msg_plugins (and profiling)"
+ AC_DEFINE(ENABLE_PROFILING,1,[Profiling Hooks Enabled])
+ ;;
+esac
+
AC_SUBST(plugins_enabled)
AC_SUBST(plugins_base)
AC_SUBST(plugins_standard)
@@ -1580,6 +1590,7 @@ plugins/save-calendar/Makefile
plugins/select-one-source/Makefile
plugins/mark-calendar-offline/Makefile
plugins/prefer-plain/Makefile
+plugins/profiler/Makefile
plugins/copy-tool/Makefile
plugins/folder-unsubscribe/Makefile
plugins/mailing-list-actions/Makefile