From 8f7941edf6843109d3da69900976b04b42d78aa4 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Mon, 14 Nov 2016 14:46:23 -0600 Subject: log_manager: Use sdbus++ Change-Id: Id2ad6a75b6ee3f7226c7cfd274dba24de89f9363 Signed-off-by: Adriana Kobylak --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7f8a446..8ed1a3b 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,9 @@ PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221]) AC_CHECK_HEADER(systemd/sd-journal.h, ,[AC_MSG_ERROR([Could not find \ systemd/sd-journal.h...systemd developement package required])]) +AC_CHECK_HEADER(systemd/sd-bus.h, ,[AC_MSG_ERROR([Could not find \ +systemd/sd-bus.h...systemd developement package required])]) + # Check/set gtest specific functions. AX_PTHREAD([GTEST_CPPFLAGS="-DGTEST_HAS_PTHREAD=1"],[GTEST_CPPFLAGS="-DGTEST_HAS_PTHREAD=0"]) @@ -43,6 +46,8 @@ AS_IF([test "x$enable_oe_sdk" == "xyes"], AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags]) ) +AC_DEFINE(BUSNAME, "xyz.openbmc_project.Logging.Internal.Manager", [The DBus busname to own.]) +AC_DEFINE(OBJ, "/xyz/openbmc_project/Logging/Internal", [The DBus object path.]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile test/Makefile]) -AC_OUTPUT \ No newline at end of file +AC_OUTPUT -- cgit v1.2.1