@ -446,6 +446,10 @@ if test "x$use_krb5" = "xyes"; then
if test "x$KRB5_LIB" = x; then
AC_MSG_ERROR([gssapi_krb5 headers and/or libs where not found, install them or build with --without-krb5])
fi
case $host_os in
*cygwin* ) KRB5_LIB="$KRB5_LIB -lcom_err";;
* ) ;;
esac
AC_SUBST(KRB5_LIB)