4 test -z "$srcdir" && srcdir
=.
9 test -z "$VALAC" && VALAC
=valac
10 if ! $VALAC --version |
sed -e 's/^.*\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/\1/' |
grep -vq '^0\.[0-9]$'
12 echo "**Error**: You must have valac >= 0.10.0 installed"
13 echo " to build vala. Download the appropriate package"
14 echo " from your distribution or get the source tarball at"
15 echo " http://download.gnome.org/sources/vala/"
19 # Automake requires that ChangeLog exist.
24 autoreconf
-v --install ||
exit 1
25 cd $ORIGDIR ||
exit $?
27 if test -z "$NOCONFIGURE"; then
28 $srcdir/configure
--enable-maintainer-mode "$@"