summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:16 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:48:16 +0000
commit16b7176600e8a415b22b327d0201759a1bdc9d70 (patch)
tree64c0dbbc2f9aae8d14f5bae82aa4a9e2afd033d1
parent4ce164596212363bbfbd35b982f97a7c8fca13f8 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branchXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASEXINERAMA_2XEVIE
-rw-r--r--gccmdep.cpp18
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=