Fix "quiet inline" configure test for newer clang compilers.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4c8aa8b5aea1e032f569222d4b6c1019e84622dc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-05-01T20:16:36Z
Releases: 9.4.0
Fix "quiet inline" configure test for newer clang compilers.

This test used to just define an unused static inline function and check
whether that causes a warning.  But newer clang versions warn about
unused static inline functions when defined inside a .c file, but not
when defined in an included header, which is the case we care about.
Change the test to cope.

Andres Freund

Files

PathChange+/−
config/c-compiler.m4 modified +13 −2
config/test_quiet_include.h added +5 −0
configure modified +1 −1