]> granicus.if.org Git - postgresql/commit
Fix "quiet inline" configure test for newer clang compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:44 +0000 (15:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:44 +0000 (15:30 -0400)
commit9174c77f86755494d1b3845fffb7f30db0ba2ec1
tree460024b5f4350682995802dad971dd5e8863631b
parent7a4f114f3d30201ac39184e3cc9191a996a04dd9
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