Halt configure step on libmapper missing
Change-Id: I6003829eaee5330ff62b239166be428b4ff43991
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 7dd25d9..2769644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@
AC_PROG_MAKE_SET
# Checks for libraries.
-AC_CHECK_LIB([mapper], [mapper_get_service])
+AC_CHECK_LIB([mapper], [mapper_get_service], ,[AC_MSG_ERROR([Could not find libmapper...openbmc/phosphor-objmgr package required])])
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221])
# Checks for header files.