diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:35 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:35 +0100 |
commit | b92393eff2274b6c6be19a44a12798c3b93f2bbd (patch) | |
tree | d5fc35bc4408f58b75e1efea057ef23a96c3abdf /modules | |
parent | 785007effef488985101ef72cc67311235289699 (diff) | |
download | gnulib-b92393eff2274b6c6be19a44a12798c3b93f2bbd.tar.gz |
Fix warnings for functions introduced in Android API level 26.
* m4/mountlist.m4 (gl_MOUNTLIST): Test for hasmntopt using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.
* m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Test for nl_langinfo using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* m4/strtod.m4 (gl_PREREQ_STRTOD): Test for nl_langinfo using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.
* m4/strtold.m4 (gl_PREREQ_STRTOLD): Likewise.
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Likewise.
* m4/strerror_r.m4 (gl_PREREQ_STRERROR_R): Test for catgets using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* m4/utimens.m4 (gl_UTIMENS): Test for lutimes using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Test for nl_langinfo_l using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
* modules/duplocale-tests (configure.ac): Likewise.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Update comment.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/duplocale-tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/duplocale-tests b/modules/duplocale-tests index 0cb7af4703..77295bb38a 100644 --- a/modules/duplocale-tests +++ b/modules/duplocale-tests @@ -8,8 +8,9 @@ Depends-on: langinfo configure.ac: -AC_CHECK_FUNCS_ONCE([strfmon_l snprintf_l nl_langinfo_l]) +AC_CHECK_FUNCS_ONCE([strfmon_l snprintf_l]) gl_CHECK_FUNCS_ANDROID([duplocale], [[#include <locale.h>]]) +gl_CHECK_FUNCS_ANDROID([nl_langinfo_l], [[#include <langinfo.h>]]) AC_CHECK_HEADERS_ONCE([monetary.h]) gt_FUNC_USELOCALE |