Add support for forthcoming gettext 0.12.

This commit is contained in:
Pavel Roskin 2003-02-20 19:48:03 +00:00
parent 07c9f8d8b5
commit 1696ab2361

View File

@ -34,8 +34,10 @@ gettext_ver=`$GETTEXTIZE --version | \
s/.* //; # take text after the last space s/.* //; # take text after the last space
s/-.*//; # strip "-pre" or "-rc" at the end s/-.*//; # strip "-pre" or "-rc" at the end
s/\([^.][^.]*\)/0\1/g; # prepend 0 to every token s/\([^.][^.]*\)/0\1/g; # prepend 0 to every token
s/0\([^.][^.]\)/\1/g; # trim 0 from long tokens s/0\([^.][^.]\)/\1/g; # strip leading 0 from long tokens
s/$/.00.00/; # add .00.00 for short version strings
s/\.//g; # remove dots s/\.//g; # remove dots
s/\(......\).*/\1/; # leave only 6 leading digits
'` '`
if test $gettext_ver -lt 01038; then if test $gettext_ver -lt 01038; then