On 28 Aug 2023, at 19:12, Ilya Maximets wrote:
> autoconf 2.70 deprecated the AC_PROG_CC_C99 macro and the AC_PROG_CC
> was recommended for use instead. However, older versions of that
> suggested macro do not attempt enabling C99, so it is not a direct
> replacement. Autoconf 2.69 and older are still widely used in many
> distributions.
>
> Another difference is that AC_PROG_CC attempts to enable C11 in new
> versions of autoconf. But since we have CI jobs that check -std=c99
> builds now, we can afford enabling C11 by default without risking
> compatibility issues.
>
> Fix a deprecation warning by using a new AC_PROG_CC macro with
> autoconf 2.70+. AC_PROG_CC and AC_PROG_CC_C99 seems to produce the
> same configuration script in autoconf 2.70+ anyway, so we're already
> kind of using a new macro on systems with a new autoconf.
>
> Signed-off-by: Ilya Maximets <[email protected]>
This changes looks good, and had no side effects on my systems.
Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev