aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-10-27 16:39:10 +0000
committerStu Grossman <grossman@cygnus>1995-10-27 16:39:10 +0000
commit2f9bfdfa15f1074828d547b27aed4445a83003d9 (patch)
tree91e25d82d63b6edb611fbe9bb78822eed826ee16 /.Sanitize
parent7391e11c40b9da998dff885c2b0268c6d551cd38 (diff)
downloadgdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.zip
gdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.tar.gz
gdb-2f9bfdfa15f1074828d547b27aed4445a83003d9.tar.bz2
* configure.in: Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it. Fixes a problem with autoconf trying to configure on a host without GCC. * config.sub: Add `magic' as an OS target for General Magic.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize27
1 files changed, 27 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 8c13eae..445984e 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -374,4 +374,31 @@ for i in * ; do
fi
done
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping gm stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"gm\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
# eof