]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Check the version number actively.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2005 12:03:33 +0000 (12:03 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:09 +0000 (12:12 +0200)
Admin/release-steps
gettext-tools/misc/ChangeLog
gettext-tools/misc/autopoint.in

index 8844e6c30627ab6448035fb8a0e9fd2b0217f6d5..9133def983580942e0ce90c2530e1394d01c9d86 100644 (file)
@@ -55,6 +55,6 @@ Tasks not to forget before release:
 
 - "make"; "make dist"; "make distcheck"
 - cd gettext-tools/misc; add-to-archive /somewhere/gettext-0.xx.yy.tar.gz
-  Then update the table in autopoint.in.
+  Then update the case statement and the table in autopoint.in.
 - again: "make dist"
 
index b38e64e04a936c2c1f1517037803a304baf4fb0b..729b7a90240008e45f89df67ae6178d0bbd55fde 100644 (file)
@@ -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.
index 8b0f1c0eb13fe30e3db2c87f4e9ffca339ca25fd..f7147e832fc1808f2027ce258a1d38d7b21863b8 100644 (file)
@@ -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:
 #