X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=b6a47dcff4b746bea12352f51aa3098fde5c3a42;hb=6c97677d92ee28bf35dfe7b2c30b348fe8d2848b;hp=3b932ca3bfcd67a349c68f9b534a98033b74579c;hpb=3e0dd5070e385b864c771902bfa4c6331c5710b4;p=collectd.git 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