* t/vala4.sh: Don't run 'libtoolize', it's not truly required.
($required): Don't require 'libtoolize'.
(configure.ac): Don't invoke 'AC_PROG_LIBTOOL'.
* t/vala-mix.sh ($required): Require 'cc'.
Avoid some calls to 'framework_failure_', they were only useful when
this test was xfailing (to ensure it wasn't failing for the wrong
reasons).
Ensure the stamp file is created in the source directory.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# Test to make sure vala support handles from-scratch VPATH builds.
# See automake bug#8753.
-required="valac GNUmake"
+required="cc valac GNUmake"
. ./defs || Exit 1
cat >> configure.ac << 'END'
}
END
-$ACLOCAL || framework_failure_ "aclocal error"
-$AUTOCONF || framework_failure_ "autoconf error"
-$AUTOMAKE || framework_failure_ "automake error"
+$ACLOCAL
+$AUTOCONF
+$AUTOMAKE
mkdir build
cd build
../configure || Exit 77
$MAKE
+test -f ../foo_vala.stamp
grep foofoofoo ../hello.c
$MAKE distcheck
END
$MAKE
+test -f ../foo_vala.stamp
grep barbarbar ../hello.c
# Rebuild rules are not uselessly triggered.
# Test AM_PROG_VALAC.
-required=libtoolize
. ./defs || Exit 1
cat >> configure.ac << 'END'
AC_PROG_CC
-AC_PROG_LIBTOOL
AM_PROG_VALAC([0.0.1])
AC_OUTPUT
END
# Use $cwd instead of `pwd` in the && list below to avoid a bug in
# the way Solaris/Heirloom Sh handles 'set -e'.
-libtoolize
$ACLOCAL
$AUTOMAKE -a
$AUTOCONF