bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] alloca: sync with Autoconf master


From: Paul Eggert
Subject: [PATCH 1/2] alloca: sync with Autoconf master
Date: Thu, 30 Jul 2020 19:16:35 -0700

* m4/alloca.m4 (_AC_LIBOBJ_ALLOCA):
Do not define if Autoconf 2.70 or later, since Autoconf master
now matches us.
---
 ChangeLog    |  7 +++++++
 m4/alloca.m4 | 14 +++++++++-----
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 95851778c..fa5e1dab1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-07-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       alloca: sync with Autoconf master
+       * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA):
+       Do not define if Autoconf 2.70 or later, since Autoconf master
+       now matches us.
+
 2020-07-30  Bruno Haible  <bruno@clisp.org>
 
        unicodeio: Add comment.
diff --git a/m4/alloca.m4 b/m4/alloca.m4
index d3e98c51b..b777f8450 100644
--- a/m4/alloca.m4
+++ b/m4/alloca.m4
@@ -1,4 +1,4 @@
-# alloca.m4 serial 16
+# alloca.m4 serial 17
 dnl Copyright (C) 2002-2004, 2006-2007, 2009-2020 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -50,10 +50,13 @@ AC_DEFUN([gl_FUNC_ALLOCA],
 # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA.
 AC_DEFUN([gl_PREREQ_ALLOCA], [:])
 
-# This works around a bug in autoconf <= 2.68.
-# See <https://lists.gnu.org/r/bug-gnulib/2011-06/msg00277.html> and
-# 
<https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=6cd9f12520b0d6f76d3230d7565feba1ecf29497>.
-# Also it has a simplification that is not yet in Autoconf.
+m4_version_prereq([2.70], [], [
+
+# This works around a bug in autoconf <= 2.68 and has simplifications
+# from 2.70.  See:
+# https://lists.gnu.org/r/bug-gnulib/2011-06/msg00277.html
+# 
https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=6cd9f12520b0d6f76d3230d7565feba1ecf29497
+# 
https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=15edf7fd8094fd14a89d9891dd72a9624762597a
 
 # _AC_LIBOBJ_ALLOCA
 # -----------------
@@ -102,3 +105,4 @@ AH_VERBATIM([STACK_DIRECTION],
 @%:@undef STACK_DIRECTION])dnl
 AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
 ])
+])
-- 
2.25.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]