From 8863243604e60887390dd03f4355d5261a0c0604 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 9 Sep 1996 19:23:41 +0000 Subject: [PATCH] * config.sub, configure.in: Add entries for m32r. --- .Sanitize | 33 +++++++++++++++++++++++++++++++++ ChangeLog | 6 ++++++ config.sub | 7 +++++++ configure.in | 5 +++++ 4 files changed, 51 insertions(+) diff --git a/.Sanitize b/.Sanitize index 7741b19..2d4354b 100644 --- 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 diff --git a/ChangeLog b/ChangeLog index 6d2b372..e799b7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-m32r +Mon Sep 9 12:21:30 1996 Doug Evans + + * config.sub, configure.in: Add entries for m32r. +end-sanitize-m32r + Thu Sep 5 13:52:47 1996 Tom Tromey * Makefile.in (inet-install): Don't run install-gzip. diff --git a/config.sub b/config.sub index d3053b1..700d901 100755 --- a/config.sub +++ b/config.sub @@ -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 diff --git a/configure.in b/configure.in index 6ba93b1..92a7c82 100644 --- a/configure.in +++ b/configure.in @@ -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" -- 2.7.4