commit 7f20c2a8f882b91c6e5d03ba371595eb0211126b from: Omar Polo date: Fri May 13 16:07:04 2022 UTC fix cross-compilation; diff from Leah Neukirchen (thanks!), ok thomas commit - 0edd68a505ad052985d5d1337106587d2a165c0e commit + 7f20c2a8f882b91c6e5d03ba371595eb0211126b blob - 87657312858d1476b6f65217470199c5bbe1f3cb blob + d2917092faf27ea8e9962a9c6f76f5807cb3ad10 --- configure.ac +++ configure.ac @@ -204,6 +204,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]) @@ -212,6 +213,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])] )