summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d9b002)
raw | patch | inline | side by side (parent: 8d9b002)
author | octo <octo> | |
Wed, 15 Mar 2006 11:42:53 +0000 (11:42 +0000) | ||
committer | octo <octo> | |
Wed, 15 Mar 2006 11:42:53 +0000 (11:42 +0000) |
configure.in | patch | blob | history | |
src/collectd.h | patch | blob | history |
diff --git a/configure.in b/configure.in
index 2f3fdc52e6c8edb6d8073139a07b5edfeaabbec2..d533a7f80fc44111a461d864532e298b941f7a2a 100644 (file)
--- a/configure.in
+++ b/configure.in
@@ -538,7 +538,7 @@ AC_ARG_WITH(heartbeat, [AS_HELP_STRING([--with-heartbeat=SECONDS], [Heartbeat of
if test $collectd_step -ne 10
then
- AC_DEFINE_UNQUOTED(COLLECTD_STEP, $collectd_step, [Interval in which plugins are queried.])
+ AC_DEFINE_UNQUOTED(COLLECTD_STEP, "$collectd_step", [Interval in which plugins are queried.])
fi
if test $collectd_heartbeat -ne 25
then
diff --git a/src/collectd.h b/src/collectd.h
index d00dce326b568b2ff11526ca2bd6d17fc7aac39c..5c213256902d77f32a5d0b3948392d998331c223 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
#define MODE_LOCAL 0x04
#ifndef COLLECTD_STEP
-# define COLLECTD_STEP 10
+# define COLLECTD_STEP "10"
#endif
#ifndef COLLECTD_HEARTBEAT