INN commit: trunk (configure.ac)
rra at isc.org
Sun Dec 6 10:45:21 UTC 2020
Date: Sunday, December 6, 2020 @ 02:45:20
configure.ac: use new Autoconf 2.70 syntax for AC_PROG_LEX
Use 'noyywrap' for AC_PROG_LEX.
Use AC_CONFIG_HEADERS instead of obsolete AC_CONFIG_HEADER.
>From Autoconf 2.70 documentation:
AC_PROG_LEX now takes one argument, which may be either 'yywrap' or
'noyywrap'. If it is 'noyywrap', AC_PROG_LEX will only set LEXLIB
to '-lfl' or '-ll' if a scanner that defines both main and yywrap
itself still needs something else from that library. On the other
hand, if it is 'yywrap', AC_PROG_LEX will fail (setting LEX to ':'
and LEXLIB to nothing) if it can't find a library that defines yywrap.
In the absence of arguments, AC_PROG_LEX's behavior is bug-compatible
with 2.69, which did neither of the above things. This mode is
Prior to Autoconf 2.70, AC_PROG_LEX did not take any arguments,
and its behavior was different from either of the above
possibilities: it would search for a library that defines 'yywrap',
and would set 'LEXLIB' to that library if it finds one. However,
if a library that defines this function could not be found,
'LEXLIB' would be left empty and 'LEX' would _not_ be reset. This
behavior was due to a bug.
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- configure.ac 2020-12-06 08:37:42 UTC (rev 10439)
+++ configure.ac 2020-12-06 10:45:20 UTC (rev 10440)
@@ -260,7 +260,7 @@
dnl Checks for programs.
@@ -713,7 +713,7 @@
dnl Most configuration information goes here.
dnl Generate the configure output.
More information about the inn-committers