diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-02 15:30:35 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-02 15:30:35 -0400 |
commit | 5788052f3c6b2ac3d2bd761cbb333e50dad8670c (patch) | |
tree | b6265e1497a7470baea8595dcc6c8f8733affd5a /configure | |
parent | 8c43980a18c9801d693f39f40a5a26a51785d5fc (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure index d9390d114f4..341eaab149c 100755 --- a/configure +++ b/configure @@ -15104,7 +15104,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -static inline int fun () {return 0;} +#include "$srcdir/config/test_quiet_include.h" int main () { |