--- heimdal-1.3.1/cf/check-compile-et.m4.orig +++ heimdal-1.3.1/cf/check-compile-et.m4 @@ -61,7 +61,7 @@ elif test "${krb_cv_compile_et}" = "yes"; then dnl Since compile_et seems to work, let's check libcom_err krb_cv_save_LIBS="${LIBS}" - LIBS="${LIBS} -lcom_err" + LIBS="${LIBS} -lcom_err -lpthread" AC_MSG_CHECKING(for com_err) AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],[[ const char *p;