summaryrefslogtreecommitdiffstats
path: root/gettext-tools/misc/autopoint.in
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-02-07 12:03:33 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:09 +0200
commit62d22f1fb4cd68b07a6334116203f9e5bc91dfad (patch)
tree16c1602be94687b95ff42f47eecf8193181c8c64 /gettext-tools/misc/autopoint.in
parent56e317b6bb0c5dc5b98ed7a240fa845ba75bcf85 (diff)
downloadexternal_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.zip
external_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.tar.gz
external_gettext-62d22f1fb4cd68b07a6334116203f9e5bc91dfad.tar.bz2
Check the version number actively.
Diffstat (limited to 'gettext-tools/misc/autopoint.in')
-rw-r--r--gettext-tools/misc/autopoint.in15
1 files changed, 15 insertions, 0 deletions
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:
#