set the krb5 check back to using AC_SEARCH_LIBS, instead of 2 separate lib tests. Now we also ONLY set HAVE_LIBKRB5 instead of 2 of them.
This should make incorporation fo HEIMDAL easier, I hope