2020-12-11 Paul Eggert <eggert@cs.ucla.edu>
+ stdint: port to Autoconf 2.70
+ * m4/stdint.m4 (gl_STDINT_H): Check for inttypes.h and sys/types.h
+ instead of assuming that AC_INCLUDES_DEFAULT does it.
+ The old code relied on AC_INCLUDES_DEFAULT being called
+ and setting ac_cv_header_inttypes_h and ac_cv_header_sys_types_h,
+ but this does not occur in Autoconf 2.70.
+
pid_t.m4: just use 2.70
* m4/pid_t.m4 (AC_TYPE_PID_T):
Use Autoconf 2.70 as a prerequisite, not 2.69c.
-# stdint.m4 serial 56
+# stdint.m4 serial 57
dnl Copyright (C) 2001-2020 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_SUBST([HAVE_WCHAR_H])
dnl Check for <inttypes.h>.
- dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h.
+ AC_CHECK_HEADERS_ONCE([inttypes.h])
if test $ac_cv_header_inttypes_h = yes; then
HAVE_INTTYPES_H=1
else
AC_SUBST([HAVE_INTTYPES_H])
dnl Check for <sys/types.h>.
- dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h.
+ AC_CHECK_HEADERS_ONCE([sys/types.h])
if test $ac_cv_header_sys_types_h = yes; then
HAVE_SYS_TYPES_H=1
else