David Wheeler <david@kineticode.com> writes:
> But that's a PITA. I'd much rather have been able to tell configure
> *which* perl to use:
> ./configure --with-perl=/usr/bin/perl5.8.6
The more usual way to handle this sort of thing is to put each version
of perl in a different directory, and then you can alter PATH while
running configure to pick which one you want. I've got several versions
of perl on this machine that I select that way ... it doesn't require
any special smarts on the part of the perl-using program, and it scales
to handle multiple versions of other things like Tcl, too.
regards, tom lane