1
0
Fork 0
coreutils/m4/systemd.m4
Daniel Baumann c08a8f7410
Adding upstream version 9.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 07:57:52 +02:00

25 lines
917 B
Text

# systemd.m4
# serial 3
dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is offered as-is, without any warranty.
# Sets SYSTEMD_CHOICE to 'yes' or 'no', depending on the preferred use of
# systemd APIs.
AC_DEFUN([gl_SYSTEMD_CHOICE],
[
AC_MSG_CHECKING([whether to use systemd APIs])
AC_ARG_ENABLE([systemd],
[ --enable-systemd use systemd APIs],
[SYSTEMD_CHOICE="$enableval"],
[SYSTEMD_CHOICE=no])
AC_MSG_RESULT([$SYSTEMD_CHOICE])
AC_SUBST([SYSTEMD_CHOICE])
])
# Pre-built package name for the libsystemd library:
# - On Debian and Debian-based systems: libsystemd-dev
# - On Red Hat distributions: systemd-devel
# - Other: https://repology.org/project/systemd/versions