From: Bruno Haible Date: Fri, 1 Nov 2024 00:19:21 +0000 (-0700) Subject: AC_FUNC_MALLOC now guesses yes when cross-compiling X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ae3a35b19b6a5b5892e1a60610814c195f530b9;p=thirdparty%2Fautoconf.git AC_FUNC_MALLOC now guesses yes when cross-compiling The only platform that had this problem was native Windows, and MSVC's malloc sets errno since 2015 at least. * lib/autoconf/functions.m4 (AC_FUNC_MALLOC): Guess yes when cross-compiling. --- diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 23a0bf8a..c12e1987 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1020,7 +1020,7 @@ AC_DEFUN([AC_FUNC_MALLOC], AC_LIBOBJ(malloc) AC_DEFINE([malloc], [rpl_malloc], [Define to rpl_malloc if the replacement function should be used.])], - ["guessing no"]) + ["guessing yes"]) ])# AC_FUNC_MALLOC