Move _AS_ECHO_UNQUOTED lower; no code change.

This commit is contained in:
Stepan Kasal 2005-05-24 07:27:15 +00:00
parent f014f06e6b
commit e7d74c4c5d
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2005-05-24 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_UNQUOTED): Move the macro lower;
no code change.
2005-05-24 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.

View File

@ -521,13 +521,6 @@ m4_define([_AS_QUOTE_IFELSE],
[$2])])
# _AS_ECHO_UNQUOTED(STRING, [FD = AS_MESSAGE_FD])
# -----------------------------------------------
# Perform shell expansions on STRING and echo the string to FD.
m4_define([_AS_ECHO_UNQUOTED],
[echo "$1" >&m4_default([$2], [AS_MESSAGE_FD])])
# _AS_QUOTE(STRING, [CHARS = `"])
# -------------------------------
# If there are quoted (via backslash) backquotes do nothing, else
@ -540,6 +533,13 @@ m4_define([_AS_QUOTE],
$1])])
# _AS_ECHO_UNQUOTED(STRING, [FD = AS_MESSAGE_FD])
# -----------------------------------------------
# Perform shell expansions on STRING and echo the string to FD.
m4_define([_AS_ECHO_UNQUOTED],
[echo "$1" >&m4_default([$2], [AS_MESSAGE_FD])])
# _AS_ECHO(STRING, [FD = AS_MESSAGE_FD])
# --------------------------------------
# Protect STRING from backquote expansion, echo the result to FD.