[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext version-numbering problems in Bison (+ Bison patch)
From: |
Paul Eggert |
Subject: |
Re: gettext version-numbering problems in Bison (+ Bison patch) |
Date: |
Wed, 26 May 2004 12:27:16 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> The developer who writes AM_GNU_GETTEXT_VERSION(0.14.1) is therefore the
> one who pushes all other developers.
Ah, I didn't know that: I thought it was both minimum and maximum.
Sorry about the confusion.
> You can write AM_GNU_GETTEXT_VERSION(0.11.5).
Wow, how did you know that was the correct version for Bison?
I tried saying 0.11.4 instead but that didn't work: the output said
aclocal: macro `jm_AC_TYPE_UNSIGNED_LONG_LONG' required but not defined
I don't know why that happens (this is still all a bit mysterious to
me), but I'll stick with 0.11.5. Alas, Debian stable still uses
0.10.40.
I installed this change to Bison.
2004-05-26 Paul Eggert <address@hidden>
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to
0.11.5. Suggested by Bruno Haible.
* bootstrap: Remove gettext version checking.
Index: configure.ac
===================================================================
RCS file: /cvsroot/bison/bison/configure.ac,v
retrieving revision 1.44
diff -p -u -r1.44 configure.ac
--- configure.ac 25 May 2004 05:43:14 -0000 1.44
+++ configure.ac 26 May 2004 19:19:22 -0000
@@ -103,7 +103,7 @@ BISON_PREREQ_TIMEVAR
# gnulib and gettext.
GNULIB_AUTOCONF_SNIPPET
-AM_GNU_GETTEXT_VERSION([0.14.1])
+AM_GNU_GETTEXT_VERSION([0.11.5])
# Initialize the test suite.
AC_CONFIG_TESTDIR(tests)
Index: bootstrap
===================================================================
RCS file: /cvsroot/bison/bison/bootstrap,v
retrieving revision 1.11
diff -p -u -r1.11 bootstrap
--- bootstrap 26 May 2004 06:46:02 -0000 1.11
+++ bootstrap 26 May 2004 19:19:22 -0000
@@ -43,32 +43,6 @@ do
esac
done
-# Check that gettext version matches what's in configure.ac.
-# FIXME: We shouldn't have to modify configure.ac every time
-# a new gettext version comes out.
-{
- gettext_version_output=`LC_ALL=C gettext --version` &&
- case $gettext_version_output in
- 'gettext (GNU '*) ;;
- *) false;;
- esac
-} || {
- echo >&2 "$0: Please install GNU gettext first."
- exit 1
-}
-newline='
-'
-last_word_in_first_line="[^$newline]* \\([^$newline]*\\)"
-gettext_have=`expr "$gettext_version_output" : "$last_word_in_first_line"`
-gettext_need=`
- sed -n '/^AM_GNU_GETTEXT_VERSION/{ s/.*\[//; s/].*//; p; q; }' configure.ac
-`
-[ "$gettext_have" = "$gettext_need" ] || {
- echo >&2 "$0: Your gettext version is $gettext_have."
- echo >&2 "$0: Please install and use gettext-$gettext_need instead."
- exit 1
-}
-
echo "$0: Bootstrapping CVS $package..."
build_cvs_prefix() {