bug-autoconf
[Top][All Lists]
Advanced

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

Re: divert()/m4_divert() broken in autoconf-2.64+


From: Mike Frysinger
Subject: Re: divert()/m4_divert() broken in autoconf-2.64+
Date: Tue, 24 Nov 2009 12:12:53 -0500
User-agent: KMail/1.12.3 (Linux/2.6.31.4; KDE/4.3.3; x86_64; ; )

On Tuesday 24 November 2009 08:28:22 Ralf Wildenhues wrote:
> What's more, the example as you originally posted it (and I remember a
> very similar real-world example) used diversions "by accident" so to
> speak: there was no real need or intentional exploitation of diversion
> functionality at all.  It would be a lot easier to argue for a better
> API from the Autoconf side if there was some legitimate use case.

afact, the code is trying to use diversions to delay all the internal autotool 
output until later and put all the package-generated output up front.  i 
thought it would be easier to analyze a <10 line script than a 1500+ line 
script that also uses tons of macros.  if you want the actual code, download 
the latest php release and read its configure.in.

this also doesnt account for the second example i posted which simply results 
in broken scripts as soon as diversions are used.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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