From: Richard Levitte Date: Thu, 30 Nov 2017 20:46:53 +0000 (+0100) Subject: Configure: die if there are other arguments with 'reconf' X-Git-Tag: OpenSSL_1_1_1-pre1~356 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7;p=oweals%2Fopenssl.git 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 (Merged from https://github.com/openssl/openssl/pull/4818) --- diff --git a/Configure b/Configure index 9624af4820..2690493016 100755 --- a/Configure +++ b/Configure @@ -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) {