]> Savannah Git Hosting - gnulib.git/commitdiff
vararrays: just use 2.70
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Dec 2020 01:35:59 +0000 (17:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Dec 2020 01:36:26 +0000 (17:36 -0800)
* m4/vararrays.m4 (AC_C_VARARRAYS): Do not override Autoconf 2.70
and later, since Autoconf 2.70 matches Gnulib now.

ChangeLog
m4/vararrays.m4

index 54e21a4a0bf7c4a2ce81cb13117bfb843daf30fd..78aa40ab3f84129c8b7f23341357a226eb4d5247 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
index 49ded2efe0dae0d88bf12d97b602d4b8a21c0087..9524a6ddd33aa32c44c341afde69d047013a77db 100644 (file)
@@ -1,6 +1,6 @@
 # Check for variable-length arrays.
 
-# serial 5
+# serial 6
 
 # From Paul Eggert
 
@@ -9,9 +9,11 @@
 # 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],
@@ -27,7 +29,7 @@ AC_DEFUN([AC_C_VARARRAYS],
              [[/* 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;
@@ -66,3 +68,5 @@ AC_DEFUN([AC_C_VARARRAYS],
        if the compiler does not already define this.])
   fi
 ])
+
+])