automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Bugfix w.r.t. $(AM_LFLAGS)/$(LFLAGS) and $(AM_YFLAGS)/$(YFLA


From: Stefano Lattarini
Subject: [PATCH 0/2] Bugfix w.r.t. $(AM_LFLAGS)/$(LFLAGS) and $(AM_YFLAGS)/$(YFLAGS) precedence.
Date: Sat, 1 May 2010 10:33:46 +0200
User-agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; )

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

[Prev in Thread] Current Thread [Next in Thread]