--- configure.orig	2024-04-23 03:23:28.000000000 -0700
+++ configure	2024-09-23 19:38:03.000000000 -0700
@@ -9272,6 +9272,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
 	 ;;
@@ -9370,6 +9372,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
 	 ;;
@@ -28747,6 +28751,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 #(
