configure: really expand libdir_expanded
authorDavid Bremner <bremner@debian.org>
Wed, 28 Nov 2012 12:25:52 +0000 (08:25 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 1 Dec 2012 12:04:30 +0000 (08:04 -0400)
commit3c6b2d5071fb71035d5d8cfd24b3bb843840eb9b
treebb306fb6d433b8050ddedb993119f35a48e09353
parenta4eabfd1b7b6c72af09153df082bac3dca7c4420
configure: really expand libdir_expanded

It turns out that if people really use configure in autotools style and pass
libdir containing '${prefix}/foo' then the ldconfig previously failed.

This uses sed for portability (versus bash parameter expansion with
substitution) and hopefully a bit more robustness than blindly
parameter expanding the string.
configure