(AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo commands

This commit is contained in:
Stepan Kasal 2005-05-24 07:32:13 +00:00
parent e96830f886
commit 7799e704a2
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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
])