From: Stefano Lattarini Date: Sat, 18 May 2013 22:07:33 +0000 (+0200) Subject: tests: fix a spurious failure with FreeBSD make X-Git-Tag: v1.16~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d986f5d0ccb3b175b91de10f46100d3adce79f;p=thirdparty%2Fautomake.git tests: fix a spurious failure with FreeBSD make 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 --- diff --git a/t/ltlibsrc.sh b/t/ltlibsrc.sh index 04a029fe7..c4979684f 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) {