[PATCH] Bump config.sub and config.guess to latest versions

Denys Vlasenko dvlasenk at redhat.com
Mon Feb 23 10:49:19 UTC 2009


On Mon, 2009-02-23 at 11:15 +0100, Hans-Christian Egtvedt wrote:
> On Mon, 23 Feb 2009 10:20:56 +0100
> Denys Vlasenko <dvlasenk at redhat.com> wrote:
> 
> > On Mon, 2009-02-23 at 09:29 +0100, Hans-Christian Egtvedt wrote:
> > > On Mon, 23 Feb 2009 09:14:31 +0100
> > > Denys Vlasenko <dvlasenk at redhat.com> wrote:
> > > 
> > > > On Mon, 2009-02-23 at 08:07 +0100, Hans-Christian Egtvedt wrote:
> > > > > Hi,
> > > > > 
> > > > > Please see the linked patch[0] which bumps config.sub and
> > > > > config.guess to latest versions.
> > > > > 
> > > > > This is needed to support new architectures. I'll post a patch
> > > > > for AVR32 shortly.
> > > > 
> > > > I just checked: autoreconf -fvi regenerates these files anyway,
> > > > and since strace cvs does not have *all* autoconf-generated files
> > > > anyway (at least configure is missing), I assumed all users
> > > > of the cvs tree run "autoreconf -fvi" or something equivalent.
> > > > 
> > > 
> > > Sort of, but this assumes you have a up to date autoconf on your
> > > computer. Not all distos have updated config.sub and config.guess.
> > 
> > I don't understand. Without autoconf, you can build cvs tree:

s/can/cannot/

> > 
> > # make
> > make: *** No targets specified and no makefile found.  Stop.
> > 
> > Thus, atoconf is a requirement. And if it is present,
> > it will generate new config.sub and config.guess.
> > 
> > What am I missing?

> If you have old config.sub and config.guess on your build machine, the
> AVR32 architecture is not present, thus the ./configure step will fail
> to identify the architecture.

BUT autoreconf REWRITES THESE FILES ANYWAY. At least that is what I see.

What's the point in correcting these files if they are rewritten by
autoreconf and thus their "old" contents is irrelevant?

Can you give me exact sequence of commands you use to build strace
from cvs tree, one which does not work with "bad" config.sub and
config.guess, but works with updated ones?
--
vda






More information about the Strace-devel mailing list