* tests/compile.test: Check for this.
+2004-10-12 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/compile: Handle output.obj in addition to output.o.
+ * tests/compile.test: Check for this.
+
2004-10-11 Alexandre Duret-Lutz <adl@gnu.org>
* doc/automake.texi (Sources): Typo, reported by Karl Berry.
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
-scriptversion=2004-09-10.20
+scriptversion=2004-10-12.08
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
if test -f "$cofile"; then
mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
test ! -f ./-o
test ! -f a.o
test -f a.c
+
+# Make sure `compile' works for .obj too.
+./compile touch a.obj -- -o ac.obj a.c
+test ! -f a.obj
+test ac.obj