We have one warning when building. This was on 11.20 but, I think, it affects all versions.
configure: WARNING: unrecognized options: --with-krb5
We should possibly see if the "unknown flags are errors" option like docker-library/php#632 (--enable-option-checking=fatal) works.