* config.sub (case $basic_machine): Add tic80 entries.

This commit is contained in:
Fred Fish 1996-12-28 06:31:43 +00:00
parent 6455664321
commit 962873d574
3 changed files with 44 additions and 0 deletions

View File

@ -361,6 +361,35 @@ else
done
fi
tic80_files="ChangeLog config.sub configure.in"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in $tic80_files ; do
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping tic80 stuff in $i
fi
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"tic80\" from $i...
fi
cp $i new
sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
echo Catering to RMS by removing traces of \"gdbtk\"...
if [ -n "${verbose}" ] ; then

View File

@ -1,3 +1,9 @@
start-sanitize-tic80
Fri Dec 27 23:04:33 1996 Fred Fish <fnf@cygnus.com>
* config.sub (case $basic_machine): Add tic80 entries.
start-sanitize-tic80
Fri Dec 27 12:07:59 1996 Ian Lance Taylor <ian@cygnus.com>
* config.sub, config.guess: Merge with latest FSF sources.

9
config.sub vendored
View File

@ -191,6 +191,11 @@ case $basic_machine in
basic_machine=$basic_machine-unknown
;;
# END CYGNUS LOCAL
# start-sanitize-tic80
tic80) # CYGNUS LOCAL fnf/TIc80
basic_machine=$basic_machine-unknown
;;
# end-sanitize-tic80
# start-sanitize-v850
v850) # CYGNUS LOCAL jtc/v850
basic_machine=$basic_machine-unknown
@ -241,6 +246,10 @@ case $basic_machine in
;;
mips16-*) # CYGNUS LOCAL krk/mips16
;;
# start-sanitize-tic80
tic80-*) # CYGNUS LOCAL fnf/TIc80
;;
# end-sanitize-tic80
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
386bsd) # CYGNUS LOCAL