On Tue, Jun 29, 1999 at 04:50:32PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Andre'" == Andre' Poenitz <[EMAIL PROTECTED]> writes:
>
> That's what it does actually. It tries, in this order
> perl perl5 perl5.002 perl5.003 perl5.004 perl5.005
> and executes 'require 5.002;exit' on each of them. I agree that this
> would be very time intensive if done at each run.
I've probably asked you this before: why do you test for 5.002 *before*
5.005? Even if someone has 5.002 in their path in the unlikely case that a
5.002 script didn't work in 5.005, why don't we run the latest version?
> Another fun idea would be that configure could find the right perl,
> and then do a
> ln -s /usr/local/bin/perl /usr/local/share/lyx/thegoodperl
>
> With this hack, the name thegoodperl in lyx lib directory would always
> point to a working perl. However, this is so complicated that I
> suspect it will not work... (and also OS/2 does not do symlinks).
Why can't you do something like the relyx wrapper script?
-Amir