Patch: automatic dependencies for gcc

Tom Tromey tromey@redhat.com
Tue Mar 25 18:00:00 GMT 2008


>>>>> "Paolo" == Paolo Bonzini <bonzini@gnu.org> writes:

>> In the real final patch, I updated this to refer to BUILD_DEPMODE in
>> the grep.

Paolo> Or CCDEPMODE?

I'm checking this in as obvious.  I tested it with a native build and
a canadian cross and looked at the Makefiles in each case to verify
that the results look correct.  (In particular, for the canadian,
BUILD_DEPMODE should be explicit and not just a reference to
$(CCDEPMODE).)

sorry once again,
Tom

ChangeLog:
2008-03-25  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.
	* configure.ac (BUILD_DEPMODE): Extract CCDEPMODE from temporary
	Makefile.

Index: configure.ac
===================================================================
--- configure.ac	(revision 133523)
+++ configure.ac	(working copy)
@@ -1477,7 +1477,7 @@
 	CFLAGS="${saved_CFLAGS}"
 
 	# Extract this setting from the temporary Makefile.
-	BUILD_DEPMODE=`grep '^BUILD_DEPMODE = ' Makefile | sed -e 's,.* = ,,'`
+	BUILD_DEPMODE=`grep '^CCDEPMODE = ' Makefile | sed -e 's,.* = ,,'`
 
 	# We just finished tests for the build machine, so rename
 	# the file auto-build.h in the gcc directory.



More information about the Gcc-patches mailing list