mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-15 02:20:10 +08:00
(AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo commands
This commit is contained in:
parent
e96830f886
commit
7799e704a2
@ -1,3 +1,9 @@
|
||||
2005-05-24 Stepan Kasal <kasal@ucw.cz>
|
||||
|
||||
* lib/autoconf/general.m4 (AC_MSG_CHECKING, AC_MSG_RESULT):
|
||||
Put braces around the two echo commands, for consistency
|
||||
with AC_MSG_ERROR and such.
|
||||
|
||||
2005-05-24 Stepan Kasal <kasal@ucw.cz>
|
||||
|
||||
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
|
||||
|
@ -2019,16 +2019,16 @@ m4_define([AC_WARNING],
|
||||
# AC_MSG_CHECKING(FEATURE)
|
||||
# ------------------------
|
||||
m4_define([AC_MSG_CHECKING],
|
||||
[_AS_ECHO_LOG([checking $1])
|
||||
_AS_ECHO_N([checking $1... ])[]dnl
|
||||
[{ _AS_ECHO_LOG([checking $1])
|
||||
_AS_ECHO_N([checking $1... ]); }dnl
|
||||
])
|
||||
|
||||
|
||||
# AC_MSG_RESULT(RESULT)
|
||||
# ---------------------
|
||||
m4_define([AC_MSG_RESULT],
|
||||
[_AS_ECHO_LOG([result: $1])
|
||||
_AS_ECHO([${ECHO_T}$1])[]dnl
|
||||
[{ _AS_ECHO_LOG([result: $1])
|
||||
_AS_ECHO([${ECHO_T}$1]); }dnl
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user