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.
This commit is contained in:
Paul Eggert 2020-07-10 12:03:44 -07:00
parent 83798d2971
commit 63e8f7ad4d

View File

@ -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