acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.

config:
	* acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.

From-SVN: r153493
This commit is contained in:
Rainer Orth 2009-10-23 10:03:47 +00:00 committed by Rainer Orth
parent 5813994e3c
commit e25a8c8216
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.
2009-09-09 Paolo Bonzini <bonzini@gnu.org> 2009-09-09 Paolo Bonzini <bonzini@gnu.org>
* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in * stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in

View File

@ -605,7 +605,7 @@ dnl # See binutils PR 4334 for more details.
AC_DEFUN([ACX_CHECK_CYGWIN_CAT_WORKS],[ AC_DEFUN([ACX_CHECK_CYGWIN_CAT_WORKS],[
AC_MSG_CHECKING([to see if cat works as expected]) AC_MSG_CHECKING([to see if cat works as expected])
echo a >cygwin-cat-check echo a >cygwin-cat-check
if test `cat cygwin-cat-check` == a ; then if test `cat cygwin-cat-check` = a ; then
rm cygwin-cat-check rm cygwin-cat-check
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
else else

2
configure vendored
View File

@ -3855,7 +3855,7 @@ case "${host}" in
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
$as_echo_n "checking to see if cat works as expected... " >&6; } $as_echo_n "checking to see if cat works as expected... " >&6; }
echo a >cygwin-cat-check echo a >cygwin-cat-check
if test `cat cygwin-cat-check` == a ; then if test `cat cygwin-cat-check` = a ; then
rm cygwin-cat-check rm cygwin-cat-check
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }