mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
* lib/m4sugar/m4sh.m4: protect RHS of AS_VAR_SET against expansion of
quotes (it is delayed to after the eval).
This commit is contained in:
parent
e808ba2ea7
commit
f16c8d206e
@ -1,3 +1,8 @@
|
||||
2003-05-21 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape
|
||||
the RHS before passing it to eval.
|
||||
|
||||
2003-05-21 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* bin/autoupdate.in ($m4): Fix quotation.
|
||||
|
@ -1006,7 +1006,7 @@ AS_REQUIRE([_AS_TR_CPP_PREPARE])dnl
|
||||
m4_define([AS_VAR_SET],
|
||||
[AS_LITERAL_IF([$1],
|
||||
[$1=$2],
|
||||
[eval "$1=$2"])])
|
||||
[eval "$1=AS_ESCAPE([$2])"])])
|
||||
|
||||
|
||||
# AS_VAR_GET(VARIABLE)
|
||||
|
Loading…
Reference in New Issue
Block a user