summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
commit0ff991b25faf6a88edb356e2ea0ba80151eecb79 (patch)
treef3a67c4118672942bab0d53edf3a6934cae2fbb8 /Makefile.am
parent15c70e562c4967a6085ac2296e9f649e1c277fb9 (diff)
Set default lock command to vlock on Linux if present at build time, from Josh
Boyer in GitHub issue 3527.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 14d8874b..a6fbfd7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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.