From: Taufik Date: Wed, 24 Aug 1994 04:07:50 +0000 (+0000) Subject: Add NetBSD support. X-Git-Tag: v1.10.2~4182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=588fffcb6814713c9547e4383dfb686ddd3e0f3b;p=platform%2Fupstream%2Fautomake.git Add NetBSD support. --- diff --git a/config.sub b/config.sub index 6c3dd99..a75ec46 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 6c3dd99..a75ec46 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