mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Revert "Revert "Add crosscompiling fallbacks, from Hasso Tepper.""
This reverts commit dda3bf896b
.
This commit is contained in:
parent
cb9a0627f0
commit
43c292fa91
@ -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])]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user