[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9730: add option to with-statistics
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9730: add option to with-statistics for the cache. |
Date: |
Fri, 14 Nov 2008 20:34:19 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9730
committer: address@hidden
branch nick: rtmp
timestamp: Fri 2008-11-14 20:34:19 -0700
message:
add option to with-statistics for the cache.
modified:
configure.ac
=== modified file 'configure.ac'
--- a/configure.ac 2008-11-01 15:15:52 +0000
+++ b/configure.ac 2008-11-15 03:34:19 +0000
@@ -864,6 +864,7 @@
buffers=no
que=no
memory=no
+cache=yes
AC_ARG_WITH(statistics,
AC_HELP_STRING([--with-statistics=], [Specify which statistics features to
enable]),
if test -n ${withval}; then
@@ -892,11 +893,16 @@
memory=yes
nstatistics=$((nstatistics+1))
;;
+ cache)
+ cache=yes
+ nstatistics=$((nstatistics+1))
+ ;;
all|ALL)
buffers=yes
memory=yes
queu=yes
- nstatistics=3
+ cache=yes
+ nstatistics=4 dnl this must be incremented if you add
anything
;;
*) AC_MSG_ERROR([invalid statistics feature specified: ${withval} given
(accept: buffers|que|memory|all)])
;;
@@ -923,6 +929,12 @@
statistics_list="${statistics_list} queues"
AC_DEFINE(USE_STATS_QUEUE, [1], [Support statistics collecting for the
queues])
fi
+
+if test x${cache} = xyes; then
+ statistics_list="${statistics_list} cache"
+ AC_DEFINE(USE_STATS_CACHE, [1], [Support statistics collecting for the
cache])
+fi
+
dnl this is just so Makefile can print the same list
STATISTICS_LIST="$statistics_list"
AC_SUBST(STATISTICS_LIST)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9730: add option to with-statistics for the cache.,
rob <=