Re: heads up RE autoconf C23 vs legacy code

Tobias Nygren <[email protected]> Thu, 2 Jul 2026 22:11:47 +0200
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
On Thu, 02 Jul 2026 15:52:51 -0400
Greg Troxel <[email protected]> wrote:

> I think that's figuring out how to patch scmcvs's configure.in to ask
> for C99.  Or maybe it's in c89.

I found a somewhat reasonable workaround that does not require a patch:

CONFIGURE_ENV+=		ac_cv_prog_cc_c23=no

I will commit that unless there are better ideas.
The obvious drawback is we will have to add ac_cv_prog_cc_c29=no as well
a few years down the road.