On Wednesday 02 June 2004 00:17 CET Klaus Heinz wrote:
>[...]
> I know patches should be attached to a bugzilla ticket but for the sake
> of discussion I have it appended to this message. I will open a ticket
> if necessary.
> Essentially this would enable me to do something like Malte's algorithm
> above.
>
>   perl Makefile.PL </dev/null
>   perl spamc/configure.pl --create-version-file
>   cd spamc
>   ./configure --mystuff
>   make all

I could add that patch but the above won't work too nicely.

That's because configure.pl needs to be called with VERSION="3.0.0" to 
produce a "good" version number. Just have a look what 'spamc -V' gives you 
without that -- should be something like "SpamAssassin Client version 
3.x.x-r20500".

Instead of getting rid of the symptoms I'd like to fix the real problem :) 
So what are you missing? Should configure.pl should pass all unknown --args 
to the autoconf stuff? Theoretically it already does this (look in line 43) 
but maybe there's a bug in there...

Cheers,
Malte

-- 
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
      <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
      <http://www.catb.org/~esr/faqs/smart-questions.html>

Reply via email to