autoconf
[Top][All Lists]
Advanced

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

Re: configure.lineno?


From: bonzini
Subject: Re: configure.lineno?
Date: Wed, 07 Jan 2004 15:49:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9

> 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?

First of all, I knew about this behavioral change (and it was also pointed out by Akim on the patches mailing list, but considered something we could bear), and it should have been myself fixing this, but I've been distracted by many other things lately. Sorry.

However, it is not as easy as it looks. :-(

bash reports a $LINENO relative to the start of the function inside shell functions. So I see only three ways out:

1) revert to the old __oline__ mechanism that was used in autoconf 2.13 (not very aesthetic)

2) always use configure.lineno (slow)

3) implement __oline__ in m4 2.0, and rever to configure.lineno when configure scripts are created with an older m4 (who knows the timeline for m4 2.0 and libtool 1.6, on which m4 depends?).

What's the best one?

Paolo





reply via email to

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