automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: fix a spurious failure with FreeBSD make


From: Stefano Lattarini
Subject: [FYI] {master} tests: fix a spurious failure with FreeBSD make
Date: Sun, 19 May 2013 00:17:27 +0200

Failures due to known VPATH support issues in that make implementation
(the same issues that have been causing the long-standing bug#7884).

* t/ltlibsrc.sh: Adjust.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/ltlibsrc.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/t/ltlibsrc.sh b/t/ltlibsrc.sh
index 04a029f..c497968 100644
--- a/t/ltlibsrc.sh
+++ b/t/ltlibsrc.sh
@@ -39,6 +39,13 @@ zoo_d_old2_la.c: $(srcdir)/old_la.c
 AUTOMAKE_OPTIONS = -Wno-unsupported
 END
 
+if useless_vpath_rebuild; then
+  unindent >> Makefile.am <<'END'
+    # Work around a known FreeBSD make issues in VPATH builds.
+    DISTCLEANFILES = zoo_d_old2_la.c
+END
+fi
+
 cat > foo.c << 'END'
 int foo (void)
 {
-- 
1.8.3.rc2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]