mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
Fix quoting when config.status generates libtool config.
* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Double quote ECHO-ed variables.
This commit is contained in:
parent
3796d1fe58
commit
bf5eab9d04
@ -1,3 +1,9 @@
|
|||||||
|
2008-11-10 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
|
Fix quoting when config.status generates libtool config.
|
||||||
|
* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
|
||||||
|
Double quote ECHO-ed variables.
|
||||||
|
|
||||||
2008-11-10 Paolo Bonzini <bonzini@gnu.org>
|
2008-11-10 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
Use documented M4sh interfaces.
|
Use documented M4sh interfaces.
|
||||||
|
4
libltdl/m4/libtool.m4
vendored
4
libltdl/m4/libtool.m4
vendored
@ -520,7 +520,7 @@ compiler='$compiler_DEFAULT'
|
|||||||
# Quote evaled strings.
|
# Quote evaled strings.
|
||||||
for var in lt_decl_all_varnames([[ \
|
for var in lt_decl_all_varnames([[ \
|
||||||
]], lt_decl_quote_varnames); do
|
]], lt_decl_quote_varnames); do
|
||||||
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
|
case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
|
||||||
*[[\\\\\\\`\\"\\\$]]*)
|
*[[\\\\\\\`\\"\\\$]]*)
|
||||||
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
||||||
;;
|
;;
|
||||||
@ -533,7 +533,7 @@ done
|
|||||||
# Double-quote double-evaled strings.
|
# Double-quote double-evaled strings.
|
||||||
for var in lt_decl_all_varnames([[ \
|
for var in lt_decl_all_varnames([[ \
|
||||||
]], lt_decl_dquote_varnames); do
|
]], lt_decl_dquote_varnames); do
|
||||||
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
|
case \`eval \\\\\$ECHO \\\\""X\\\\\$\$var"\\\\"\` in
|
||||||
*[[\\\\\\\`\\"\\\$]]*)
|
*[[\\\\\\\`\\"\\\$]]*)
|
||||||
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user