From a private discussion about preventing CFLAGS getting -std=gnu99 twice,
that leads to a bug report for gnulib and maybe autoconf too...
Begin forwarded message:
From: Gary V. Vaughan g...@gnu.org
Subject: Re: Getting AC_PROG_CC_C99
Date: 28 September 2011 12:38:33 GMT+07:00
To: Reuben
On 09/28/11 01:52, Gary V. Vaughan wrote:
Might as well try to fix it right in gnulib though, and maybe in autoconf
too if the latest release hasn't made it multi-call safe yet.
The simplest fix would be something like the patch at the end of
this message. This matches common practice anyway;
On 09/28/11 09:45, Bruno Haible wrote:
If the package's configure.ac already invokes AC_PROG_CC_STDC,
early on (i.e. usually right after AC_PROG_CC), then gnulib's
AC_REQUIRE([AC_PROG_CC_STDC])
will be a no-op.
Ah, sorry, then we're fine as-is, since it's normal practice
to put the