build: add dependency on ipmiblob
ipmiblob is the library provided by ipmi-blob-tool.
Change-Id: Ic58065eb280e8628f36764bd40f973be10f114ca
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index fb3d62a..31f9416 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,14 @@
[],
[AC_MSG_ERROR([Could not find libipmid...openbmc/phosphor-host-ipmid package required])]
)
+PKG_CHECK_MODULES(
+ [IPMIBLOB],
+ [ipmiblob],
+ [],
+ [AC_MSG_ERROR(
+ [Could not find ipmiblob...openbmc/ipmi-blob-tool package required])
+ ]
+)
AX_PTHREAD([], [AC_MSG_ERROR(["pthread required and not found"])])
# Make it possible for users to choose if they want test support