diff options
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c1ef974..7a74c01 100644 --- a/configure.ac +++ b/configure.ac @@ -17,10 +17,11 @@ AM_PATH_PYTHON([2.7], [AC_MSG_ERROR([Could not find python-2.7 installed...python-2.7 is required])]) # Checks for libraries. -AC_CHECK_LIB([mapper], [mapper_get_service]) +AC_CHECK_LIB([mapper], [mapper_get_service],,\ + [AC_MSG_ERROR([Could not find libmapper: phosphor-objmgr package required])]) PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221]) PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],,\ - AC_MSG_ERROR(["Requires sdbusplus package."])) + [AC_MSG_ERROR([Requires sdbusplus package.])]) # 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])]) |