From: Jürg Billeter Date: Thu, 21 Jul 2011 19:18:33 +0000 (+0200) Subject: build: Require valac >= 0.12.0 to build from git X-Git-Tag: 0.13.2~126 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=65e0a9d178976f533a153adb9c06c51c4110f17f;p=thirdparty%2Fvala.git build: Require valac >= 0.12.0 to build from git Fixes bug 655061. --- diff --git a/autogen.sh b/autogen.sh index 7db4f1411..7d48667e9 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-9]$' +if ! $VALAC --version | sed -e 's/^Vala \([0-9]\+\.[0-9]\+\).*$/\1/' | grep -vq '^0\.\([0-9]\|1[0-1]\)$' then - echo "**Error**: You must have valac >= 0.10.0 installed" + echo "**Error**: You must have valac >= 0.12.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/"