From 2e6052f96b9734a4258ba12961fea51c01d63010 Mon Sep 17 00:00:00 2001 From: Evan Felix Date: Fri, 26 Apr 2013 16:02:47 -0700 Subject: [PATCH] rework dependencies for mic plugin --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 515c2621..b7ff8498 100644 --- a/configure.in +++ b/configure.in @@ -4655,6 +4655,7 @@ plugin_irq="no" plugin_libvirt="no" plugin_load="no" plugin_memory="no" +plugin_mic="no" plugin_multimeter="no" plugin_nfs="no" plugin_numa="no" @@ -4818,6 +4819,10 @@ then plugin_memory="yes" plugin_tcpconns="yes" fi +if test "x$with_mic" = "xyes" +then + plugin_mic="yes" +fi # Df plugin: Check if we know how to determine mount points first. #if test "x$have_listmntent" = "xyes"; then @@ -4995,7 +5000,7 @@ AC_PLUGIN([md], [$have_linux_raid_md_u_h], [md (Linux software RAID) de AC_PLUGIN([memcachec], [$with_libmemcached], [memcachec statistics]) AC_PLUGIN([memcached], [yes], [memcached statistics]) AC_PLUGIN([memory], [$plugin_memory], [Memory usage]) -AC_PLUGIN([mic], [$with_mic], [Intel Many Integrated Core stats]) +AC_PLUGIN([mic], [$plugin_mic], [Intel Many Integrated Core stats]) AC_PLUGIN([modbus], [$with_libmodbus], [Modbus plugin]) AC_PLUGIN([multimeter], [$plugin_multimeter], [Read multimeter values]) AC_PLUGIN([mysql], [$with_libmysql], [MySQL statistics]) -- 2.11.0