Add Shutdown error
This error is for when the system had to be shut down
due to a power fault to avoid leaving the system in a
possibly dangerous state.
The elog-errors.hpp header file was generated by running
phosphor-logging/tools/elog-gen.py against the yaml.
Change-Id: I6fd7b9562cb3e0c8b32bcd1a18934d250a3ac896
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 7a2f09b..0de3990 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,10 @@
AC_MSG_ERROR(["Requires phosphor-logging package."]))
PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces],,\
AC_MSG_ERROR(["Requires phosphor-dbus-interfaces package."]))
+# Check for sdbus++
+AC_PATH_PROG([SDBUSPLUSPLUS], [sdbus++])
+AS_IF([test "x$SDBUSPLUSPLUS" == "x"],
+ AC_MSG_ERROR(["Requires sdbus++"]))
# Checks for library functions.
LT_INIT # Required for systemd linking