-# intl.m4 serial 40 (gettext-0.20.2)
+# intl.m4 serial 41 (gettext-0.21)
dnl Copyright (C) 1995-2014, 2016-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl files or have a broken "make" program, hence the plural.c rule will
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
dnl present or too old.
- AC_CHECK_PROGS([INTLBISON], [bison])
- if test -z "$INTLBISON"; then
- ac_verc_fail=yes
- else
- dnl Found it, now check the version.
- AC_MSG_CHECKING([version of bison])
-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.[0-6] | 2.[0-6].*)
-changequote([,])dnl
- ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
- *) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
- esac
- AC_MSG_RESULT([$ac_prog_version])
- fi
- if test $ac_verc_fail = yes; then
- INTLBISON=:
- fi
+ gl_PROG_BISON([INTLBISON], [2.7], [1.* | 2.[0-6] | 2.[0-6].*])
])
dnl Copies _GL_UNUSED and _GL_ATTRIBUTE_PURE definitions from