From 015d039e5f0433f4b6af2261a13ce42973de6b7c Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 26 Jun 2022 18:44:56 -0700 Subject: 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(-) (limited to 'configure.ac') 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])]) -- cgit v1.2.3 From b30acd362551dc3335729b32be833beaea20253b Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 26 Jun 2022 18:50:11 -0700 Subject: Remove obsolete AC_HEADER_STDC As described in detail here: https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Particular-Headers.html#index-AC_005fHEADER_005fSTDC-1 We no longer need AC_HEADER_STDC in configure.ac Signed-off-by: Bryan Hundven --- configure.ac | 1 - 1 file changed, 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 62ba6bfb..c750a385 100644 --- a/configure.ac +++ b/configure.ac @@ -300,7 +300,6 @@ CTNG_SET_KCONFIG_OPTION([sha512sum]) # FIXME why checking if not using the result? We don't provide replacemant malloc/alloca/... AC_C_INLINE -AC_HEADER_STDC AC_FUNC_MALLOC AC_FUNC_REALLOC AC_FUNC_ALLOCA -- cgit v1.2.3 From 7942a5403f4a0a5e640584c9a2f5e9a5f5345611 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Mon, 27 Jun 2022 12:29:24 -0700 Subject: M4 quote yywrap in AC_PROG_LEX It didn't output an error, but it's best practice. Signed-off-by: Bryan Hundven --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c750a385..aac25a12 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(yywrap) +AC_PROG_LEX([yywrap]) AC_PROG_YACC AS_IF([test -z "$CC" -o -z "$CXX"], [AC_MSG_ERROR([no suitable compiler found])]) -- cgit v1.2.3 From 2691866af1ed2475e68363d9289a3c1b61475dd3 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Mon, 27 Jun 2022 12:30:02 -0700 Subject: Bump autoconf requirement to 2.69 This will help with moving forward with newer 2.70 compatibility. Signed-off-by: Bryan Hundven --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index aac25a12..21a6b444 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ([2.67]) +AC_PREREQ([2.69]) AC_INIT( [crosstool-NG], -- cgit v1.2.3