The regexps for extracting the version numbers of required programs

did not work with Solaris sed.
This commit is contained in:
David Monniaux 2000-11-02 15:38:23 +00:00
parent 0b34665fa8
commit a13d75a679
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ echo "see the file HACKING for more information..."
echo
echo "Testing autoconf... "
VER=`autoconf --version | sed "s/.* \([0-9.]*\)[a-z]\?$/\1/"`
VER=`autoconf --version | sed "s/.* \([0-9.]*\)[a-z]*$/\1/"`
if expr $VER \>= 2.13 >/dev/null; then
echo "looks OK."
else
@ -43,7 +43,7 @@ else
fi
echo "Testing automake... "
VER=`automake --version | grep automake | sed "s/.* \([0-9.]*\)[a-z]\?$/\1/"`
VER=`automake --version | grep automake | sed "s/.* \([0-9.]*\)[a-z]*$/\1/"`
if expr $VER \>= 1.4 >/dev/null; then
echo "looks OK."
else
@ -52,7 +52,7 @@ else
fi
echo "Testing gettextize... "
VER=`gettextize --version | grep gettext | sed "s/.* \([0-9.]*\)[a-z]\?$/\1/;s/0.//"`
VER=`gettextize --version | grep gettext | sed "s/.* \([0-9.]*\)[a-z]*$/\1/;s/0.//"`
if expr $VER \>= 10.35 >/dev/null; then
echo "looks OK."
else