# Test to make sure compiling Vala code really works with recursive make.
required="pkg-config valac gcc GNUmake"
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC
# And use of vapi files to call C code from Vala.
required="valac cc pkg-config libtoolize GNUmake"
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC
# Vala sources and C sources in the same program. Functional test.
required='valac cc GNUmake'
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac <<'END'
AC_PROG_CC
# program. Functional test. See automake bug#10894.
required='valac cc c++ GNUmake'
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac <<'END'
AC_PROG_CC
# Vala support with parallel make.
required='valac cc GNUmake'
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac <<'END'
AC_PROG_CC
# Test and that vapi files are correctly handled by Vala support.
required='valac cc GNUmake'
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac <<'END'
AC_PROG_CC
# See automake bug#8753.
required="cc valac GNUmake"
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_CONFIG_SRCDIR([hello.vala])
# Basic "grepping" test on vala support.
-. ./defs || exit 1
+. test-init.sh
# So that we won't require libtool macros.
cat > acinclude.m4 <<'END'
# Test to make sure compiling Vala code really works with recursive make.
required="pkg-config valac gcc GNUmake"
-. ./defs || exit 1
+. test-init.sh
mkdir src
# Test to make sure compiling Vala code really works with non-recursive make.
required="pkg-config valac gcc GNUmake"
-. ./defs || exit 1
+. test-init.sh
mkdir src
# Test AM_PROG_VALAC.
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC
# Test per-target flags.
required="pkg-config valac gcc GNUmake"
-. ./defs || exit 1
+. test-init.sh
mkdir src