From b66b5b970e34fcf114d78d65b8be504f91b04065 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 13 Dec 2021 13:13:05 +0100 Subject: [PATCH] build-sys: add USE_SYSTEMD Add info that systemd support is expected for tools where we do not link with any systemd libs, but we want to support some systemd stuff. Signed-off-by: Karel Zak --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 2e7e36b034..7e4b3ef74a 100644 --- a/configure.ac +++ b/configure.ac @@ -2358,6 +2358,7 @@ AS_IF([test "x$with_systemd" != xno], [ [AC_MSG_ERROR([systemd expected but libsystemd not found])], [*:yes], AC_DEFINE([HAVE_LIBSYSTEMD], [1], [Define if libsystemd is available]) + AC_DEFINE([USE_SYSTEMD], [1], [Define if systemd support is wanted ]) ) ]) AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$have_systemd" = xyes]) -- 2.47.3