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:
Tor Lillqvist 2013-05-08 13:35:04 +03:00
parent 4e42ce3271
commit df4fd344b7

View file

@ -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";