]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix bison version recognition.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Sep 2001 21:39:01 +0000 (21:39 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Jun 2009 14:35:53 +0000 (16:35 +0200)
m4/ChangeLog
m4/gettext.m4

index 18cc4e6571da7c5fed68fa856128abfdff5e8546..8161845d22ece96ac567b240395daf0d5e3ab3b1 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-13  Bruno Haible  <haible@clisp.cons.org>
+
+       * gettext.m4 (AM_WITH_NLS): Change version determination of bison, so
+       that it also works with bison-1.29.
+       Reported by Karl Berry <karl@gnu.org>.
+
 2001-07-24  Bruno Haible  <haible@clisp.cons.org>
 
        * gettext-0.10.39 released.
index 5ac7c46a66b6f34deab7d448a1eb591495e8651e..e4d524cf0fd32c36746565b3e38ef2b0428a8356 100644 (file)
@@ -243,7 +243,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
       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'`
+      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].*)