]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: Require valac >= 0.10.0 to build from git
authorJürg Billeter <j@bitron.ch>
Thu, 21 Oct 2010 08:23:36 +0000 (10:23 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 21 Oct 2010 08:23:36 +0000 (10:23 +0200)
Fixes bug 631729.

autogen.sh

index 1eaa1cc3fb2b018617cfde45208d77023b9d27bb..7db4f1411d559cc48a83814eb7e5d67acf95db1f 100755 (executable)
@@ -7,9 +7,9 @@ ORIGDIR=`pwd`
 cd $srcdir
 
 test -z "$VALAC" && VALAC=valac
-if ! $VALAC --version | sed -e 's/^.*\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/\1/' | grep -vq '^0\.[0-6]$'
+if ! $VALAC --version | sed -e 's/^.*\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/\1/' | grep -vq '^0\.[0-9]$'
 then
-    echo "**Error**: You must have valac >= 0.7.0 installed"
+    echo "**Error**: You must have valac >= 0.10.0 installed"
     echo "  to build vala. Download the appropriate package"
     echo "  from your distribution or get the source tarball at"
     echo "  http://download.gnome.org/sources/vala/"