From 99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 30 Nov 2017 21:46:53 +0100 Subject: [PATCH] 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) --- Configure | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.25.1