]> git.draconx.ca Git - dxcommon.git/commit
Normalize whitespace on detected library flags.
authorNick Bowler <nbowler@draconx.ca>
Fri, 22 Feb 2019 22:48:21 +0000 (17:48 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 23 Feb 2019 16:15:10 +0000 (11:15 -0500)
commita3ecbb40448bb06bbafc5ff9ad56909714acc6fd
tree6f0ce884736ef95862e6f61d4f683d95b19fc23b
parent92a89700c65e52fac8c2cace51a7112d60b3f42f
Normalize whitespace on detected library flags.

It seems that pkg-config sometimes spits out a bunch of trailing
whitespace.  This gets into the substituted variables and makes
them a bit annoying to work with.  Add a step to the library helper
which normalizes the spaces: in addition to removing leading and
trailing spaces this will also remove internal spaces, which I
think should be harmless as there does not appear to be any way
for the user to usefully get quoted spaces into these variables.
m4/libhelper.m4
m4/utils.m4