# See if any _SOURCES (or _LIBADD, or ...) variable were misspelled.
$output_checks .= preprocess_file ("$libdir/am/check-typos.am",
MAKEFILE => basename ($makefile));
- # Report errors (if any) seen at make runtime.
+ # Bail out if we have encountered errors at make runtime. The
+ # relevant diagnostic should have already been reported by any
+ # call to the function '$(am.error)', so we just print a generic
+ # "errors seen, stopping" message.
$output_checks .= '$(if $(am__seen_error),' .
'$(error Some Automake-NG error occurred))' .
"\n";