Fix "quiet inline" configure test for newer clang compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:29 +0000 (15:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:29 +0000 (15:30 -0400)
commit693a82dddf9657eb4cda2293acc219ca79066ab5
treedbbcaa399c54f77443ebd34ef643b57b07ea44fb
parente31193d495f668b2e2e98db290f36af83b6c70e8
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