re PR bootstrap/27501 (Shell compatibility problem)
authorBernhard Fischer <aldot@gcc.gnu.org>
Sun, 14 May 2006 10:48:49 +0000 (12:48 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Sun, 14 May 2006 10:48:49 +0000 (12:48 +0200)
2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>

PR 27501
* mkconfig.sh: Use operator = instead of == for test.

From-SVN: r113758

gcc/ChangeLog
gcc/mkconfig.sh

index 7a012fabe757c6493ed33cff268b062327653782..eff9113d34e15d3c7bf0923bca21c736ee4f0905 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR 27501
+       * mkconfig.sh: Use operator = instead of == for test.
+
 2006-05-13  Nick Clifton  <nickc@redhat.com>
 
        * dwarf2out.c (dbx_reg_number): Check return value from
index 9ffd200b9cfba166a383c5d7f883b08879b15155..d47667d8c5e8f52778cfdefa35e329259ba381e5 100644 (file)
@@ -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