aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-04-28 18:00:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-04-28 18:00:41 +0800
commita16dd349d9b7b41aa23685e49abe3660bdbd8499 (patch)
tree28f837a3919408fd3bf1d4e1373b75f7c9e0745b
parent2f4028e7e02f241dc70cedd7761030a9e786294f (diff)
downloadgsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar.gz
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar.bz2
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar.lz
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar.xz
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.tar.zst
gsoc2013-evolution-a16dd349d9b7b41aa23685e49abe3660bdbd8499.zip
add an --enable-profiling arg, build the profiling plugin optionally as
2005-04-28 Not Zed <NotZed@Ximian.com> * configure.in: add an --enable-profiling arg, build the profiling plugin optionally as well. svn path=/trunk/; revision=29242
-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