Code

statsd plugin: Implement the "TimerPercentile" configuration option.
[collectd.git] / src / Makefile.am
index c3e596d4a5fea92d6853521fb9ee19458c5a94d4..9f16fd7cb7edb7486f7d4e06965a6b98bf389c31 100644 (file)
@@ -1069,6 +1069,16 @@ collectd_LDADD += "-dlopen" snmp.la
 collectd_DEPENDENCIES += snmp.la
 endif
 
+if BUILD_PLUGIN_STATSD
+pkglib_LTLIBRARIES += statsd.la
+statsd_la_SOURCES = statsd.c \
+                    utils_latency.h utils_latency.c
+statsd_la_LDFLAGS = -module -avoid-version
+statsd_la_LIBADD = -lpthread
+collectd_LDADD += "-dlopen" statsd.la
+collectd_DEPENDENCIES += statsd.la
+endif
+
 if BUILD_PLUGIN_SWAP
 pkglib_LTLIBRARIES += swap.la
 swap_la_SOURCES = swap.c