statement. Report from Larry Jones.
+2001-04-07 Tom Tromey <tromey@redhat.com>
+
+ * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
+ statement. Report from Larry Jones.
+
2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (sgi): Fix sed expression. Report from Robert Boehne.
Kevin Street street@iname.com
Klaus Reichl Klaus.Reichl@alcatel.at
L. Peter Deutsch ghost@aladdin.com
+Larry Jones larry.jones@sdrc.com
Lars Hecking lhecking@nmrc.ucc.ie
Lars J. Aas larsa@sim.no
Maciej Stachowiak mstachow@mit.edu
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay!
- if "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP; then :
+ "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP
+ stat=$?
+ if test $stat -ne 0; then :
else
- stat=$?
rm -f "$tmpdepfile"
exit $stat
fi
if test -z "$gccflag"; then
gccflag=-MD,
fi
- if "$@" -Wp,"$gccflag$tmpdepfile"; then :
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
else
- stat=$?
rm -f "$tmpdepfile"
exit $stat
fi
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay!
- if "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP; then :
+ "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP
+ stat=$?
+ if test $stat -ne 0; then :
else
- stat=$?
rm -f "$tmpdepfile"
exit $stat
fi
if test -z "$gccflag"; then
gccflag=-MD,
fi
- if "$@" -Wp,"$gccflag$tmpdepfile"; then :
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
else
- stat=$?
rm -f "$tmpdepfile"
exit $stat
fi