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 401b895..d8dcf8f 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);