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: I747c3a585d646c7ff54efb14968c8f04daafe071
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/configure.ac b/configure.ac
index 1cc46ce..63b6dec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,9 +45,11 @@
[],
[AC_MSG_ERROR(["phosphor-dbus-interfaces required and not found."])]
)
-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,