From 3384e18c6021d34c741275fb78df611ef291a91d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 8 Feb 2011 12:28:29 +0000 Subject: [PATCH 02/10] configure.in: add --enable-stats Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34040 --- configure.in | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index 08bd962..a0c807b 100644 --- a/configure.in +++ b/configure.in @@ -1616,6 +1616,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_OUTPUT([ Doxyfile dbus/versioninfo.rc @@ -1688,6 +1697,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} -- 1.7.2.3