require libyajl2 to build sysevent plugin
[collectd.git] / configure.ac
index 017a621..4641181 100644 (file)
@@ -6224,6 +6224,7 @@ if test "x$ac_system" = "xLinux"; then
   if test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then
     plugin_ovs_events="yes"
     plugin_ovs_stats="yes"
+    plugin_sysevent="yes"
   fi
 fi
 
@@ -6328,7 +6329,6 @@ fi
 
 if test "x$with_libyajl" = "xyes"; then
   plugin_ceph="yes"
-  plugin_sysevent="yes"
 fi
 
 if test "x$have_processor_info" = "xyes"; then