diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:26:55 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:26:55 +0000 |
commit | 04573316bc083ce18e4488042ec0d0bf305ec06a (patch) | |
tree | 64c0dbbc2f9aae8d14f5bae82aa4a9e2afd033d1 | |
parent | f97ff81ca2073c9301771fd7a3534b2b86e20833 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
-rw-r--r-- | gccmdep.cpp | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gccmdep.cpp b/gccmdep.cpp index 4578b71..8f39d0d 100644 --- a/gccmdep.cpp +++ b/gccmdep.cpp @@ -3,29 +3,21 @@ XCOMM!/bin/sh XCOMM XCOMM makedepend which uses 'gcc -M' XCOMM -XCOMM $XFree86: xc/config/util/gccmdep.cpp,v 3.10 2002/11/25 14:04:48 eich Exp $ +XCOMM $XFree86: xc/config/util/gccmdep.cpp,v 3.11 2003/06/15 16:53:11 tsi Exp $ XCOMM XCOMM Based on mdepend.cpp and code supplied by Hongjiu Lu <hjl@nynexst.com> XCOMM -TMP=${TMPDIR-/tmp}/mdep$$ +TMP=mdep$$.tmp CC=CCCMD RM=RMCMD LN=LNCMD MV=MVCMD -XCOMM Security: if $tmp exists exit immediately -rm -f ${TMP} -if [ -e ${TMP} ] ; then - echo "$0: ${TMP} exists already, exit." 1>&2 - exit 1; -fi -if [ -n "`type -p mktemp`" ] ; then - TMP="`mktemp ${TMP}.XXXXXX`" || exit 1 -fi +${RM} ${TMP} -trap "$RM ${TMP}*; exit 1" 1 2 15 -trap "$RM ${TMP}*; exit 0" 1 2 13 +trap "${RM} ${TMP}*; exit 1" 1 2 15 +trap "${RM} ${TMP}*; exit 0" 1 2 13 files= makefile= |