Merge pull request #3501 from matt335672/add_systemd_dev_dependency

Improve systemd support
This commit is contained in:
matt335672
2025-04-15 11:59:47 +01:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -726,6 +726,13 @@ if test x$enable_utmp = xyes; then
echo " utmpx.ut_host $ac_cv_utmpx_has_ut_host"
echo " utmpx.ut_exit $ac_cv_utmpx_has_ut_exit"
fi
if test -n "$with_systemdsystemunitdir" \
-a "x$with_systemdsystemunitdir" != xno; then
echo " systemd support yes"
echo " unit file directory $with_systemdsystemunitdir"
else
echo " systemd support no"
fi
echo
echo " with imlib2 $use_imlib2"
@@ -70,6 +70,11 @@ case `lsb_release -si`/`lsb_release -sr` in
*) LIBFREETYPE_DEV=libfreetype-dev
esac
# We need systemd-dev for Debian-based systems using systemd
if command -v systemctl >/dev/null; then
PACKAGES="$PACKAGES systemd-dev"
fi
case "$ARCH"
in
amd64)