And a related fix that solves a spurious testsuite failures in
VPATH builds.
* t/ax/test-defs.in ($am_testaux_builddir): New, counterpart of
$am_testaux_srcdir, but pointing inside the build directory.
* t/self-check-shell-no-trail-bslash.sh: Use $am_testaux_builddir,
not $am_testaux_srcdir, when fetching the 'shell-no-trail-bslash'
script.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# Where testsuite-related helper scripts, data files and shell libraries
# are placed.
am_testaux_srcdir=$am_top_srcdir/t/ax
+am_testaux_builddir=$am_top_builddir/t/ax
# Support for the "installcheck" target.
case ${am_running_installcheck:=no} in
@echo $(am__backslash)
END
-SHELL=$am_testaux_srcdir/shell-no-trail-bslash
+SHELL=$am_testaux_builddir/shell-no-trail-bslash
$SHELL -c 'exit 0'
test "$($SHELL -c 'echo is o\k')" = "is ok"