aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-02-02 12:21:27 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-22 14:57:21 +0100
commitd5fa7035cbe7f7f4cb6d69a3b7f8680fde5008f0 (patch)
tree8f7b6b25b1e9e005eb85936baa11b1e27963e135 /Configure
parent60595292ae83b112a1854a59379a51f210c04b6c (diff)
downloadopenssl-d5fa7035cbe7f7f4cb6d69a3b7f8680fde5008f0.zip
openssl-d5fa7035cbe7f7f4cb6d69a3b7f8680fde5008f0.tar.gz
openssl-d5fa7035cbe7f7f4cb6d69a3b7f8680fde5008f0.tar.bz2
Have configdata.pm display information on perl
Specifically, the specific perl that was used to run Configure Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5247)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure11
1 files changed, 9 insertions, 2 deletions
diff --git a/Configure b/Configure
index 05618ed..32ba355 100755
--- a/Configure
+++ b/Configure
@@ -278,6 +278,11 @@ if (defined env($local_config_envname)) {
}
}
+# Save away perl command information
+$config{perl_cmd} = $^X;
+$config{perl_version} = $Config{version};
+$config{perl_archname} = $Config{archname};
+
$config{prefix}="";
$config{openssldir}="";
$config{processor}="";
@@ -2373,12 +2378,14 @@ _____
-verbose => 2);
}
if ($dump || $cmdline) {
- print "\n(with current working directory = $here)";
- print "\nCommand line:\n\n";
+ print "\nCommand line (with current working directory = $here):\n\n";
print ' ',join(' ',
$config{perl},
catfile($config{sourcedir}, 'Configure'),
@{$config{perlargv}}), "\n";
+ print "\nPerl information:\n\n";
+ print ' ',$config{perl_cmd},"\n";
+ print ' ',$config{perl_version},' for ',$config{perl_archname},"\n";
}
if ($dump || $options) {
my $longest = 0;