Tugger the SLUGger!SLUG Mailing List Archives

Re: [chat] portable scripting


This one time, at band camp, Pete Ryland wrote:
>But then I thought the whole point of having autoconf was to be able to be
>lame and have it do all the work.  If I have to write 100 lines of
>compatable sh to detect for example where various python bin/include/lib/...
>directories are (and yes, I did this the other day - and taking into account
>possible multiple versions is a pain), then I may as well just use a shell
>script configure instead - why can it not do this for me?  I'm sure someone
>else will need to detect these things someday too, and I'm not in any way
>inclined towards the copy/paste school of computer engineering.

Beacuse this way you *only* need to write the tests for the version of
python and you don't have to worry about creating Makefiles and config.h and
blah and blah and so on.

If you're really keen, break the python test into a separate m4 file, and
distribute it.

-- 
jaq@xxxxxxxxxxxxxx                           http://spacepants.org/jaq.gpg