Skip to content

Commit

Permalink
build: At least valac 0.16.1 is required
Browse files Browse the repository at this point in the history
  • Loading branch information
ricotz committed Sep 25, 2021
1 parent d072586 commit 192c6df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 192c6df

Please sign in to comment.