summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-11-30 21:46:53 +0100
committerRichard Levitte <levitte@openssl.org>2017-12-08 00:36:21 +0100
commit99aeeecb9f59ab6d6cdb13ed07a30c11e89a32e7 (patch)
treed2622dae2169807744bebb441fe63298951763ad /Configure
parenta064c6158e2deb706a09dd8ca95523c97ecbfb2d (diff)
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-xConfigure2
1 files changed, 2 insertions, 0 deletions
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) {