automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl path patch


From: Michael Pruett
Subject: Re: perl path patch
Date: Tue, 9 Jul 2002 17:24:05 -0700
User-agent: Mutt/1.2.5.1i

On Tue, Jul 09, 2002 at 06:18:31PM -0600, Tom Tromey wrote:
> >>>>> "Michael" == Michael Pruett <address@hidden> writes:
> 
> Michael> Here's a small patch against automake 1.6.2 which allows
> Michael> automake to use the copy of Perl in the user's path (which
> Michael> may differ from the path with which automake was built) as
> Michael> long as that version is sufficiently recent (where
> Michael> sufficiently recent here means Perl 5.6 or newer).
> 
> Why do you want this?

Some users have multiple copies of Perl installed on their systems
(e.g. in /usr/bin/perl and /usr/local/bin/perl).  It is onerous to
require the user to have Perl at the same location as that with which
automake was built.

Invoking the automake script with env solves this problem but
introduces the problem that the first version of Perl in the user's
path might be too old.  Only if this problem occurs do we invoke Perl
with the path with which automake was built.

Raja pointed out that my patch didn't need to remove the first eval
line, and I agree.

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]