2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
+ * automake.texi (Yacc and Lex): ylwrap is used only when there is
+ more than one yacc or lex source file in a directory.
+
* automake.in (macro_define): Update a variable's location each
time its owner is updated.
* tests/gnuwarn.test: Append to CFLAGS to check for this.
Automake makes it possible to include multiple @code{yacc} (or
-@code{lex}) source files in a single program. Automake uses a small
-program called @code{ylwrap} to run @code{yacc} (or @code{lex}) in a
-subdirectory. This is necessary because yacc's output filename is
-fixed, and a parallel make could conceivably invoke more than one
-instance of @code{yacc} simultaneously. The @code{ylwrap} program is
-distributed with Automake. It should appear in the directory specified
-by @samp{AC_CONFIG_AUX_DIR} (@pxref{Input, , Finding `configure' Input,
-autoconf, The Autoconf Manual}), or the current directory if that macro
-is not used in @file{configure.in}.
+@code{lex}) source files in a single program. When there is more than
+one distinct @code{yacc} (or @code{lex}) source file in a directory,
+Automake uses a small program called @code{ylwrap} to run @code{yacc}
+(or @code{lex}) in a subdirectory. This is necessary because yacc's
+output filename is fixed, and a parallel make could conceivably invoke
+more than one instance of @code{yacc} simultaneously. The @code{ylwrap}
+program is distributed with Automake. It should appear in the directory
+specified by @samp{AC_CONFIG_AUX_DIR} (@pxref{Input, , Finding
+`configure' Input, autoconf, The Autoconf Manual}), or the current
+directory if that macro is not used in @file{configure.in}.
For @code{yacc}, simply managing locking is insufficient. The output of
@code{yacc} always uses the same symbol names internally, so it isn't