+2025-09-20 Collin Funk <collin.funk1@gmail.com>
+
+ lchmod: Port to Android API level 36.
+ * m4/lchmod.m4 (gl_FUNC_LCHMOD): Use gl_CHECK_FUNCS_ANDROID to check for
+ lchmod instead of AC_CHECK_FUNCS_ONCE.
+ * m4/lchown.m4 (gl_FUNC_LCHOWN): Likewise.
+ * doc/glibc-functions/lchmod.texi (lchmod): Document that the function
+ is missing on Android API 35 and lower.
+
2025-09-20 Bruno Haible <bruno@clisp.org>
pthread-once: Reduce link dependencies.
@itemize
@item
This function is missing on some platforms:
-OpenBSD 7.5, Minix 3.1.8, AIX 5.1, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
+OpenBSD 7.5, Minix 3.1.8, AIX 5.1, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android API level 35.
@item
This function is not declared on some platforms:
HP-UX 11.31.
# lchmod.m4
-# serial 10
+# serial 11
dnl Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Persuade glibc <sys/stat.h> to declare lchmod().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
- AC_CHECK_FUNCS_ONCE([lchmod])
+ gl_CHECK_FUNCS_ANDROID([lchmod], [[#include <sys/stat.h>]])
if test "$ac_cv_func_lchmod" = no; then
HAVE_LCHMOD=0
fi
# lchown.m4
-# serial 17
+# serial 18
dnl Copyright (C) 1998, 2001, 2003-2007, 2009-2025 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
[
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
AC_REQUIRE([gl_FUNC_CHOWN])
- AC_CHECK_FUNCS_ONCE([lchmod])
+ gl_CHECK_FUNCS_ANDROID([lchmod], [[#include <sys/stat.h>]])
AC_CHECK_FUNCS([lchown])
if test $ac_cv_func_lchown = no; then
HAVE_LCHOWN=0