Honor $PERL environment variable in Configure.
authorUlf Möller <ulf@openssl.org>
Fri, 13 Aug 1999 20:48:32 +0000 (20:48 +0000)
committerUlf Möller <ulf@openssl.org>
Fri, 13 Aug 1999 20:48:32 +0000 (20:48 +0000)
Submitted by: Even Holen <Even.Holen@itea.ntnu.no>

Configure

index 401b895944a18770a628edc1f3da5ef441b0aa79..d8dcf8f0a0b9daa14b90b2a42f52c9ba94ed7738 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -338,7 +338,7 @@ my $ranlib;
 my $perl;
 
 $ranlib=&which("ranlib") or $ranlib="true";
-$perl=&which("perl5") or $perl=&which("perl") or $perl="perl";
+$perl=$ENV{'PERL'} or &which("perl5") or $perl=&which("perl") or $perl="perl";
 
 &usage if ($#ARGV < 0);