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

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

Commit: 693a82dddf9657eb4cda2293acc219ca79066ab5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-05-02T19:30:29Z
Releases: 9.3.5
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