From a16dd349d9b7b41aa23685e49abe3660bdbd8499 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 28 Apr 2005 10:00:41 +0000 Subject: add an --enable-profiling arg, build the profiling plugin optionally as 2005-04-28 Not Zed * configure.in: add an --enable-profiling arg, build the profiling plugin optionally as well. svn path=/trunk/; revision=29242 --- ChangeLog | 5 +++++ configure.in | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index b41be9b8d2..175663bd35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-28 Not Zed + + * configure.in: add an --enable-profiling arg, build the profiling + plugin optionally as well. + 2005-04-26 Harish Krishnaswamy * 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 -- cgit v1.2.3