aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-04 12:53:18 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-04 12:53:18 +0200
commit6d63bb4d7df65d29f5c8a2662fbad8044e78e03b (patch)
tree6f9007e4bfa8737898c620f66e33b2a65984ac96
parente7bdf5ebd4162172e79c00196061af625bd729f2 (diff)
downloadegawk-6d63bb4d7df65d29f5c8a2662fbad8044e78e03b.tar.gz
egawk-6d63bb4d7df65d29f5c8a2662fbad8044e78e03b.tar.bz2
egawk-6d63bb4d7df65d29f5c8a2662fbad8044e78e03b.zip
Fix VPATH builds.
-rw-r--r--test/ChangeLog7
-rw-r--r--test/Makefile.am4
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::