Hi Hilmar, On Mon, Apr 28, 2025 at 11:19:00PM +0200, Hilmar Preusse wrote: > I've applied the patch to the repo for now. Unfortunately the build > fails: > > Disabled the TrueType1 font driver > ./configure: line 5538: syntax error near unexpected token > `FREETYPE2,freetype2' > ./configure: line 5538: ` PKG_CHECK_MODULES(FREETYPE2,freetype2)' > > Please review, thanks!
Yes. I hinted at the problem in my submission as I am seeing it in the same way. For some reason autoconf does not pick up pkgconf's pkg.m4 and does not substitute PKG_CHECK_MODULES. I suggested that you may need to vendor pkg.m4 into aclocal.m4. It is not clear to me when autoconf searches /usr/share/aclocal and when not. It also appears to not read acinclude.m4 here. Helmut