[vala] build: Require valac >= 0.10.0 to build from git



commit d78f664ae249124a67e15bc4b6c4ae07e87dffc2
Author: Jürg Billeter <j bitron ch>
Date:   Thu Oct 21 10:23:36 2010 +0200

    build: Require valac >= 0.10.0 to build from git
    
    Fixes bug 631729.

 autogen.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 1eaa1cc..7db4f14 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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/";



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