Having pkg-config support would allow us to simplify the build process of FrankenPHP. Cgo (as many other tools) has native support for pkg-config. We'll remove many hardcoded paths that are difficult to override for end users.
FrankenPHP doesn't use the embed SAPI, but does rely on libphp to provide its own SAPI. It would be nice to have it in 8.4 (it could even be nicer to backport this patch in older supported branches). Thanks for having contributed to this Peter!