changeset 5926:3508054a2863

* bison.m4: Declare YACC & YFLAGS precious.
author Derek R. Price <derek@ximbiot.com>
date Thu, 16 Jun 2005 13:00:54 +0000
parents 38851977f22c
children cb13c1ad85d5
files m4/ChangeLog m4/bison.m4
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-16  Derek Price  <derek@ximbiot.com>
+
+	* bison.m4: Declare YACC & YFLAGS precious.
+
 2005-06-08  Bruno Haible  <bruno@clisp.org>
 
 	* csharpcomp.m4: New file, from GNU gettext.
--- 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
 ])