* m4/lex.m4: Pass on any arguments given to AC_PROG_LEX.
* doc/automake.texi: Describe this.
* NEWS: Mention this.
* THANKS: New contributor.
- tests: avoid some declaration conflicts for lex et al. on SunOS.
+ - Pass any options given to AM_PROG_LEX on to AC_PROG_LEX.
+
* Obsolescent features:
- py-compile no longer supports Python 0.x or 1.x versions. Python 2.0,
Loulou Pouchet loulou@lrde.epita.fr
Ludovic Courtès ludo@gnu.org
Lukas Fleischer lfleischer@lfos.de
+Łukasz Stelmach stlman@poczta.fm
Luo Yi luoyi.ly@gmail.com
Maciej Stachowiak mstachow@mit.edu
Maciej W. Rozycki macro@ds2.pg.gda.pl
checks itself, and thus the explicit use of @code{AM_PROG_CC_C_O}
should no longer be required.
-@item AM_PROG_LEX
+@item AM_PROG_LEX([@var{options}])
@acindex AM_PROG_LEX
@acindex AC_PROG_LEX
@cindex HP-UX 10, @command{lex} problems
Like @code{AC_PROG_LEX} (@pxref{Particular Programs, , Particular
Program Checks, autoconf, The Autoconf Manual}), but uses the
@command{missing} script on systems that do not have @command{lex}.
-HP-UX 10 is one such system.
+HP-UX 10 is one such system. @var{options} are passed directly to
+@code{AC_PROG_LEX}.
@item AM_PROG_GCJ
@acindex AM_PROG_GCJ
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# AM_PROG_LEX
-# -----------
+# AM_PROG_LEX([OPTIONS])
+# --------------------
# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
# "missing" invocation, for better error output.
AC_DEFUN([AM_PROG_LEX],
[AC_PREREQ([2.50])dnl
AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
-AC_REQUIRE([AC_PROG_LEX])dnl
+AC_PROVIDE_IFELSE([AC_PROG_LEX], [], [AC_PROG_LEX($@)])dnl
if test "$LEX" = :; then
LEX=${am_missing_run}flex
fi])