+2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
+ Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
+ * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
+
2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
For automake/354:
installcheck-%DIR%PROGRAMS: $(%DIR%_PROGRAMS)
bad=0; pid=$$$$; list="$(%DIR%_PROGRAMS)"; for p in $$list; do \
case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \
- *" $$p "*) continue;; \
+## Match $(srcdir)/$$p in addition to $$p because Sun make might rewrite
+## filenames in AM_INSTALLCHECK_STD_OPTIONS_EXEMPT during VPATH builds.
+ *" $$p "* | *" $(srcdir)/$$p "*) continue;; \
esac; \
## Strip the directory and $(EXEEXT) before applying $(transform).
f=`echo "$$p" | \
installcheck-%DIR%SCRIPTS: $(%DIR%_SCRIPTS)
bad=0; pid=$$$$; list="$(%DIR%_SCRIPTS)"; for p in $$list; do \
case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \
- *" $$p "*) continue;; \
+## Match $(srcdir)/$$p in addition to $$p because Sun make might rewrite
+## filenames in AM_INSTALLCHECK_STD_OPTIONS_EXEMPT during VPATH builds.
+ *" $$p "* | *" $(srcdir)/$$p "*) continue;; \
esac; \
## Strip any leading directory before applying $(transform).
f=`echo "$$p" | sed 's,^.*/,,;$(transform)'`; \