Re: heads up RE autoconf C23 vs legacy code

Thomas Klausner <[email protected]> Thu, 2 Jul 2026 22:23:58 +0200
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
On Thu, Jul 02, 2026 at 10:11:47PM +0100, Tobias Nygren wrote:
> 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.

I wonder if we should start committing the generated files to CVS.
For example, I don't expect another release of scmcvs, so we should be
safe to generate them now and then never touch them again.
 Thomas