From 7b8d37027c59392d07473925d8f074e8c8a38f42 Mon Sep 17 00:00:00 2001 From: "Derek R. Price" Date: Thu, 16 Jun 2005 13:00:54 +0000 Subject: [PATCH] * bison.m4: Declare YACC & YFLAGS precious. --- m4/ChangeLog | 4 ++++ m4/bison.m4 | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index b11e11ae1..6034b6357 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2005-06-16 Derek Price + + * bison.m4: Declare YACC & YFLAGS precious. + 2005-06-08 Bruno Haible * csharpcomp.m4: New file, from GNU gettext. diff --git a/m4/bison.m4 b/m4/bison.m4 index 273b641ed..bb69123eb 100644 --- a/m4/bison.m4 +++ b/m4/bison.m4 @@ -9,5 +9,11 @@ AC_DEFUN([gl_BISON], [ # getdate.y works with bison only. : ${YACC='bison -y'} - AC_SUBST(YACC) + AC_ARG_VAR(YACC, +[The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'. +Values other than `bison -y' will most likely break on most systems.])dnl + AC_ARG_VAR(YFLAGS, +[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.])dnl ]) -- 2.11.0