summaryrefslogtreecommitdiff
path: root/util/iekanalyzer.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/iekanalyzer.c')
-rw-r--r--util/iekanalyzer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/iekanalyzer.c b/util/iekanalyzer.c
index 1f405cc..c6e92eb 100644
--- a/util/iekanalyzer.c
+++ b/util/iekanalyzer.c
@@ -63,6 +63,7 @@
#include "ipmicmd.h"
#include "iekanalyzer.h"
+#ifdef HAVE_EK
extern int verbose; /*ipmilanplus.c*/
extern void lprintf(int level, const char * format, ...); /*ipmilanplus.c*/
extern void set_loglevel(int level);
@@ -4127,5 +4128,15 @@ main(int argc, char **argv)
ipmi_close_();
return rc;
}
+#else
+/* ekanalyzer stub */
+#ifdef METACOMMAND
+int i_ekanalyzer(int argc, char **argv)
+{
+ printf("ekanalyzer function is not enabled\n");
+ return -1;
+}
+#endif
+#endif
/*end iekanalyzer.c*/