From f9a4b91e4ba0e555780e391f3430d8a0c2c1e963 Mon Sep 17 00:00:00 2001 From: Bernhard Fischer Date: Sun, 14 May 2006 12:48:49 +0200 Subject: [PATCH] re PR bootstrap/27501 (Shell compatibility problem) 2006-05-14 Bernhard Fischer PR 27501 * mkconfig.sh: Use operator = instead of == for test. From-SVN: r113758 --- gcc/ChangeLog | 5 +++++ gcc/mkconfig.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a012fabe75..eff9113d34e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-05-14 Bernhard Fischer + + PR 27501 + * mkconfig.sh: Use operator = instead of == for test. + 2006-05-13 Nick Clifton * dwarf2out.c (dbx_reg_number): Check return value from diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh index 9ffd200b9cf..d47667d8c5e 100644 --- a/gcc/mkconfig.sh +++ b/gcc/mkconfig.sh @@ -43,7 +43,7 @@ echo "#define ${header_guard}" >> ${output}T # A special test to ensure that build-time files don't blindly use # config.h. -if test x"$output" == x"config.h"; then +if test x"$output" = x"config.h"; then echo "#ifdef GENERATOR_FILE" >> ${output}T echo "#error config.h is for the host, not build, machine." >> ${output}T echo "#endif" >> ${output}T -- 2.30.2