changeset 8306:2291bfe14170

Add more NetBSD ports; rearrange how they're handled.
author Charles Hannum <mycroft@gnu.org>
date Fri, 22 Jul 1994 18:22:36 +0000
parents d7bb8587fdf0
children 298b54cff974
files configure1.in
diffstat 1 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Thu Jul 21 13:00:35 1994 +0000
+++ b/configure1.in	Fri Jul 22 18:22:36 1994 +0000
@@ -480,6 +480,20 @@
 machine='' opsys='' unported='false'
 case "${canonical}" in
 
+  ## NetBSD ports
+  *-*-netbsd* )
+    opsys=netbsd
+    case "${canonical}" in
+      sparc-*-netbsd*)	machine=sparc ;;
+      i386-*-netbsd*)	machine=intel386 ;;
+      hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd*)
+			# Yes, this is somewhat bogus.
+			machine=hp9000s300 ;;
+      pc532-*-netbsd*)	machine=ns32000 ;;
+      pmax-*-netbsd*)	machine=pmax ;;
+    esac
+  ;;
+
   ## Alliant machines
   ## Strictly speaking, we need the version of the alliant operating
   ## system to choose the right machine file, but currently the
@@ -664,9 +678,6 @@
   m68*-hp-bsd* )
     machine=hp9000s300 opsys=bsd4-3
   ;;
-  m68*-hp-netbsd* )
-    machine=hp9000s300 opsys=netbsd
-  ;;
   ## HP/UX 7, 8 and 9 are supported on these machines.
   m68*-hp-hpux* )
     case "`uname -r`" in
@@ -1045,7 +1056,6 @@
       *-bsd386* | *-bsdi* )	opsys=bsd386 ;;
       *-386bsd* )	        opsys=386bsd ;;
       *-freebsd* )	        opsys=freebsd ;;
-      *-netbsd* )	        opsys=netbsd ;;
       *-nextstep* )             opsys=mach2 ;;
       ## Otherwise, we'll fall through to the generic opsys code at the bottom.
     esac