mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Fail the Configure script with no Configurations
* Print a message about why the failure is happening. * Send the usage information. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22855)
This commit is contained in:
parent
7054fc1ca3
commit
0a22436ea5
@ -385,6 +385,12 @@ if (defined env($local_config_envname)) {
|
||||
}
|
||||
}
|
||||
|
||||
# Fail if no configuration is apparent
|
||||
if (!%table) {
|
||||
print "Failed to find any os/compiler configurations. Please make sure the Configurations directory is included.\n";
|
||||
&usage;
|
||||
}
|
||||
|
||||
# Save away perl command information
|
||||
$config{perl_cmd} = $^X;
|
||||
$config{perl_version} = $Config{version};
|
||||
|
Loading…
x
Reference in New Issue
Block a user