$NetBSD: patch-af,v 1.1 1999/02/14 10:12:03 mrg Exp $

--- gcc/configure.orig	Thu Feb 17 01:07:22 2000
+++ gcc/configure	Fri Feb 18 19:19:50 2000
@@ -2764,6 +2764,13 @@
 		fixincludes=fixinc.wrap
 		tmake_file=i386/t-freebsd
 		;;
+	i[34567]86-*-netbsdelf*)
+		tm_file=i386/netbsd-elf.h
+		xm_file=i386/xm-netbsd.h
+		# On NetBSD, the headers are already okay, except for math.h.
+		fixincludes=fixinc.wrap
+		tmake_file=t-netbsd
+		;;
 	i[34567]86-*-netbsd*)
 		tm_file=i386/netbsd.h
 		xm_file=i386/xm-netbsd.h
@@ -3857,7 +3864,16 @@
 		xm_file=mips/xm-netbsd.h
 		# On NetBSD, the headers are already okay, except for math.h.
 		fixincludes=fixinc.wrap
-		tmake_file=t-netbsd
+		tmake_file="t-netbsd mips/t-mipsel"
+		xmake_file=none
+		;;
+	mipseb-*-netbsd*)
+		tm_file=mips/netbsd.h
+		xm_file=mips/xm-netbsd.h
+		# On NetBSD, the headers are already okay, except for math.h.
+		fixincludes=fixinc.wrap
+		tmake_file="t-netbsd mips/t-mipseb"
+		xmake_file=none
 		;;
 	mips-sony-bsd* | mips-sony-newsos*)	# Sony NEWS 3600 or risc/news.
 		tm_file="mips/news4.h ${tm_file}"
@@ -4233,6 +4249,7 @@
 		# On NetBSD, the headers are already okay, except for math.h.
 		fixincludes=fixinc.wrap
 		tmake_file=t-netbsd
+		xmake_file=none
 		;;
 	powerpc-*-eabiaix*)
 		tm_file=rs6000/eabiaix.h
