diff options
author | Bruno Haible <bruno@clisp.org> | 2005-02-07 12:03:33 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:09 +0200 |
commit | 62d22f1fb4cd68b07a6334116203f9e5bc91dfad (patch) | |
tree | 16c1602be94687b95ff42f47eecf8193181c8c64 /gettext-tools | |
parent | 56e317b6bb0c5dc5b98ed7a240fa845ba75bcf85 (diff) | |
download | external_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.zip external_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.tar.gz external_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.tar.bz2 |
Check the version number actively.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/misc/ChangeLog | 6 | ||||
-rw-r--r-- | gettext-tools/misc/autopoint.in | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index b38e64e..729b7a9 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,9 @@ +2005-02-05 Bruno Haible <bruno@clisp.org> + + * autopoint.in: Check the version number, instead of relying on cvs + for doing so. + Reported by Paul Eggert. + 2005-01-10 Bruno Haible <bruno@clisp.org> Security fixes. diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in index 8b0f1c0..f7147e8 100644 --- a/gettext-tools/misc/autopoint.in +++ b/gettext-tools/misc/autopoint.in @@ -277,6 +277,21 @@ else fi fi +# Check whether the version number is supported. +case "$ver" in + 0.10.35 | 0.10.36 | 0.10.37 | 0.10.38 | 0.10.39 | 0.10.40 | \ + 0.11 | 0.11.1 | 0.11.2 | 0.11.3 | 0.11.4 | 0.11.5 | \ + 0.12 | 0.12.1 | \ + 0.13 | 0.13.1 | \ + 0.14 | 0.14.1 ) + ;; + *) + func_fatal_error "The AM_GNU_GETTEXT_VERSION declaration in your $configure_in\ + file requires the infrastructure from gettext-$ver but this version\ + is older. Please upgrade to gettext-$ver or newer." + ;; +esac + # We distribute the many different versions of the files in a CVS repository. # This guarantees a good compression rate: # |