From 7c2868ef2d686a06240f360021da2f736dfc216e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 23 Oct 2009 10:03:47 +0000 Subject: config: * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@153493 138bc75d-0d04-0410-961f-82ee72b054a4 --- config/ChangeLog | 4 ++++ config/acx.m4 | 2 +- configure | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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; } -- cgit v1.2.3