diff -ruN misc/Python-3.11.15/configure misc/build/Python-3.11.15/configure
--- misc/Python-3.11.15/configure	2025-01-01 00:00:00.000000000 +0000
+++ misc/build/Python-3.11.15/configure	2025-01-01 00:00:00.000000000 +0000
@@ -3840,7 +3840,9 @@
 	ac_sys_release=
     else
 	ac_sys_system=`uname -s`
-	if test "$ac_sys_system" = "AIX" \
+	if test -n "$OOO_SYSBASE_SYS_RELEASE"; then
+		ac_sys_release=$OOO_SYSBASE_SYS_RELEASE
+	elif test "$ac_sys_system" = "AIX" \
 	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
 		ac_sys_release=`uname -v`
 	else
