From: octo Date: Sat, 17 Dec 2005 09:23:52 +0000 (+0000) Subject: Merged branch configfile to trunk X-Git-Tag: collectd-3.6.0~40 X-Git-Url: https://git.tokkee.org/?p=collectd.git;a=commitdiff_plain;h=c1e47ad7b5e5e889fb86250f714b299e4bf8819f Merged branch configfile to trunk --- c1e47ad7b5e5e889fb86250f714b299e4bf8819f diff --cc Makefile.am index a465d3ca,d173ee70..30beb639 --- a/Makefile.am +++ b/Makefile.am @@@ -7,5 -7,6 +7,6 @@@ dist-hook find $(distdir) -type d -name '.svn' | xargs rm -rf install-exec-hook: ++ $(mkinstalldirs) $(DESTDIR)$(sysconfdir) $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE_NAME) - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) diff --cc configure.in index b68e94b3,293fc6ad..e5cf5cb5 --- a/configure.in +++ b/configure.in @@@ -655,9 -587,23 +656,9 @@@ the fi AM_CONDITIONAL(BUILD_MODULE_TRAFFIC, test "x$enable_traffic" = "xyes") -AC_ARG_ENABLE(users, AC_HELP_STRING([--disable-users], [Disable user count statistics]),, [enable_users="yes"]) -if test "x$enable_users" != "xno" -then - if test "x$have_getutent" = "xyes" - then - enable_users="yes" - else - enable_users="no" - fi -fi -if test "x$enable_users" = "xno" -then - AC_DEFINE(COLLECT_USERS, 0, [Wether or not to collect user count statistics]) -fi -AM_CONDITIONAL(BUILD_MODULE_USERS, test "x$enable_users" = "xyes") +AC_COLLECTD([users], [disable], [module], [user count statistics]) - AC_OUTPUT(Makefile src/libping/Makefile src/Makefile) + AC_OUTPUT(Makefile src/libconfig/Makefile src/libping/Makefile src/Makefile) cat <