Remove reliance on abs_top_{src,build}dir variables from automake 1.10

This commit is contained in:
Daniel P. Berrange 2007-11-17 13:16:47 +00:00
parent 4d82d16dc1
commit 99c0470dd8
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Nov 17 13:05:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
* tests/Makefile.am: Set abs_top_{build,src}dir based on 'pwd'
since older automake does not provide these vars
Sat Nov 17 12:10:33 UTC 2007 Daniel P. Berrange <berrange@redhat.com>
* docs/Makefile.am: Added missing news.xsl to EXTRA_DIST

View File

@ -52,9 +52,12 @@ if ENABLE_XEN_TESTS
TESTS += reconnect
endif
# NB, automake < 1.10 does not provide the real
# abs_top_{src/build}dir variables, so don't rely
# on them here. Fake them with 'pwd'
TESTS_ENVIRONMENT = \
abs_top_builddir='$(abs_top_builddir)' \
abs_top_srcdir='$(abs_top_srcdir)' \
abs_top_builddir=`pwd`/$(top_builddir) \
abs_top_srcdir=`pwd`/$(top_srcdir) \
$(VG)
valgrind: