diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-06-02 12:29:41 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-26 01:57:59 +0000 |
commit | 7c33bff30f113fa8da7829322f6bb18d33bda46f (patch) | |
tree | 3b072935312874c6c79c3b69b125779fa8395144 /configure.ac | |
parent | 2430197500a63e6384070959dd8f6a741d11d342 (diff) | |
download | phosphor-objmgr-7c33bff30f113fa8da7829322f6bb18d33bda46f.tar.gz phosphor-objmgr-7c33bff30f113fa8da7829322f6bb18d33bda46f.zip |
Add class to monitor for unit failures
This class has an analyze() method that will
check the state of a unit, and then stop or start
a target unit if the state is failed.
The units and the action are passed in via the constructor.
Change-Id: Ibc8e54b8371d2261eb55cce5825c5cee6d214bab
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 10ea4af..6ac4cc6 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7 @@ AC_SUBST([PYTHONDIR], ${pythondir}) # Checks for libraries. PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221]) +PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, AC_MSG_ERROR(["Requires phosphor-logging."])) # 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])]) |