summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-10-21 10:23:36 +0200
committerJürg Billeter <j@bitron.ch>2010-10-21 10:23:36 +0200
commitd78f664ae249124a67e15bc4b6c4ae07e87dffc2 (patch)
tree4ea15350da2a7506924507fd1b7f0c5ed03648f3 /autogen.sh
parent8d6470b33c74c90d522eb1b79a50e79963373182 (diff)
downloadvala-d78f664ae249124a67e15bc4b6c4ae07e87dffc2.tar.gz
build: Require valac >= 0.10.0 to build from git
Fixes bug 631729.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 1eaa1cc3f..7db4f1411 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/"