Make it a fatal error to pass unrecognized options to the configury
It might hurt a bit in the beginning if you have been careless with keeping your autogen.input up-to-date, but I think this is a good idea. Change-Id: I6b89c887c94755ac6ef50f63e0438ecec7157516
This commit is contained in:
parent
4e42ce3271
commit
df4fd344b7
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ if (defined $ENV{NOCONFIGURE}) {
|
|||
}
|
||||
}
|
||||
push @args, "--srcdir=$src_path";
|
||||
push @args, "--enable-option-checking=fatal";
|
||||
|
||||
print "Running ./configure with '" . join ("' '", @args), "'\n";
|
||||
system ("./configure", @args) && die "Error running configure";
|
||||
|
|
Loading…
Reference in a new issue