]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
build: At least valac 0.16.1 is required
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 25 Sep 2021 13:31:28 +0000 (15:31 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 4 Oct 2021 08:38:49 +0000 (10:38 +0200)
autogen.sh

index d73d92d3d02e53a43a371f5f404b063416a07a24..69204b247f99536be84bca58934cb750bdce5e10 100755 (executable)
@@ -7,12 +7,12 @@ ORIGDIR=`pwd`
 cd $srcdir
 
 test -z "$VALAC" && VALAC=valac
-if ! $VALAC --version | sed -e 's/^Vala \([0-9]\+\.[0-9]\+\).*$/\1/' | grep -vq '^0\.\([0-9]\|1[0-1]\)$'
+if ! $VALAC --version | sed -e 's/^Vala \([0-9]\+\.[0-9]\+\).*$/\1/' | grep -vq '^0\.\([0-9]\|1[0-5]\)$'
 then
-    echo "**Error**: You must have valac >= 0.12.0 installed"
+    echo "**Error**: You must have valac >= 0.16.1 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/"
+    echo "  https://download.gnome.org/sources/vala/"
     exit 1
 fi