mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
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”.
This commit is contained in:
@@ -85,7 +85,7 @@ configure.ac:
|
||||
AC_REQUIRE([AC_C_RESTRICT])
|
||||
gl_FUNC_READLINK_SEPARATE
|
||||
gl_CANONICALIZE_LGPL_SEPARATE
|
||||
gl_FUNC_MALLOC_POSIX
|
||||
AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
|
||||
gl_FUNC_REALLOC_POSIX
|
||||
gl_FUNC_FREE
|
||||
gl_FUNC_MEMPCPY
|
||||
|
Reference in New Issue
Block a user