]> git.draconx.ca Git - dxcommon.git/commit
Fix redundant MOFILES entries computed by DX_LINGUAS.
authorNick Bowler <nbowler@draconx.ca>
Mon, 15 Feb 2021 04:44:48 +0000 (23:44 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 15 Feb 2021 04:47:33 +0000 (23:47 -0500)
commitc6f9cd97c0399d9bd827ac823c9f59aefa6e456c
tree2f1f30b643417db577e28888695f21b66d706385
parentd4be634567f46d2af2dc0e78171f3639f2ff039f
Fix redundant MOFILES entries computed by DX_LINGUAS.

The DX_LINGUAS macro transforms a LINGUAS setting of, for example,
"en_CA" to also include "en".  However, if LINGUAS also includes
"en", this addition results in "en" being output twice.

Add a test case that exposes this issue, and correct the problem.
m4/linguas.m4
tests/macros.at