From b2e0bbdf409615988677fd8f43d28badf753c3a7 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Thu, 17 Nov 2022 22:45:07 -0500 Subject: [PATCH] Avoid Gnulib std-gnu11 module. It has come to my attention that this module rewrites AC_PROG_CC in a way that actually breaks Automake's AM_PROG_CC_C_O functionality. This results in the "compile" script not being included or used in packages bootstrapped with Autoconf 2.69. With later versions of Autoconf things work because this module doesn't touch things and thus disables itself. I don't care about building with C11 one way or the other. Let's just skip the module. --- m4/gnulib-cache.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index e7a0fcf..da8934c 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -39,6 +39,7 @@ # --no-libtool \ # --macro-prefix=gl \ # --no-vc-files \ +# --avoid=std-gnu11 \ # flexmember \ # gethrxtime \ # getopt-gnu \ @@ -60,7 +61,7 @@ gl_MODULES([ mbswidth striconv ]) -gl_AVOID([]) +gl_AVOID([std-gnu11]) gl_SOURCE_BASE([lib]) gl_M4_BASE([m4]) gl_PO_BASE([]) -- 2.43.2