bison-patches
[Top][All Lists]
Advanced

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

Re: configure has wrong acronym explanation in help string


From: Joel E. Denny
Subject: Re: configure has wrong acronym explanation in help string
Date: Sun, 10 Jul 2011 13:59:24 -0400 (EDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Hi Wouter, Paul,

On Fri, 1 Jul 2011, Paul Eggert wrote:

> Thanks for the bug report.  That's due to an old Autoconf bug.
> It would have been fixed in Bison 2.5 if we had used the
> latest Autoconf version to generate Bison.
> 
> The next time we release Bison, we should try to use the
> latest autotools to build it, to avoid similar issues in the
> future.

Thanks for the suggestions.  I pushed the following patch to branch-2.5 
and master.

>From 845346b3bb526d0f18878f15d906f05205b5c618 Mon Sep 17 00:00:00 2001
From: Joel E. Denny <address@hidden>
Date: Sun, 10 Jul 2011 13:42:12 -0400
Subject: [PATCH] build: avoid YACC typo inherited from Autoconf.

The typo shows up in the `configure --help' output.  Reported by
W.C.A. Wijngaards and Paul Eggert at
<http://lists.gnu.org/archive/html/bug-bison/2011-07/msg00000.html>.
* README-hacking (Release Procedure): Remind about updating
maintainer tools before a release.
* THANKS (W.C.A. Wijngaards): Add.
* configure.ac (AC_PREREQ): Set to 2.68, which fixes the YACC
typo.
---
 ChangeLog      |   12 ++++++++++++
 README-hacking |    2 ++
 THANKS         |    1 +
 configure.ac   |    6 ++++--
 4 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dd0081d..0034da1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2011-07-10  Joel E. Denny  <address@hidden>
 
+       build: avoid YACC typo inherited from Autoconf.
+       The typo shows up in the `configure --help' output.  Reported by
+       W.C.A. Wijngaards and Paul Eggert at
+       <http://lists.gnu.org/archive/html/bug-bison/2011-07/msg00000.html>.
+       * README-hacking (Release Procedure): Remind about updating
+       maintainer tools before a release.
+       * THANKS (W.C.A. Wijngaards): Add.
+       * configure.ac (AC_PREREQ): Set to 2.68, which fixes the YACC
+       typo.
+
+2011-07-10  Joel E. Denny  <address@hidden>
+
        build: create xz instead of bzip2 tarballs.
        Suggested by Jim Meyering at
        <http://lists.gnu.org/archive/html/bug-bison/2011-06/msg00012.html>.
diff --git a/README-hacking b/README-hacking
index e56e041..d468dac 100644
--- a/README-hacking
+++ b/README-hacking
@@ -216,6 +216,8 @@ release:
 
 ** Update the submodules.  See above.
 
+** Update maintainer tools, such as Autoconf.  See above.
+
 ** Try to get the *.pot files to the Translation Project at least one
 week before a stable release, to give them time to translate them.
 Before generating the *.pot files, make sure that po/POTFILES.in and
diff --git a/THANKS b/THANKS
index 8ce5728..7fee37e 100644
--- a/THANKS
+++ b/THANKS
@@ -105,6 +105,7 @@ Tommy Nordgren            address@hidden
 Troy A. Johnson           address@hidden
 Tys Lefering              address@hidden
 Vin Shelton               address@hidden
+W.C.A. Wijngaards         address@hidden
 Wayne Green               address@hidden
 Wolfram Wagner            address@hidden
 Wwp                       address@hidden
diff --git a/configure.ac b/configure.ac
index ec204e7..2152c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,8 +17,10 @@
 
 # In order for some versions of Sun Studio to compile our C++ test cases
 # correctly, we need Autoconf 2.64 or better to handle the restrict
-# keyword in at least string.h from gnulib.
-AC_PREREQ(2.64)
+# keyword in at least string.h from gnulib.  We need Autoconf 2.68 or
+# better to avoid a typo in the `configure --help' entry for the YACC
+# environment variable.
+AC_PREREQ(2.68)
 
 AC_INIT([GNU Bison],
         m4_esyscmd([build-aux/git-version-gen .tarball-version]),
-- 
1.7.0.4




reply via email to

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