From df4fd344b7b5d5dfb7cbf2f7a91ed6e86a2aaef8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 8 May 2013 13:35:04 +0300 Subject: [PATCH] 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 --- autogen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/autogen.sh b/autogen.sh index 0e61ee5a083e..7b1b72635b98 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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";