From 015d039e5f0433f4b6af2261a13ce42973de6b7c Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 26 Jun 2022 18:44:56 -0700 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9d0df964..62ba6bfb 100644 --- a/configure.ac +++ b/configure.ac @@ -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])])