Hi,

Attached patch fixes PR/27501. The regression was introduced
in r113432 by dj.
Patch tested on alphaev56-dec-osf5.1a and i686-linux-uclibc.
Please apply.

2006-05-13  Bernhard Fischer  <[EMAIL PROTECTED]>

        PR/27501
        * mkconfig.sh: Use operator '=' for test

Index: gcc-4.2/gcc/mkconfig.sh
===================================================================
--- gcc-4.2/gcc/mkconfig.sh     (revision 113625)
+++ gcc-4.2/gcc/mkconfig.sh     (working copy)
@@ -43,7 +43,7 @@
 
 # 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

Reply via email to