From baa2f67b78284bff96eb9c95d6fa0fe9450f4ce5 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Fri, 12 Apr 2002 06:58:36 +0000 Subject: [PATCH] gettext_ver: Add leading 0 before one digit minor numbers like 0.11.1 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 4f9a5977b..9a5673cce 100755 --- a/autogen.sh +++ b/autogen.sh @@ -18,7 +18,7 @@ cd $srcdir rm -rf autom4te.cache vfs/samba/autom4te.cache # Ensure that gettext is reasonably new. -gettext_ver=`$GETTEXTIZE --version | sed -n '1s/\.//g;1s/.* //;1s/^\(...\)$/\100/p;1s/^\(....\)$/\10/p'` +gettext_ver=`$GETTEXTIZE --version | sed -n '1s/\.//g;1s/.* //;1s/^\(...\)$/\100/p;1s/^\(...\)\(.\)$/\10\2/p'` if test $gettext_ver -lt 01038; then echo "Don't use gettext older than 0.10.38" 2>&1 exit 1