AC_PROG_LEX set to yywrap

With autoconf 2.70 and newer, you need to define either `yywrap`
or `noyywrap` as an option to AC_PROG_LEX.

https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/Particular-Programs.html#index-AC_005fPROG_005fLEX-1

`yywrap` is needed for kconfig.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
Bryan Hundven 2022-06-26 18:44:56 -07:00
parent 883ecbebb6
commit 015d039e5f

View File

@ -93,7 +93,7 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_LEX
AC_PROG_LEX(yywrap)
AC_PROG_YACC
AS_IF([test -z "$CC" -o -z "$CXX"],
[AC_MSG_ERROR([no suitable compiler found])])