summaryrefslogtreecommitdiff
path: root/configure1.in
diff options
context:
space:
mode:
authorCharles Hannum <mycroft@gnu.org>1994-07-22 18:22:36 +0000
committerCharles Hannum <mycroft@gnu.org>1994-07-22 18:22:36 +0000
commite6d3c2dece8a0e715db38f71b7a4ebf33c817b38 (patch)
tree936ff024defbc67b8055df6d01028b12b86da932 /configure1.in
parent4684e9f4c3d91effc47f9ac380d188295446e418 (diff)
downloademacs-e6d3c2dece8a0e715db38f71b7a4ebf33c817b38.tar.gz
Add more NetBSD ports; rearrange how they're handled.
Diffstat (limited to 'configure1.in')
-rwxr-xr-xconfigure1.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/configure1.in b/configure1.in
index fef4fd1da1c..0abf70e8a68 100755
--- a/configure1.in
+++ b/configure1.in
@@ -480,6 +480,20 @@ fi
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 @@ case "${canonical}" in
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 @@ case "${canonical}" in
*-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