3 |
# |
# |
4 |
# This file can be copied and used freely without restrictions. It can |
# This file can be copied and used freely without restrictions. It can |
5 |
# be used in projects which are not available under the GNU General Public |
# be used in projects which are not available under the GNU General Public |
6 |
# License but which still want to provide support for the GNU gettext |
# License or the GNU Library General Public License but which still want |
7 |
# functionality. |
# to provide support for the GNU gettext functionality. |
8 |
# Please note that the actual code of GNU gettext is covered by the GNU |
# Please note that the actual code of the GNU gettext library is covered |
9 |
# General Public License and is *not* in the public domain. |
# by the GNU Library General Public License, and the rest of the GNU |
10 |
|
# gettext package package is covered by the GNU General Public License. |
11 |
|
# They are *not* in the public domain. |
12 |
|
|
13 |
# serial 10 |
# serial 10 |
14 |
|
|
243 |
dnl Found it, now check the version. |
dnl Found it, now check the version. |
244 |
AC_MSG_CHECKING([version of bison]) |
AC_MSG_CHECKING([version of bison]) |
245 |
changequote(<<,>>)dnl |
changequote(<<,>>)dnl |
246 |
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` |
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` |
247 |
case $ac_prog_version in |
case $ac_prog_version in |
248 |
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
249 |
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) |
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) |