This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Should ylwap get installed by autoreconf -i?
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Cc: automake at gnu dot org, automake-patches at gnu dot org
- Date: 22 Sep 2002 16:55:24 +0200
- Subject: Re: Should ylwap get installed by autoreconf -i?
- References: <34998.1032581656@puss.pfcs.com>
>>> "Harlan" == Harlan Stenn <Harlan.Stenn@pfcs.com> writes:
[...]
Harlan> I'm asking because we have discovered that (since
Harlan> automake/1.5, at least) ylwrap is not being installed
Harlan> by either "automake --add-missing" or "autoreconf
Harlan> --install".
ylwrap is needed only if you have more than one yacc/lex file in
a directory.
I'm installing the following patch.
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.
Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.302
diff -u -r1.302 automake.texi
--- automake.texi 19 Sep 2002 09:24:58 -0000 1.302
+++ automake.texi 22 Sep 2002 14:53:54 -0000
@@ -2733,15 +2733,16 @@
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
--
Alexandre Duret-Lutz