Would help to attach the patch.
Oh, the include/krb5 test for includes is so that the heimdal code canfind /usr/include/krb5/krb5.h (--with-krb5=/usr).
Take care,
Bill