Patch: cross canadian fixes canadian cross (pr 21403)

Anthony Green green@redhat.com
Sat May 7 03:38:00 GMT 2005


m4 has an annoying habit of consuming square brackets.  This patch
restores many canadian cross configurations.

Tested with 
 build = i686-pc-linux-gnu
 host = i386-mingw32
 target = i386-elf

Ok for HEAD and 4.0 branch?

AG


2005-05-06  Anthony Green  <green@redhat.com>

	PR bootstrap/21403
	* configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in
	x$STMP_FIXPROTO test.
	* configure: Rebuilt.


Index: gcc/configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.107
diff -u -p -r2.107 configure.ac
--- gcc/configure.ac	4 May 2005 01:14:48 -0000	2.107
+++ gcc/configure.ac	7 May 2005 03:21:03 -0000
@@ -1693,7 +1693,7 @@ then
     BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)'
 
     if test "x$TARGET_SYSTEM_ROOT" = x; then
-	if [ "x$STMP_FIXPROTO" != x ] ; then
+	if test "x$STMP_FIXPROTO" != x; then
 	  STMP_FIXPROTO=stmp-install-fixproto
 	fi
     fi




More information about the Gcc-patches mailing list