--- a/configure.in.orig	2011-10-18 08:56:21.587594685 +0200
+++ b/configure.in	2011-10-18 08:56:59.751593321 +0200
@@ -2935,6 +2935,8 @@
 configure_args=$ac_configure_args
 AC_SUBST(configure_args)dnl
 
+target_cpu=`echo $target_cpu | sed s/i.86/i386/`
+
 if test "${universal_binary-no}" = yes ; then
     arch="universal-${target_os}"
     AC_CACHE_CHECK(whether __ARCHITECTURE__ is available, rb_cv_architecture_available,
