tests: ensure VPATH autom4te search path can find autotests.

* Makefile.am (tests/testsuite): Passing only $(srcdir) include path
to autom4te is unable to find tests/package.m4, and passing only
$(srcdir)/tests breaks VPATH build searches for TESTSUITE_AT files,
which are relative to $(srcdir)... so we pass both!
* NEWS: Updated.
Reported by Bob Friesenhahn.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
Gary V. Vaughan 2011-10-24 14:49:30 +07:00
parent 5db3dbc5b7
commit 166da4d2a2
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,13 @@
2011-10-24 Gary V. Vaughan <gary@gnu.org>
tests: ensure VPATH autom4te search path can find autotests.
* Makefile.am (tests/testsuite): Passing only $(srcdir) include path
to autom4te is unable to find tests/package.m4, and passing only
$(srcdir)/tests breaks VPATH build searches for TESTSUITE_AT files,
which are relative to $(srcdir)... so we pass both!
* NEWS: Updated.
Reported by Bob Friesenhahn.
2011-10-24 Karl Berry <karl@gnu.org>
doc: modernize libtool.texi.

View File

@ -619,7 +619,7 @@ INSTALLCHECK_ENVIRONMENT = \
tst_aclocaldir="$(aclocaldir)"
$(testsuite): $(package_m4) $(TESTSUITE_AT) Makefile.am
$(AUTOTEST) -I '$(srcdir)/tests' $(TESTSUITE_AT) -o '$@'
$(AUTOTEST) -I '$(srcdir)' -I '$(srcdir)/tests' $(TESTSUITE_AT) -o '$@'
$(package_m4): $(configure_ac) Makefile.am
{ \

3
NEWS
View File

@ -4,7 +4,8 @@ New in 2.4.4 201?-??-??: git version 2.4.3a, Libtool team:
* Bug fixes:
- Waiting for bug reports...
- Fix a long-standing latent bug in autom4te include path for autotests
with VPATH builds.
New in 2.4.2 2011-10-17: git version 2.4.1a, Libtool team: