$OpenBSD: patch-configure_in,v 1.2 2004/11/22 06:24:25 pvalchev Exp $
--- configure.in.orig	Thu Sep 19 04:57:32 2002
+++ configure.in	Wed Oct 13 10:50:32 2004
@@ -319,6 +319,7 @@ else
 		i*86*bsd*)       AC_DEFINE(M_ix86_bsd);;
         	powerpc*linux*)  AC_DEFINE(M_powerpc_linux);;
 		powerpc*darwin*) AC_DEFINE(M_powerpc_darwin);;
+		powerpc*openbsd*) AC_DEFINE(M_powerpc_openbsd);;
 		*86*cygwin*)     AC_DEFINE(M_ix86_cygwin);;
 		*)               AC_MSG_ERROR(unsupported architecture)
 	esac
@@ -369,8 +370,9 @@ else
 		*sparc*solaris)    CFLAGS_MACHINE='-msupersparc';;
 		i686*)             CFLAGS_MACHINE='-mcpu=pentiumpro';;
 		i586*)             CFLAGS_MACHINE='-mcpu=pentium';;
-		i*86*)             CFLAGS_MACHINE='-mcpu=i486';;
+		i*86*)             CFLAGS_MACHINE='';;
 		powerpc*darwin*)   CFLAGS_MACHINE='-mpowerpc -no-cpp-precomp';;
+		powerpc*openbsd*)  CFLAGS_MACHINE='';;
 	esac
 
 	case "$host" in
