]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
tests: ensure VPATH autom4te search path can find autotests.
authorGary V. Vaughan <gary@gnu.org>
Mon, 24 Oct 2011 07:49:30 +0000 (14:49 +0700)
committerGary V. Vaughan <gary@gnu.org>
Mon, 24 Oct 2011 09:09:25 +0000 (16:09 +0700)
* 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>
ChangeLog
Makefile.am
NEWS

index 8fc910eb164580dc67e23e6fdf4ae1d7a2b25ca7..bfd6fab96d7267d7eb8184ee17cd64c0995efa0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 09b61fa893b2c1aec71c90b3e044ade3a39c8c49..3df475163f60b70a4261c14d0a1a00f2f3878c0a 100644 (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
        { \
diff --git a/NEWS b/NEWS
index c5533c53721f13ea7df9cd8f75788cce99dbca1d..18772c8437d7fdfba8de4697997eca01fffe4840 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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: