configure: when performing a compiler feature test for a -Wno-foo flag, attempt
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 8 Feb 2013 22:55:10 +0000 (22:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 8 Feb 2013 22:55:10 +0000 (22:55 +0000)
commitd31bd24b40262ff97db47804472589a89a4bcfe4
treefeeb11481fc0b6f1041b152f8c1791f10f173953
parent1c66a18f84f25387d919c18c3d7a68ba22e18d01
configure: when performing a compiler feature test for a -Wno-foo flag, attempt
to use -Wfoo instead of -Wno-foo. This works around a bug in some versions of
gcc, where it will silently accept an unknown -Wno-foo option, but will
generate an error for a compile which uses -Wno-foo if that compile also
triggers any warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174770 91177308-0d34-0410-b5e6-96231b3b80d8
autoconf/m4/cxx_flag_check.m4
configure