diff options
-rw-r--r-- | test/ChangeLog | 7 | ||||
-rw-r--r-- | test/Makefile.am | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index b8e55945..3f5a7bce 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,10 @@ +2012-10-04 Akim Demaille <akim@lrde.epita.fr> + + Fix VPATH builds. + + * Makefile.am (shlib-tests): config.h is in builddir. + (beginfile2): So is gawk itself. + 2012-09-23 Arnold D. Robbins <arnold@skeeve.com> * lintwarn.ok: Updated. diff --git a/test/Makefile.am b/test/Makefile.am index 962ab6b2..135ddd80 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -986,7 +986,7 @@ machine-tests: $(MACHINE_TESTS) mpfr-tests: $(MPFR_TESTS) shlib-tests: - @if grep 'DYNAMIC 1' $(top_srcdir)/config.h > /dev/null ; then \ + @if grep 'DYNAMIC 1' $(top_builddir)/config.h > /dev/null ; then \ $(MAKE) shlib-real-tests ; \ else echo shlib tests not supported on this system ; \ fi @@ -1498,7 +1498,7 @@ beginfile1:: beginfile2: @echo $@ - @-( cd $(srcdir) && LC_ALL=C AWK="$(abs_builddir)/$(AWKPROG)" $(srcdir)/$@.sh $(srcdir)/$@.in ) > _$@ 2>&1 + @-( cd $(srcdir) && LC_ALL=C AWK="$(abs_builddir)/$(AWKPROG)" $(abs_srcdir)/$@.sh $(abs_srcdir)/$@.in ) > _$@ 2>&1 @-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@ dumpvars:: |