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: I4b4ebed47aad96d6a73dec2f8cda52569e8c2e9e
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/configure.ac b/configure.ac
index f742e4e..360e9f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
# Checks for libraries.
-AC_CHECK_HEADER([host-ipmid], [AC_MSG_ERROR(["phosphor-host-ipmid required and not found."])])
+PKG_CHECK_MODULES([LIBIPMID], [libipmid])
# We require linux i2c functionality
AC_CHECK_HEADERS([linux/i2c-dev.h], [], [