Set default lock command to vlock on Linux if present at build time, from Josh

Boyer in GitHub issue 3527.
This commit is contained in:
Nicholas Marriott
2023-04-25 17:23:32 +01:00
parent 15c70e562c
commit 0ff991b25f
4 changed files with 18 additions and 1 deletions

View File

@ -14,6 +14,7 @@ dist_EXTRA_tmux_SOURCES = compat/*.[ch]
AM_CPPFLAGS += @XOPEN_DEFINES@ \
-DTMUX_VERSION='"@VERSION@"' \
-DTMUX_CONF='"$(sysconfdir)/tmux.conf:~/.tmux.conf:$$XDG_CONFIG_HOME/tmux/tmux.conf:~/.config/tmux/tmux.conf"' \
-DTMUX_LOCK_CMD='"@DEFAULT_LOCK_CMD@"' \
-DTMUX_TERM='"@DEFAULT_TERM@"'
# Additional object files.