$NetBSD: patch-ac,v 1.4 2003/07/07 21:31:53 jtb Exp $

--- configure.orig
+++ configure
@@ -2327,6 +2327,10 @@
 #define M_sparc_solaris 1
 EOF
 ;;
+		sparc*bsd*)  cat >>confdefs.h <<\EOF
+#define M_sparc_bsd 1
+EOF
+;;
 	        alpha*osf*)      cat >>confdefs.h <<\EOF
 #define M_alpha_osf 1
 EOF
@@ -2357,6 +2361,10 @@
 ;;
 		powerpc*darwin*) cat >>confdefs.h <<\EOF
 #define M_powerpc_darwin 1
+EOF
+;;
+		powerpc*bsd*) cat >>confdefs.h <<\EOF
+#define M_powerpc_bsd 1
 EOF
 ;;
 		*86*cygwin*)     cat >>confdefs.h <<\EOF
