Fix "quiet inline" configure test for newer clang compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 May 2014 20:16:36 +0000 (16:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 May 2014 20:16:36 +0000 (16:16 -0400)
commit4c8aa8b5aea1e032f569222d4b6c1019e84622dc
tree116edf673f0cd928a621b39fbf89e297440bb5fa
parent3f8c8e3c61cef5729980ee4372ec159862a979f1
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
config/c-compiler.m4
config/test_quiet_include.h [new file with mode: 0644]
configure