From: Simon McVittie Date: Tue, 1 Mar 2011 15:14:02 +0000 (+0000) Subject: configure.ac: add --enable-stats X-Git-Tag: dbus-1.5.6~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc212b72b29caea8d73b4c9a5d3884257c700250;p=platform%2Fupstream%2Fdbus.git configure.ac: add --enable-stats Reviewed-by: Cosimo Alfarano Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040 --- diff --git a/configure.ac b/configure.ac index a681757..a98b729 100644 --- a/configure.ac +++ b/configure.ac @@ -1558,6 +1558,15 @@ AH_VERBATIM(_DARWIN_ENVIRON, #endif ]) +AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--enable-stats], + [enable bus daemon usage statistics])], + [], [enable_stats=no]) +if test "x$enable_stats" = xyes; then + AC_DEFINE([DBUS_ENABLE_STATS], [1], + [Define to enable bus daemon usage statistics]) +fi + AC_CONFIG_FILES([ Doxyfile dbus/versioninfo.rc @@ -1633,6 +1642,7 @@ echo " Building verbose mode: ${enable_verbose_mode} Building assertions: ${enable_asserts} Building checks: ${enable_checks} + Building bus stats API: ${enable_stats} Building SELinux support: ${have_selinux} Building inotify support: ${have_inotify} Building dnotify support: ${have_dnotify}