mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use utempter to update utmp if it's around for configure, from madmaverick9 at
roxxmail dot eu.
This commit is contained in:
		@@ -144,6 +144,13 @@ if test "x$found_curses" = xno; then
 | 
			
		||||
    AC_MSG_ERROR("curses not found")
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Look for utempter
 | 
			
		||||
AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
 | 
			
		||||
if test "x$have_utempter" = xyes; then
 | 
			
		||||
   AC_DEFINE(HAVE_UTEMPTER)
 | 
			
		||||
   LIBS="$LIBS -lutempter"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check for b64_ntop.
 | 
			
		||||
AC_MSG_CHECKING(for b64_ntop)
 | 
			
		||||
AC_TRY_LINK(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user