From: Florian Forster Date: Mon, 14 Sep 2020 06:07:58 +0000 (+0200) Subject: configure.ac: the write_log plugin depends on libyajl. X-Git-Tag: 6.0.0-rc0~141^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de7ab477044f5ce349a34e4963daf21cfa7bcf8;p=thirdparty%2Fcollectd.git configure.ac: the write_log plugin depends on libyajl. --- diff --git a/configure.ac b/configure.ac index 19c386749..cea5c8edc 100644 --- a/configure.ac +++ b/configure.ac @@ -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])