cd $srcdir
test -z "$VALAC" && VALAC=valac
-if ! $VALAC --version | sed -e 's/^.*\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/\1/' | grep -vq '^0\.[0-6]$'
+if ! $VALAC --version | sed -e 's/^.*\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/\1/' | grep -vq '^0\.[0-9]$'
then
- echo "**Error**: You must have valac >= 0.7.0 installed"
+ echo "**Error**: You must have valac >= 0.10.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/"