diff options
author | Will Sackfield <will.sackfield@gmail.com> | 2023-11-29 01:57:49 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-01-08 14:17:16 +0100 |
commit | 0a22436ea5826d0089db7f1cd97b7c90135ca165 (patch) | |
tree | d218fb65bb5c16e8da684c61570ca998900e0a4b /Configure | |
parent | Avoid memory leak if SXNET_add_id_INTEGER() fails (diff) | |
download | openssl-0a22436ea5826d0089db7f1cd97b7c90135ca165.tar.xz openssl-0a22436ea5826d0089db7f1cd97b7c90135ca165.zip |
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)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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}; |