X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=e86d9b9caf1dcfe9c6496239ca8e7fd87be61187;hb=3b56e40e26d5d8dd2662b84d50b73fac3b5135e5;hp=65647f56ee04235a592db1f5a0e8aa5b4f161b16;hpb=b286b677bb54a3192a4121c2aa0857a133fd0603;p=collectd.git diff --git a/configure.ac b/configure.ac index 65647f56..e86d9b9c 100644 --- a/configure.ac +++ b/configure.ac @@ -5318,6 +5318,7 @@ plugin_perl="no" plugin_processes="no" plugin_protocols="no" plugin_serial="no" +plugin_smart="no" plugin_swap="no" plugin_tape="no" plugin_tcpconns="no" @@ -5615,6 +5616,11 @@ then plugin_processes="yes" fi +if test "x$with_libatasmart" = "xyes" && test "x$with_libudev" = "xyes" +then + plugin_smart="yes" +fi + if test "x$with_kvm_getswapinfo" = "xyes" then plugin_swap="yes" @@ -5758,7 +5764,7 @@ AC_PLUGIN([rrdtool], [$with_librrd], [RRDTool output plugin]) AC_PLUGIN([sensors], [$with_libsensors], [lm_sensors statistics]) AC_PLUGIN([serial], [$plugin_serial], [serial port traffic]) AC_PLUGIN([sigrok], [$with_libsigrok], [sigrok acquisition sources]) -AC_PLUGIN([smart], [$with_libatasmart], [SMART statistics]) +AC_PLUGIN([smart], [$plugin_smart], [SMART statistics]) AC_PLUGIN([snmp], [$with_libnetsnmp], [SNMP querying plugin]) AC_PLUGIN([statsd], [yes], [StatsD plugin]) AC_PLUGIN([swap], [$plugin_swap], [Swap usage statistics])