While there is a RUNTESTDEFAULTFLAGS, there is no AM_ variant. The docs probably meant RUNTESTFLAGS which has the variants and is meant to be overridden by people, so swap the name in the docs.
* doc/automake.texi (Other Variables): Change RUNTESTDEFAULTFLAGS to RUNTESTFLAGS. --- doc/automake.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/automake.texi b/doc/automake.texi index c8501aaaf1e3..5f70e370c158 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -12578,8 +12578,8 @@ Automake to think that this is actually a per-target variable (like There are other variables in Automake that follow similar principles to allow user options. For instance, Texinfo rules (@pxref{Texinfo}) use @code{MAKEINFOFLAGS} and @code{AM_MAKEINFOFLAGS}. Similarly, -DejaGnu tests (@pxref{DejaGnu Tests}) use @code{RUNTESTDEFAULTFLAGS} and -@code{AM_RUNTESTDEFAULTFLAGS}. The tags and ctags rules +DejaGnu tests (@pxref{DejaGnu Tests}) use @code{RUNTESTFLAGS} and +@code{AM_RUNTESTFLAGS}. The tags and ctags rules (@pxref{Tags}) use @code{ETAGSFLAGS}, @code{AM_ETAGSFLAGS}, @code{CTAGSFLAGS}, and @code{AM_CTAGSFLAGS}. Java rules (@pxref{Java}) use @code{JAVACFLAGS} and @code{AM_JAVACFLAGS}. None -- 2.30.0