Hi,

Upcoming version of GNU Make introduces new incompatibility.
The NEWS file says:
* WARNING: Backward-incompatibility!
  GNU make now implements a generic "second expansion" feature on the
  prerequisites of both explicit and implicit (pattern) targets.  After
  the rule has been parsed, the prerequisites are expanded a second
  time, this time with all the automatic variables in scope.  This means
  that in addition to using standard SysV $$@ in prerequisites lists,
  you can also use complex functions such as $$(patsubst f%r,b%o,$$@) etc.
  This behavior applies to implicit rules, as well, where the second
  expansion occurs after the rule is matched.
  However, this means that you need to double-quote any "$" in your
  filenames; instead of "foo: boo$$bar" you must write "foo: foo$$$$bar"

GNU Make developers suggest to adjust dollar.test, to make it work with
both the old and new versions of GNU make, see
http://savannah.gnu.org/bugs/?func=detailitem&item_id=12260

However, "automake-1.9 --foreign -Werror -Wall" issues warning when
":="-style assignment is used, so dollar.test fails in the adjusted form,
too.


-- 
ldv

Attachment: pgp2pYYYnZ5SF.pgp
Description: PGP signature

Reply via email to