]> git.ipfire.org Git - thirdparty/autoconf.git/commit
_AC_PROG_YYTEXT_DECL: Forward declare yywrap (#110312)
authorJannick <thirdedition@gmx.net>
Tue, 3 Nov 2020 15:11:23 +0000 (10:11 -0500)
committerZack Weinberg <zackw@panix.com>
Tue, 3 Nov 2020 15:11:23 +0000 (10:11 -0500)
commit15ada9d3a0e46c28c0a3af2357b64bbd14d818a8
treed4acbc9b64502436641554ce683ff9ab309c2c81
parent73f1be5e42e37644e9e742e9995fac250a9b3f25
_AC_PROG_YYTEXT_DECL: Forward declare yywrap (#110312)

Some versions of lex need you to forward-declare yywrap in a %{ %}
block before the rules section, if you’re going to define it yourself.

May help with bug #110312.

* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): In the test
  input to lex, forward-declare yywrap before the rules.
lib/autoconf/programs.m4