aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-04-23 17:18:51 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-04-23 17:18:51 +0100
commit43c292fa91b22fd8422cc1c4b67e2d2ac3fab767 (patch)
tree046cfbc15b5cfc601a4c6cc5a278955c42c4f3a8
parentcb9a0627f086c1837bb339252a28622c781a96a5 (diff)
downloadrtmux-43c292fa91b22fd8422cc1c4b67e2d2ac3fab767.tar.gz
rtmux-43c292fa91b22fd8422cc1c4b67e2d2ac3fab767.tar.bz2
rtmux-43c292fa91b22fd8422cc1c4b67e2d2ac3fab767.zip
Revert "Revert "Add crosscompiling fallbacks, from Hasso Tepper.""
This reverts commit dda3bf896be9ce87b4066636cc7f94ab8030133a.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8b13854f..f6bdd3c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])]
)