mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Revert "Revert "Add crosscompiling fallbacks, from Hasso Tepper.""
This reverts commit dda3bf896b.
			
			
This commit is contained in:
		@@ -172,6 +172,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])
 | 
			
		||||
@@ -180,6 +181,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