diff --git a/config/ChangeLog b/config/ChangeLog index ceea52ed782..4d50df66bbe 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2009-10-23 Rainer Orth + + * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test. + 2009-09-09 Paolo Bonzini * stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in diff --git a/config/acx.m4 b/config/acx.m4 index cea08b7204f..b559c03ebdf 100644 --- a/config/acx.m4 +++ b/config/acx.m4 @@ -605,7 +605,7 @@ dnl # See binutils PR 4334 for more details. AC_DEFUN([ACX_CHECK_CYGWIN_CAT_WORKS],[ AC_MSG_CHECKING([to see if cat works as expected]) 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 AC_MSG_RESULT(yes) else diff --git a/configure b/configure index db105a549b2..4af7b475754 100755 --- a/configure +++ b/configure @@ -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_n "checking to see if cat works as expected... " >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; }