* m4/glob.m4 (gl_GLOB): Conditionally set REPLACE_GLOB.
* lib/glob.in.h (glob): Disable _GL_CXXALIASWARN invocation on non-glibc
systems.
Resolve conflicts for functions introduced in Android API level 28.
+ * m4/glob.m4 (gl_GLOB): Conditionally set REPLACE_GLOB.
+ * lib/glob.in.h (glob): Disable _GL_CXXALIASWARN invocation on non-glibc
+ systems.
+
* lib/unistd.in.h (getentropy): Consider REPLACE_GETENTROPY. Disable
_GL_CXXALIASWARN invocation on non-glibc systems.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_GETENTROPY.
_gl_glob_errfunc_fn __errfunc,
glob_t *_Restrict_ __pglob));
# endif
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (glob);
+# endif
#elif defined GNULIB_POSIXCHECK
# undef glob
# if HAVE_RAW_DECL_GLOB
-# glob.m4 serial 29
+# glob.m4 serial 30
dnl Copyright (C) 2005-2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
gl_CHECK_FUNCS_ANDROID([glob], [[#include <glob.h>]])
if test $ac_cv_func_glob = no; then
HAVE_GLOB=0
+ case "$gl_cv_onwards_func_glob" in
+ future*) REPLACE_GLOB=1 ;;
+ esac
else
AC_CACHE_CHECK([for GNU glob interface version 1 or 2],