[vala] build: Require valac >= 0.12.0 to build from git
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] build: Require valac >= 0.12.0 to build from git
- Date: Thu, 21 Jul 2011 19:21:25 +0000 (UTC)
commit 65e0a9d178976f533a153adb9c06c51c4110f17f
Author: JÃrg Billeter <j bitron ch>
Date: Thu Jul 21 21:18:33 2011 +0200
build: Require valac >= 0.12.0 to build from git
Fixes bug 655061.
autogen.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 7db4f14..7d48667 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/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]