From 63e8f7ad4dd62cd1edba955d2a50d3eaaebc8eaf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 10 Jul 2020 12:03:44 -0700 Subject: [PATCH] Fix ac_compiler_gnu bug Problem and fix reported by Jannick in: https://lists.gnu.org/r/autoconf/2020-03/msg00045.html except that I omitted the comment, which I thought unnecessary. * lib/autoconf/lang.m4 (_AC_LANG_COMPILER_GNU): Set ac_compiler_gnu regardless of whether result was from cache. --- lib/autoconf/lang.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index 48cf5950..e39c30b0 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -353,7 +353,9 @@ m4_define([_AC_LANG_COMPILER_GNU], [ac_compiler_gnu=yes], [ac_compiler_gnu=no]) ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu -])])# _AC_LANG_COMPILER_GNU +]) +ac_compiler_gnu=$ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu +])# _AC_LANG_COMPILER_GNU # AC_LANG_PREPROC -- 2.47.2