From d4d03244031a826518bbec769fdd5452b2c13dfe 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 7fd3466..6ab3fd5 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -39,6 +39,7 @@ # --libtool \ # --macro-prefix=gl \ # --no-vc-files \ +# --avoid=std-gnu11 \ # flexmember \ # fnmatch \ # getopt-gnu @@ -50,7 +51,7 @@ gl_MODULES([ fnmatch getopt-gnu ]) -gl_AVOID([]) +gl_AVOID([std-gnu11]) gl_SOURCE_BASE([lib]) gl_M4_BASE([m4]) gl_PO_BASE([]) -- 2.43.2