+2026-05-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ chown: use AC_CHECK_HEADERS_ONCE on standard headers
+ * m4/chown.m4 (AC_FUNC_CHOWN):
+ * m4/size_max.m4 (gl_SIZE_MAX):
+ * m4/xsize.m4 (gl_XSIZE): Prefer AC_CHECK_HEADERS_ONCE to
+ AC_CHECK_HEADERS for standard headers that Autoconf will use
+ AC_CHECK_HEADERS_ONCE on anyway.
+
2026-05-10 Paul Eggert <eggert@cs.ucla.edu>
canonicalize: use stdckdint.h not intprops.h
# chown.m4
-# serial 39
+# serial 40
dnl Copyright (C) 1997-2001, 2003-2005, 2007, 2009-2026 Free Software
dnl Foundation, Inc.
dnl This file is free software; the Free Software Foundation
[
AC_REQUIRE([AC_TYPE_UID_T])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
- AC_CHECK_HEADERS([unistd.h])
+ AC_CHECK_HEADERS_ONCE([unistd.h])
AC_CACHE_CHECK([for working chown],
[ac_cv_func_chown_works],
[AC_RUN_IFELSE(
# size_max.m4
-# serial 12
+# serial 13
dnl Copyright (C) 2003, 2005-2006, 2008-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_DEFUN([gl_SIZE_MAX],
[
- AC_CHECK_HEADERS([stdint.h])
+ AC_CHECK_HEADERS_ONCE([stdint.h])
dnl First test whether the system already has SIZE_MAX.
AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
gl_cv_size_max=no
# xsize.m4
-# serial 5
+# serial 6
dnl Copyright (C) 2003-2004, 2008-2026 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 Prerequisites of lib/xsize.h.
AC_REQUIRE([gl_SIZE_MAX])
- AC_CHECK_HEADERS([stdint.h])
+ AC_CHECK_HEADERS_ONCE([stdint.h])
])