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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user