[vala/staging] build: At least valac 0.16.1 is required



commit 192c6dfed03b3f277d86ce58c2992d7fcc5e9829
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Sep 25 15:31:28 2021 +0200

    build: At least valac 0.16.1 is required

 autogen.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index d73d92d3d..69204b247 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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
 


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