From: Lyndon Nerenberg Date: Fri, 1 Feb 2013 15:25:44 +0000 (-0800) Subject: Fix configure tests for -Wfoo option support. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/88019cf6462cea565a09c62f400cc9ff74087a63?ds=sidebyside;hp=88019cf6462cea565a09c62f400cc9ff74087a63 Fix configure tests for -Wfoo option support. Drooped support for -Wunused-macros and -Wno-unused-macros. The warnings serve no useful purpose, and causing subsequent configure checks for -Wfoo flags to get messed up. Split each test of -Wfoo into a separate check. Include -Werror in the individual flag tests to ensure the test compile fails if the other flag isn't supported. Without this, clang issues a diagnostic message about the flag being ignored, but otherwise carries on, fooling configure into thinking the flag is in fact supported. ---