From: Florian Forster Date: Tue, 5 Dec 2023 12:30:33 +0000 (+0100) Subject: configure: Disable the write_http plugin if libyajl2 is not found. X-Git-Tag: 6.0.0-rc0~39^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced52411041703b49ce6c22c9b11e61225ac2891;p=thirdparty%2Fcollectd.git configure: Disable the write_http plugin if libyajl2 is not found. --- diff --git a/configure.ac b/configure.ac index 1f8b4e267..01e819303 100644 --- a/configure.ac +++ b/configure.ac @@ -6855,7 +6855,7 @@ plugin_vmem="no" plugin_vserver="no" plugin_wireless="no" plugin_write_graphite="yes" -plugin_write_http="$with_libcurl" +plugin_write_http="yes" plugin_write_influxdb_udp="yes" plugin_write_kafka="$with_librdkafka" plugin_write_log="no" @@ -7045,6 +7045,13 @@ if test "x$with_libcurl" = "xyes" && test "x$with_libxml2" = "xyes"; then fi fi +if test "x$with_libcurl" != "xyes"; then + plugin_write_http="no (libcurl not found)" +fi +if test "x$with_libyajl2" != "xyes"; then + plugin_write_http="no (libyajl2 not found)" +fi + if test "x$with_libyajl" = "xyes"; then plugin_ceph="yes" plugin_log_logstash="yes"