From: Mytnyk, VolodymyrX Date: Tue, 7 Mar 2017 12:30:31 +0000 (+0000) Subject: ovs: enable only supported platforms X-Git-Tag: collectd-5.8.0~206^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=0400307a674fcf134fba40aa4129b8ea6b09b098;p=collectd.git ovs: enable only supported platforms fixes GitHub issue #2203 Change-Id: I4d19b38b776f6b98fa3e4eb42e11b92dee7f8399 Signed-off-by: Mytnyk, VolodymyrX --- diff --git a/configure.ac b/configure.ac index 3b932ca3..b6a47dcf 100644 --- a/configure.ac +++ b/configure.ac @@ -6005,6 +6005,11 @@ if test "x$ac_system" = "xLinux"; then if test "x$c_cv_have_clock_boottime_monotonic" = "xyes"; then plugin_cpusleep="yes" fi + + if test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then + plugin_ovs_events="yes" + plugin_ovs_stats="yes" + fi fi if test "x$ac_system" = "xOpenBSD"; then @@ -6181,11 +6186,6 @@ if test "x$with_libyajl" = "xyes"; then plugin_log_logstash="yes" fi -if test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then - plugin_ovs_events="yes" - plugin_ovs_stats="yes" -fi - if test "x$with_libperl" = "xyes" && test "x$c_cv_have_perl_ithreads" = "xyes"; then plugin_perl="yes" fi