[PATCH] fix PR/27501 [4.2 Regression] Shell compatibility problem
Bernhard Fischer
rep.nop@aon.at
Sat May 13 16:45:00 GMT 2006
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 <aldot@gcc.gnu.org>
PR/27501
* mkconfig.sh: Use operator '=' for test
-------------- next part --------------
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
More information about the Gcc
mailing list