Add support for using utf8proc with --enable-utf8proc, useful for platforms

(like OS X) where the system implementation is crap. From Joshua Rubin.
This commit is contained in:
Nicholas Marriott
2016-09-01 20:40:03 +01:00
parent ae297cb487
commit 6c94774b70
5 changed files with 120 additions and 3 deletions

View File

@ -185,7 +185,12 @@ dist_tmux_SOURCES = \
xterm-keys.c
nodist_tmux_SOURCES = osdep-@PLATFORM@.c
# Pile in all the compat/ stuff that is needed.
# Add compat file for utf8proc.
if HAVE_UTF8PROC
nodist_tmux_SOURCES += compat/utf8proc.c
endif
# Add compat for missing or broken functions.
if NO_FORKPTY
nodist_tmux_SOURCES += compat/forkpty-@PLATFORM@.c
endif