mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Try utf8proc with pkg-config, from Alex Wu.
This commit is contained in:
		@@ -383,6 +383,15 @@ AC_ARG_ENABLE(
 | 
			
		||||
	AS_HELP_STRING(--enable-utf8proc, use utf8proc if it is installed)
 | 
			
		||||
)
 | 
			
		||||
if test "x$enable_utf8proc" = xyes; then
 | 
			
		||||
	PKG_CHECK_MODULES(
 | 
			
		||||
		LIBUTF8PROC,
 | 
			
		||||
		libutf8proc,
 | 
			
		||||
		[
 | 
			
		||||
			AM_CPPFLAGS="$LIBUTF8PROC_CFLAGS $AM_CPPFLAGS"
 | 
			
		||||
			CPPFLAGS="$LIBUTF8PROC_CFLAGS $SAVED_CPPFLAGS"
 | 
			
		||||
			LIBS="$LIBUTF8PROC_LIBS $LIBS"
 | 
			
		||||
		]
 | 
			
		||||
	)
 | 
			
		||||
	AC_CHECK_HEADER(utf8proc.h, enable_utf8proc=yes, enable_utf8proc=no)
 | 
			
		||||
	if test "x$enable_utf8proc" = xyes; then
 | 
			
		||||
		AC_SEARCH_LIBS(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user