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: I7dfdf4ce6364a29b5bbc0696adc1e695651fbe1c
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/configure.ac b/configure.ac
index d09a891..47931f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,16 +29,18 @@
     [],
     [AC_MSG_ERROR([The openbmc/phosphor-logging package is required])]
 )
+PKG_CHECK_MODULES(
+    [LIBIPMID],
+    [libipmid],
+    [],
+    [AC_MSG_ERROR([Could not find libipmid...openbmc/phosphor-host-ipmid package required])]
+)
 AC_CHECK_HEADER(
     experimental/filesystem,
     [],
     [AC_MSG_ERROR([Could not find experimental/filesystem...libstdc++fs developement package required])]
 )
 AC_CHECK_HEADER(
-    [host-ipmid],
-    [AC_MSG_ERROR(["phosphor-host-ipmid required and not found."])]
-)
-AC_CHECK_HEADER(
     nlohmann/json.hpp,
     [],
     [AC_MSG_ERROR([Could not find nlohmann/json.hpp])]