]> Savannah Git Hosting - gnulib.git/commit
malloca: port better to AIX extensions
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 06:06:54 +0000 (22:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 06:51:14 +0000 (22:51 -0800)
commitad9996409a876d620301ac45b4d97dce368e77fd
tree5fb14d2a985e1e5b6dd927cf323c6d36e8cf6dac
parent01c2e2e64f4625211addc07cf9db1df5cb574f8f
malloca: port better to AIX extensions

Also, switch from eealloc.m4 to malloc.m4 to determine
whether malloc (0) returns nonnull.
* lib/malloca.c (mmalloca): Use HAVE_MALLOC_0_NONNULL,
not MALLOC_0_IS_NONNULL.
* m4/malloca.m4 (gl_MALLOCA): Require gl_FUNC_MALLOC_GNU,
not gl_EEMALLOC.
* modules/malloca (Files): Remove m4/eemalloc.m4.
(Depends-on): Add extensions-aix.
* modules/relocatable-prog-wrapper:
AC_REQUIRE gl_FUNC_MALLOC_POSIX to suppress Autoconf 2.71
“warning: AC_REQUIRE: `gl_FUNC_MALLOC_POSIX' was expanded before
it was required”.
ChangeLog
lib/malloca.c
m4/malloca.m4
modules/malloca
modules/relocatable-prog-wrapper