* config.sub, configure.in: Add entries for m32r.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 9 Sep 1996 19:23:41 +0000 (19:23 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 9 Sep 1996 19:23:41 +0000 (19:23 +0000)
.Sanitize
ChangeLog
config.sub
configure.in

index 7741b193448da89282b591f9b544c8e7cce9a29b..2d4354bbebeb1dc176801f3779827efb5ef98b89 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -270,6 +270,39 @@ else
        done
 fi
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"m32r\"...
+fi
+
+m32r_files="config.sub configure.in ChangeLog"
+
+if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+       for i in $m32r_files ; do
+               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping m32r stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"m32r\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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
+
 rce_files="config.sub"
 
 if ( echo $* | grep keep\-rce > /dev/null ) ; then
index 6d2b372de05e3aa886e0cfb9e198c18fba17559e..e799b7ebbf130ae2bcebbea5096e1cd2040716b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+start-sanitize-m32r
+Mon Sep  9 12:21:30 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config.sub, configure.in: Add entries for m32r.
+end-sanitize-m32r
+
 Thu Sep  5 13:52:47 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
        * Makefile.in (inet-install): Don't run install-gzip.
index d3053b1b468217eae10508ca30e4392feb0929cd..700d901892fa38ef00bc38f01858639d2679a954 100755 (executable)
@@ -168,14 +168,21 @@ case $basic_machine in
        mips64vr4100 | mips64vr4100el) # CYGNUS LOCAL jsmith/vr4100
                basic_machine=$basic_machine-unknown
                ;;
+# start-sanitize-v850
        v850)                           # CYGNUS LOCAL jtc/v850
                basic_machine=$basic_machine-unknown
                ;;
+# end-sanitize-v850
 # start-sanitize-d10v
        d10v)                           # CYGNUS LOCAL meissner/d10v
                basic_machine=$basic_machine-unknown
                ;;
 # end-sanitize-d10v
+# start-sanitize-m32r
+       m32r)
+               basic_machine=$basic_machine-unknown
+               ;;
+# end-sanitize-m32r
        # Object if more than one company name word.
        *-*-*)
                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
index 6ba93b1e31e31a2a70834f2632d72ca7d5a2bf70..92a7c820ffd3d8c63c0bb701141bc5188cd9aa64 100644 (file)
@@ -487,6 +487,11 @@ case "${target}" in
     # but that's okay since emacs doesn't work anyway
     noconfigdirs="$noconfigdirs emacs emacs19 target-libgloss"
     ;;
+# start-sanitize-m32r
+  m32r-*-*)
+    noconfigdirs="$noconfigdirs target-libgloss libio libstdc++ libg++ gdb"
+    ;;
+# end-sanitize-m32r
   powerpc-*-aix*)
     # copied from rs6000-*-* entry
     noconfigdirs="$noconfigdirs gprof cvs target-libgloss"