diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-04-24 10:57:03 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-04-24 10:57:03 +0100 |
commit | 4f3c31a6b63f4489bfc672b510036fd8d9491595 (patch) | |
tree | 9f402212e792abe3fc58f4505ed909236a6e9a17 /configure.ac | |
parent | 11b90bc9591b4b101efef1f8a9a0d9656d2953c9 (diff) | |
download | rtmux-4f3c31a6b63f4489bfc672b510036fd8d9491595.tar.gz rtmux-4f3c31a6b63f4489bfc672b510036fd8d9491595.tar.bz2 rtmux-4f3c31a6b63f4489bfc672b510036fd8d9491595.zip |
Use sysconfdir for the location of global tmux.conf (but default it to /etc),
based on changes from Dagobert Michelsen.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 80cf1266..590b9db0 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,9 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL +# Default tmux.conf goes in /etc not ${prefix}/etc. +test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc + # Check for various headers. Alternatives included from compat.h. AC_CHECK_HEADERS( [ \ |