aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-09 16:25:25 +0000
committerUlf Möller <ulf@openssl.org>1999-04-09 16:25:25 +0000
commita5a47e4afbdc1cc1ec8c98f63cbc49705b8a6f4f (patch)
tree33d1c92f460daf9eac84d3dd5e59ee0d461e557d /Configure
parenta8da89186c447932b9f5abced708330a3bff313b (diff)
downloadopenssl-a5a47e4afbdc1cc1ec8c98f63cbc49705b8a6f4f.zip
openssl-a5a47e4afbdc1cc1ec8c98f63cbc49705b8a6f4f.tar.gz
openssl-a5a47e4afbdc1cc1ec8c98f63cbc49705b8a6f4f.tar.bz2
Use Perl 5 even if Perl 4 comes first in the search path.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configure b/Configure
index 5e78dd1..c586740 100755
--- a/Configure
+++ b/Configure
@@ -731,7 +731,8 @@ sub which
{
if (-x "$path/$name")
{
- return "$path/$name";
+ return "$path/$name" unless ($name eq "perl" and
+ system("$path/$name -e " . '\'exit($]<5.0);\''));
}
}
}