diff options
author | Richard Levitte <levitte@openssl.org> | 2017-11-30 21:46:53 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-12-08 00:36:21 +0100 |
commit | 99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7 (patch) | |
tree | d2622dae2169807744bebb441fe63298951763ad /Configure | |
parent | Make sure ./config passes options to ./Configure correctly (diff) | |
download | openssl-99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7.tar.xz openssl-99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7.zip |
Configure: die if there are other arguments with 'reconf'
It's better to inform the user about this than silently ignoring
something that the user might expect to work, somehow.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4818)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -211,6 +211,8 @@ $config{builddir} = abs2rel($blddir); my @argvcopy=@ARGV; if (grep /^reconf(igure)?$/, @argvcopy) { + die "reconfiguring with other arguments present isn't supported" + if scalar @argvcopy > 1; if (-f "./configdata.pm") { my $file = "./configdata.pm"; unless (my $return = do $file) { |