[Top][All Lists]

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

[bug-gnulib] inadvertent bison.m4 patch to gnulib?

From: Paul Eggert
Subject: [bug-gnulib] inadvertent bison.m4 patch to gnulib?
Date: Thu, 02 Jun 2005 09:58:30 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

The following patch was installed on gnulib but it looks inadvertent.
I assume it's OK for me to revert it?  Or perhaps you could revert it.

Index: bison.m4
RCS file: /cvsroot/gnulib/gnulib/m4/bison.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -p -u -r1.4 -r1.5
--- bison.m4    23 Jan 2005 08:06:57 -0000      1.4
+++ bison.m4    31 May 2005 21:01:36 -0000      1.5
@@ -7,7 +7,17 @@
+dnl All this cruft, which tries to fail harmlessly when bison is not present,
+dnl will no longer be necessary after we require an Automake release 1.10 or
+dnl later, as those avoid generating .c files from .y when not in maintainer
+dnl mode.  This is currently a fork from the GNULIB version of this file.
   # getdate.y works with bison only.
-  : ${YACC='bison -y'}
+  AM_MISSING_PROG(YACC, bison -y)
+[The `Yet Another C Compiler' implementation to use.  Defaults to `bison -y'.
+Values other than `bison -y' will most likely break on most systems.])
+[YFLAGS contains the list arguments that will be passed by default to Bison.
+This script will default YFLAGS to the empty string to avoid a default value of
+`-d' given by some make applications.])

reply via email to

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