]> git.draconx.ca Git - dxcommon.git/commit
Add some backwards-compatibility helpers for silent-rules.
authorNick Bowler <nbowler@draconx.ca>
Tue, 8 Jan 2013 23:54:41 +0000 (18:54 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 8 Jan 2013 23:54:41 +0000 (18:54 -0500)
commitaec623761eb5cb6ad797259594664fa8aa3d3424
tree1d7c2e7153588754b0d4a4fdfbce062a89bd77dd
parent37cea6bc1a0c2c7a6e73f2ecf8a8a8f0aac605ed
Add some backwards-compatibility helpers for silent-rules.

The silent-rules support in Automake has changed over the ages.  Most
glaringly, the output alignment changed between 1.11 and 1.12.  Add a
new macro, DX_AUTOMAKE_COMPAT, which is intended to capture the
compatibility hacks needed to support multiple versions of Automake.
Currently, this means that it will define a variable to help print
silent-rule output that maintains alignment, and it will AC_SUBST
compatible versions, if necessary, of variables substituted in later
versions of Automake's silent-rule support.

Update glconfig.mk to make use of the new feature.
m4/am-compat.m4 [new file with mode: 0644]
snippet/glconfig.mk