Code

turbostat plugin: don't depend on capabilities
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 5 Dec 2016 22:45:25 +0000 (23:45 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 5 Dec 2016 22:45:25 +0000 (23:45 +0100)
The plugin builds fine without them. Fixes build on RHEL6.

configure.ac

index 1c8d4db9f8f24275754143e46982e33e5f7e79ee..3d577b4d1054e700572008d080741dc8e8796fca 100644 (file)
@@ -5984,7 +5984,7 @@ if test "x$ac_system" = "xLinux"; then
     plugin_ipvs="yes"
   fi
 
-  if test "x$c_cv_have_usable_asm_msrindex_h" = "xyes" && test "x$have_cpuid_h" = "xyes" && test "x$have_capability" = "xyes"; then
+  if test "x$c_cv_have_usable_asm_msrindex_h" = "xyes" && test "x$have_cpuid_h" = "xyes"; then
     plugin_turbostat="yes"
   fi