On 8/16/2023 10:55 AM, Stuart Henderson wrote: > On 2023/08/16 14:06, Brian Callahan wrote: >> On 8/16/2023 9:43 AM, Stuart Henderson wrote: >>> >>> also, the comment about why it's using a wrong version of autoconf >>> should have the version bumped to 2.71 (though if there's a problem >>> with AC_PROG_LEX in 2.70/2.71 that should probably be fixed in autoconf..) >> >> You may want to try using autoconf-2.71. The scripts were last reconf'd >> with 2.71, and I was the one who last reconf'd them, on an OpenBSD >> machine. Worked fine here. > > It fails in a ports build with 2.71, and it fails with the bundled > configure script. > > Seems that the problem is that ac_cv_prog_lex_root ("checking for > lex output file root... lex.yy" is set by ports infrastructure in > config.cache but that the subsequent "checking for lex library" > depends on the file created in the ac_cv_prog_lex_root check. >
Ah, I see the issue. Admittedly, I don't build pcc within the ports tree, so with lex.yy not cached, things work fine. ~Brian