diff options
-rw-r--r-- | .Sanitize | 33 | ||||
-rw-r--r-- | cfg-ml-com.in | 5 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 42 insertions, 0 deletions
@@ -231,6 +231,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"jaguar\"... +fi + +jaguar_files="config.sub configure.in cfg-ml-com.in" + +if ( echo $* | grep keep\-jaguar > /dev/null ) ; then + for i in $jaguar_files ; do + if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping jaguar stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"jaguar\" from $i... + fi + cp $i new + sed '/start\-sanitize\-jaguar/,/end-\sanitize\-jaguar/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 + psion_files="config.sub configure.in" if ( echo $* | grep keep\-psion > /dev/null ) ; then diff --git a/cfg-ml-com.in b/cfg-ml-com.in index fc908c9..7ecf9b0 100644 --- a/cfg-ml-com.in +++ b/cfg-ml-com.in @@ -108,6 +108,11 @@ h8300-*-*) h8500-*-*) multidirs="mbig msmall mcompact mmedium" ;; +# start-sanitize-jaguar +jaguar-*-*) + multidirs="be" + ;; +# end-sanitize-jaguar sh-*-*) multidirs="ml" # start-sanitize-sh3e diff --git a/configure.in b/configure.in index 6b6bd85..bdf3a6c 100644 --- a/configure.in +++ b/configure.in @@ -422,6 +422,10 @@ case "${target}" in # but that's okay since emacs doesn't work anyway noconfigdirs="$noconfigdirs emacs emacs19" ;; +# start-sanitize-jaguar + jaguar-*-*) + ;; +# end-sanitize-jaguar powerpc-*-aix*) # copied from rs6000-*-* entry noconfigdirs="$noconfigdirs ld gprof textutils cvs" |