Skip to content

Commit 91b60b8

Browse files
authored
Merge pull request neutrinolabs#3501 from matt335672/add_systemd_dev_dependency
Improve systemd support
2 parents ceb1619 + ae8d4a9 commit 91b60b8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,13 @@ if test x$enable_utmp = xyes; then
726726
echo " utmpx.ut_host $ac_cv_utmpx_has_ut_host"
727727
echo " utmpx.ut_exit $ac_cv_utmpx_has_ut_exit"
728728
fi
729+
if test -n "$with_systemdsystemunitdir" \
730+
-a "x$with_systemdsystemunitdir" != xno; then
731+
echo " systemd support yes"
732+
echo " unit file directory $with_systemdsystemunitdir"
733+
else
734+
echo " systemd support no"
735+
fi
729736

730737
echo
731738
echo " with imlib2 $use_imlib2"

scripts/install_xrdp_build_dependencies_with_apt.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ case `lsb_release -si`/`lsb_release -sr` in
7070
*) LIBFREETYPE_DEV=libfreetype-dev
7171
esac
7272

73+
# We need systemd-dev for Debian-based systems using systemd
74+
if command -v systemctl >/dev/null; then
75+
PACKAGES="$PACKAGES systemd-dev"
76+
fi
77+
7378
case "$ARCH"
7479
in
7580
amd64)

0 commit comments

Comments
 (0)