Hash :
bdb6e81c
Author :
Date :
2024-11-05T22:18:35
realloc-posix: Avoid use of AC_LIBOBJ. * modules/realloc-posix (configure.ac): Define GL_COND_OBJ_REALLOC_POSIX. Don't invoke AC_LIBOBJ. (Makefile.am): Add realloc.c to lib_SOURCES instead.
Description:
realloc() function: allocate memory with indefinite extent.
Files:
lib/realloc.c
m4/realloc.m4
m4/malloc.m4
Depends-on:
extensions-aix
stdckdint [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
stdlib
configure.ac:
gl_FUNC_REALLOC_POSIX
gl_FUNC_REALLOC_0_NONNULL
gl_CONDITIONAL([GL_COND_OBJ_REALLOC_POSIX],
[test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0])
gl_STDLIB_MODULE_INDICATOR([realloc-posix])
Makefile.am:
if GL_COND_OBJ_REALLOC_POSIX
lib_SOURCES += realloc.c
endif
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
all