mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Set AM_CFLAGS for ncurses libraries, reported by Peter Schow.
This commit is contained in:
		@@ -176,7 +176,8 @@ if test "x$found_ncurses" = xno; then
 | 
			
		||||
	)
 | 
			
		||||
fi
 | 
			
		||||
if test "x$found_ncurses" = xyes; then
 | 
			
		||||
	CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $CPPFLAGS"
 | 
			
		||||
	AM_CFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $AM_CFLAGS"
 | 
			
		||||
	CFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $CFLAGS"
 | 
			
		||||
	LIBS="$LIBNCURSES_LIBS $LIBTINFO_LIBS $LIBS"
 | 
			
		||||
else
 | 
			
		||||
	# pkg-config didn't work, try ncurses.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user