On 9/24/14 9:21 AM, Tom Lane wrote:
> Oskari Saarenmaa <os@ohmu.fi> writes:
>> ... so to enable XPG6 we'd need to use C99 mode anyway.
>
> OK.
>
>> Could we just use
>> -std=gnu99 (with -fgnu89-inline if required) with GCC on Solaris? ISTM
>> it would be cleaner to just properly enable c99 mode rather than define
>> an undocumented macro to use a couple of c99 declarations.
>
> Agreed, but what about non-GCC compilers?
Stick AC_PROG_CC_C99 into configure.in.