You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
746 B

  1. commit bb6242675ad0c7447daef148fffced882e5b4a61
  2. Author: Nicholas Marriott <nicholas.marriott@gmail.com>
  3. Date: Thu Apr 15 06:45:19 2021 +0100
  4. Add crosscompiling fallbacks, from Hasso Tepper.
  5. --- a/configure.ac
  6. +++ b/configure.ac
  7. @@ -163,6 +163,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM(
  8. [return (reallocarray(NULL, 1, 1) == NULL);]
  9. )],
  10. AC_MSG_RESULT(yes),
  11. + [AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])],
  12. [AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])]
  13. )
  14. AC_MSG_CHECKING([for working recallocarray])
  15. @@ -171,6 +172,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM(
  16. [return (recallocarray(NULL, 1, 1, 1) == NULL);]
  17. )],
  18. AC_MSG_RESULT(yes),
  19. + [AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])],
  20. [AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])]
  21. )