Convert host-ipmid -> libipmid
phosphor-host-ipmid now exposes a library along with headers for
interfacing with the ipmi daemon. Compile and link against the new
library.
Change-Id: I663e6607f711bc8bae0a2127db524868f6d4cc32
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/configure.ac b/configure.ac
index 7fb93d5..ebd6a70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,9 +28,11 @@
[],
[AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])]
)
-AC_CHECK_HEADER(
- [host-ipmid],
- [AC_MSG_ERROR(["phosphor-host-ipmid required and not found."])]
+PKG_CHECK_MODULES(
+ [LIBIPMID],
+ [libipmid],
+ [],
+ [AC_MSG_ERROR([Could not find libipmid...openbmc/phosphor-host-ipmid package required])]
)
AC_CHECK_HEADER(
experimental/filesystem,