From: Karel Zak Date: Mon, 13 Dec 2021 12:13:05 +0000 (+0100) Subject: build-sys: add USE_SYSTEMD X-Git-Tag: v2.38-rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b66b5b970e34fcf114d78d65b8be504f91b04065;p=thirdparty%2Futil-linux.git 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 --- 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])