--- lib/autoconf/c.m4.orig 2014-06-09 09:40:18.640909445 -0700 +++ lib/autoconf/c.m4 2014-06-09 09:40:27.280972556 -0700 @@ -1742,7 +1742,7 @@ [#ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } +$ac_kw foo_t foo () {static_foo(); } #endif ])], [ac_cv_c_inline=$ac_kw])