+2024-11-01 Bruno Haible <bruno@clisp.org>
+
+ realloc-posix: Fix test failure on AIX (regression 2024-10-27).
+ * m4/realloc.m4 (gl_FUNC_REALLOC_0_NONNULL): New macro.
+ * modules/realloc-posix (configure.ac): Invoke it.
+
2024-11-01 Bruno Haible <bruno@clisp.org>
eealloc: Use the same cross-compilation guess as malloc-posix.
# realloc.m4
-# serial 36
+# serial 37
dnl Copyright (C) 2007, 2009-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
fi
])
+
+# gl_FUNC_REALLOC_0_NONNULL
+# -------------------------
+# Replace realloc if it is not compatible with GNU libc.
+AC_DEFUN([gl_FUNC_REALLOC_0_NONNULL],
+[
+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
+
+ _AC_FUNC_REALLOC_IF([], [REPLACE_REALLOC_FOR_REALLOC_POSIX=1],
+ ["$gl_cross_guess_normal"])
+])