automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AC_PROG_LEX invoked multiple times


From: Akim Demaille
Subject: AC_PROG_LEX invoked multiple times
Date: 19 May 2001 19:01:57 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
        multiple times'' warning.

Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.208
diff -u -u -r1.208 automake.texi
--- automake.texi 2001/05/18 01:14:52 1.208
+++ automake.texi 2001/05/19 17:01:11
@@ -1302,6 +1302,15 @@
 but uses the @code{missing} script on systems that do not have
 @code{lex}.  @samp{HP-UX 10} is one such system.
 
+Autoconf 2.50 and higher, in order to simplify the interface, includes
+the body of @code{AC_DECL_YYTEXT} in @code{AC_PROG_LEX}.  To ensure
+backward compatibility, @code{AC_DECL_YYTEXT} is nevertheless defined as
+an invocation of @code{AC_PROG_LEX}.  Since @code{AM_PROG_LEX} invokes
+both, it causes an annoying but benign warning (@code{AC_PROG_LEX}
+invoked multiple times) which you should just ignore.  In the future,
+once Automake requires Autoconf 2.50, this issue will be fixed, but the
+current compatibility with Autoconf 2.13 prevents this.
+
 @item AM_PROG_GCJ
 This macro finds the @code{gcj} program or causes an error.  It sets
 @samp{GCJ} and @samp{GCJFLAGS}.  @code{gcj} is the Java front-end to the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]