Subject: Re: CVS commit: src
To: Jachym Holecek <freza@NetBSD.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: source-changes
Date: 06/07/2007 15:01:27
On Thu, Jun 07, 2007 at 12:49:14 +0200, Jachym Holecek wrote:

> > 
> > Module Name:	src
> > Committed By:	he
> > Date:		Thu Jun  7 08:58:58 UTC 2007
> > 
> > Modified Files:
> > 	src/gnu/dist/gcc4/gcc: configure.ac
> > 	src/tools/gcc: Makefile
> > 
> > Log Message:
> > Modify the gcc configure script to allow override of the "target libc
> > has ssp functions built-in" test via the TARGET_LIBC_PROVIDES_SSP environment
> > variable, to allow us to configure a cross-compiler appropriately without
> > having to try to find out by looking in the target's source directory.
> 
> Why introduce a new variable? The Linux branch of the test seems happy
> with getting gcc_cv_libc_provides_ssp from the environment directly.

What Jachym said.  configure has standard machinery for that.


SY, Uwe
-- 
uwe@stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen