xref: /trunk/main/python/python-3.11.15-sysbase.patch (revision 27dee00ef8b391d4d520b7edb65b4093b02f83ed)
1diff -ruN misc/Python-3.11.15/configure misc/build/Python-3.11.15/configure
2--- misc/Python-3.11.15/configure   2025-01-01 00:00:00.000000000 +0000
3+++ misc/build/Python-3.11.15/configure 2025-01-01 00:00:00.000000000 +0000
4@@ -3840,7 +3840,9 @@
5    ac_sys_release=
6     else
7    ac_sys_system=`uname -s`
8-   if test "$ac_sys_system" = "AIX" \
9+   if test -n "$OOO_SYSBASE_SYS_RELEASE"; then
10+       ac_sys_release=$OOO_SYSBASE_SYS_RELEASE
11+   elif test "$ac_sys_system" = "AIX" \
12    -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
13        ac_sys_release=`uname -v`
14    else
15