--- configure.orig	2023-03-30 05:34:10.000000000 -0700
+++ configure	2023-04-24 16:24:37.000000000 -0700
@@ -7676,6 +7676,8 @@ case "$target_archs" in #(
     ARCH_FLAG=-m64 ;; #(
   i[3-6]86) :
     ARCH_FLAG=-m32 ;; #(
+  ppc) :
+    ARCH_FLAG=-m32 ;; #(
   *) :
     as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
 	 ;;
@@ -7774,6 +7776,8 @@ case "$target_cpu" in #(
     ARCH_FLAG=-m64 ;; #(
   i[3-6]86) :
     ARCH_FLAG=-m32 ;; #(
+  ppc) :
+    ARCH_FLAG=-m32 ;; #(
   *) :
     as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
 	 ;;
@@ -27661,6 +27665,18 @@ printf %s "checking native coroutine imp
 
             rb_cv_coroutine=arm64
          ;; #(
+  *86-darwin*) :
+
+            rb_cv_coroutine=x86
+         ;; #(
+  ppc*-darwin8*) :
+
+            rb_cv_coroutine=copy
+         ;; #(
+  universal-darwin8*) :
+
+            rb_cv_coroutine=copy
+         ;; #(
   x*64-linux*) :
 
             case "$ac_cv_sizeof_voidp" in #(
