author | octo <octo> | |
Fri, 16 Dec 2005 10:32:22 +0000 (10:32 +0000) | ||
committer | octo <octo> | |
Fri, 16 Dec 2005 10:32:22 +0000 (10:32 +0000) |
1 | 2 | |||
---|---|---|---|---|
src/Makefile.am | patch | | diff1 | | diff2 | | blob | history |
src/collectd.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/Makefile.am
index ae7df9ba5e95f13503366dd85bfc3022b34d16e9,1d246a915a95f53c330da411f1d8701914029a06..c15e91eeabe4a3c62a3996c3bf490c229c681fa6
--- 1/src/Makefile.am
--- 2/src/Makefile.am
+++ b/src/Makefile.am
utils_mount.c utils_mount.h \
common.c common.h \
multicast.c multicast.h \
- plugin.c plugin.h \
- configfile.c configfile.h
+ plugin.c plugin.h
#collectd_CFLAGS = -DPLUGINDIR='"$(pkglibdir)"'
collectd_CPPFLAGS =
- collectd_CPPFLAGS += -DSYSCONFDIR='"${sysconfdir}"'
- collectd_CPPFLAGS += -DPKGLOCALSTATEDIR='"${localstatedir}/${PACKAGE_NAME}"'
+ collectd_CPPFLAGS += -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"'
+ collectd_CPPFLAGS += -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"'
collectd_CPPFLAGS += -DPIDFILE='"${localstatedir}/run/${PACKAGE_NAME}.pid"'
collectd_CPPFLAGS += -DPLUGINDIR='"${pkglibdir}"'
collectd_LDFLAGS = -export-dynamic
diff --cc src/collectd.c
index 9932fd90a4830ed21f00104f3d940558c92a8913,8e92bfbc857b77e3eb3c058c6e817300662ab245..5e28918e1182956dc43562061f12f7b2b1ce2cc6
--- 1/src/collectd.c
--- 2/src/collectd.c
+++ b/src/collectd.c
pid_t pid;
#endif
- char *confdir = SYSCONFDIR;
- char *pidfile = PIDFILE;
- char *plugindir = PLUGINDIR;
- char *datadir = PKGLOCALSTATEDIR;
- char *configfile = CONFIGFILE;
- char *pidfile = PIDFILE;
- char *plugindir = PLUGINDIR;
- char *datadir = PKGLOCALSTATEDIR;
++ char *configfile = CONFIGFILE
++ char *pidfile = PIDFILE;
++ char *plugindir = PLUGINDIR;
++ char *datadir = PKGLOCALSTATEDIR;
int daemonize = 1;