summary | shortlog | log | commit | commitdiff | tree
raw | combined (merge: 0b5b7d3 c4377c1 578f624)
raw | combined (merge: 0b5b7d3 c4377c1 578f624)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 2 Dec 2006 18:17:50 +0000 (19:17 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 2 Dec 2006 18:17:50 +0000 (19:17 +0100) |
Conflicts:
configure.in
src/Makefile.am
configure.in
src/Makefile.am
1 | 2 | 3 | |||
---|---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | diff3 | | blob | history |
src/Makefile.am | patch | | diff1 | | diff2 | | diff3 | | blob | history |
diff --cc configure.in
index 52a8cef44ecc660db8cb457f6db697e78b82d9a1,69c6aa91a5838dc1b655557f7b74c12cc5bfd103,823845a1518790a28a2615982b8053d035ae4d34..f57dd18d85b770530372b6d76ab8fcf44a95b43b
--- 1/configure.in
--- 2/configure.in
--- 3/configure.in
+++ b/configure.in
# For debugging interface (variable number of arguments)
AC_CHECK_HEADERS(stdarg.h)
- AC_CHECK_HEADERS(arpa/nameser.h)
+# Regular expressions for the ignorelist.
+AC_CHECK_HEADERS(regex.h)
+
+# For the dns plugin
- AC_CHECK_HEADERS(arpa/nameser.h)
+ +AC_CHECK_HEADERS(arpa/nameser.h arpa/nameser_compat.h)
+ +
+ +AC_CHECK_HEADERS(net/if_arp.h)
+ +AC_CHECK_HEADERS(net/if_ppp.h)
+ +AC_CHECK_HEADERS(netinet/if_ether.h)
+ +AC_CHECK_HEADERS(netinet/udp.h)
+
dnl Checking for libraries
AC_CHECK_LIB(m, ext)
AC_COLLECTD([cpufreq], [disable], [module], [system cpu frequency statistics])
AC_COLLECTD([disk], [disable], [module], [disk/partition statistics])
AC_COLLECTD([df], [disable], [module], [df statistics])
+AC_COLLECTD([dns], [disable], [module], [dns statistics])
++ AC_COLLECTD([email], [disable], [module], [email statistics])
AC_COLLECTD([quota], [enable], [module], [quota statistics (experimental)])
AC_COLLECTD([hddtemp], [disable], [module], [hdd temperature statistics])
AC_COLLECTD([load], [disable], [module], [system load statistics])
libstatgrab . . . . $with_libstatgrab
libkstat . . . . . $with_kstat
libmysql . . . . . $with_libmysql
++ regex . . . . . . . $with_regex
+ libpcap . . . . . . $with_libpcap
+ + libpthread . . . . $with_libpthread
Features:
debug . . . . . . . $enable_debug
cpufreq . . . . . . $enable_cpufreq
df . . . . . . . . $enable_df
disk . . . . . . . $enable_disk
+ dns . . . . . . . . $enable_dns
++ email . . . . . . . $enable_email
hddtemp . . . . . . $enable_hddtemp
load . . . . . . . $enable_load
memory . . . . . . $enable_memory
diff --cc src/Makefile.am
index 5cd0e282cac20544f01fbb3e2b86c508b3649d8e,126936919a8f698f5b48db9cef2b27dbb08f516f,6f0ca0a176f08893cd84eaca990a7bdb6b811c20..9e9b4660cf875b5f602b9bcbee88f5188dc68ff3
--- 1/src/Makefile.am
--- 2/src/Makefile.am
--- 3/src/Makefile.am
+++ b/src/Makefile.am
collectd_DEPENDENCIES += disk.la
endif
+ +if BUILD_MODULE_DNS
+ +pkglib_LTLIBRARIES += dns.la
+ +dns_la_SOURCES = dns.c utils_dns.c
+ +dns_la_LDFLAGS = -module -avoid-version
+ +if BUILD_WITH_LIBPCAP
+ +dns_la_LDFLAGS += -lpcap
+ +endif
+ +if BUILD_WITH_LIBPTHREAD
+ +dns_la_LDFLAGS += -lpthread
+ +endif
+ +collectd_LDADD += "-dlopen" dns.la
+ +collectd_DEPENDENCIES += dns.la
+ +endif
+ +
++ if BUILD_MODULE_EMAIL
++ pkglib_LTLIBRARIES += email.la
++ email_la_SOURCES = email.c
++ email_la_LDFLAGS = -module -avoid-version -lpthread
++ collectd_LDADD += "-dlopen" email.la
++ collectd_DEPENDENCIES += email.la
++ endif
++
#if BUILD_MODULE_QUOTA
#pkglib_LTLIBRARIES += quota.la
#quota_la_SOURCES = quota_plugin.c quota_plugin.h