diff --git a/cf/check-compile-et.m4 b/cf/check-compile-et.m4 index 54d4fbad2..6a8f3a215 100644 --- a/cf/check-compile-et.m4 +++ b/cf/check-compile-et.m4 @@ -43,7 +43,8 @@ fi AC_MSG_RESULT(${krb_cv_compile_et}) if test "${krb_cv_compile_et}" = "yes" -a "${krb_cv_compile_et_cross}" = no; then AC_MSG_CHECKING([for if com_err generates a initialize_conf_error_table_r]) - AC_EGREP_CPP(initialize_conf_error_table_r,[#include "conftest_et.h"], + AC_EGREP_CPP([initialize_conf_error_table_r.*struct et_list], + [#include "conftest_et.h"], [krb_cv_com_err_need_r="ok"]) if test X"$krb_cv_com_err_need_r" = X ; then AC_MSG_RESULT(no)