This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: incremental building in 4.2


On Jun 19, 2007, at 10:10 PM, Paolo Bonzini wrote:
Mike Stump wrote:
Someone seriously broke incremental building along to the way to gcc-4.2. This patch fixes it:

Ok, but please also change this


> test [$]$1=$2 && $1=

to this:

test [$]$1 = $2 && $1=


> test [$]$1=$2 && $1= > - ac_cv_path_$1=[$]$1 > + test -n "[$]$1" && ac_cv_path_$1=[$]$1

Ok, just checked in:


Index: config/acx.m4
===================================================================
--- config/acx.m4	(revision 126013)
+++ config/acx.m4	(working copy)
@@ -326,7 +326,7 @@
     fi
   elif test $build != $host && test $have_gcc_for_target = yes; then
     $1=`$GCC_FOR_TARGET --print-prog-name=$2`
-    test [$]$1=$2 && $1=
+    test [$]$1 = $2 && $1=
     test -n "[$]$1" && ac_cv_path_$1=[$]$1
   fi
 fi

If anyone sees any down side on cross building with this, just scream.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]