This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Allow build to specify what sed mkheaders uses
On Wed, 2009-08-26 at 16:35 +0000, Joseph S. Myers wrote:
> On Wed, 26 Aug 2009, Paolo Bonzini wrote:
>
> > It's not that the feature is undesirable. I was wondering if "./configure
> > SED=/blah/sed" wouldn't do the same.
>
> What I actually want is for mkheaders just to use "sed", so it searches
> the PATH at runtime, rather than hardcoding any path at all. I don't know
> if "configure SED=sed" achieves that.
It doesn't. But maybe mkheaders could be changed so that if the sed
path that it has saved doesn't exist, it will then call sed with the
current path to try and find sed instead of just failing by calling the
non-existent sed.
Steve Ellcey
sje@cup.hp.com