build : add systemd dependency
Change-Id: Iebb46bb0d763cdd4b11ed37f3358e4bd73f0c242
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 33b9ae7..2cb5d9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,9 @@
[AC_SUBST([PYTHON], [echo "$PYTHON"])],
[AC_MSG_ERROR([Could not find python-2.7 installed...python-2.7 is required])])
+PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],,\
+ AC_MSG_ERROR(["Requires sdbusplus package."]))
+
# Surpress the --with-libtool-sysroot error
LT_INIT