Re: AC_PROG_CC_C89 is not adding -std=c89 to CFLAGS

2017-01-16 Thread Dimitrios Apostolou
On Fri, 13 Jan 2017, Paul Eggert wrote: Dimitrios Apostolou wrote: I was expecting that adding AC_PROG_CC_C89 to configure.ac, would force C89 Eeeuuw. Who would want to do that? See the context in my first email, apparently some defines were not very well thought. Passing -std=gnu89 to CFL

Re: AC_PROG_CC_C89 is not adding -std=c89 to CFLAGS

2017-01-16 Thread Zack Weinberg
On Fri, Jan 13, 2017 at 8:12 PM, Dimitrios Apostolou wrote: > > recent GCC versions default to C99 or even C11. I was expecting that adding > AC_PROG_CC_C89 to configure.ac, would force C89, probably by using > -std=gnu89. But this was not the case. Any ideas why? Originally, AC_PROG_CC_C89 meant