From 588fffcb6814713c9547e4383dfb686ddd3e0f3b Mon Sep 17 00:00:00 2001 From: Taufik Date: Wed, 24 Aug 1994 04:07:50 +0000 Subject: [PATCH] Add NetBSD support. --- config.sub | 12 +++++++++++- lib/config.sub | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/config.sub b/config.sub index 6c3dd993..a75ec46e 100644 --- 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 diff --git a/lib/config.sub b/lib/config.sub index 6c3dd993..a75ec46e 100644 --- a/lib/config.sub +++ b/lib/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 -- 2.43.5