aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-04-15 06:45:19 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-04-15 06:46:11 +0100
commitbb6242675ad0c7447daef148fffced882e5b4a61 (patch)
tree798f10564ee068897c9dadae2088631d6810d325
parente88d48f804a51822b4de9d590aa8e5f367ce53be (diff)
downloadrtmux-bb6242675ad0c7447daef148fffced882e5b4a61.tar.gz
rtmux-bb6242675ad0c7447daef148fffced882e5b4a61.tar.bz2
rtmux-bb6242675ad0c7447daef148fffced882e5b4a61.zip
Add crosscompiling fallbacks, from Hasso Tepper.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4175f5c8..79e0c4c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])]
)