Cater to report error in checkstop app

Added error yaml file and auto-generated error header file

Change-Id: I18814ea314b94936986f5efc624f8eec671fbfbb
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 9f962c3..476dc72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,14 @@
 
 LT_INIT
 
+# Checks for libraries.
+AX_PKG_CHECK_MODULES([SYSTEMD], [], [libsystemd >= 221], [],
+[AC_MSG_ERROR(["systemd required and not found."])])
+
+# Checks for modules
+PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],,
+ [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])])
+
 # Create configured output
 AC_CONFIG_FILES([Makefile ])
 AC_OUTPUT