build: add dependency on ipmiblob
ipmiblob is the library provided by ipmi-blob-tool.
Change-Id: Ibe1ccdb5c8224675c5d2c2539cd9d9a3038b0c16
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index f5812e9..2a8bda3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,14 @@
[AC_MSG_ERROR([The openbmc/sdbusplus package is required])]
)
PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
+PKG_CHECK_MODULES(
+ [IPMIBLOB],
+ [ipmiblob],
+ [],
+ [AC_MSG_ERROR(
+ [Could not find ipmiblob...openbmc/ipmi-blob-tool package required])
+ ]
+)
AC_CHECK_HEADER(
[blobs-ipmid],
[AC_MSG_ERROR(["phosphor-ipmi-blobs required and not found."])]