]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
configure.ac: the write_log plugin depends on libyajl.
authorFlorian Forster <octo@google.com>
Mon, 14 Sep 2020 06:07:58 +0000 (08:07 +0200)
committerFlorian Forster <octo@google.com>
Mon, 14 Sep 2020 06:58:08 +0000 (08:58 +0200)
configure.ac

index 19c386749eb2ba76ab0580cee4d78f494e7543a3..cea5c8edc9d0cfc45b7ef5a35bb388f7af37c69e 100644 (file)
@@ -6638,6 +6638,7 @@ plugin_virt="no"
 plugin_vmem="no"
 plugin_vserver="no"
 plugin_wireless="no"
+plugin_write_log="no"
 plugin_write_prometheus="no"
 plugin_write_stackdriver="no"
 plugin_xencpu="no"
@@ -6822,7 +6823,9 @@ fi
 
 if test "x$with_libyajl" = "xyes"; then
   plugin_ceph="yes"
+  plugin_log_logstash="yes"
   plugin_sysevent="yes"
+  plugin_write_log="yes"
 fi
 
 if test "x$have_processor_info" = "xyes"; then
@@ -6902,10 +6905,6 @@ if test "x$have_getloadavg" = "xyes"; then
   plugin_load="yes"
 fi
 
-if test "x$with_libyajl" = "xyes"; then
-  plugin_log_logstash="yes"
-fi
-
 if test "x$with_libperl" = "xyes" && test "x$c_cv_have_perl_ithreads" = "xyes"; then
   plugin_perl="yes"
 fi
@@ -7169,7 +7168,7 @@ AC_PLUGIN([write_graphite],      [yes],                       [Graphite / Carbon
 AC_PLUGIN([write_http],          [$with_libcurl],             [HTTP output plugin])
 AC_PLUGIN([write_influxdb_udp],  [yes],                       [Influxdb udp output plugin])
 AC_PLUGIN([write_kafka],         [$with_librdkafka],          [Kafka output plugin])
-AC_PLUGIN([write_log],           [yes],                       [Log output plugin])
+AC_PLUGIN([write_log],           [$plugin_write_log],         [Log output plugin])
 AC_PLUGIN([write_mongodb],       [$with_libmongoc],           [MongoDB output plugin])
 AC_PLUGIN([write_prometheus],    [$plugin_write_prometheus],  [Prometheus write plugin])
 AC_PLUGIN([write_redis],         [$with_libhiredis],          [Redis output plugin])