summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorCharles Hannum <mycroft@gnu.org>1994-08-24 04:07:50 +0000
committerCharles Hannum <mycroft@gnu.org>1994-08-24 04:07:50 +0000
commit73e98e589b9f1ee012fc6b9f0aef783418f90bde (patch)
tree46fce66bd2babb1635a6e71ac0c94cf067f76087 /config.sub
parent7dbddb94a2f53d1e0e24058c418bff665533f0d4 (diff)
downloademacs-73e98e589b9f1ee012fc6b9f0aef783418f90bde.tar.gz
Add NetBSD support.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub12
1 files changed, 11 insertions, 1 deletions
diff --git a/config.sub b/config.sub
index 6c3dd993314..a75ec46ea4b 100755
--- a/config.sub
+++ b/config.sub
@@ -129,6 +129,9 @@ case $basic_machine in
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
| sh-* | powerpc-* | sparc64-*)
;;
+ # Recognize names of some NetBSD ports.
+ amiga-* | hp300-* | mac68k-* | sun3-* | pmax-*)
+ ;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
@@ -378,7 +381,14 @@ case $basic_machine in
basic_machine=m68k-tti
;;
pc532)
- basic_machine=ns32k-pc532
+ case $os in
+ -netbsd*)
+ basic_machine=pc532-unknown
+ ;;
+ *)
+ basic_machine=ns32k-pc532
+ ;;
+ esac
;;
pentium-*)
# We will change tis to say i586 once there has been