Add support for systemd socket activation (where systemd creates the Unix

domain socket for tmux rather than tmux creating it). Build with
--enable-systemd. From Julien Moutinho in GitHub issue 3119.
This commit is contained in:
Nicholas Marriott
2022-03-28 08:42:13 +01:00
parent d26a4ea463
commit fc7f1e7acb
6 changed files with 99 additions and 1 deletions

View File

@ -204,6 +204,11 @@ if NEED_FORKPTY
nodist_tmux_SOURCES += compat/forkpty-@PLATFORM@.c
endif
# Add compat file for systemd.
if HAVE_SYSTEMD
nodist_tmux_SOURCES += compat/systemd.c
endif
# Add compat file for utf8proc.
if HAVE_UTF8PROC
nodist_tmux_SOURCES += compat/utf8proc.c