From 6d63bb4d7df65d29f5c8a2662fbad8044e78e03b Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 4 Oct 2012 12:53:18 +0200 Subject: Fix VPATH builds. --- test/ChangeLog | 7 +++++++ test/Makefile.am | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'test') 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 + + Fix VPATH builds. + + * Makefile.am (shlib-tests): config.h is in builddir. + (beginfile2): So is gawk itself. + 2012-09-23 Arnold D. Robbins * 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:: -- cgit v1.2.3