2020-12-11 Paul Eggert <eggert@cs.ucla.edu>
+ vararrays: just use 2.70
+ * m4/vararrays.m4 (AC_C_VARARRAYS): Do not override Autoconf 2.70
+ and later, since Autoconf 2.70 matches Gnulib now.
+
sys_types: just use 2.70
* m4/sys_types_h.m4 (AC_HEADER_MAJOR):
Reindent to match Autoconf sources.
# Check for variable-length arrays.
-# serial 5
+# serial 6
# From Paul Eggert
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# This is a copy of AC_C_VARARRAYS from a recent development version
-# of Autoconf. It replaces Autoconf's version, or for pre-2.61 autoconf
-# it defines the macro that Autoconf lacks.
+m4_version_prereq([2.70], [], [
+
+# AC_C_VARARRAYS
+# --------------
+# Check whether the C compiler supports variable-length arrays.
AC_DEFUN([AC_C_VARARRAYS],
[
AC_CACHE_CHECK([for variable-length arrays],
[[/* Test for VLA support. This test is partly inspired
from examples in the C standard. Use at least two VLA
functions to detect the GCC 3.4.3 bug described in:
- https://lists.gnu.org/r/bug-gnulib/2014-08/msg00014.html
+ https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00014.html
*/
#ifdef __STDC_NO_VLA__
syntax error;
if the compiler does not already define this.])
fi
])
+
+])