Re: Feature request: AC_PROG_CC_* macros for gnu89/gnu99-compliant compiler

2013-02-02 Thread Paul Eggert
On 02/02/2013 05:13 AM, Michał Górny wrote: In order to solve that properly, I would like to request having two new macros in autoconf: AC_PROG_CC_GNU89 and AC_PROG_CC_GNU99, in a similar manner to the AC_PROG_CC_C99 macro. We've been moving in the opposite direction: AC_PROG_CC_STDC,

Re: Feature request: AC_PROG_CC_* macros for gnu89/gnu99-compliant compiler

2013-02-02 Thread Michał Górny
On Sat, 02 Feb 2013 08:36:17 -0800 Paul Eggert egg...@cs.ucla.edu wrote: On 02/02/2013 05:13 AM, Michał Górny wrote: In order to solve that properly, I would like to request having two new macros in autoconf: AC_PROG_CC_GNU89 and AC_PROG_CC_GNU99, in a similar manner to the AC_PROG_CC_C99

Re: Feature request: AC_PROG_CC_* macros for gnu89/gnu99-compliant compiler

2013-02-02 Thread Paul Eggert
On 02/02/2013 09:09 AM, Michał Górny wrote: The major issue we've been having is difference in inline semantics between gnu89 and c99. It hit us at least with libgcrypt [1,2], pkg-config [3,4], e2fsprogs [5]. OK, this is a different matter than what AC_PROG_CC will do. AC_PROG_CC will enable