mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add crosscompiling fallbacks, from Hasso Tepper.
This commit is contained in:
		@@ -163,6 +163,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM(
 | 
			
		||||
		[return (reallocarray(NULL, 1, 1) == NULL);]
 | 
			
		||||
	)],
 | 
			
		||||
	AC_MSG_RESULT(yes),
 | 
			
		||||
	[AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])],
 | 
			
		||||
	[AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])]
 | 
			
		||||
)
 | 
			
		||||
AC_MSG_CHECKING([for working recallocarray])
 | 
			
		||||
@@ -171,6 +172,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM(
 | 
			
		||||
		[return (recallocarray(NULL, 1, 1, 1) == NULL);]
 | 
			
		||||
	)],
 | 
			
		||||
	AC_MSG_RESULT(yes),
 | 
			
		||||
	[AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])],
 | 
			
		||||
	[AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])]
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user