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
signature.asc
Description: This is a digitally signed message part.
