https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Forgot an important part:
--- config/gettext.m4.jj        2020-01-12 11:54:35.753423366 +0100
+++ config/gettext.m4   2020-04-16 12:34:51.466081569 +0200
@@ -1,5 +1,5 @@
 # gettext.m4 serial 20 (gettext-0.12)
-dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
+dnl Copyright (C) 1995-2020 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
 dnl Public License, this file may be distributed as part of a program
@@ -380,7 +380,7 @@ __fsetlocking])

   dnl intl/plural.c is generated from intl/plural.y. It requires bison,
   dnl because plural.y uses bison specific features. It requires at least
-  dnl bison-1.26 because earlier versions generate a plural.c that doesn't
+  dnl bison-3 because earlier versions generate a plural.c that doesn't
   dnl compile.
   dnl bison is only needed for the maintainer (who touches plural.y). But in
   dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
@@ -398,7 +398,7 @@ changequote(<<,>>)dnl
     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.*
\([0-9]*\.[0-9.]*\).*$/\1/p'`
     case $ac_prog_version in
       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
+      [3-9].*)
 changequote([,])dnl
          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;

Or perhaps keep what is in the trunk right now for GCC 10 and do it only for
GCC11.

Reply via email to