From: octo Date: Fri, 16 Dec 2005 14:35:53 +0000 (+0000) Subject: Commented out `CONFIGFILE' in collectd.c X-Git-Tag: collectd-3.6.0~58 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e87f43bf2f6e5ac39b09822df76b37fd964bedd3;p=collectd.git Commented out `CONFIGFILE' in collectd.c Added `$(LTDLINCL)' to `collectd_CPPFLAGS' --- diff --git a/ChangeLog b/ChangeLog index 2194ed80..f6a591f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2005-12-07, Version 3.5.0 (Revision 321) +2005-12-07, Version 3.5.0 (Revision 326) * A bug in the `load' module under Solaris has been fixed. * The `users' module has been contributed by Sebastian Harl. It counts currently logged in users. diff --git a/src/Makefile.am b/src/Makefile.am index c15e91ee..6b94389c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,7 +11,7 @@ collectd_SOURCES = collectd.c collectd.h \ multicast.c multicast.h \ plugin.c plugin.h #collectd_CFLAGS = -DPLUGINDIR='"$(pkglibdir)"' -collectd_CPPFLAGS = +collectd_CPPFLAGS = $(LTDLINCL) collectd_CPPFLAGS += -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' collectd_CPPFLAGS += -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"' collectd_CPPFLAGS += -DPIDFILE='"${localstatedir}/run/${PACKAGE_NAME}.pid"' diff --git a/src/collectd.c b/src/collectd.c index 418a5d74..069fb1ec 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -144,7 +144,7 @@ void exit_usage (char *name) "\n%s %s, http://verplant.org/collectd/\n" "by Florian octo Forster \n" "for contributions see `AUTHORS'\n", - PACKAGE, CONFIGFILE, PIDFILE, PLUGINDIR, PKGLOCALSTATEDIR, PACKAGE, VERSION); + PACKAGE, /* CONFIGFILE, */ PIDFILE, PLUGINDIR, PKGLOCALSTATEDIR, PACKAGE, VERSION); exit (0); }