build: add phosphor-logging library throughout
Add phosphor-logging flags throughout to enable dropping in logging
calls.
Change-Id: I6fdde8aebb6cdbacc8a779195bebdc112fb54d35
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/configure.ac b/configure.ac
index 035dbb3..ded5644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,8 @@
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221])
PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],,\
[AC_MSG_ERROR([Requires sdbusplus package.])])
+PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],,\
+ [AC_MSG_ERROR([The openbmc/phosphor-logging package is required])])
# Checks for header files.
AC_CHECK_HEADER(systemd/sd-bus.h, ,[AC_MSG_ERROR([Could not find systemd/sd-bus.h...systemd development package required])])