]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
configure: Disable the write_http plugin if libyajl2 is not found. 4182/head
authorFlorian Forster <octo@collectd.org>
Tue, 5 Dec 2023 12:30:33 +0000 (13:30 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 6 Dec 2023 12:06:08 +0000 (13:06 +0100)
configure.ac

index 1f8b4e2677a74f94abf97f898805e52e23d89dae..01e8193036826c6d51497d017fca789c111b277a 100644 (file)
@@ -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"