# HG changeset patch # User Derek R. Price # Date 1118926854 0 # Node ID 3508054a28638d1660445e9b7898dc4c30174a9c # Parent 38851977f22c3d78e80e3698cd9c7b563ec1a05c * bison.m4: Declare YACC & YFLAGS precious. diff --git a/m4/ChangeLog b/m4/ChangeLog --- 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 --- a/m4/bison.m4 +++ b/m4/bison.m4 @@ -9,5 +9,11 @@ [ # 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 ])