* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add bison.
* gettext-tools/configure.ac: Don't invoke AC_PROG_YACC. Instead, invoke
gl_PROG_BISON, set YACC, and invoke gl_BISON.
#!/bin/sh
-# Copyright (C) 2003-2019 Free Software Foundation, Inc.
+# Copyright (C) 2003-2020 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
backupfile
basename
binary-io
+ bison
bison-i18n
byteswap
c-ctype
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
-AC_PROG_YACC
gt_JAVA_CHOICE
AM_CONDITIONAL([USE_INSTALLED_CSHARP_DLL],
[test "$gt_use_installed_csharp_dll" != no])
+dnl Check for bison and set YACC. (cldr-plural.y requires bison >= 3.0.)
+gl_PROG_BISON([TOOLS_BISON], [3.0], [1.* | 2.*])
+: ${YACC="${TOOLS_BISON} -o y.tab.c"}
+gl_BISON
dnl This line internationalizes the bison generated parsers.
BISON_I18N