Hello Automakers.

The Automake manual states in:
  
http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
(and the good sense dictates) that all the flags specified in a $(FOOFLAGS)
variable take precedence over the flags specified in the corresponding
$(AM_FOOFLAGS) variable (or in any per-target $(maude_FOOFLAGS) variable).
However, with current Automake, this is not the case for $(LFLAGS) and
$(YFLAGS).

The patches in this series fix this.  The first patch introduces some tests
that fail with current Automake; the second one fixes the Lex&Yacc language
registration so that the tests passes (it turns out that a simple four-line
change in automake.in is enough).

I personally prefer to keep these two patches as separate commits; but if
you'd prefer to squash them togheter, please do so: it's no big deal.

Regards,
     Stefano


Reply via email to