Hash :
31617d81
Author :
Date :
2023-01-22T14:16:36
Resolve conflicts for functions introduced in Android API level 26. * lib/stdlib.in.h (getsubopt): Consider REPLACE_GETSUBOPT. Disable _GL_CXXALIASWARN invocation on non-glibc systems. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_GETSUBOPT. * modules/stdlib (Makefile.am): Substitute REPLACE_GETSUBOPT. * m4/getsubopt.m4 (gl_FUNC_GETSUBOPT): Conditionally set REPLACE_GETSUBOPT. * modules/getsubopt (Depends-on, configure.ac): Consider REPLACE_GETSUBOPT.
Description:
getsubopt: Parse comma separated list into words.
Files:
lib/getsubopt.c
m4/getsubopt.m4
Depends-on:
stdlib
extensions
strchrnul [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
memchr [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
configure.ac:
gl_FUNC_GETSUBOPT
gl_CONDITIONAL([GL_COND_OBJ_GETSUBOPT],
[test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1])
AM_COND_IF([GL_COND_OBJ_GETSUBOPT], [
gl_PREREQ_GETSUBOPT
])
gl_STDLIB_MODULE_INDICATOR([getsubopt])
Makefile.am:
if GL_COND_OBJ_GETSUBOPT
lib_SOURCES += getsubopt.c
endif
Include:
<stdlib.h>
License:
LGPL
Maintainer:
all, glibc