autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.lineno?


From: Paul Eggert
Subject: Re: configure.lineno?
Date: 06 Jan 2004 13:32:45 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Peter Eisentraut <address@hidden> writes:

> Paul Eggert wrote:
> > Eric Sunshine <address@hidden> writes:
> > > The configure scripts generated by the newest versions of Autoconf
> > > leave a configure.lineno file sitting around after running the
> > > configure script.  Is this intentional?
> >
> > I suspect so, as it helps debugging on hosts that lack line-number
> > support.  Automake removes it as part of "make distclean".
> 
> Wouldn't a special debug mode be more suitable for that purpose?

Yes, that would make sense.  It is odd that 'config.status' has a -d
or --debug option, to do just this, but 'configure' lacks such an
option.  I suppose it should have one.

Fixing this in general won't be trivial, as the trap to remove
temporary files (in _AC_INIT_PREPARE) is established after
configure.lineno is created (in _AS_LINENO_PREPARE).  The two macros
ought to be decoupled as much as possible, and this would couple them
more.

Also, there's a similar problem with config.status and config.status.lineno.

Anybody want to volunteer to write a patch?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]