Improve systemd support

Later versions of Ubuntu (e.g. 24.10 and later) do not install
the systemd-dev package by default. This breaks the systemd-detection
mechanism.

Add this package in for non-systemd-based Debian distributions. Also
log what we are doing for systemd as part of the configure.
This commit is contained in:
matt335672
2025-04-15 11:43:18 +01:00
parent 6b5c6350b6
commit ae8d4a90ec
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"