]> git.ipfire.org Git - thirdparty/libtool.git/commit
bootstrap: adopt autoconf echo normalization code.
authorGary V. Vaughan <gary@gnu.org>
Sun, 18 Dec 2011 07:32:40 +0000 (14:32 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:03:09 +0000 (21:03 +0700)
commit78385ffd8af73b927549c3596da67233f2f92f0e
tree2ca735bc99adde130c619ffeafc1bb3207f198ea
parent7d25536e80b68042a6d999c11a0c5c9dc948f82e
bootstrap: adopt autoconf echo normalization code.

Dash shipped with Ubutu-11.10 as /bin/sh, among others, still
has a crippled echo builtin that mis-handles backslashes.
* build-aux/options-parser (bs_echo): Adopt the autoconf echo
normalization code to find a suitable replacement for buggy echo
commands.
Adjust all uses of echo to $bs_echo.
* build-aux/extract-trace (func_extract_trace, func_main):
Likewise.
* bootstrap: To retain some execution speed on platforms with
buggy builtin echo, replace most occurrences of `echo' with
`$bs_echo' - except where its arguments will obviously never
contain backslashes or be overly long.
Reported by Reuben Thomas.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
build-aux/extract-trace
build-aux/options-parser