* bison.m4: Declare YACC & YFLAGS precious.
authorDerek R. Price <derek@ximbiot.com>
Thu, 16 Jun 2005 13:00:54 +0000 (13:00 +0000)
committerDerek R. Price <derek@ximbiot.com>
Thu, 16 Jun 2005 13:00:54 +0000 (13:00 +0000)
m4/ChangeLog
m4/bison.m4

index b11e11a..6034b63 100644 (file)
@@ -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.
index 273b641..bb69123 100644 (file)
@@ -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
 ])