summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ba2f3a)
raw | patch | inline | side by side (parent: 0ba2f3a)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 25 May 2016 13:01:46 +0000 (19:01 +0600) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 25 May 2016 13:37:56 +0000 (19:37 +0600) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 65647f56ee04235a592db1f5a0e8aa5b4f161b16..e86d9b9caf1dcfe9c6496239ca8e7fd87be61187 100644 (file)
--- a/configure.ac
+++ b/configure.ac
plugin_processes="no"
plugin_protocols="no"
plugin_serial="no"
+plugin_smart="no"
plugin_swap="no"
plugin_tape="no"
plugin_tcpconns="no"
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"
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])