summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-16 19:46:24 -0700
committerPatrick Venture <venture@google.com>2018-10-17 10:50:33 -0700
commitd57cd016d8d531732d6943d6e1434ef1862607a0 (patch)
tree4d27b7d51693e7bce809c220aa8f4344d6c88efe /configure.ac
parentc9508db8d33f4394e7c632b2c5cd15febaa8bf5e (diff)
downloadipmi-fru-parser-d57cd016d8d531732d6943d6e1434ef1862607a0.tar.gz
ipmi-fru-parser-d57cd016d8d531732d6943d6e1434ef1862607a0.zip
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 035dbb3..ded5644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,8 @@ AC_CHECK_LIB([mapper], [mapper_get_service],,\
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])])
OpenPOWER on IntegriCloud