Re: Wrong test for newer/older version of autoconf in the cvs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 25, 2000 at 01:39:43AM +0200, David Odin wrote:
>Testing autoconf...
>expr: syntax error
>too old! (Need 2.13, have 2.14
>  [ ... ]

Most likely, you have 2.14a or something like that. I sent a patch
to Sven a few days ago that should fix this -- you may want to do
a CVS update to see if he's commited it. If not, here's the patch I
sent Sven:

--- autogen.sh.old      Sat Jun 24 02:01:48 2000
+++ autogen.sh  Sat Jun 24 02:07:27 2000
@@ -34,7 +34,7 @@
 echo

 echo "Testing autoconf... "
-VER=`autoconf --version | sed "s/.* \([0-9.]*\)$/\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 @@
 fi

 echo "Testing automake... "
-VER=`automake --version | grep automake | sed "s/.* \([0-9.]*\)$/\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 @@
 fi

 echo "Testing gettextize... "
-VER=`gettextize --version | grep gettext | sed "s/.* \([0-9.]*\)$/\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

/* Steinar */
-- 
Homepage: http://members.xoom.com/sneeze/


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux