mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Only get -lrt when needed, from Pietro Cerutti.
This commit is contained in:
		@@ -102,7 +102,7 @@ AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes)
 | 
			
		||||
AC_MSG_RESULT($found_glibc)
 | 
			
		||||
 | 
			
		||||
# Look for clock_gettime. Must come before event_init.
 | 
			
		||||
AC_CHECK_LIB(rt, clock_gettime)
 | 
			
		||||
AC_SEARCH_LIBS(clock_gettime, rt)
 | 
			
		||||
 | 
			
		||||
# Look for libevent.
 | 
			
		||||
AC_SEARCH_LIBS(event_init, [event event-1.4 event2], found_libevent=yes, found_libevent=no)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user