Re: configure.lineno?

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

 



Peter Eisentraut <peter_e@xxxxxxx> writes:

> Paul Eggert wrote:
> > Eric Sunshine <sunshine@xxxxxxxxxxxxxx> 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?



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux